How to Use FILM Video Interpolation in Codex
FILM Video Interpolation fills gaps between existing video frames for smoother playback or slow-motion edits. It targets large changes in motion, though extreme movement can still produce unnatural shapes.
Prompts to try with FILM Video Interpolation in Codex
Copy an example into Codex, or ask in your own words.
Use FILM Video Interpolation on assets/product-turntable.mp4 with one generated frame between input frames. Save a separate preview and prepare a side-by-side comparison with the original.
Use FILM Video Interpolation to compare one versus two generated frames between input frames in assets/animation-preview.mp4. Keep both results for a motion review.
Use FILM Video Interpolation on assets/montage.mp4 with scene detection enabled. Extract comparison frames around each cut so I can check for smearing.
Use FILM Video Interpolation to prepare a slow-motion preview of assets/skateboard.mp4. Include the original in the review page so I can inspect the fastest movement.
Use FILM Video Interpolation on assets/camera-pan.mp4. Build a local comparison player that lets me switch between the original and interpolated preview.
How to set up FILM Video Interpolation in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run FILM Video Interpolation
One request; the result comes back by polling or a webhook.
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" } }'
Then paste one of the prompts above: Codex finds FILM Video Interpolation on Spiral, shows the price and runs it.
FILM Video Interpolation providers and prices
Spiral runs FILM Video Interpolation through fal. Open a card for today's price, with every fee included.
Settings you can ask for
FILM Video Interpolation works from your video URL. Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of frames | 1 to 4 | 1 | The number of frames to generate between the input video frames. |
| Use scene detection | on or off | off | 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 | on or off | on | 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. |
| Frames per second | 1 to 60 | 8 | Frames per second for the output video. Only applicable if use_calculated_fps is False. |
| Loop | on or off | off | 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 | low, medium, high, or maximum | high | The quality of the output video. Only applicable if output_type is 'video'. |
| Video write mode | fast, balanced, or small | balanced | The write mode of the output video. Only applicable if output_type is 'video'. |
Every API field of FILM · Video Interpolation is on its tool page: open its card above.
What can you do with FILM Video Interpolation in Codex?
Turn project video assets into interpolation previews for motion review. A coding agent can prepare clips, run FILM, and organize comparisons with the originals.
Product rotation clips
Try interpolation on an existing product turntable video, then inspect the outline as the product rotates.
Slow-motion sports edits
Prepare a slow-motion preview from an existing sports clip. Review the fastest movement for unnatural deformation before using it in an edit.
Animation previews
Compare an existing animation with an interpolated version to decide whether added motion suits the intended style.
Camera pan previews
Test smoother playback on a continuous camera pan and compare moving edges against the original.
Generated video finishing
Add intermediate frames to an existing AI-generated clip, then check whether motion improves without introducing new shape distortions.
Edited montage processing
Try interpolation on a montage with scene detection enabled. Review every cut for smearing and check for false scene boundaries.
More on FILM Video Interpolation and Codex
Overview
FILM Video Interpolation in other agents
Questions about FILM Video Interpolation in Codex
Can Codex use FILM Video Interpolation?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run FILM Video Interpolation like any built-in tool.
How much does FILM Video Interpolation cost in Codex?
Up to $0.1014 per run at the default inputs for 60 seconds of input. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need a fal account to use FILM Video Interpolation in Codex?
No. Spiral runs FILM Video Interpolation on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up FILM Video Interpolation in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while FILM Video Interpolation runs?
FILM Video Interpolation runs in the background. Codex starts the run, checks on it and gives you the video when it's ready.
What does FILM do to a video?
FILM synthesizes frames between existing frames. Use it to try smoother playback or prepare a slow-motion edit.
What should I ask an agent to do with FILM?
Identify the video and describe the editing goal: smoother playback or slow motion. Ask for a short comparison with the original before processing the full edit.
How well does FILM handle fast movement?
FILM was designed to handle large changes in motion between images. Extreme movement can still distort shapes, so inspect the busiest sections before keeping a result.
Why can scene changes look smeared?
Interpolation across a cut can blend unrelated scenes. Try scene detection, then check that it has not mistaken movement within a shot for a cut.
Are smoother playback and slow motion the same result?
They are different editing goals that can both use generated intermediate frames. Specify whether you want the action to keep its original timing or play more slowly.
Start using FILM Video Interpolation in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


