Add MiniMax Cloud TTS as speech generation provider#73
Open
octo-patch wants to merge 2 commits intoabus-aikorea:mainfrom
Open
Add MiniMax Cloud TTS as speech generation provider#73octo-patch wants to merge 2 commits intoabus-aikorea:mainfrom
octo-patch wants to merge 2 commits intoabus-aikorea:mainfrom
Conversation
Integrate MiniMax Cloud TTS API (speech-2.8-hd and speech-2.8-turbo models) as a new speech generation tab alongside existing Edge-TTS, F5-TTS, CosyVoice, and Kokoro engines. - Add MiniMax TTS core engine with 12 preset voices, subtitle and plain text support, silence trimming, and stereo conversion pipeline - Add Gradio bridge and UI tab following existing three-layer architecture - Add get_minimax_api_key() and minimax_tts_available() config helpers - Add 24 unit tests and 4 integration tests Co-Authored-By: Octopus <liyuan851277048@icloud.com>
- Remove invalid sample_rate/bitrate from audio_setting (API rejects them) - Register MiniMax TTS tab in abus_app_gulliver.py - Add dependency mocking for test portability - Add i18n translations for MiniMax and Model keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
abus_tts_minimax.py), Gradio bridge (gradio_tts_minimax.py), UI tab (tab_tts_minimax.py)Changes
app/abus_tts_minimax.pyapp/gradio_tts_minimax.pyapp/tab_tts_minimax.pyapp/abus_config.pyapp/abus_app_voice.pytests/test_minimax_tts.pytests/test_minimax_integration.pyConfiguration
Set
MINIMAX_API_KEYenvironment variable (or add to.envfile) to enable MiniMax Cloud TTS.Test plan
pytest tests/test_minimax_tts.py)