Skip to content

feat: add MiniMax TTS backend - #161

Open
octo-patch wants to merge 1 commit into
datascale-ai:mainfrom
octo-patch:octo/20260813-tts-tool-recvrXNAd8UwUh
Open

feat: add MiniMax TTS backend#161
octo-patch wants to merge 1 commit into
datascale-ai:mainfrom
octo-patch:octo/20260813-tts-tool-recvrXNAd8UwUh

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: The existing voice pipeline has no MiniMax TTS backend for the global and CN speech endpoints.

This change:

  • adds global and CN MiniMax TTS endpoint selection with the current speech model presets
  • maps voice text requests to PCM output and validates API response errors and hex audio
  • routes prompt and streaming voice flows through the configured TTS backend
  • adds focused tests for backend selection, request mapping, responses, and streamed text collection

Checks:

  • uv run --python 3.11 --no-project --with-requirements backend/requirements.txt pytest -q backend/tests/test_unit_minimax_tts.py
  • python3.11 -m py_compile backend/core/voice_service.py backend/tests/test_unit_minimax_tts.py
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant