RIFE · Video Interpolation
fal-ai/rife/videoEdit and transform video with RIFE · Video Interpolation from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
$0.00169 per second.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 930 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
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. |
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/rife/video",
"input": {
"video_url": "https://storage.googleapis.com/falserverless/example_inputs/interpolation-video-input.mp4"
}
}'Frequently asked questions
How much does RIFE · Video Interpolation cost?
$0.00169 per second. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use RIFE · Video Interpolation through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/rife/video"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use RIFE · Video Interpolation?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use RIFE · Video Interpolation?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.