mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
- 71 registry files: flat `media.*Config.models` → `models[]` with `kind` field - `media` wrapper removed → serviceKinds, *Config fields promoted top-level - `type` field renamed to `kind` (llm/image/tts/stt/embedding/embedding/video/music) - providers/index.js: PROVIDER_MEDIA now built from flat top-level media fields - shared/constants/providers.js: buildProviderEntry reads flat top-level media fields - route /v1/models: modelKind() uses kind||type; removed subConfig merge block - models/info route: removed sub-config fallback lookup (all models in PROVIDER_MODELS) - ttsProviders/index.js: synthesizeViaConfig reads tts models from PROVIDER_MODELS - test-models route, helpers.js, validate route: kind||type compat - Baselines: PROVIDERS 62/62 ✅, Alias 90/90 ✅ Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
1009 B
JavaScript
33 lines
1009 B
JavaScript
export default {
|
|
id: "deepgram",
|
|
alias: "deepgram",
|
|
aliases: [
|
|
"dg",
|
|
],
|
|
uiAlias: "dg",
|
|
display: {
|
|
name: "Deepgram",
|
|
icon: "mic",
|
|
color: "#13EF93",
|
|
textIcon: "DG",
|
|
website: "https://deepgram.com",
|
|
notice: {
|
|
text: "$200 free credit on signup (no card required). Aura-1: $0.015/1k chars, Aura-2: $0.030/1k chars (Pay-As-You-Go).",
|
|
apiKeyUrl: "https://console.deepgram.com/api-keys",
|
|
},
|
|
},
|
|
category: "apikey",
|
|
authType: "apikey",
|
|
transport: {
|
|
baseUrl: "https://api.deepgram.com/v1/listen",
|
|
},
|
|
models: [
|
|
{ id: "nova-3", name: "Nova 3", params: ["language"], kind: "stt" },
|
|
{ id: "nova-2", name: "Nova 2", params: ["language"], kind: "stt" },
|
|
{ id: "whisper-large", name: "Whisper Large", params: ["language"], kind: "stt" },
|
|
{ id: "nova", name: "Nova", kind: "stt" },
|
|
],
|
|
serviceKinds: ["stt"],
|
|
sttConfig: { baseUrl: "https://api.deepgram.com/v1/listen", authType: "apikey", authHeader: "token", format: "deepgram" },
|
|
};
|