PixaromaHelp
Help › Nodes › Values

Resolution Pixaroma

One-click resolution picker for AI image sizes, with ratio chips, snap, custom ratios, and math.

In ComfyUI: double-click an empty spot on the canvas and type Resolution Pixaroma.

What it does

Shows a grid of aspect-ratio chips (1:1, 16:9, 9:16, 2:1, 3:2, 2:3, 4:3, 3:4, 4:5). Click a ratio to see its most popular sizes, then click a size to set it. Outputs width and height as integers for any size input, plus an empty latent at that size.

The latent output

The latent is the same as ComfyUI's Empty Latent Image, so you can wire it straight into the KSampler and skip that node. It works for image models: SD 1.5, SDXL, SD3, Flux, Flux 2, Qwen Image and others, because the KSampler adapts it to the model.

That adapting step is in ComfyUI's own samplers (KSampler, SamplerCustomAdvanced). Some samplers from other packs (Easy-Use, Impact Pack) skip it, so with Flux 2, Qwen Image 2.1 and similar models the picture comes out twice the size. With those samplers, wire width and height into the model's own latent node.

The batch box on the same line as the latent output sets how many pictures one Run makes, from 1 to 64: click + or -, or click the number and type. It only changes the latent; width and height stay the same.

For video models, wire width and height into that model's own latent node instead. For Flux 2, a size that is a multiple of 16 gives exactly the same size as its own latent node.

Modes

Preset
Pick a ratio chip, then a preset size for that ratio. Covers SDXL, AI video, and social media sizes.
Custom Ratio
Type any W:H (such as 21:9) and get auto-computed AI-friendly sizes. Sizes stay between 64 and 4096: when one side would go past that, both sides shrink or grow together, so the ratio holds.
Custom Resolution
Type exact pixel dimensions, from 64 to 4096. Math expressions like 1024+128 or 512*2 work in the W and H fields.

Snap

In the two Custom modes, the 8, 16, 32 and 64 buttons round the width and height to that multiple (VAE-friendly). 16 is the default.

Outputs

width
Chosen width in pixels.
height
Chosen height in pixels.
latent
An empty latent at this size, as many pictures as the batch box beside it says. Wire it into the KSampler's latent_image.

This is the help that comes with Pixaroma 1.4.251. Inside ComfyUI, select the node and click the orange ? above it to read the same help there.