# TryDrobe Agents

TryDrobe exposes a paid virtual try-on endpoint for AI agents, shopping assistants, and autonomous commerce workflows.

## Capability

- Endpoint: `POST https://trydrobe.com/api/agent/try-on`
- Price: `$0.35` per paid try-on request; refunded if TryDrobe cannot generate or store the result
- Currency: `usd`
- Payment protocol: Stripe Machine Payments Protocol
- Payment method: Stripe Shared Payment Tokens
- Seller profile/network ID: included in the MPP challenge; use `profile_test_...` in Stripe sandbox and `profile_...` in live mode
- No TryDrobe account, prepaid credits, or subscription required for V1

## Required Input

```json
{
  "personImageUrl": "https://...",
  "garmentImageUrl": "https://...",
  "callbackUrl": "https://...",
  "metadata": {
    "source": "agent"
  }
}
```

## Discovery

- Human docs: `https://trydrobe.com/agents/docs`
- OpenAPI: `https://trydrobe.com/.well-known/openapi.json`
- MCP capability manifest: `https://trydrobe.com/mcp`
- API catalog: `https://trydrobe.com/.well-known/api-catalog`
- llms.txt: `https://trydrobe.com/llms.txt`

## Positioning

TryDrobe is commerce-grade virtual fitting infrastructure for AI agents and shopping workflows.

## MPP Flow

1. Request `POST /api/agent/try-on` without credentials.
2. Read the `WWW-Authenticate: Payment` challenge from the `402 Payment Required` response.
3. Issue a Stripe Shared Payment Token scoped to TryDrobe's Stripe profile/network ID.
4. Retry with `Authorization: Payment ...`.
5. Read the `Payment-Receipt` header on success.

