From ae257a6ff891703bbefd626e196c5f99bbad6e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 19 Sep 2026 13:36:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E7=AB=AF=E7=82=B9=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E7=94=9F=E6=88=90=E7=9A=84=20provid?= =?UTF-8?q?er=5Fmodel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit generate_editor_image_for_owner 在参考图存在时改用 gpt-image-2.5-sunburst-c(编辑模型) 无参考图生成继续使用 gpt-image-2.5-flare-c,nanobanana 分支沿用自身模型 --- server-rs/crates/api-server/src/editor_project.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server-rs/crates/api-server/src/editor_project.rs b/server-rs/crates/api-server/src/editor_project.rs index 78c9164ac..a49b673d1 100644 --- a/server-rs/crates/api-server/src/editor_project.rs +++ b/server-rs/crates/api-server/src/editor_project.rs @@ -3190,8 +3190,10 @@ where model: generation_options.model, provider_model: if generation_options.model == EDITOR_IMAGE_MODEL_NANOBANANA2 { generation_options.model - } else { + } else if reference_images.is_empty() { GPT_IMAGE_2_5_GENERATION_MODEL + } else { + GPT_IMAGE_2_5_EDIT_MODEL }, prompt: submitted_prompt.as_str(), negative_prompt,