Create try-on generation job
create_tryon_jobGenerate an on-model try-on photo from a garment/product image URL (e.g. straight from an audit_store work order). Charges 1 credit (2K) or 2 credits (4K) from the account's studio credits. Requires an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Preset model (default woman) | |
| prompt | No | Optional styling instructions | |
| api_key | No | API key if the client can't send an Authorization header | |
| resolution | No | Output resolution: 2K costs 1 credit, 4K costs 2 | |
| aspect_ratio | No | Output aspect ratio, e.g. 3:4 (default) | |
| product_type | No | Top | Bottom | Dress | Full-body (default Top) | |
| model_image_url | No | Optional: custom model reference photo URL | |
| garment_image_url | Yes | Public URL of the garment/product photo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poll | No | How to retrieve the result | |
| error | No | Machine-readable error code (only present on failures) | |
| job_id | No | Generation job UUID — poll with get_job_status | |
| status | No | Initial job state (usually queued) | |
| message | No | Human-readable explanation of the failure | |
| resolution | No | Output resolution the job will render at | |
| credits_charged | No | Studio credits debited for this generation |