feat: add minimax tts support (#1043)

This commit is contained in:
Thiên Toán
2026-05-13 15:34:10 +07:00
committed by GitHub
parent 3c2503c4b4
commit 74c9879e8e
10 changed files with 578 additions and 32 deletions
File diff suppressed because one or more lines are too long
+16
View File
@@ -109,6 +109,22 @@ export const TTS_PROVIDER_CONFIG = {
hasVoiceIdInput: true,
voiceSource: "config",
},
"minimax": {
hasModelSelector: true,
hasBrowseButton: true,
hasVoiceIdInput: true,
voiceSource: "api-language",
apiEndpoint: "/api/media-providers/tts/minimax/voices",
defaultVoiceId: "English_expressive_narrator",
},
"minimax-cn": {
hasModelSelector: true,
hasBrowseButton: true,
hasVoiceIdInput: true,
voiceSource: "api-language",
apiEndpoint: "/api/media-providers/tts/minimax/voices?provider=minimax-cn",
defaultVoiceId: "English_expressive_narrator",
},
"gemini": {
hasLanguageDropdown: false,
hasLanguageHint: true, // sends body.language to guide TTS pronunciation