Description
The LiveKit MiniMax TTS plugin (livekit-plugins-minimax) does not support MiniMax's newer TTS models including speech-2.8-hd, speech-2.8, speech-2.6-hd, etc.
Currently the plugin only accepts these models:
- speech-02-hd
- speech-02-turbo
- speech-01-hd
- speech-01-turbo
- speech-01-240228
- speech-01-turbo-240228
However, MiniMax's API supports newer models:
- speech-2.8-hd (latest HD model)
- speech-2.8-turbo
- speech-2.6-hd
- speech-2.6-turbo
- speech-2.5-hd-preview
- speech-2.5-turbo-preview
Environment
- livekit-plugins-minimax version: 1.2.9
- livekit-agents version: 1.5.x
- Python version: 3.10+
Steps to reproduce
from livekit.plugins import minimax
tts = minimax.TTS(
model="speech-2.8-hd",
)
Results in validation error: model input should be 'speech-02-hd', 'speech-02-turbo', 'speech-01-hd', 'speech-01-turbo', 'speech-01-240228' or 'speech-01-turbo-240228'
Expected behavior
The plugin should accept any valid MiniMax TTS model string, not just a hardcoded list.
Additional context
MiniMax API documentation shows these models are available:
https://platform.minimax.io/docs/guides/models-intro#audio
Description
The LiveKit MiniMax TTS plugin (livekit-plugins-minimax) does not support MiniMax's newer TTS models including speech-2.8-hd, speech-2.8, speech-2.6-hd, etc.
Currently the plugin only accepts these models:
However, MiniMax's API supports newer models:
Environment
Steps to reproduce
Results in validation error: model input should be 'speech-02-hd', 'speech-02-turbo', 'speech-01-hd', 'speech-01-turbo', 'speech-01-240228' or 'speech-01-turbo-240228'
Expected behavior
The plugin should accept any valid MiniMax TTS model string, not just a hardcoded list.
Additional context
MiniMax API documentation shows these models are available:
https://platform.minimax.io/docs/guides/models-intro#audio