Source: https://01router.com/zh/docs/models/nano-banana-2/model-detail Base URL: https://01router.com/api/v1 # Nano Banana 2 · 查询单个模型 模型对象包含 slug、name、type、vendor、params 和 providers。供应商条目包含其实际参数和价格档位。 `GET /api/v1/models/{slug}` 公开接口 · 无需 API Key ## 输入参数 | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | slug | string · path | yes | 模型目录中的 slug;项目密钥也可使用项目自定义的模型 slug。 | options: [ "nano-banana-2" ] | ## 输出字段 | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | slug | string | — | 模型目录中的 slug;项目密钥也可使用项目自定义的模型 slug。 | | | params | array | — | 参数定义:name、type、required、default、options,以及已配置的 min、max、maxItems、maxLength。 | | | providers | array | — | 可用供应商、各自的参数约束及公开价格档位。 | | ## cURL ```bash curl 'https://01router.com/api/v1/models/nano-banana-2' ``` ## 200 · application/json ```json { "slug": "nano-banana-2", "name": "Nano Banana 2", "type": "image", "vendor": "Google", "description": "Gemini 3.1 Flash Image: fast generation and editing with strong text rendering, 1K–4K.", "tags": [ "text-to-image", "image-edit", "4k" ], "coverUrl": "", "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "image_urls", "type": "images", "label": "Reference images", "description": "Optional — switches to image editing", "maxItems": 14 }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9" ], "default": "1:1" }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "1K", "2K", "4K" ], "default": "1K" }, { "name": "num_images", "type": "integer", "label": "Images", "min": 1, "max": 4, "default": 1 } ], "providers": [ { "provider": "fal", "providerName": "fal.ai", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "image_urls", "type": "images", "label": "Reference images", "description": "Optional — switches to image editing", "maxItems": 14 }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9" ], "default": "1:1" }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "1K", "2K", "4K" ], "default": "1K" }, { "name": "num_images", "type": "integer", "label": "Images", "min": 1, "max": 4, "default": 1 } ], "prices": [ { "unit": "image", "conditions": { "resolution": "2K" }, "priceMicros": 108000, "originalMicros": 120000, "credits": 11 }, { "unit": "image", "conditions": { "resolution": "1K" }, "priceMicros": 72000, "originalMicros": 80000, "credits": 8 }, { "unit": "image", "conditions": { "resolution": "4K" }, "priceMicros": 144000, "originalMicros": 160000, "credits": 15 } ] }, { "provider": "replicate", "providerName": "Replicate", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "image_urls", "type": "images", "label": "Reference images", "description": "Optional — switches to image editing", "maxItems": 14 }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9" ], "default": "1:1" }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "1K", "2K", "4K" ], "default": "1K" }, { "name": "num_images", "type": "integer", "label": "Images", "min": 1, "max": 4, "default": 1, "options": [ 1 ] } ], "prices": [ { "unit": "image", "conditions": { "resolution": "2K" }, "priceMicros": 90900, "originalMicros": 101000, "credits": 10 }, { "unit": "image", "conditions": { "resolution": "4K" }, "priceMicros": 135900, "originalMicros": 151000, "credits": 14 }, { "unit": "image", "conditions": { "resolution": "1K" }, "priceMicros": 60300, "originalMicros": 67000, "credits": 7 } ] }, { "provider": "wavespeed", "providerName": "WaveSpeedAI", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "image_urls", "type": "images", "label": "Reference images", "description": "Optional — switches to image editing", "maxItems": 14 }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9" ], "default": "1:1" }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "1K", "2K", "4K" ], "default": "1K" }, { "name": "num_images", "type": "integer", "label": "Images", "min": 1, "max": 4, "default": 1, "options": [ 1 ] } ], "prices": [ { "unit": "image", "conditions": { "resolution": "1K" }, "priceMicros": 56700, "originalMicros": 63000, "credits": 6 }, { "unit": "image", "conditions": { "resolution": "4K" }, "priceMicros": 113400, "originalMicros": 126000, "credits": 12 }, { "unit": "image", "conditions": { "resolution": "2K" }, "priceMicros": 85050, "originalMicros": 94500, "credits": 9 } ] }, { "provider": "kie", "providerName": "KIE AI", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "image_urls", "type": "images", "label": "Reference images", "description": "Optional — switches to image editing", "maxItems": 14 }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9" ], "default": "1:1" }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "1K", "2K", "4K" ], "default": "1K" }, { "name": "num_images", "type": "integer", "label": "Images", "min": 1, "max": 4, "default": 1, "options": [ 1 ] } ], "prices": [ { "unit": "image", "conditions": { "resolution": "4K" }, "priceMicros": 81000, "originalMicros": 90000, "credits": 9 }, { "unit": "image", "conditions": { "resolution": "1K" }, "priceMicros": 36000, "originalMicros": 40000, "credits": 4 }, { "unit": "image", "conditions": { "resolution": "2K" }, "priceMicros": 54000, "originalMicros": 60000, "credits": 6 } ] }, { "provider": "evolink", "providerName": "EvoLink", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "image_urls", "type": "images", "label": "Reference images", "description": "Optional — switches to image editing", "maxItems": 14 }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9" ], "default": "1:1" }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "1K", "2K", "4K" ], "default": "1K" }, { "name": "num_images", "type": "integer", "label": "Images", "min": 1, "max": 4, "default": 1, "options": [ 1 ] } ], "prices": [ { "unit": "image", "conditions": { "resolution": "2K" }, "priceMicros": 84600, "originalMicros": 94000, "credits": 9 }, { "unit": "image", "conditions": { "resolution": "4K" }, "priceMicros": 126900, "originalMicros": 141000, "credits": 13 }, { "unit": "image", "conditions": { "resolution": "1K" }, "priceMicros": 56700, "originalMicros": 63000, "credits": 6 } ] }, { "provider": "atlascloud", "providerName": "AtlasCloud", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9" ], "default": "1:1" }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "1K" ], "default": "1K" }, { "name": "num_images", "type": "integer", "label": "Images", "min": 1, "max": 4, "default": 1, "options": [ 1 ] } ], "prices": [ { "unit": "image", "conditions": { "resolution": "1K" }, "priceMicros": 72000, "originalMicros": 80000, "credits": 8 } ] }, { "provider": "openrouter", "providerName": "OpenRouter", "discount": 90, "preferred": false, "params": [ { "name": "prompt", "type": "text", "label": "Prompt", "required": true }, { "name": "image_urls", "type": "images", "label": "Reference images", "description": "Optional — switches to image editing", "maxItems": 14 }, { "name": "aspect_ratio", "type": "enum", "label": "Aspect ratio", "options": [ "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9" ], "default": "1:1" }, { "name": "resolution", "type": "enum", "label": "Resolution", "options": [ "1K", "2K", "4K" ], "default": "1K" }, { "name": "num_images", "type": "integer", "label": "Images", "min": 1, "max": 4, "default": 1, "options": [ 1 ] } ], "prices": [ { "unit": "image", "conditions": { "resolution": "1K" }, "priceMicros": 60300, "originalMicros": 67000, "credits": 7 }, { "unit": "image", "conditions": { "resolution": "2K" }, "priceMicros": 90900, "originalMicros": 101000, "credits": 10 }, { "unit": "image", "conditions": { "resolution": "4K" }, "priceMicros": 135900, "originalMicros": 151000, "credits": 14 } ] } ], "fromMicros": 36000, "fromOriginalMicros": 40000, "fromUnit": "image" } ```