- image/embed/tts/search base URLs derive from media.*Config.baseUrl / searchViaChat.endpoint (single source); handlers read PROVIDER_MEDIA. - ~18 hardcoded endpoints moved: bfl/fal/stability/runway/hf/gemini/ cloudflare/recraft/sdwebui/comfyui/nanobanana image, voyage embed, gemini/openrouter tts, chatSearch endpoints. - Byte-identical: PROVIDERS 62 + alias 90 baselines, image buildUrl outputs. Co-authored-by: Cursor <cursoragent@cursor.com>
47 lines
1.2 KiB
JavaScript
47 lines
1.2 KiB
JavaScript
|
|
export default {
|
|
"id": "nanobanana",
|
|
"alias": "nanobanana",
|
|
display: {
|
|
"name": "NanoBanana API",
|
|
"icon": "extension",
|
|
"color": "#FFD700",
|
|
"textIcon": "🍌",
|
|
"website": "https://nanobananaapi.ai",
|
|
"notice": {
|
|
"text": "3rd-party proxy for Google Nano Banana (Gemini 2.5/3 Flash Image). For official, use Gemini provider.",
|
|
"apiKeyUrl": "https://nanobananaapi.ai/dashboard"
|
|
}
|
|
},
|
|
category: "apikey",
|
|
uiAlias: "nb",
|
|
aliases: ["nb"],
|
|
"transport": {
|
|
"baseUrl": "https://api.nanobananaapi.ai/v1/chat/completions",
|
|
"validateUrl": "https://api.nanobananaapi.ai/v1/models"
|
|
},
|
|
media: {
|
|
serviceKinds: ["llm", "image"],
|
|
imageConfig: { baseUrl: "https://api.nanobananaapi.ai/api/v1/nanobanana/generate", pollUrl: "https://api.nanobananaapi.ai/api/v1/nanobanana/record-info" }
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "nanobanana-flash",
|
|
"name": "NanoBanana Flash",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size"
|
|
]
|
|
},
|
|
{
|
|
"id": "nanobanana-pro",
|
|
"name": "NanoBanana Pro",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size"
|
|
]
|
|
}
|
|
]
|
|
};
|