Skip to main content
POST
/
tryon
/
v1
/
images
/
upload
curl -X POST "https://api.genlook.app/tryon/v1/images/upload" \
  -H "x-api-key: gk_your_api_key" \
  -F "file=@customer-photo.jpg"
{
  "success": true,
  "imageId": "retention-7d/abc123/customer/20260330-xyz.jpeg",
  "imageUrl": "https://storage.googleapis.com/..."
}
Upload a customer photo that will be used in a try-on generation. The image is preprocessed (orientation correction, HDR to SDR, person-aware crop) and stored temporarily. Supported formats: JPEG, PNG, WebP, HEIC. Max file size: 10 MB.

Request

Send as multipart/form-data with a file field.
file
file
required
The customer photo file.
curl -X POST "https://api.genlook.app/tryon/v1/images/upload" \
  -H "x-api-key: gk_your_api_key" \
  -F "file=@customer-photo.jpg"

Response

success
boolean
required
true if the upload succeeded.
imageId
string
required
The image identifier. Pass this to the Create Try-On endpoint.
imageUrl
string
required
Temporary signed URL to preview the uploaded image.
{
  "success": true,
  "imageId": "retention-7d/abc123/customer/20260330-xyz.jpeg",
  "imageUrl": "https://storage.googleapis.com/..."
}