
Temporal frame interpolation using FILM. Synthesizes num_intermediate in-between Image frames per input, multiplying frame rate for slow-motion, fps boost, or smoothing a low-fps source before display or recording.
Smooth a video file for playback — interpolated frames written back to disk.
Higher-fps live preview — a network stream is up-sampled and shown in the browser.
Image across calls. The very first Image has no predecessor and passes straight through, so num_intermediate only inserts frames from the second frame onward.
model file slot MUST be a serialized TorchScript FILM checkpoint (a single `.pt`). A filename containing `fp16` runs at half precision and needs a tensor-core GPU; otherwise it runs at full precision.
num_intermediate frames are produced by recursive midpoint subdivision. Powers of two minus one (1, 3, 7, 15) split each interval exactly in half and give the cleanest spacing; any other count emits exactly that many frames on an uneven time grid.
num_intermediate — each inserted frame is one FILM forward pass.device `cuda` falls back to CPU when no CUDA backend is visible — a warning is printed but inference continues at CPU speeds.model checkpoint, device, and num_intermediate are captured once at startup; changing any requires a redeploy.Automated release