Submit a person photo, clothing items and a size; poll or get a webhook when the photorealistic try-on is ready. Prepaid credits and usage metering built in.
# 1. Submit — reserves 1 credit, returns a genId immediately
curl -X POST https://warderobe.app/api/v1/try-on \
-H "Authorization: Bearer wk_live_..." \
-d '{ "selfie": "<b64>", "items": ["<b64>"], "size": "M" }'
# → 202 { "genId": "…", "status": "pending", "statusUrl": "…" }
# 2. Poll the status URL (or pass a webhookUrl to get pushed)
curl https://warderobe.app/api/v1/try-on/<genId> \
-H "Authorization: Bearer wk_live_..."
# → { "status": "complete", "image": "<b64>", "creditsRemaining": … }Submit returns a genId; poll the status URL or receive a webhook when the image is ready. Add ?wait=true for a bounded inline response.
Pass garment size, fit, occasion and styling hints with every request.
Buy credit packs, watch usage live in the dashboard. Idempotency-Key for safe retries.
The more you buy, the lower the per-generation rate.
Trial credits included · Need 250k+/mo or a custom rate? Talk to us.
Cookies, briefly. We use essential cookies to keep you signed in. With your permission we may add analytics later to make Warderobe better. No tracking without your say-so. Read more.