feat(tts): add Xiaomi MiMo text-to-speech support
Adds mimo-v2.5-tts as a Media Provider TTS through the existing OpenAI-compatible chat-completions endpoint. Voice is selected via the top-level audio.voice field, and an optional style/language hint is threaded through tts.js -> ttsCore.js -> the new adapter.
This commit is contained in:
@@ -135,4 +135,16 @@ export const TTS_PROVIDER_CONFIG = {
|
||||
voiceKey: "gemini-tts-voices",
|
||||
voicesPerModel: true,
|
||||
},
|
||||
"xiaomi-mimo": {
|
||||
hasLanguageDropdown: false,
|
||||
hasModelSelector: true,
|
||||
hasBrowseButton: false,
|
||||
hasVoiceIdInput: false,
|
||||
hasStyleInput: true, // style/voice instructions (role: user)
|
||||
hasLanguageHint: true, // language dropdown (Auto-detect default); voices are language-independent
|
||||
languageOptions: ["Chinese", "English"],
|
||||
voiceSource: "hardcoded",
|
||||
modelKey: "xiaomi-mimo-tts-models",
|
||||
voicesPerModel: true,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user