ComfyUI Node
WAN Resolution Snap
Turns a preset or typed custom resolution into divisor-safe dimensions for WAN video workflows.
WAN Resolution Snap
- width
- height
- width_float
- height_float
- summary
◄presetcustom►
◄width512►
◄height512►
◄snapnearest►
◄divisible_by32►
◄swapfalse►
CategoryEnviralDesign/video
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| preset | COMBO | custom | 15 options: custom, 512 x 512, 640 x 640, 704 x 704, 768 x 768, 1024 x 1024, +9 |
| width | INT | 5121–16384 | Used when preset is custom. Unsafe values are snapped internally. |
| height | INT | 5121–16384 | Used when preset is custom. Unsafe values are snapped internally. |
| snap | COMBO | nearest | How to quantize width and height to the selected divisor. |
| divisible_by | INT | 321–1024 | — |
| swap | BOOLEAN | false | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| width_float | FLOAT | — |
| height_float | FLOAT | — |
| summary | STRING | — |