Video Motion

Frame Interpolation API — convert 24fps to 60fps with AI

Bidirectional optical flow synthesizes intermediate frames for fluid motion — for sports replays, game footage and archive refresh.

VideoMotion

Before & after

See the difference

24 fps goes in, 60 fps comes out. Watch the ball on the left jitter while the right side stays smooth.

INPUT24 fps source24 fps

Frames arrive every 41.7 ms — fast motion looks jittery and strobes.

OUTPUT60 fps with AI frames60 fps

2.5× more frames, synthesized between the originals — motion is silky smooth.

24 fps sourceframe Nframe N+160 fps output
Original frameAI-synthesized frame

What it does

Frame interpolation generates the frames between two real frames. Our engine uses bidirectional optical flow: it warps both neighboring frames toward the target time, refines occlusions, and renders a new frame with minimal ghosting. Cinematic and high-motion presets keep film feel or maximize smoothness — from a 24/25/30fps source, one job outputs 60 or 120fps.

Full API reference
Python
import requests

url = "https://api.mlslabs.io/v1/frame-interpolation/jobs"
resp = requests.post(
    url,
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={
        "input": "s3://bucket/gameplay-24fps.mp4",
        "output": "s3://bucket/gameplay-60fps.mp4",
        "target_fps": 60,
        "preset": "high_motion",
    },
)
job = resp.json()
print(job["job_id"])

Key features

Why teams pick this API

Bidirectional optical flow

Warp-and-refine synthesis reduces ghosting and warping around occlusions.

Motion clarity presets

Cinematic and high-motion presets preserve film feel or maximize smoothness.

60/120fps output

Output any frame rate from a 24/25/30fps source, in one job.

Pipeline-ready

Compose with Super Resolution and encoding APIs in a single chain.

Use cases

Built for real workflows

Sports & replays

Convert 24/25fps broadcasts to 60fps for smoother action and replays.

Game footage

Lift 30fps captures to 60fps for streaming and highlight reels.

Mobile & social refresh

Refresh archive content to the frame rates social platforms reward.

Pricing

Credit-based pricing

Every request draws from your credit pool. This API bills 45 credits per second of output video.

Billing unitCost in creditsNotes
Processing time45 creditsPer second of output video
Failed jobs0 creditsCredits auto-refunded
Batch processingSame rateOne queue, per-file callbacks

See credit packs & full pricing

Learn

Guides, tutorials & comparisons

Browse all tutorials

FAQ

Common questions

Will there be artifacts on fast motion?

The high-motion preset is specifically tuned for fast action; cinematic preset prioritizes film feel. Sample your content type before committing.

Which source frame rates are supported?

24, 25, 30 and variable frame rates — one job converts to any target.

How does this compare to RIFE-based tools?

We ship a production-hardened variant of the same model family, with occlusion refinement and per-content presets — see the comparison page.

Can I chain it with upscaling?

Yes — Super Resolution + Frame Interpolation + encoding is a documented enhancement chain.