GET
/v1/schemas/fal/image/fal-ai/flux-2-lora-gallery/virtual-tryon
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source traceba0ef943f513f87741f5e57c93e3de61cd07f4bef1a223b14cfe4800772f372e{
"fetchedAt": 1786165357,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
12 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| image_urls* | string[] | The URLs of the images for virtual try-on. Provide person image and clothing image. | |
| prompt* | string | The prompt to generate a virtual try-on image. | |
| image_size | ImageSize | enum | The size of the generated image. If not provided, the size of the input image will be used. | nullable |
| output_format | enum | The format of the output image | png | jpeg | webp · default: "png" |
| num_inference_steps | integer | The number of inference steps to perform. | 4 ≤ n ≤ 50 · default: 40 |
| enable_safety_checker | boolean | Whether to enable the safety checker for the generated image. Disabling it requires account authorization; unauthorized requests are always checked. | default: true |
| seed | integer | Random seed for reproducibility. Same seed with same prompt will produce same result. | nullable |
| guidance_scale | number | The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt. | 0 ≤ n ≤ 20 · default: 2.5 |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and won't be saved in history. | default: false |
| lora_scale | number | The strength of the virtual try-on effect. | 0 ≤ n ≤ 2 · default: 1 |
| acceleration | enum | Acceleration level for image generation. 'regular' balances speed and quality. | none | regular · default: "regular" |
| num_images | integer | Number of images to generate | 1 ≤ n ≤ 4 · default: 1 |
Types
1 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
Validate a payload
before you spend tokensshell
$ 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", …}]}