From f7363c8ba8c9e9856069be31bacdc36e2c8b9e46 Mon Sep 17 00:00:00 2001 From: jingrow Date: Sun, 31 Aug 2025 21:25:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dmidjourney=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=88=86=E5=89=B2=E9=80=BB=E8=BE=91=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/midjourney/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/midjourney/service.py b/apps/midjourney/service.py index d3a6df9..5584dcb 100644 --- a/apps/midjourney/service.py +++ b/apps/midjourney/service.py @@ -260,7 +260,7 @@ class MidjourneyService: if not original_format: original_format = 'PNG' - if width < 1500 or height < 1500: + if width < 500 or height < 500: logger.error(f"图像尺寸不符合预期: {width}x{height}, 应该接近2048x2048") return None