ComfyUI Node Runs on cloud
Wan Context Windows
Set context windows for Wan-like models.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | The model to apply context windows to during sampling. | |
| context_length | INT | 811–16384 | The length of the context window in real frames. Must be 4*n + 1. |
| context_overlap | INT | 30 | The overlap of the context window in real frames. |
| context_schedule | COMBO | standard_uniform | Step-dependent scheduling algorithm for context windows. |
| context_stride | INT | 1 | The stride of the context window; only applicable to uniform schedules. |
| closed_loop | BOOLEAN | false | Whether to close the context window loop; only applicable to looped schedules. |
| fuse_method | COMBO | pyramid | The method to use to fuse the context windows. |
| freenoise | BOOLEAN | true | Whether to apply FreeNoise noise shuffling, improves window blending. |
| retain_first_frame | BOOLEAN | false | Retain the first I2V frame in every context window (may help retain initial reference). |
| split_conds_to_windows | BOOLEAN | false | Whether to split multiple conditionings (created by ConditionCombine) to each window based on region index. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | The model with context windows applied during sampling. |