Qwen-Audio 3.1 TTS Plus API reference
Expressive narration and brand voices you direct in plain words
Call Qwen-Audio 3.1 TTS Plus from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in USD, and a request you can paste into a terminal.
At a glance
- Made by
- Alibaba
- Output
- Audio
- From
- $0.0285 USD per 1,000 characters
Prices are in USD, charged to your PopNow balance. A task reserves the maximum possible charge when accepted and settles actual usage on completion; any remainder is released. Failed tasks are not charged. Call POST /api/v1/jobs/quote for an exact quote before running.
Text to Speech
alibaba/qwen-audio-3.1-tts-plus/text-to-speech
Price
| Option | USD |
|---|---|
Default | $0.0285 per 1,000 characters |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
textRequired | string | — | up to 10,000 characters | The words to speak. Billed per 1,000 characters. Turn on enable_ssml to use SSML tags. |
voice_idOptional | string | longanhuan_v3.1 | longanhuan_v3.1, longanlingxin_v3.1, xunanchuan_v3.1, longanfengyue_v3.1 | Preset voice for this model. |
instructionsOptional | string | — | up to 1,000 characters | How to read the text: emotion, tone, persona, pace or dialect. Not spoken and not billed. |
languageOptional | string | auto | auto, zh, en, ja, ko, fr, de, pt, it, vi, id | Reading language hint, or auto to detect it from the text. |
speedOptional | number | 1 | 0.5 to 2 | Speaking speed from 0.5 to 2. |
pitchOptional | number | 1 | 0.5 to 2 | Pitch from 0.5 to 2. |
volumeOptional | integer | 50 | 0 to 100 | Output volume from 0 to 100. |
output_formatOptional | string | mp3 | mp3, wav, pcm, opus | Audio encoding. pcm is raw 16-bit audio without a file header. |
sample_rateOptional | integer | 24000 | 8000, 12000, 16000, 22050, 24000, 44100, 48000 | Sample rate in Hz. |
bitrateOptional | integer | — | 32000, 64000, 96000, 128000, 192000, 256000 | Opus bit rate in bits per second. Only applies to opus. |
enable_ssmlOptional | boolean | false | — | Read text as SSML markup. |
seedOptional | integer | — | 0 to 65535 | Random seed for controlled comparisons. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "alibaba/qwen-audio-3.1-tts-plus/text-to-speech",
"input": {
"text": "Hi there! This voice was created with the PopNow API in just a few seconds."
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
