FitInView virtual try-on
v1.0.1Show a person wearing 1 to 3 garments from a photo and product images.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_tryon Try garments on a person
Generate an image of the person wearing the garments. person_url: HTTPS link to a photo of one person (full body or upper body, facing the camera). garment_urls: 1 to 3 HTTPS links to product images of the clothes. Charges credits (1K 8, 2K 12, 4K 20) unless the key is a test key. Waits up to about 50 seconds; if the result is not ready, returns the job_id to pass to get_tryon.
| Parameter | Type | Description |
|---|---|---|
garment_urls * | array | 1 to 3 HTTPS URLs of garment images |
person_url * | string | HTTPS URL of the person photo |
output_size | string | Result resolution and cost: 1K 8 credits, 2K 12, 4K 20 |
prompt | string | Optional extra direction, e.g. 'tuck the shirt in' |
get_tryon Get a try-on result
Status of a try-on job and, once succeeded, a fresh result_url (PNG, valid 24 hours).
| Parameter | Type | Description |
|---|---|---|
job_id * | string | job_... |
list_tryons List recent try-ons
Recent try-on jobs made with this API key, newest first.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
status | string |
get_account Credits and limits
Credits left on this API key, its rate limit and the cost per output size.