ComfyUI Node
CNP Random Resolution
A ComfyUI node in ComfyNodesPlus/Utils with 10 inputs and 3 outputs.
CNP Random Resolution
- width
- height
- resolution
◄moderandom_ratio►
◄base_unit512►
◄min_steps1►
◄max_steps4►
◄fixed_width_steps2►
◄fixed_height_steps2►
◄orientationany►
◄ratio_modecommon►
◄randomise_orientationtrue►
◄seed0►
CategoryComfyNodesPlus/Utils
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | random_ratio | 3 options: fixed, random, random_ratio |
| base_unit | INT | 51264–4096 | — |
| min_steps | INT | 11–32 | — |
| max_steps | INT | 41–32 | — |
| fixed_width_steps | INT | 21–32 | — |
| fixed_height_steps | INT | 21–32 | — |
| orientation | COMBO | any | 4 options: any, square, portrait, landscape |
| ratio_mode | COMBO | common | 4 options: free, common, vertical_common, horizontal_common |
| randomise_orientation | BOOLEAN | true | — |
| seed | INT | 00–18446744073709550000 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| resolution | STRING | — |