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 usagePricing
$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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The text prompt to guide video generation. |
negative_prompt | text | bright 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 backwards | Negative prompt for video generation. |
start_image_url required | URL 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 required | URL 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_frames | number (whole) 81 to 100 | 81 | Number 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_second | number (whole) 5 to 24 | 16 | Frames per second of the generated video. Must be between 5 to 24. |
seed | number (whole) | — | Random seed for reproducibility. If None, a random seed is chosen. |
resolution | one of 480p, 720p | 720p | Resolution of the generated video (480p or 720p). 480p is 0.5 billing units, and 720p is 1 billing unit. |
num_inference_steps | number (whole) 2 to 40 | 30 | Number of inference steps for sampling. Higher values give better quality but take longer. |
guide_scale | number 1 to 10 | 5 | Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality. |
shift | number 1 to 10 | 5 | Shift parameter for video generation. |
enable_prompt_expansion | true or false | false | Whether to enable prompt expansion. |
acceleration | one of none, regular | regular | Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'. |
aspect_ratio | one of auto, 16:9, 9:16, 1:1 | auto | Aspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image. |
loras | JSON | [] | 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"
}
}'