From e82b032b49639db1d9a6ae79010184c5d3b38a7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=B8=85?= <2944435683> Date: Sat, 28 Feb 2026 16:37:20 +0800 Subject: [PATCH] no message --- src/utils/editImage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/editImage.ts b/src/utils/editImage.ts index 2de8f6d..175bc0e 100644 --- a/src/utils/editImage.ts +++ b/src/utils/editImage.ts @@ -86,7 +86,7 @@ export default async (images: Record, directive: string, project systemPrompt: "根据用户提供的具体修改指令,对上传的图片进行智能编辑。", prompt: prompt, imageBase64: base64Images, - aspectRatio: aspectRatio!, + aspectRatio: aspectRatio ? aspectRatio : "16:9", size: "1K", }, apiConfig,