feat: 重命名异步生图节点为NanoBananaV2,移除gpt-5.4及旧官方模型配置

- AsyncImageGenerator → NanoBananaV2
- BatchAsyncImageGenerator → NanoBananaV2Batch
- 移除 universal_llm 中的 gpt-5.4 模型
- 移除 models_config 中的 nano-banana-pro-官方 和 nano-banana-2-官方

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
o1key
2026-04-30 17:45:18 +08:00
co-authored by Claude Opus 4.6
parent 2e93a34434
commit 40b10209a4
7 changed files with 214 additions and 150 deletions
-25
View File
@@ -93,31 +93,6 @@ GEMINI_MODELS = [
],
"supported_resolutions": ["512px", "1K", "2K", "4K"]
},
{
"id": "nano-banana-pro-官方",
"description": "Nano Banana Pro 官方,固定端点,适用于常规图像生成",
"enabled": True,
"provider": "gemini_async",
"endpoint_type": "standard",
"endpoint": "/v1beta/models/gemini-3-pro-image-preview:generateContent",
"supported_aspect_ratios": [
"1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"
],
"supported_resolutions": ["1K", "2K", "4K"]
},
{
"id": "nano-banana-2-官方",
"description": "Nano Banana 2 官方,固定端点,快速图像生成模型",
"enabled": True,
"provider": "gemini_async",
"endpoint_type": "standard",
"endpoint": "/v1beta/models/gemini-3.1-flash-image-preview:generateContent",
"supported_aspect_ratios": [
"1:1", "1:4", "1:8", "2:3", "3:2", "3:4", "4:1", "4:3", "4:5", "5:4",
"8:1", "9:16", "16:9", "21:9"
],
"supported_resolutions": ["512px", "1K", "2K", "4K"]
}
]