Skip to Content
TryItOn
DocsAPI ReferenceSDKsResources

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.

Base URL
https://tryiton.now/api/v1
curl https://tryiton.now/api/v1/credits \
  -H "Authorization: Bearer YOUR_API_KEY"

Basics

  • Auth. Send Authorization: Bearer YOUR_API_KEY from 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": true on success. Errors look like { "ok": false, "error": { "name": "...", "message": "..." } }. Branch on error.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

EndpointWhat it does
POST /tryon/fashionPut a garment or accessory on a person
POST /tryon/hairstyleRestyle hair in a face photo
POST /tryon/tattooInk a design onto skin
GET /status/{id}Get a photo try-on's status and result
GET /creditsGet your credit balance
GET /healthCheck that the API is up (no key)
GET /live/configLive try-on availability and pricing
POST /live/garments, POST /live/outfitsPrepare garments and outfits for live try-on
POST /live/sessions, GET, list, stopStart and manage live sessions
Browser endpointsHeartbeat, 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 .md to its URL. /llms.txt indexes them all, and /llms-full.txt has every page in one file.
  • Prefer a client library? See the SDKs.

On this page