Go-Live Checklist for the Try-On API
Check your virtual try-on API integration before launch: key handling, credits, rate limits, polling, retries, result storage, privacy and monitoring.
Run through this list before real users hit your integration. Each item links to the page that explains it.
Keys
- The API key is only on your server, loaded from the environment or a secret manager. No browser, no app bundle, no repository.
- Each environment has its own key, so you can delete a leaked one without downtime.
- Your logs redact the
Authorizationheader.
See Authentication.
Credits and limits
- You have enough credits for launch traffic, and you know your spendable balance is
subscription + purchased − reserved, noton_demand. - You handle 429
OutOfCreditswith a clear message, not a generic error. - You queue submits on your side so a traffic spike stays under 30 photo try-ons a minute and 10 credits in flight. Need more? Ask us to raise your limits.
- Polling from many workers behind one IP stays under 300 requests a minute.
See Pricing & Credits and Rate Limits.
Jobs and errors
- You poll about every 2 seconds and wait about 4 minutes before giving up on a job.
- You check
statuson every poll. A failed job is still HTTP 200. - You branch on
error.name, never onerror.message, and treat unknown names as generic errors. - You retry 429
RateLimitExceededand 5xx with backoff, and you don't resubmit after a network error until you know the first submit failed. - You store each
jobIdwith your own request, so support can trace it. - If you use webhooks: you verify
webhook-signatureon the raw body, answer within 10 seconds, skip repeatedwebhook-ids, and keep the signing secret on your server.
See Jobs & Polling, Webhooks and Errors.
Images and results
- Input image URLs are public and stay reachable until the job finishes. No signed URLs that expire in seconds.
- You download result images you want to keep. They're deleted after about 72 hours.
- Your upload flow nudges users toward photos that work. See the Image Guidelines.
Privacy
- Your privacy policy covers sending user photos to TryItOn. See Data Retention & Privacy and our DPA.
- Live try-on shows an "AI-modified video" label and asks for camera consent. See the Camera & Privacy Guide.
Live try-on
- Garments are prepared ahead of time, for example at catalog sync, not when a shopper clicks.
- You start sessions with
end_user_idandallowed_origin, and end them when the shopper leaves. - Your Content Security Policy allows what
tryiton-liveneeds. See the Live Try-On Quickstart.
Monitoring
- An uptime check calls
GET https://tryiton.now/api/v1/health. It needs no key. - You alert on a rising share of failed jobs or 429s.
- Someone follows the Changelog.
Quickstart
Make your first virtual try-on API call: create an API key, buy credits, install an SDK and run a clothing try-on in Node.js, Python, Go, PHP, Ruby or cURL.
Image Guidelines
How to get the best virtual try-on results: accepted image formats and limits, photo tips for clothing, hairstyle, tattoo and live try-on, and common failures.