/api/v1/tryonCreate a try-on job. Upload images as multipart files, or pass publicly reachable URLs as JSON.
Request
multipart/form-data
person <file> photo of the person
garment <file> the garment image
garment_url string https URL of the garment (instead of garment)
prompt? string optional styling hint
or application/json
{ "person_url": "https://…",
"garment_url": "https://…",
"prompt": "…" } // prompt optionalResponse
{
"code": 0,
"message": "ok",
"data": {
"id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
"status": "succeeded",
"result_url": "/api/v1/tryon/a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d/result",
"demo": false
}
}