Frame Interpolation
video-interpolation
Controls AI-based frame interpolation using the RIFE model to generate intermediate frames between existing ones.
video-interpolation accepts the following values:
| Value | Behavior |
|---|---|
auto | Applies interpolation automatically when needed (e.g. slow-motion via video-speed) |
true | Always applies frame interpolation |
false | Disables frame interpolation even when it would otherwise be applied automatically |
Billed feature
Frame interpolation is a billed operation. Processing is performed using GPU-accelerated AI inference.
Automatic slow-motion interpolation
When video-speed is set below 1.0, video-interpolation=auto is the default behavior. Imgix generates interpolated frames to maintain smooth playback at the target output frame rate. For example, slowing a 30fps source to 50% speed generates enough intermediate frames to keep the output at 30fps rather than a choppy 15fps.
To disable this automatic behavior for slow-motion videos, set video-interpolation=false.
Standalone interpolation
Setting video-interpolation=true without video-speed opts in to AI-generated frames when increasing the frame rate via video-fps. Without a video-fps value above the source frame rate, no interpolation occurs. This can smooth motion in low-frame-rate source material when combined with a higher target frame rate.