falImage to imageComing soon
fal-ai/fashn/tryon/v1.5
fal-ai/fashn/tryon/v1.5 is an image to image tool from fal that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Priced by usagePricing
$0.0975 per generation. Billed on num_samples, default 1. The final charge comes from usage.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
model_image required | text | — | URL or base64 of the model image |
garment_image required | text | — | URL or base64 of the garment image |
category | one of tops, bottoms, one-pieces, auto | auto | Category of the garment to try-on. 'auto' will attempt to automatically detect the category of the garment. |
mode | one of performance, balanced, quality | balanced | 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. |
garment_photo_type | one of auto, model, flat-lay | auto | 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. |
moderation_level | one of none, permissive, conservative | permissive | Content moderation level for garment images. 'permissive' blocks only explicit content; 'conservative' also blocks underwear and swimwear. 'none' disables moderation only for accounts authorized to disable safety filters; for all other accounts it is treated as 'permissive'. |
seed | number (whole) | — | 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. |
num_samples | number (whole) 1 to 4 | 1 | 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. |
segmentation_free | true or false | true | Disables human parsing on the model image. |
output_format | one of png, jpeg | png | Output format of the generated images. 'png' is highest quality, while 'jpeg' is faster |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "fal-ai/fashn/tryon/v1.5",
"input": {
"model_image": "https://utfs.io/f/wXFHUNfTHmLj4prvqbRMQ6JXFyUr3IT0avK2HSOmZWiAsxg9",
"garment_image": "https://utfs.io/f/wXFHUNfTHmLjtkhepmqOUnkr8XxZbNIFmRWldShDLu320TeC"
}
}'