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

S
Description
No description provided
Readme
28 KiB
Languages
Python 100%