falImage to imageComing soon
fal-ai/flux-2-lora-gallery/virtual-tryon
fal-ai/flux-2-lora-gallery/virtual-tryon 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.
Price pendingPricing
Price pending.
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 |
|---|---|---|---|
image_urls required | URLs or files | — | The URLs of the images for virtual try-on. Provide person image and clothing image. |
prompt required | text | — | The prompt to generate a virtual try-on image. |
image_size | JSON | — | The size of the generated image. If not provided, the size of the input image will be used. |
guidance_scale | number 0 to 20 | 2.5 | The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt. |
num_inference_steps | number (whole) 4 to 50 | 40 | The number of inference steps to perform. |
acceleration | one of none, regular | regular | Acceleration level for image generation. 'regular' balances speed and quality. |
seed | number (whole) | — | Random seed for reproducibility. Same seed with same prompt will produce same result. |
output_format | one of png, jpeg, webp | png | The format of the output image |
num_images | number (whole) 1 to 4 | 1 | Number of images to generate |
lora_scale | number 0 to 2 | 1 | The strength of the virtual try-on effect. |
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/flux-2-lora-gallery/virtual-tryon",
"input": {
"image_urls": [
"<image_urls>"
],
"prompt": "A person wearing a stylish jacket, virtual try-on"
}
}'