Nodes/ComfyUI/Wan Context Windows
ComfyUI Node Runs on cloud

Wan Context Windows

Set context windows for Wan-like models.

By Comfy-Org·Created 4 years ago·Updated 16 days ago· 121,575
Wan Context Windows
  • model
  • MODEL
context_length81
context_overlap30
context_schedulestandard_uniform
context_stride1
closed_loopfalse
fuse_methodpyramid
freenoisetrue
retain_first_framefalse
split_conds_to_windowsfalse
Categorymodel/patch/wan

Inputs (10)

NameTypeDefaultDescription
modelMODELThe model to apply context windows to during sampling.
context_lengthINT811–16384The length of the context window in real frames. Must be 4*n + 1.
context_overlapINT30The overlap of the context window in real frames.
context_scheduleCOMBOstandard_uniformStep-dependent scheduling algorithm for context windows.
context_strideINT1The stride of the context window; only applicable to uniform schedules.
closed_loopBOOLEANfalseWhether to close the context window loop; only applicable to looped schedules.
fuse_methodCOMBOpyramidThe method to use to fuse the context windows.
freenoiseBOOLEANtrueWhether to apply FreeNoise noise shuffling, improves window blending.
retain_first_frameBOOLEANfalseRetain the first I2V frame in every context window (may help retain initial reference).
split_conds_to_windowsBOOLEANfalseWhether to split multiple conditionings (created by ConditionCombine) to each window based on region index.

Outputs (1)

NameTypeDescription
MODELMODELThe model with context windows applied during sampling.