Sign In

Free Resolution Selector – ComfyUI Custom Node

Download

1 variant available

Archive Other

ComfyUI-X4Lch3mist.zip

4.85 KB

Verified:

Type
Other
Stats

6

Generation License Fee

1 / 1 image

Reviews
Published

Oct 5, 2026

Base Model

Other

Hash
AutoV2
C10BC81C89
default creator card background decoration
Followers - 159

159

Likes - 47

47

The Jack-o-lantern
20261002083000-565042721787321-sdxl-boltningRealistic_v10-img2img_00000.png

Free Resolution Selector

Like the built-in ResolutionSelector, but with a freely configurable aspect ratio instead of a fixed dropdown.

Features:

- Any aspect ratio via two numeric fields (e.g. 16:10, 21:9, 7:5)

- Target size in megapixels

- Rounding to a multiple of your choice (8–128)

- Live preview of the resulting resolution and actual megapixels

- Swap button to flip between landscape and portrait
- Width and height as separate INT outputs, usable with any empty latent node

Outputs an empty latent (16 channels, 8x downscale). Tested with Anima, Flux 2, Krea 2 and SDXL.

Installation:

1. Download and unzip

2. Move the folder "ComfyUI-X4Lch3mist" into ComfyUI/custom_nodes/

3. Restart ComfyUI

You'll find the node under utils/latent.

GitHub version coming soon

After the Early Access period, this node will also be available on GitHub as part of the X4Lch3mist node pack, including installation via git:

cd ComfyUI/custom_nodes
git clone https://github.com/X4Lch3mist/ComfyUI-X4Lch3mist.git