Skip to main content
POST
/
tryon
/
v1
/
try-on
curl -X POST "https://api.genlook.app/tryon/v1/try-on" \
  -H "x-api-key: gk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "productId": "product-001",
    "customerImageId": "retention-7d/abc123/customer/20260330-xyz.jpeg"
  }'
{
  "success": true,
  "generationId": "cm8gen456xyz",
  "status": "PENDING"
}
Creates a virtual try-on generation job. The generation runs asynchronously — poll Generation Status for the result. Each generation consumes 1 credit.

Request

productId
string
required
The externalId of a previously created product.
customerImageId
string
required
The imageId returned by Upload Customer Image.
customerId
string
Optional customer identifier for your own tracking.
curl -X POST "https://api.genlook.app/tryon/v1/try-on" \
  -H "x-api-key: gk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "productId": "product-001",
    "customerImageId": "retention-7d/abc123/customer/20260330-xyz.jpeg"
  }'

Response

success
boolean
required
true if the generation was created.
generationId
string
required
The generation ID. Use it to poll status.
status
string
required
Initial status: PENDING.
{
  "success": true,
  "generationId": "cm8gen456xyz",
  "status": "PENDING"
}

Next Steps

  1. Store the generationId
  2. Poll Generation Status every 2 seconds
  3. Display the result image when status is COMPLETED