From e01cfac1ef0867f8b7738b201c6b72768134f148 Mon Sep 17 00:00:00 2001 From: BRADSEC <7948876+bradsec@users.noreply.github.com> Date: Sat, 20 Jun 2026 18:06:18 +1000 Subject: [PATCH] feat: add official Qwen-Image 4:3/3:4/3:2/2:3 resolutions (1472x1104, 1104x1472, 1584x1056, 1056x1584) --- resolution_selector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resolution_selector.py b/resolution_selector.py index 4b338d2..e4a575b 100755 --- a/resolution_selector.py +++ b/resolution_selector.py @@ -18,8 +18,8 @@ MODEL_RESOLUTIONS = { }, "Qwen Image": { "square": [(1024, 1024), (1080, 1080), (1280, 1280), (1328, 1328), (1536, 1536), (1920, 1920), (2048, 2048)], - "portrait": [(680, 2048), (928, 1664), (1024, 1536), (1024, 2048), (1080, 1920), (1140, 1472), (1152, 2048), (1200, 1800), (1368, 2048), (1464, 2048), (1536, 2048), (1608, 2048), (1640, 2048), (1704, 2048)], - "landscape": [(1280, 720), (1472, 1140), (1536, 1024), (1664, 928), (1800, 1200), (1920, 1080), (2048, 680), (2048, 1024), (2048, 1152), (2048, 1368), (2048, 1464), (2048, 1536), (2048, 1608), (2048, 1640), (2048, 1704)], + "portrait": [(680, 2048), (928, 1664), (1024, 1536), (1024, 2048), (1056, 1584), (1080, 1920), (1104, 1472), (1140, 1472), (1152, 2048), (1200, 1800), (1368, 2048), (1464, 2048), (1536, 2048), (1608, 2048), (1640, 2048), (1704, 2048)], + "landscape": [(1280, 720), (1472, 1104), (1472, 1140), (1536, 1024), (1584, 1056), (1664, 928), (1800, 1200), (1920, 1080), (2048, 680), (2048, 1024), (2048, 1152), (2048, 1368), (2048, 1464), (2048, 1536), (2048, 1608), (2048, 1640), (2048, 1704)], "constraints": {"divisible_by": 8, "min": 256, "max": 2048} }, "Z-Image": {