falText to videoComing soon
fal-ai/wan/v2.2-5b/text-to-video/distill
fal-ai/wan/v2.2-5b/text-to-video/distill is a text 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.104 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. |
num_frames | number (whole) 17 to 161 | 81 | Number of frames to generate. Must be between 17 to 161 (inclusive). |
frames_per_second | number (whole) 4 to 60 | 24 | Frames per second of the generated video. Must be between 4 to 60. When using interpolation and `adjust_fps_for_interpolation` is set to true (default true,) the final FPS will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If `adjust_fps_for_interpolation` is set to false, this value will be used as-is. |
seed | number (whole) | — | Random seed for reproducibility. If None, a random seed is chosen. |
resolution | one of 580p, 720p | 720p | Resolution of the generated video (580p or 720p). |
aspect_ratio | one of 16:9, 9:16, 1:1 | 16:9 | Aspect ratio of the generated video (16:9 or 9:16). |
num_inference_steps | number (whole) 2 to 50 | 40 | Number of inference steps for sampling. Higher values give better quality but take longer. |
enable_prompt_expansion | true or false | false | Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning. |
guidance_scale | number 1 to 10 | 1 | Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality. |
shift | number 1 to 10 | 5 | Shift value for the video. Must be between 1.0 and 10.0. |
interpolator_model | one of none, film, rife | film | The model to use for frame interpolation. If None, no interpolation is applied. |
num_interpolated_frames | number (whole) 0 to 4 | 0 | Number of frames to interpolate between each pair of generated frames. Must be between 0 and 4. |
adjust_fps_for_interpolation | true or false | true | If true, the number of frames per second will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If false, the passed frames per second will be used as-is. |
video_quality | one of low, medium, high, maximum | high | The quality of the output video. Higher quality means better visual quality but larger file size. |
video_write_mode | one of fast, balanced, small | balanced | The 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. |
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-5b/text-to-video/distill",
"input": {
"prompt": "A medium shot establishes a modern, minimalist office setting: clean lines, muted grey walls, and polished wood surfaces. The focus shifts to a close-up on a…"
}
}'