GET

/v1/schemas/fal/image/fal-ai%2Fflux-2-lora-gallery%2Fvirtual-tryon

kind inputactivity imagehash 1a4ec440extracted Jul 6, 2026version currentsource upstream spec ↗

Request body

12 properties · 2 required · 1 $defs
propertytypedescriptionconstraints
prompt*stringThe prompt to generate a virtual try-on image.
image_urls*string[]The URLs of the images for virtual try-on. Provide person image and clothing image.
accelerationenumAcceleration level for image generation. 'regular' balances speed and quality.none | regular · default: "regular"
num_imagesintegerNumber of images to generate1 ≤ n ≤ 4 · default: 1
image_sizeImageSize | enumThe size of the generated image. If not provided, the size of the input image will be used.nullable
num_inference_stepsintegerThe number of inference steps to perform.4 ≤ n ≤ 50 · default: 40
enable_safety_checkerbooleanWhether to enable the safety checker for the generated image.default: true
seedintegerRandom seed for reproducibility. Same seed with same prompt will produce same result.nullable
output_formatenumThe format of the output imagepng | jpeg | webp · default: "png"
lora_scalenumberThe strength of the virtual try-on effect.0 ≤ n ≤ 2 · default: 1
sync_modebooleanIf `True`, the media will be returned as a data URI and won't be saved in history.default: false
guidance_scalenumberThe CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt.0 ≤ n ≤ 20 · default: 2.5

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/flux-2-lora-gallery/virtual-tryon","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}