Feat/gpt-image-2.5 集成 #422

Open
k88936 wants to merge 88 commits from feat/gptimage2to2.5 into master
Showing only changes of commit ae257a6ff8 - Show all commits
@@ -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,