Make_Size
A one-stop resolution preset picker for EmptyLatentImage and friends
- width
- height
Every ComfyUI user has typed 1024 and 1024 into an EmptyLatentImage enough times to wonder why it's still manual. Make Size is the answer to that specific annoyance: a dropdown of sensible preset resolutions, a couple of manual width/height boxes for when none of the presets fit, and two clean INT outputs you can wire straight into any node that wants a width and height.
The presets are the point. Instead of remembering "SDXL is 1024x1024, SD1.5 is 512x512," you get them listed by architecture and aspect ratio - the 20-option resolutions dropdown includes the SD1.5 and SDXL native sizes at their common ratios (1:1, 2:3, 3:2, 16:9, and friends), plus a custom entry that falls back to your manual width and height. It's a small quality-of-life win, but it's the kind of thing that adds up across a workflow.
Inputs and outputs
resolutions- pick a preset and it sets the dimensions for you;customuses the boxes below.width/height- manual values, default 1024, clamped to the 64–8192 range.swap_dimensions-Onflips width and height. Handy when you realize a portrait preset should be landscape, or when you're reusing one preset for two orientations in the same graph.widthandheight(outputs) - two INTs, ready to feedEmptyLatentImage,ImageScale, a latent upscale node, or anything else that takes separate width/height values.
That's the entire node. It computes nothing, generates nothing - it's a tidy source of integers.
One usage tip that pays off: wire the output INTs into both your EmptyLatentImage and a text node or PreviewText so the resolution is visible in your graph. When you're iterating on tiled upscaling (this pack's main event), knowing at a glance what size you're working toward saves a lot of squinting at the combine output.
Install
It lives in the Utils category of the ComfyUI Steudio pack:
cd ComfyUI/custom_nodes
git clone https://github.com/Steudio/ComfyUI_Steudio
Restart ComfyUI after cloning (or use ComfyUI Manager and search ComfyUI Steudio). No dependencies, no downloads. If you're already running this pack for the Divide and Conquer suite, the node's already there - you just haven't noticed it in the menu yet.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 102464–8192 | — |
| height | INT | 102464–8192 | — |
| resolutions | COMBO | 20 options: custom, SD1.5 - 1:1 ◻ 512x512, SD1.5 - 2:3 ▯ 512x768, SD1.5 - 3:4 ▯ 512x682, SD1.5 - 3:2 ▭ 768x512, SD1.5 - 4:3 ▭ 682x512, +14 | |
| swap_dimensions | COMBO | 2 options: Off, On |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |