Skip to main content
POST
Qwen text to speech

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required

Model ID or configured alias.

Minimum string length: 1
input
string
required

Text or input to process.

Required string length: 1 - 600
voice
string
required

Use a supported Qwen3-TTS voice ID. Voice IDs are case sensitive; see the Qwen voice guide for the full list.

Minimum string length: 1
response_format
enum<string>
default:wav

Qwen3-TTS returns WAV. Omit this field or set it to wav.

Available options:
wav
stream_format
enum<string>
default:audio

Return audio bytes or server-sent events.

Available options:
audio,
sse
extra_body
object

Provider-specific options.

language_type
enum<string>
Available options:
Auto,
Chinese,
English,
German,
Italian,
Portuguese,
Spanish,
Japanese,
Korean,
French,
Russian

Response

Successful response

The response is of type string.