Nodes/ComfyUI-Tween/GIMM-VFI Interpolate
ComfyUI Node

GIMM-VFI Interpolate

A ComfyUI node in video/GIMM-VFI with 12 inputs and 3 outputs.

By ethanfel·Created 6 months ago·Updated 10 days ago· 14
GIMM-VFI Interpolate
  • images
  • model
  • settings
  • images
  • oversampled
  • elapsed_seconds
multiplier2
single_passtrue
clear_cache_after_n_frames10
keep_devicetrue
all_on_gpufalse
batch_size1
chunk_size0
source_fps0.00
target_fps0.00
Categoryvideo/GIMM-VFI

Inputs (12)

NameTypeDefaultDescription
imagesIMAGEInput image batch. Output frame count: 2x=(2N-1), 4x=(4N-3), 8x=(8N-7).
modelGIMM_VFI_MODELGIMM-VFI model from the Load GIMM-VFI Model node.
multiplierCOMBO2Frame rate multiplier. In single-pass mode, all intermediate frames are generated in one forward pass per pair. In recursive mode, uses 2x passes like other models.
single_passBOOLEANtrueUse GIMM-VFI's single-pass arbitrary-timestep mode. Generates all intermediate frames per pair in one forward pass (no recursive 2x passes). Disable to use the standard recursive approach (same as BIM/EMA/SGM).
clear_cache_after_n_framesINT101–100Clear CUDA cache every N frame pairs to prevent VRAM buildup. Lower = less VRAM but slower.
keep_deviceBOOLEANtrueKeep model on GPU between frame pairs. Faster but uses more VRAM constantly. Disable to free VRAM between pairs (slower due to CPU-GPU transfers).
all_on_gpuBOOLEANfalseStore all intermediate frames on GPU instead of CPU. Much faster (no transfers) but requires enough VRAM for all frames. Recommended for 48GB+ cards.
batch_sizeINT11–64Number of frame pairs to process simultaneously in recursive mode. Ignored in single-pass mode (pairs are processed one at a time since each generates multiple frames).
chunk_sizeINT00–10000Process input frames in chunks of this size (0=disabled). Bounds VRAM usage during processing but the full output is still assembled in RAM. To bound RAM, use the Segment Interpolate node instead.
source_fpsFLOAT0.000–1000Input frame rate. Required when target_fps > 0.
target_fpsFLOAT0.000–1000Target output FPS. When > 0, overrides multiplier and auto-computes a power-of-2 oversample up to 8x, then selects frames. 0 = use multiplier.
settingsoptVFI_SETTINGSAuto-tuned settings from VFI Optimizer. Overrides batch_size, chunk_size, keep_device, all_on_gpu, clear_cache_after_n_frames.

Outputs (3)

NameTypeDescription
imagesIMAGE
oversampledIMAGE
elapsed_secondsFLOAT