Skip to main content
Send the person photo and an array containing one garment reference. This example uses direct image URLs; replace both URLs with publicly accessible image files you control.
The omitted settings default to V6, standard quality, and one output image. Use a new idempotency key for each intended submission; keep the same key and body when retrying that submission. Save the ID from jobs[0].id, then poll:
Continue while status is pending or generating. On completed, display result.url. Stop on failed or policy_blocked and inspect error.message. Already uploaded the photos? Use person_image_id and outfit_image_ids: ["GARMENT_IMAGE_ID"]. A saved product uses outfit_asset_ids: ["PRODUCT_ASSET_ID"]. Choose good inputs โ†’ ยท Add more items โ†’