Alibaba
Text to Speech
Call Ali qwen3-tts-instruct-flash through the unified /v1/audio/speech endpoint.
Response contract:
- non-streaming returns the official Ali JSON response;
- streaming returns
text/event-streamand forwards Ali SSE payloads.
POST
Authorizations
Pass Authorization: Bearer <token> in the request header.
Headers
Official Ali HTTP streaming switch. Send enable to receive text/event-stream.
Available options:
enable Body
application/json
Available options:
qwen3-tts-instruct-flash Input text to synthesize.
System voice name. Only the enum values listed here are currently supported on this channel.
Available options:
Cherry, Serena, Ethan, Chelsie, Momo, Vivian, Moon, Maia, Kai, Nofish, Bella, Eldric Sage, Mia, Mochi, Bellona, Vincent, Bunny, Neil, Elias, Arthur, Nini, Seren, Pip, Stella Style-control instruction.
Whether to optimize instructions. An explicit false is preserved and forwarded.
Language type.
Available options:
Auto, Chinese, English, German, Italian, Portuguese, Spanish, Japanese, Korean, French, Russian Response
Successful call. Non-streaming returns the official Ali JSON response; streaming returns Ali SSE payloads.