ComfyUI Node: Constrain Resolution

Authored by EnragedAntelope

Created

Updated

5 stars

Category

image/resolution

Inputs

image IMAGE
min_res INT
max_res INT
multiple_of INT

Outputs

IMAGE

INT

INT

FLOAT

FLOAT

Extension: ComfyUI-ConstrainResolution

Given min/max resolution constraints, this automatically suggests optimal dimensions while preserving aspect ratio. Ideal for Image to Image (I2I) and Image to Video (I2V) workflows!

Authored by EnragedAntelope

Run ComfyUI workflows in the Cloud!

No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues

Learn more