falVideo to videoComing soon
fal-ai/film/video
fal-ai/film/video 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 usagePricing
$0.00169 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
| Field | Kind | Default | Description |
|---|---|---|---|
video_url required | URL or file | — | The URL of the video to use for interpolation. |
num_frames | number (whole) 1 to 4 | 1 | The number of frames to generate between the input video frames. |
use_scene_detection | true or false | false | If True, the input video will be split into scenes before interpolation. This removes smear frames between scenes, but can result in false positives if the scene detection is not accurate. If False, the entire video will be treated as a single scene. |
use_calculated_fps | true or false | true | If True, the function will use the calculated FPS of the input video multiplied by the number of frames to determine the output FPS. If False, the passed FPS will be used. |
fps | number (whole) 1 to 60 | 8 | Frames per second for the output video. Only applicable if use_calculated_fps is False. |
loop | true or false | false | If True, the final frame will be looped back to the first frame to create a seamless loop. If False, the final frame will not loop back. |
video_quality | one of low, medium, high, maximum | high | The quality of the output video. Only applicable if output_type is 'video'. |
video_write_mode | one of fast, balanced, small | balanced | The write mode of the output video. Only applicable if output_type is 'video'. |
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/film/video",
"input": {
"video_url": "https://storage.googleapis.com/falserverless/example_inputs/interpolation-video-input.mp4"
}
}'