Nodes/IAMCCS-nodes/MoveAhead (FreeLong spectral blend) ??
ComfyUI Node

MoveAhead (FreeLong spectral blend) ??

Apply FreeLong spectral blending to Wan 2.2 for better motion consistency in long videos. Connect between model loader and KSampler.

By IAMCCS·Created 10 months ago·Updated about a month ago· 109
MoveAhead (FreeLong spectral blend) ??
  • model
  • model
enabledtrue
blend_strength0.8
low_freq_ratio0.80
auto_windowtrue
manual_window_frames
blend_curveflat
blend_start_block0
blend_end_block-1
vram_presetnormal
CategoryIAMCCS/Wan

Inputs (10)

NameTypeDefaultDescription
modelMODEL
enabledBOOLEANtrueEnable / disable MoveAhead. Leave connected and toggle for quick A/B.
blend_strengthFLOAT0.80–1How strongly the spectral blend affects the output. 0 = passthrough, 1 = full blend. 0.8 is a safe default.
low_freq_ratioFLOAT0.800–1Fraction of the frequency spectrum taken from the global (full-sequence) stream. Higher → smoother motion, less detail. Lower → sharper but may drift. 0.8 is a good balance for most scenarios.
auto_windowBOOLEANtrueAUTO window mode. When enabled, MoveAhead auto-detects latent frames and uses a window of ~40% of the detected length.
manual_window_framesSTRINGManual window size in VIDEO frames (example: 33 for 81-frame videos). Used only if AUTO window is OFF.
blend_curveCOMBOflatflat = constant blend_strength across all blocks (original behaviour). sigmoid = strength ramps from near-zero at the first blocks to full blend_strength at later blocks. Early blocks keep global motion anchoring, later blocks progressively add detail blending.
blend_start_blockINT00–40Transformer block at which blending starts (0 = first block).
blend_end_blockINT-1-1–40Transformer block at which blending ends (-1 = all blocks, respects actual model depth).
vram_presetCOMBOnormalVRAM preset for the FFT blending implementation. low = smallest chunks (slowest, safest), normal = balanced, high = larger chunks (faster).

Outputs (1)

NameTypeDescription
modelMODEL