falImage to imageComing soon

fal-ai/wan/v2.2-a14b/image-to-image

fal-ai/wan/v2.2-a14b/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 usage

Pricing

$0.065 per image. 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
image_url requiredURL or file—URL of the input image.
prompt requiredtext—The text prompt to guide image generation.
strengthnumber
0 to 1
0.5Denoising strength. 1.0 = fully remake; 0.0 = preserve original.
negative_prompttextNegative prompt for video generation.
seednumber (whole)—Random seed for reproducibility. If None, a random seed is chosen.
aspect_ratioone of
auto, 16:9, 9:16, 1:1
autoAspect ratio of the generated image. If 'auto', the aspect ratio will be determined automatically based on the input image.
num_inference_stepsnumber (whole)
2 to 40
27Number of inference steps for sampling. Higher values give better quality but take longer.
enable_prompt_expansiontrue or falsefalseWhether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.
accelerationone of
none, regular
regularAcceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'.
guidance_scalenumber
1 to 10
3.5Classifier-free guidance scale.
guidance_scale_2number
1 to 10
4Guidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model.
shiftnumber
1 to 10
2
image_sizeJSON—
image_formatone of
png, jpeg
jpegThe format of the output 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/wan/v2.2-a14b/image-to-image",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/example_inputs/wan-image-to-image-input.png",
      "prompt": "A cinematic shot of an ancient city at sunset, intricate stone buildings, warm golden light"
    }
  }'