Add MiniMax speech TTS to the Media Center extension - #232
Conversation
Add an optional minimax provider to the media speech_synthesize action. It calls the MiniMax Text to Audio v2 endpoint for the global and China regions, sends voice_setting, audio_setting, pronunciation_dict, and output_format request fields, and validates base_resp.status_code in the response. Co-Authored-By: Claude <noreply@anthropic.com>
|
Hi! Thanks so much for your continued support and for contributing this PR to the project. We really appreciate the work you've put into improving the Media Center. We're also actively planning to expand our TTS capabilities and related media extensions, so your contribution is very timely. We'd love to explore a deeper collaboration and discuss ideas around the future roadmap. If you're interested, feel free to reach out to me at [devin@ipollo.ai](mailto:devin@ipollo.ai). It would be great to connect and see how we can work together. Thanks again for your support and contribution—we're looking forward to chatting with you! |
|
Thanks for the context. I updated the MiniMax speech TTS adapter, resolved the latest main-branch conflict, and added request and response validation coverage. I ran the Media Center test file (41 tests) and the server typecheck. |
Reason: Add MiniMax speech TTS to the Media Center extension.
Changes:
minimaxprovider to the mediaspeech_synthesizeaction; the default provider behavior is unchanged.model,text,voice_setting,audio_setting,pronunciation_dict, andoutput_formatrequest fields.base_resp.status_codeand exposedata.audio/data.statusin the action output.MINIMAX_API_KEYas a Media authorization service so the key stays server-side.Checks:
bun test apps/server/src/extensions/media-center.test.tsbun test apps/server/src/extensions/storage.test.ts apps/server/src/extensions/media-center.test.tsbun build apps/server/src/extensions/media-center.ts