Skip to main content
POST
Virtual try-on

Authorizations

x-key
string
header
required

Body

application/json

Input model for FLUX.2 Klein VTO endpoint.

Exposes only person/garment image fields for cleaner API ergonomics.

prompt
string
required

Text prompt for VTO generation.

Example:

"TRY-ON: The person of image 1 wearing the garments of image 2."

person
string
required

Person image (maps internally to input_image).

garment
string
required

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

seed
integer | null

Optional seed for reproducibility.

Example:

42

safety_tolerance
integer
default:2

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

Required range: 0 <= x <= 5
output_format
enum<string> | null
default:jpeg
Available options:
jpeg,
png,
webp
webhook_url
string<uri> | null

URL to receive webhook notifications

Required string length: 1 - 2083
webhook_secret
string | null

Optional secret for webhook signature verification

Response

Successful Response

id
string
required
polling_url
string
required
cost
number | null

Cost in credits for this request

input_mp
number | null

Input megapixels (2 decimal places)

output_mp
number | null

Output megapixels (2 decimal places)