Skip to main content
Add product references to POST /v1/images/generate and describe the person and scene. Generate accepts up to three garment references. For a specific person photo and up to four items, use virtual try-on.

Start with a product photo

Replace the URL with a publicly accessible image file you control:
Add a second or third garment to the same array to build an outfit. Use clear product views and avoid extra garments that you do not want in the result. Compare the generated image with your source before publishing it. Choose one reference format per request: Do not mix these arrays in one request. The runnable quickstart shows the complete local-file upload and generation flow.

Reuse a product, avatar, or preset

Save recurring products and reference photos as assets. Put product IDs in outfit_asset_ids; saved avatars, presets, and poses go in asset_ids. This body reuses a saved avatar and one saved product. Replace both IDs with assets accessible to your API key:
Assets need actual reference photos. A thumbnail URL alone does not supply the product’s reference images. An outfit asset can group several views of the same product. Save each returned ID, check progress, then use result.url. To adjust a completed image, send result.id to edit. Choose quality and output count →