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 virtual try-on 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 (public URLs or base64 data URLs) to
https://tryiton.now/api/v1 with an API key, and gets back AI-generated result images. Official SDKs cover Node.js,
Python, Go, PHP and Ruby.
Try-on products
Clothing & accessories
Put a garment, shoes, glasses, a hat, jewelry or a bag on a person from a model photo and a product image.
Hairstyle
Restyle the hair in a face photo with one of 34 haircuts, optionally in a new color.
Tattoo
Ink a design onto a photo of skin, placed by text or by an exact region.
Live
Real-time try-on on the shopper's webcam video, streamed in the browser.
Live try-on
The shopper sees themselves wearing the garment in real time, and you can switch garments without reconnecting. See the Live Virtual Try-On API reference.
How it works
- Photo try-ons (clothing, hairstyle, tattoo): submit a job and get a
jobId, pollGET /status/{id}, then read the result image URLs. - Live try-on: your server starts a session with your API key, and the shopper's browser streams the video with
the
tryiton-livepackage. - There are no webhooks. Poll
GET /status/{id}, or let an SDK's wait helper poll for you.