falImage to imageComing soon

fal-ai/fashn/tryon/v1.6

fal-ai/fashn/tryon/v1.6 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 usage

Pricing

$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

FieldKindDefaultDescription
model_image requiredtext—URL or base64 of the model image
garment_image requiredtext—URL or base64 of the garment image
categoryone of
tops, bottoms, one-pieces, auto
autoCategory of the garment to try-on. 'auto' will attempt to automatically detect the category of the garment.
modeone of
performance, balanced, quality
balancedSpecifies 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_typeone of
auto, model, flat-lay
autoSpecifies 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_levelone of
none, permissive, conservative
permissiveContent 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'.
seednumber (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_samplesnumber (whole)
1 to 4
1Number 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_freetrue or falsetrueDisables human parsing on the model image.
output_formatone of
png, jpeg
pngOutput 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.6",
    "input": {
      "model_image": "https://storage.googleapis.com/falserverless/example_inputs/model.png",
      "garment_image": "https://storage.googleapis.com/falserverless/example_inputs/garment.webp"
    }
  }'