WAN Context Windows (Manual)
contextExperimental
WanContextWindowsManualManually set context windows for WAN-like models (dim=2).
Experimental: This node is experimental and its behavior may change without notice.
Example
JSON Example
{
"class_type": "WanContextWindowsManual",
"inputs": {
"model": [
"node_id",
0
],
"context_length": 81,
"context_overlap": 30,
"context_schedule": null,
"context_stride": 1,
"closed_loop": false,
"fuse_method": "pyramid",
"freenoise": false
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
model? | MODEL | required | - | - |
context_length? | INT | required | min: 1, max: 16384, step: 4 | 81 |
context_overlap? | INT | required | min: 0 | 30 |
context_schedule? | COMBO | required | - | - |
context_stride? | INT | required | min: 1 | 1 |
closed_loop? | BOOLEAN | required | - | false |
fuse_method? | COMBO | required | - | "pyramid" |
freenoise? | BOOLEAN | required | - | false |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | MODEL | MODEL | No | ["{node_id}", 0] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this WanContextWindowsManual node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
MODEL (MODEL):["5", 0]
Was this page helpful?