FitInView virtual try-on

v1.0.1
com.fitinview/tryon Checked 4 days ago Published 13 days ago

Show 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.

ParameterTypeDescription
garment_urls *array1 to 3 HTTPS URLs of garment images
person_url *stringHTTPS URL of the person photo
output_sizestringResult resolution and cost: 1K 8 credits, 2K 12, 4K 20
promptstringOptional 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).

ParameterTypeDescription
job_id *stringjob_...

list_tryons List recent try-ons

Recent try-on jobs made with this API key, newest first.

ParameterTypeDescription
limitinteger
statusstring

get_account Credits and limits

Credits left on this API key, its rate limit and the cost per output size.