NS Qwen Resolution
Stop Guessing Qwen Resolutions
- width
- height
- resolution
- preview
Every image model has a set of native resolutions it's happiest at. Feed a Qwen-Image model some random size like 1331×797 and it works - it just works worse than the sizes it was trained on, and you'll spend a session wondering why the composition is off. NS Qwen Resolution is the antidote: a dropdown of seven aspect ratios, each mapped to the resolution Qwen actually likes, with the width and height emitted as INTs so you can wire them straight into your latent and image-size math.
It's a tiny utility node, and that's fine - half the value of a good workflow is not having to remember magic numbers.
How it works
Pick a ratio, get the numbers. The node maps each aspect to a Qwen-friendly size:
| Pick | Resolution | |---|---| | 1:1 (Square) | 1328 × 1328 | | 16:9 (Widescreen Landscape) | 1664 × 928 | | 9:16 (Widescreen Portrait) | 928 × 1664 | | 4:3 (Standard Landscape) | 1472 × 1104 | | 3:4 (Standard Portrait) | 1104 × 1472 | | 3:2 (Classic Landscape) | 1584 × 1056 | | 2:3 (Classic Portrait) | 1056 × 1584 |
Note these aren't "divide by 8" round numbers - 1328, 1664, 928. They're the sizes Qwen-Image's training actually used, which is the point. The node is marked as an output node, so it also draws a preview card showing the aspect at 1024×1024 with the resolution labeled on it - nice for eyeballing the crop before you commit.
Inputs and outputs
One required input: resolution, the dropdown. Four outputs: width (INT), height (INT), resolution (STRING, formatted like "1328 x 1328"), and preview (IMAGE). Wire the INTs into an empty-latent-size node or a resolution-setting node, and the string into anything that wants to log or display what you chose.
Install and setup
Part of the Symbiotica pack. ComfyUI Manager → search "Symbiotica", or:
cd ComfyUI/custom_nodes
git clone https://github.com/symbiotica-ai/comfyui-nodes.git symbiotica
pip install -r symbiotica/requirements.txt
Restart. No key, no model download, nothing to configure - it's a lookup table with a preview renderer.
Troubleshooting
- The preview card doesn't show - it's an output node; make sure it's actually queued/executed (it should run whenever the graph runs). It draws a card with the dimensions.
- My model isn't Qwen - the sizes are tuned for the Qwen-Image family (which this pack also wraps as hosted WaveSpeed Qwen nodes). For a different base, treat these as reasonable defaults, not gospel.
- I want a custom size - nothing's stopping you; this node is just the convenient preset. If you need 1920×1080 specifically, wire your own INTs and skip the dropdown.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| resolution | COMBO | 1:1 (Square) | 7 options: 1:1 (Square), 16:9 (Widescreen Landscape), 9:16 (Widescreen Portrait), 4:3 (Standard Landscape), 3:4 (Standard Portrait), 3:2 (Classic Landscape), +1 |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| resolution | STRING | — |
| preview | IMAGE | — |