Skip to main content
Qwen3-TTS is a preview feature available for SambaStack users only. Preview features may change before general availability.
SambaStack provides text-to-speech (TTS) capabilities through the qwen3-tts model, which converts text input into streaming PCM audio. The model supports 11 languages.

Qwen3-TTS

  • Model ID: qwen3-tts
  • Provider: Qwen (Alibaba Cloud)
  • Endpoint: POST /v1/audio/speech
  • Status: Preview

Supported voices

The voice parameter is accepted for API compatibility but is currently ignored. Audio is always generated using the reference voice configured at deployment time.

Supported languages

Language matching is case-insensitive. If you omit the language parameter, it defaults to english.

Request parameters

Example usage

Response format

The endpoint streams a Server-Sent Events (SSE) response. Each event is a JSON object on a data: line. Response headers Event fields Example event
Final event

Limitations

  • Streaming only: stream: false is not supported. All responses are SSE streams.
  • Concurrency: The model processes one request at a time. Concurrent requests queue behind the active request.
  • Maximum audio length: 320 seconds per request. If the input text is long enough to exceed this limit, the response ends at the cap – no error is returned. For longer audio, split the text into smaller passages and send separate requests.
  • Mid-stream audio artifacts: Longer audio clips may contain audible artifacts partway through the stream. If you encounter this, split the input into shorter passages and send separate requests.
  • No context cache: Each request is stateless.