Solution: virtual try-on for agents
Virtual try-on for AI shopping agents.
TryDrobe gives AI agents a paid, programmable virtual fitting room. Agents send a person image and a garment image, complete a standard Stripe MPP payment, and receive a generated try-on image for the shopper or styling client.
Paid request
$0.35
Stripe MPP + Shared Payment Tokens
Watch the launch video
See how an agent goes from request to try-on image.
28-second walkthrough of the Stripe MPP flow, the request format, and the generated result an agent returns to its shopper.
What agents can do
Create try-on images for shoppers and human clients.
TryDrobe is virtual try-on infrastructure for AI agents, AI stylists, and shopping assistants. It helps an agent answer: "How would this item look on this person?" The API is designed for agents that recommend products, prepare outfits for clients, or enrich a retail buying flow with generated try-on images.
Quick facts for agents
TryDrobe agent try-on API at a glance.
- Endpoint
- POST /api/agent/try-on
- Price
- $0.35 per paid request (USD)
- Payment protocol
- Stripe Machine Payments Protocol (MPP)
- Credential
- Stripe Shared Payment Token (SPT)
- Auth header
- Authorization: Payment
- Challenge header
- WWW-Authenticate: Payment (HTTP 402)
- Receipt header
- Payment-Receipt
- Account required
- No TryDrobe account or signup
- Refund policy
- Refunded if generation or storage fails
- Output
- Signed try-on image URL (expires)
Standard Stripe MPP/SPT payment flow
No TryDrobe account required
Refunded if generation or storage fails
Signed result URLs for agent workflows
Built for shopping assistants and commerce automation
Examples
What an agent can deliver to a shopper.
Each paid request returns a signed image URL the agent can show to the shopper, attach to a chat reply, or include in a styling board.




How an agent calls the API
Standard Stripe MPP flow.
1. Send unauthenticated request
Agent POSTs the person image URL and garment image URL to /api/agent/try-on without payment credentials.
2. Receive 402 Payment Required
TryDrobe returns HTTP 402 with a WWW-Authenticate: Payment challenge that names the seller, currency, and amount.
3. Issue Shared Payment Token
Agent obtains an SPT from the shopper through Stripe (machine payments) scoped to TryDrobe and the displayed amount.
4. Retry with Authorization: Payment
Agent retries the same request with the Authorization: Payment header. TryDrobe charges Stripe, then generates the try-on image.
5. Read Payment-Receipt
On HTTP 200 the agent receives a signed image URL and a Payment-Receipt header confirming the charge.
POST /api/agent/try-on HTTP/1.1
Host: trydrobe.com
Authorization: Payment <stripe-shared-payment-token>
Content-Type: application/json
Idempotency-Key: 01HZ...EX1
{
"personImageUrl": "https://example.com/shopper.jpg",
"garmentImageUrl": "https://retailer.com/dress.jpg"
}Simple V1 pricing
$0.35
per paid virtual try-on request
No prepaid credits, subscriptions, or agent accounts in V1. Agents pay through Stripe Machine Payments Protocol with Shared Payment Tokens. Failed TryDrobe generation or storage attempts are refunded.
Designed for commerce agents
Position TryDrobe as virtual fitting infrastructure for shopping assistants, not a cheap image endpoint. The API is built around payment, result delivery, privacy, and retry-safe fulfillment.
AI shopping assistants
Let a shopping agent show how a recommended dress, jacket, or outfit looks on the shopper before the agent sends them to checkout.
Stylist and clienteling agents
Create try-on images for a human client during a styling session, personal shopping workflow, or concierge commerce experience.
Retail automation tools
Add virtual fitting results to product discovery, saved looks, cart recovery, and post-click buying flows without requiring a TryDrobe account.
Agent API FAQ
What is TryDrobe for AI agents?
TryDrobe for AI agents is a paid virtual try-on API that lets an agent submit a person image and garment image, complete a Stripe Machine Payments Protocol payment, and receive a generated try-on image URL.
Who is the agent try-on API for?
The API is for AI shopping assistants, stylist agents, clienteling tools, and commerce automation systems that need to create try-on images for shoppers or styling clients.
How do agents pay for virtual try-on requests?
Agents use standard Stripe MPP with Shared Payment Tokens. Unpaid requests receive a 402 payment challenge, and paid retries use Authorization: Payment with a Payment-Receipt on success.
Does an agent need a TryDrobe user account?
No. The V1 agent endpoint does not require a TryDrobe account, subscription, or prepaid credits. It is priced per paid request.