Update version to 0.4.9, enhance README with Trendshift badge, and add new embedding models to providerModels.js. Refactor TTS handling to support additional providers and improve API key validation for media providers.
This commit is contained in:
1 parent
e8aa5e2222
commit
512e3de371
20 files changed
+586
-83
No files matched your search
@@ -48,4 +48,65 @@ export const TTS_PROVIDER_CONFIG = {
|
||||
hasBrowseButton: true,
|
||||
voiceSource: "api-language", // from API with language picker
|
||||
},
|
||||
// ── Config-driven providers (load models from providers.js → ttsConfig.models) ──
|
||||
"nvidia": {
|
||||
hasModelSelector: true,
|
||||
hasBrowseButton: false,
|
||||
hasVoiceIdInput: true,
|
||||
voiceSource: "config",
|
||||
},
|
||||
"hyperbolic": {
|
||||
hasModelSelector: true,
|
||||
hasBrowseButton: false,
|
||||
voiceSource: "config",
|
||||
},
|
||||
"deepgram": {
|
||||
hasModelSelector: false,
|
||||
hasBrowseButton: true,
|
||||
voiceSource: "api-language",
|
||||
apiEndpoint: "/api/media-providers/tts/deepgram/voices",
|
||||
},
|
||||
"huggingface": {
|
||||
hasModelSelector: true,
|
||||
hasBrowseButton: false,
|
||||
voiceSource: "config",
|
||||
},
|
||||
"cartesia": {
|
||||
hasModelSelector: true,
|
||||
hasBrowseButton: false,
|
||||
hasVoiceIdInput: true,
|
||||
voiceSource: "config",
|
||||
},
|
||||
"playht": {
|
||||
hasModelSelector: true,
|
||||
hasBrowseButton: false,
|
||||
hasVoiceIdInput: true,
|
||||
voiceSource: "config",
|
||||
},
|
||||
"coqui": {
|
||||
hasModelSelector: true,
|
||||
hasBrowseButton: false,
|
||||
hasVoiceIdInput: true,
|
||||
voiceSource: "config",
|
||||
},
|
||||
"tortoise": {
|
||||
hasModelSelector: true,
|
||||
hasBrowseButton: false,
|
||||
hasVoiceIdInput: true,
|
||||
voiceSource: "config",
|
||||
},
|
||||
"inworld": {
|
||||
hasModelSelector: true,
|
||||
hasBrowseButton: true,
|
||||
hasVoiceIdInput: true,
|
||||
voiceSource: "api-language",
|
||||
modelKey: "inworld-tts-models",
|
||||
apiEndpoint: "/api/media-providers/tts/inworld/voices",
|
||||
},
|
||||
"qwen": {
|
||||
hasModelSelector: true,
|
||||
hasBrowseButton: false,
|
||||
hasVoiceIdInput: true,
|
||||
voiceSource: "config",
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user