GET
/v1/schemas/fal/image/fal-ai%2Ffashn%2Ftryon%2Fv1.6
Accept:
Request body
11 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| model_image* | string | URL or base64 of the model image | |
| garment_image* | string | URL or base64 of the garment image | |
| mode | enum | Specifies the mode of operation. 'performance' mode is faster but may sacrifice quality, 'balanced' mode is a balance between speed and quality, and 'quality' mode is slower but produces higher quality results. | performance | balanced | quality · default: "balanced" |
| segmentation_free | boolean | Disables human parsing on the model image. | default: true |
| garment_photo_type | enum | Specifies the type of garment photo to optimize internal parameters for better performance. 'model' is for photos of garments on a model, 'flat-lay' is for flat-lay or ghost mannequin images, and 'auto' attempts to automatically detect the photo type. | auto | model | flat-lay · default: "auto" |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | default: false |
| seed | integer | Sets random operations to a fixed state. Use the same seed to reproduce results with the same inputs, or different seed to force different results. | nullable |
| moderation_level | enum | Content moderation level for garment images. 'none' disables moderation, 'permissive' blocks only explicit content, 'conservative' also blocks underwear and swimwear. | none | permissive | conservative · default: "permissive" |
| category | enum | Category of the garment to try-on. 'auto' will attempt to automatically detect the category of the garment. | tops | bottoms | one-pieces | auto · default: "auto" |
| output_format | enum | Output format of the generated images. 'png' is highest quality, while 'jpeg' is faster | png | jpeg · default: "png" |
| num_samples | integer | Number of images to generate in a single run. Image generation has a random element in it, so trying multiple images at once increases the chances of getting a good result. | 1 ≤ n ≤ 4 · default: 1 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/fashn/tryon/v1.6","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}