ComfyUI Node: Snap to Nearest Aspect Ratio

Authored by pipelet-ai

Created

Updated

0 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Category

utils

Inputs

width INT
height INT
output_resolution
  • 720p
  • 1080p
  • 2K
  • 4K
  • Custom
enable_21_9 BOOLEAN
custom_21_9 STRING
enable_16_9 BOOLEAN
custom_16_9 STRING
enable_1_1 BOOLEAN
custom_1_1 STRING
enable_9_16 BOOLEAN
custom_9_16 STRING
enable_9_21 BOOLEAN
custom_9_21 STRING
enable_4_3 BOOLEAN
custom_4_3 STRING
enable_3_4 BOOLEAN
custom_3_4 STRING

Outputs

INT

INT

FLOAT

FLOAT

Extension: ComfyUI-PredefinedResolution

A ComfyUI custom node that automatically snaps input dimensions to predefined resolutions and aspect ratios.

Authored by pipelet-ai

Looking for a different node?

More nodes in ComfyUI-PredefinedResolution

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more