9router/open-sse/providers/registry/stability-ai.js
decolua bb9e9aa91f refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup
- Single-source registry: oauth clientId/tokenUrl, usage URLs, image/embed
  configs, search defaultModel, codex fixedPort, google token url derive.
- Remove 29 unused OmniRoute providers (registry 100→71); media intact.
- De-adhoc: codex literals → registry format/oauth flags; reasoningInject,
  image/embed openrouter headers + xai bodyFields config-driven.
- Add REGISTRY_TEMPLATE.js + expand PROVIDER_DEFAULTS/schema JSDoc.
- Baselines updated; PROVIDERS 62 + alias 90 byte-for-byte, golden snapshots.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 13:15:48 +07:00

63 lines
1.2 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,
"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"
]
}
]
};