mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
- 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>
68 lines
1.3 KiB
JavaScript
68 lines
1.3 KiB
JavaScript
|
|
export default {
|
|
"id": "stability-ai",
|
|
"alias": "stability-ai",
|
|
display: {
|
|
"name": "Stability AI",
|
|
"icon": "image",
|
|
"color": "#8B5CF6",
|
|
"textIcon": "SA",
|
|
"website": "https://stability.ai",
|
|
"notice": {
|
|
"apiKeyUrl": "https://platform.stability.ai/account/keys"
|
|
}
|
|
},
|
|
category: "apikey",
|
|
uiAlias: "stability",
|
|
authType: "apikey",
|
|
aliases: ["stability"],
|
|
"transport": null,
|
|
media: {
|
|
serviceKinds: ["image"],
|
|
imageConfig: { baseUrl: "https://api.stability.ai/v2beta/stable-image/generate" }
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "stable-image-ultra",
|
|
"name": "Stable Image Ultra",
|
|
"type": "image",
|
|
"params": [
|
|
"size"
|
|
]
|
|
},
|
|
{
|
|
"id": "stable-image-core",
|
|
"name": "Stable Image Core",
|
|
"type": "image",
|
|
"params": [
|
|
"size",
|
|
"style"
|
|
]
|
|
},
|
|
{
|
|
"id": "sd3.5-large",
|
|
"name": "Stable Diffusion 3.5 Large",
|
|
"type": "image",
|
|
"params": [
|
|
"size"
|
|
]
|
|
},
|
|
{
|
|
"id": "sd3.5-large-turbo",
|
|
"name": "Stable Diffusion 3.5 Large Turbo",
|
|
"type": "image",
|
|
"params": [
|
|
"size"
|
|
]
|
|
},
|
|
{
|
|
"id": "sd3.5-medium",
|
|
"name": "Stable Diffusion 3.5 Medium",
|
|
"type": "image",
|
|
"params": [
|
|
"size"
|
|
]
|
|
}
|
|
]
|
|
};
|