From 9f68d7dda80863975e7d64f795ba00cc71111c21 Mon Sep 17 00:00:00 2001 From: Jony <951565127@qq.com> Date: Sat, 16 May 2026 12:04:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20nano-banana-?= =?UTF-8?q?=E6=AC=A1=E5=8D=A1=20=E6=A8=A1=E5=9E=8B=EF=BC=8C=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=E7=AB=AF=E7=82=B9=20nano-banana=EF=BC=8C=E6=94=AF?= =?UTF-8?q?=E6=8C=81=201K=20=E5=88=86=E8=BE=A8=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models_config.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/models_config.py b/models_config.py index fb2bac2..475cc3e 100644 --- a/models_config.py +++ b/models_config.py @@ -93,6 +93,18 @@ GEMINI_MODELS = [ ], "supported_resolutions": ["512px", "1K", "2K", "4K"] }, + { + "id": "nano-banana-次卡", + "description": "Nano Banana 次卡,固定端点,图像生成模型", + "enabled": True, + "provider": "gemini_async", + "endpoint_type": "standard", + "endpoint": "/v1beta/models/nano-banana: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"] + }, ]