Virtual Try-On API Documentation
Developer docs for the TryItOn virtual try-on API: add AI clothing, hairstyle, tattoo and real-time live try-on to your app with REST endpoints and SDKs.
The TryItOn API puts a garment, accessory, haircut or tattoo onto a photo of a real person, or onto a shopper's live webcam video. Your server sends the images and gets back AI-generated results.
curl https://tryiton.now/api/v1/tryon/fashion \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model_image": "https://example.com/model.jpg",
"garment_image": "https://example.com/shirt.jpg",
"category": "clothing",
"subcategory": "tops"
}'{ "ok": true, "jobId": "64b7f1a9d9a3b8e5c7f9a123" }Then poll GET /status/{jobId} until the job is done. The status response holds the result image URLs.
Quickstart
Create a key, add credits and get your first result image in a few minutes.
API Reference
Every endpoint, parameter, response and error.
SDKs
Official libraries for Node.js, Python, Go, PHP and Ruby.
Which product do you need?
| You want to show | Use | How it works |
|---|---|---|
| Clothing, shoes, glasses, hats, jewelry or bags on a person | Clothing & Accessories | Photo in, photo out. Async job. |
| A new haircut or hair color | Hairstyle | Photo in, photo out. Async job. |
| A tattoo design on skin | Tattoo | Photo in, photo out. Async job. |
| Clothing on the shopper's live webcam video | Live Try-On | Real-time stream in the browser. |
| Try-on on your store without writing code | Storefront Widget | Paste an iframe with a site key. |
Photo try-ons cost 1 credit per result image. Live try-on is billed by streaming time. One credit balance covers everything. See Pricing & Credits.
Live try-on
The shopper sees themselves wearing the garment in real time, and can switch garments without reconnecting. Start with the Live Try-On Quickstart.
Built for agents too
Every page is plain markdown if you add .md to its URL. /llms.txt indexes the docs,
/llms-full.txt has all of them in one file, and the whole API is one
OpenAPI 3.1 spec.