Publish current ComfyUI O1Key code baseline

Replace the prior release tree with the current plugin, frontend, tests, and documentation. Document retired node IDs and the public Gitea update source.
This commit is contained in:
Jony
2026-09-24 19:56:48 +08:00
parent 3e337722ab
commit ba920f2b66
183 changed files with 49496 additions and 9934 deletions
+4 -4
View File
@@ -69,7 +69,7 @@ GEMINI_MODELS = [
},
{
"id": "nano-banana-2-次卡",
"description": "Nano Banana 2 次卡,根据分辨率自动选择端点 (512px/1K/2K/4K),图像生成模型",
"description": "Nano Banana 2 次卡,根据分辨率自动选择端点 (512/1K/2K/4K),图像生成模型",
"enabled": True,
"provider": "gemini_async",
"endpoint_type": "dynamic",
@@ -78,7 +78,7 @@ GEMINI_MODELS = [
"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"]
"supported_resolutions": ["512", "1K", "2K", "4K"]
},
{
"id": "nano-banana-2-官方计费",
@@ -91,7 +91,7 @@ GEMINI_MODELS = [
"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"]
"supported_resolutions": ["512", "1K", "2K", "4K"]
},
{
"id": "nano-banana-次卡",
@@ -309,7 +309,7 @@ def get_all_supported_resolutions() -> List[str]:
>>> get_all_supported_resolutions()
['512', '1K', '2K', '4K']
"""
_ORDER = ["512px", "1K", "2K", "4K"]
_ORDER = ["512", "1K", "2K", "4K"]
seen = set()
for model in GEMINI_MODELS: