Extensions/comfyui-resolution-picker
ComfyUI Extension

comfyui-resolution-picker

ComfyUI node: pick format + resolution from organized dropdown, outputs width/height

By cerridan·Created 4 months ago·Updated about a month ago· 0
cerridan/ComfyUI_ResolutionPicker
Nodes1
On cloudLocal install
Categoryutils
Stars0
Updatedabout a month ago
Readme

ComfyUI Resolution Picker

A simple utility node for ComfyUI that provides an organized dropdown for selecting image/video resolutions.

Node

Resolution Picker

Pick a resolution from an organized dropdown grouped by aspect ratio. Outputs width and height as integers for wiring into other nodes.

Available resolutions:

| Category | Resolutions | |----------|-------------| | 1:1 Square | 512, 768, 1024, 1280, 1536 | | 16:9 Landscape | 512x288 to 1920x1080 | | 9:16 Portrait | 288x512 to 1080x1920 | | 4:3 Landscape | 512x384 to 1600x1200 | | 3:4 Portrait | 384x512 to 1200x1600 | | 3:2 / 2:3 | 768x512 to 1536x1024 | | 21:9 Ultrawide | 1344x576 to 2520x1080 | | Wan 2.2 Video | 832x480, 1024x624 | | LTX Video | 512x288 to 1920x1080 |

Inputs: resolution (dropdown), swap_w_h (toggle) Outputs: width (INT), height (INT)

The swap_w_h toggle flips width and height, useful for quickly switching between landscape and portrait.

Installation

Clone into your ComfyUI custom_nodes directory:

cd /path/to/ComfyUI/custom_nodes/
git clone https://github.com/cerridan/ComfyUI_ResolutionPicker.git

No additional dependencies required.

Restart ComfyUI.

Requirements

  • ComfyUI >= 0.18.x (uses comfy_api.latest V3 node interface)
  • Python >= 3.10
  • No GPU required

License

Apache 2.0