infery
← All models

FLUX Virtual Try-On

flux-pro-v1-vto

Image editby Black Forest Labs

Generate virtual try-on results from a person image plus one or more garment references.

images

Details

Accepts
image

Pricing

Price
0.625 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedThe same seed and the same input will output the same image every time. If not provided, a random seed is used.
promptrequiredstringNatural-language styling instructions describing how the garment should be worn on the person (e.g. tucked in, layered, sleeves rolled up).
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
output_formatstringenum: jpeg, pngThe format of the generated image.
human_image_urlrequiredstringThe URL of the person image that the garment will be applied onto. The output keeps this image's aspect ratio. Maximum 2 megapixels; recommended under 1 MP.
garment_image_urlrequiredstringThe URL of the garment reference image. Maximum 1 megapixel; recommended around 0.5 MP. Multiple garments must be merged into a single composite image before submission.

Output

FieldTypeDescription
seedinteger Seed of the generated Image. It will be the same value of the one passed in the input or the randomly generated that was used in case none was passed.
imagesarrayThe generated image files info.
promptstringThe prompt used for generating the image.
timingsobject
has_nsfw_conceptsarrayWhether the generated images contain NSFW concepts.