falImage to imageComing soon
fal-ai/flux-pro/v1/vto
fal-ai/flux-pro/v1/vto 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 |
|---|---|---|---|
prompt required | text | — | Natural-language styling instructions describing how the garment should be worn on the person (e.g. tucked in, layered, sleeves rolled up). |
human_image_url required | text | — | The URL of the person image that the garment will be applied onto. The output keeps this image's aspect ratio. Maximum 2 megapixels; recommended under 1 MP. |
garment_image_url required | text | — | The URL of the garment reference image. Maximum 1 megapixel; recommended around 0.5 MP. Multiple garments must be merged into a single composite image before submission. |
seed | number (whole) | — | The same seed and the same input will output the same image every time. If not provided, a random seed is used. |
output_format | one of jpeg, png | jpeg | The format of the generated image. |
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-pro/v1/vto",
"input": {
"prompt": "A natural front-facing studio shot. The t-shirt is worn tucked in.",
"human_image_url": "https://storage.googleapis.com/falserverless/model_tests/leffa/person_image.jpg",
"garment_image_url": "https://storage.googleapis.com/falserverless/model_tests/leffa/tshirt_image.jpg"
}
}'