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>
37 lines
1.3 KiB
JavaScript
37 lines
1.3 KiB
JavaScript
export default {
|
|
id: "nvidia",
|
|
alias: "nvidia",
|
|
display: {
|
|
name: "NVIDIA NIM",
|
|
icon: "developer_board",
|
|
color: "#76B900",
|
|
textIcon: "NV",
|
|
website: "https://developer.nvidia.com/nim",
|
|
notice: {
|
|
text: "Free access for NVIDIA Developer Program members (prototyping & testing).",
|
|
apiKeyUrl: "https://build.nvidia.com/settings/api-keys",
|
|
},
|
|
},
|
|
category: "freeTier",
|
|
transport: {
|
|
baseUrl: "https://integrate.api.nvidia.com/v1/chat/completions",
|
|
validateUrl: "https://integrate.api.nvidia.com/v1/models",
|
|
},
|
|
models: [
|
|
{ id: "minimaxai/minimax-m2.7", name: "Minimax M2.7" },
|
|
{ id: "z-ai/glm4.7", name: "GLM 4.7" },
|
|
{ id: "nvidia/nv-embedqa-e5-v5", name: "NV EmbedQA E5 v5", kind: "embedding" },
|
|
{ id: "nvidia/parakeet-ctc-1.1b-asr", name: "Parakeet CTC 1.1B", params: ["language"], kind: "stt" },
|
|
{ id: "fastpitch", name: "FastPitch", kind: "tts" },
|
|
{ id: "tacotron2", name: "Tacotron2", kind: "tts" },
|
|
],
|
|
serviceKinds: ["llm","tts","embedding"],
|
|
ttsConfig: {
|
|
baseUrl: "https://integrate.api.nvidia.com/v1/audio/speech",
|
|
authType: "apikey",
|
|
authHeader: "bearer",
|
|
format: "nvidia-tts",
|
|
},
|
|
embeddingConfig: { baseUrl: "https://integrate.api.nvidia.com/v1/embeddings", authType: "apikey", authHeader: "bearer" },
|
|
};
|