Widget API Reference
Generation Status
Check the status of a virtual try-on generation job
GET
Poll this endpoint until status is
COMPLETED or FAILED. Recommended interval: every 2 seconds, max 60 attempts.
Path Parameters
string
required
The
jobId from the create generation response.Response
string
required
The generation job ID.
string
required
PENDING | PROCESSING | COMPLETED | FAILEDstring
Storage key of the generated image. Present when
COMPLETED.string
Temporary signed URL of the generated image. Present when
COMPLETED.string
Error description. Present when
FAILED.string
required
ISO 8601 timestamp.
string
required
ISO 8601 timestamp.
Polling Example
Most try-ons finish in 10 to 20 seconds. Allow up to 60 seconds before treating a generation as unusually slow.

