Add MiniMax Text to Speech skill - #1529
Open
Octopus (octo-patch) wants to merge 1 commit into
Open
Conversation
Add a local MiniMax text-to-speech skill implementing the global and China /v1/t2a_v2 and /v1/t2a_async_v2 endpoints, speech-2.8-hd family models, mp3/wav/flac/pcm output, and asynchronous and WebSocket query operations, together with a README entry under Creative & Media.
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.
Reason: Add a local MiniMax text-to-speech skill implementing the global/CN /v1/t2a_v2 and /v1/t2a_async_v2 endpoints, speech-2.8-hd family models, request fields, audio formats, and async/WebSocket query operations.
Changes
minimax-text-to-speech/SKILL.mddocumenting synchronous HTTP, asynchronous, and realtime WebSocket synthesis workflows for the MiniMax text-to-speech API.minimax-text-to-speech/scripts/text_to_speech.py, a standard-library-only Python CLI withhttp,async,query, andwssubcommands:POST /v1/t2a_v2synchronous synthesis with the speech-2.8-hd model family, the documented request fields (model, text, stream, language_boost, output_format, voice_setting, pronunciation_dict, audio_setting, voice_modify, subtitle_enable), and mp3/wav/flac/pcm output.POST /v1/t2a_async_v2async task creation plus/v1/query/t2a_async_query_v2status polling, withGET /v1/files/retrievedownload of the finished audio file.WSS /ws/v1/t2a_v2realtime synthesis using a standard-library WebSocket client.api.minimax.io) and China (api.minimaxi.com) regions.Checks
python3 -m py_compile minimax-text-to-speech/scripts/text_to_speech.py--helpfor all four subcommands