v2

latestOpenAPI 3.1.02026-07-26262762.2 KB
Models

Virtual try-on (v2)

Submits a virtual try-on task against the v2 model. Identical request shape to /vto-v1, with reference and output resolution supported up to 4MP. Person and garment images are mapped to the underlying input image slots; prompts steer attribute transfer.

post/v1/flux-tools/vto-v2

Request body

promptstring required

Text prompt for VTO generation.

personstring required

Person image (maps internally to input_image).

garmentstring required

Image of one more garments (maps internally to input_image_2).

seedinteger nullable

Optional seed for reproducibility.

safety_toleranceinteger

Tolerance level for input and output moderation. Between 0 and 5 for public use.

output_format'jpeg' | 'png' | 'webp'
webhook_urlstring uri nullable

URL to receive webhook notifications

webhook_secretstring nullable

Optional secret for webhook signature verification

Example request

{
  "prompt": "TRY-ON: The person of image 1 wearing the garments of image 2.",
  "seed": 42
}

Response

Successful Response

OR