Virtual Try-On API Reference
Reference for every endpoint of the TryItOn virtual try-on API: base URL, authentication, request format, response envelope and the full endpoint list.
Every endpoint lives under one base URL and takes your API key as a bearer token.
https://tryiton.now/api/v1curl https://tryiton.now/api/v1/credits \
-H "Authorization: Bearer YOUR_API_KEY"Basics
- Auth. Send
Authorization: Bearer YOUR_API_KEYfrom your server. Never from a browser or an app. See Authentication. - Requests are JSON (
Content-Type: application/json). Try-on and garment bodies can be up to 12 MB. Images are public URLs or base64 data URLs. - Responses carry
"ok": trueon success. Errors look like{ "ok": false, "error": { "name": "...", "message": "..." } }. Branch onerror.name. See Errors. - Photo try-ons are async. A submit returns a
jobId, and you poll Get Job Status. See Jobs & Polling. - Limits apply per account and per IP. See Rate Limits.
Endpoints
| Endpoint | What it does |
|---|---|
POST /tryon/fashion | Put a garment or accessory on a person |
POST /tryon/hairstyle | Restyle hair in a face photo |
POST /tryon/tattoo | Ink a design onto skin |
GET /status/{id} | Get a photo try-on's status and result |
GET /credits | Get your credit balance |
GET /health | Check that the API is up (no key) |
GET /live/config | Live try-on availability and pricing |
POST /live/garments, POST /live/outfits | Prepare garments and outfits for live try-on |
POST /live/sessions, GET, list, stop | Start and manage live sessions |
| Browser endpoints | Heartbeat, garment switch, end. tryiton-live calls them |
Machine-readable
- The whole API as OpenAPI 3.1, for Postman, code generators and agents.
- Every page is also plain markdown: add
.mdto its URL./llms.txtindexes them all, and/llms-full.txthas every page in one file. - Prefer a client library? See the SDKs.