Files
9router/open-sse/providers/registry/stability-ai.js
T
decoluaandCursor e53ce79abb refactor(open-sse): B1 consolidate media endpoint URLs into registry
- 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>
2026-06-14 13:58:12 +07:00

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"
]
}
]
};