ComfyUI Extension: ComfyUI-Qwen-Aspect-Ratio
A node to provide recommended aspect ratios for the Qwen model series.
Custom Nodes (0)
README
Qwen Aspect Ratio Selector (Latent) - ComfyUI Node
A simple ComfyUI custom node to select aspect ratios optimized for Qwen Image, calculate the correct resolution, and output a ready-to-use empty latent.
Features
- 24 predefined aspect ratios (portrait, landscape, cinematic, ultrawide…)
- Native Qwen resolution (1328 px longest side)
- Scale output size by percentage
- Outputs both width/height and a ready-to-use
LATENT
Installation
Manual
- Copy
qwen_aspect_ratio_latent.py
into yourComfyUI/custom_nodes
folder. - Restart ComfyUI.
- Look for "Qwen Aspect Ratio Selector (Latent)" in the Qwen Utils category.
With ComfyUI Manager
- Open ComfyUI.
- Go to Manager → Install Custom Node.
- Paste this repo URL:
https://github.com/Verolelb/ComfyUI-Qwen-Aspect-Ratio
- Install and restart.
Parameters
- aspect_ratio : Choose from 1:1, 16:9, 21:9, etc.
- scale_percent : Increase or decrease the resolution while keeping the ratio.
- batch_size : Number of images in the latent.
License
MIT License