加回 nano-banana-2 与 nano-banana-pro 并存

This commit is contained in:
2026-07-10 12:02:14 +08:00
parent 2afb4e7857
commit 8d792e66e0
3 changed files with 49 additions and 18 deletions
@@ -452,6 +452,17 @@ func (h *UserGenerationHandler) catalogEntries(c *gin.Context) ([]gin.H, error)
"max_reference_images": 4,
"description": "Adobe Flux Kontext Max",
},
{
"id": "nano-banana-2",
"provider": "runway",
"type": "image",
"ratios": []string{"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"},
"resolutions": []string{"1K", "2K", "4K"},
"image_to_image": true,
"max_reference_images": 6,
"reference_mode": "asset",
"description": "Runway Nano Banana 2 (图/参考图)",
},
{
"id": "nano-banana-pro",
"provider": "runway",
@@ -613,6 +624,15 @@ func (h *UserGenerationHandler) publicModels() ([]gin.H, error) {
"description": "Adobe Flux Kontext Max",
"stub": false,
},
{
"id": "nano-banana-2",
"provider": "runway",
"kind": "image",
"ratios": []string{"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"},
"resolutions": []string{"1K", "2K", "4K"},
"description": "Runway Nano Banana 2",
"stub": false,
},
{
"id": "nano-banana-pro",
"provider": "runway",