On TypeScript, use the
@genlook/api SDK. It does these three steps in three lines.1. Upload the customer photo
imageId. It works for every try-on on this photo until it expires (7 days by default).
2. Create the try-on
shirt-42. For every next try-on, send only { "externalId": "shirt-42" }. The product is already analyzed, so the result comes back faster.
3. Get the result
Python
resultImageUrl is temporary: display or download it right away, or fetch the generation again for a fresh URL.
Next
- Create Try-On: every option (image sources, crop, retention, watermark).
- Full example: production pattern with
PRODUCT_NOT_FOUNDhandling. - Next.js example app: a working integration to clone.

