falVideo to videoComing soon

fal-ai/wan/v2.2-14b/animate/replace

fal-ai/wan/v2.2-14b/animate/replace is a video to video tool from fal that runs in the background and returns video. 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.104 per second. Measured from the input file. The final charge comes from usage.

Limits

Runs
In the background
Returns
video
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
video_url requiredURL or file—URL of the input video.
image_url requiredURL or file—URL of the input image. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
guidance_scalenumber
1 to 10
1Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.
resolutionone of
480p, 580p, 720p
480pResolution of the generated video (480p, 580p, or 720p).
seednumber (whole)—Random seed for reproducibility. If None, a random seed is chosen.
num_inference_stepsnumber (whole)
2 to 40
20Number of inference steps for sampling. Higher values give better quality but take longer.
shiftnumber
1 to 10
5Shift value for the video. Must be between 1.0 and 10.0.
video_qualityone of
low, medium, high, maximum
highThe quality of the output video. Higher quality means better visual quality but larger file size.
video_write_modeone of
fast, balanced, small
balancedThe write mode of the output video. Faster write mode means faster results but larger file size, balanced write mode is a good compromise between speed and quality, and small write mode is the slowest but produces the smallest file size.
return_frames_ziptrue or falsefalseIf true, also return a ZIP archive containing per-frame images generated on GPU (lossless).
use_turbotrue or falsefalseIf true, applies quality enhancement for faster generation with improved quality. When enabled, parameters are automatically optimized for best 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": "fal-ai/wan/v2.2-14b/animate/replace",
    "input": {
      "video_url": "https://v3b.fal.media/files/b/panda/a6SvJg96V8eoglMlYFShU_5385885-hd_1080_1920_25fps.mp4",
      "image_url": "https://v3b.fal.media/files/b/panda/-oMlZo9Yyj_Nzoza_tgds_GmLF86r5bOt50eMMKCszy_eacc949b3933443c9915a83c98fbe85e.png"
    }
  }'