falImage to imageComing soon
wan/v2.6/image-to-image
wan/v2.6/image-to-image 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.039 per image. Billed on num_images, 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 |
|---|---|---|---|
prompt required | text | — | Text prompt describing the desired image. Supports Chinese and English. Max 2000 characters. Example: 'Generate an image using the style of image 1 and background of image 2'. |
image_urls required | URLs or files | — | Reference images for editing (1-3 images required). Order matters: reference as 'image 1', 'image 2', 'image 3' in prompt. Resolution: 384-5000px each dimension. Max size: 10MB each. Formats: JPEG, JPG, PNG (no alpha), BMP, WEBP. |
negative_prompt | text | Content to avoid in the generated image. Max 500 characters. | |
image_size | JSON | square_hd | Output image size. Use presets like 'square_hd', 'landscape_16_9', 'portrait_9_16', or specify exact dimensions with ImageSize(width=1280, height=720). Total pixels must be between 768*768 and 1280*1280. |
num_images | number (whole) 1 to 4 | 1 | Number of images to generate (1-4). Directly affects billing cost. |
enable_prompt_expansion | true or false | true | Enable LLM prompt optimization. Significantly improves results for simple prompts but adds 3-4 seconds processing time. |
seed | number (whole) | — | Random seed for reproducibility (0-2147483647). Same seed produces more consistent results. |
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": "wan/v2.6/image-to-image",
"input": {
"prompt": "Place the wizard from image 2 in the ancient library from image 3, holding and studying the magical crystal orb from image 1. The orb'\''s glow illuminates his…",
"image_urls": [
"<image_urls>"
]
}
}'