修复midjourney图片分割逻辑漏洞

This commit is contained in:
jingrow 2025-08-31 21:25:34 +08:00
parent 82088279eb
commit f7363c8ba8

View File

@ -260,7 +260,7 @@ class MidjourneyService:
if not original_format: if not original_format:
original_format = 'PNG' original_format = 'PNG'
if width < 1500 or height < 1500: if width < 500 or height < 500:
logger.error(f"图像尺寸不符合预期: {width}x{height}, 应该接近2048x2048") logger.error(f"图像尺寸不符合预期: {width}x{height}, 应该接近2048x2048")
return None return None