falImage to videoComing soon

fal-ai/wan-flf2v

fal-ai/wan-flf2v is an image 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.52 per video. The final charge comes from usage.

Limits

Runs
In the background
Returns
video
Longest queue wait
3600s
Run deadline
3600s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—The text prompt to guide video generation.
negative_prompttextbright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwardsNegative prompt for video generation.
start_image_url requiredURL or file—URL of the starting image. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
end_image_url requiredURL or file—URL of the ending image. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
num_framesnumber (whole)
81 to 100
81Number of frames to generate. Must be between 81 to 100 (inclusive). If the number of frames is greater than 81, the video will be generated with 1.25x more billing units.
frames_per_secondnumber (whole)
5 to 24
16Frames per second of the generated video. Must be between 5 to 24.
seednumber (whole)—Random seed for reproducibility. If None, a random seed is chosen.
resolutionone of
480p, 720p
720pResolution of the generated video (480p or 720p). 480p is 0.5 billing units, and 720p is 1 billing unit.
num_inference_stepsnumber (whole)
2 to 40
30Number of inference steps for sampling. Higher values give better quality but take longer.
guide_scalenumber
1 to 10
5Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.
shiftnumber
1 to 10
5Shift parameter for video generation.
enable_prompt_expansiontrue or falsefalseWhether to enable prompt expansion.
accelerationone of
none, regular
regularAcceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'.
aspect_ratioone of
auto, 16:9, 9:16, 1:1
autoAspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image.
lorasJSON[]LoRA weights to be used in the inference.

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-flf2v",
    "input": {
      "prompt": "A tabby cat is confidely strolling toward the camera, when it spins and with a flash of magic reveals itself to be a cat-dragon hybrid with glistening amber…",
      "start_image_url": "https://storage.googleapis.com/falserverless/web-examples/wan_flf/first_frame.png",
      "end_image_url": "https://storage.googleapis.com/falserverless/web-examples/wan_flf/last_frame.png"
    }
  }'