-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(minimax): comprehensive TTS updates and parameter rename #3788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(minimax): comprehensive TTS updates and parameter rename #3788
Conversation
- Add support for speech-2.6-hd and speech-2.6-turbo models - Add fluent emotion (exclusive to speech-2.6-* models) - Add 10 new voice IDs (social media, voice agent, English, VAPI series) - Rename english_normalization to text_normalization (supports Chinese/English) - Update documentation to reflect Chinese and English support - Improve trace_id extraction from response headers and body - Enhance error handling with detailed logging BREAKING CHANGE: Renamed parameter english_normalization to text_normalization
|
minimax seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
longcw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me! something nit:
livekit-plugins/livekit-plugins-minimax/livekit/plugins/minimax/tts.py
Outdated
Show resolved
Hide resolved
- Move informational logs from INFO to DEBUG level - Remove Chinese comments and translate to English - Fix missing text_normalization in API request payload - Clean up verbose logging statements
longcw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! nit
| async def _run(self, output_emitter: tts.AudioEmitter) -> None: | ||
| # Initialize with temporary ID, will be updated from WebSocket messages | ||
| request_id = utils.shortuuid() | ||
| trace_id_holder = {"trace_id": request_id} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use trace_id directly instead of creating a dict?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes!
- Move informational logs from INFO to DEBUG level - Remove Chinese comments and translate to English - Fix missing text_normalization in API request payload - Clean up verbose logging statements
|
@zhenyujia23-crypto zhenyujia23-crypto Suggestion adding the language selector parameter so its no always set as language detection auto |
BREAKING CHANGE: Renamed parameter english_normalization to text_normalization