by Alibaba

Expressive narration and brand voices you direct in plain words

alibaba/qwen-audio-3.1-tts-plus/text-to-speech
Qwen-Audio 3.1 TTS Plus AI Voice Generator online
  • 4 voices
  • 10 languages
  • Text to Speech

About Qwen-Audio 3.1 TTS Plus

Post text of up to 10,000 characters with one of four voice_id values and an optional instructions string; the task returns a single audio file. Duration depends heavily on instructions: two of our Mandarin runs came out near 2.9 and 4.2 characters per second under different notes. Measure length after the job instead of predicting it from the character count, which suits narration products more than fixed-length prompts.

Call it with the model name alibaba/qwen-audio-3.1-tts-plus/text-to-speech on POST /jobs/createTask, from $0.0285.

Introduction

Qwen-Audio 3.1 TTS Plus turns prepared writing into narration using four multilingual system voices from Alibaba's Qwen team. Its flagship positioning centers on fidelity for audiobooks, brand recordings, film dubbing and character performance.

Put the passage in text and the narrator direction in instructions, then submit the task and poll for completion. A request accepts up to 10,000 characters, with MP3 at 24,000 Hz as the default export.

Key features

  • Choose among Long An Huan, Long An Lingxin, Long An Fengyue and Xun Anchuan.
  • Guide a narrator through emotion, persona, tone and pacing without speaking the directions.
  • Enable SSML when a passage needs markup for pronunciation, pauses or emphasis.
  • Export narration as MP3, WAV, raw PCM or Opus at a supported sample rate.

Request parameters

ParameterRequiredDescription
seedNoUse the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 65535
textYesThe words to be spoken, exactly as written.
pitchNoRaise or lower the voice. 0 keeps its natural pitch. ≥ 0.5 · ≤ 2 · Default: 1
speedNoSpeaking pace. ≥ 0.5 · ≤ 2 · Default: 1
volumeNoLoudness. 1 is the normal level. ≥ 0 · ≤ 100 · Default: 50
bitrateNoAudio bitrate. Higher sounds better and makes bigger files. 32000 · 64000 · 96000 · 128000 · 192000 · 256000
languageNoThe language of the speech. auto · zh · en · ja · ko · fr · de · pt · it · vi · id · Default: auto
voice_idNoPick from the available voices. longanhuan_v3.1 · longanlingxin_v3.1 · xunanchuan_v3.1 · longanfengyue_v3.1 · Default: longanhuan_v3.1
enable_ssmlNoRead the text as SSML markup, so tags for pauses, pronunciation and volume take effect. When off, tags are read out as plain text. Default: false
sample_rateNoAudio sample rate. Higher sounds clearer and makes bigger files. 8000–48000 · Default: 24000
instructionsNoHow to read the text: mood, distance from the mic, who’s listening. Not read aloud.
output_formatNoFile type of the result. mp3 · wav · pcm · opus · Default: mp3

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per 1,000 characters
Standard$0.0285

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

  • Audiobook chapters: Develop a chapter reading with an unhurried narrator and a consistent choice of preset across requests.
  • Brand introductions: Try a smooth welcome for a travel brand, then refine its confidence and warmth in the direction field.
  • Dubbing and character scenes: Prepare dialogue for a film or fictional character and audition the emotional delivery before editing.

Prompt guide & pro tips

  • Start with the opening paragraph to judge the narrator before a full chapter. Example instruction: "Read as a patient storyteller, warm and slightly mysterious."
  • Give brand recordings a clear speaking role. Example instruction: "Deliver a polished cruise welcome with quiet confidence."
  • Describe a scene's emotional direction in a short note. Example instruction: "Keep the character thoughtful, with restrained excitement."
  • Hold the seed steady while comparing one delivery change; audio may still vary. Example instruction: "Use the same calm tone with a slower ending."

API quick start

Call the Qwen-Audio 3.1 TTS Plus API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model alibaba/qwen-audio-3.1-tts-plus/text-to-speech and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
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: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "alibaba/qwen-audio-3.1-tts-plus/text-to-speech",
  "input": {
    "text": "Welcome back. Your files finished rendering a minute ago and are ready to download.",
    "voice_id": "longanhuan_v3.1",
    "language": "auto"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

What to build with the Qwen-Audio 3.1 TTS Plus API

  • A children's story app that stores one instructions preset per narrator mood, such as bedtime, adventure or quiz, and renders each page with it. Direction text isn't metered, so presets can be detailed.
  • A documentary narration tool for Mandarin editors that saves the instructions in the project file, so a re-cut paragraph is voiced again with the same direction and voice.

Qwen-Audio 3.1 TTS Plus parameter notes

  • voice_id must be longanhuan_v3.1 (default), longanlingxin_v3.1, xunanchuan_v3.1 or longanfengyue_v3.1. Ids from the 3.1 Flash catalog's other voices are rejected here.
  • instructions takes free text up to 1,000 characters and is neither spoken nor billed. Keep it in its own field in your data model; a note pasted into text gets read aloud and charged.
  • bitrate only applies when output_format is opus. pcm is raw 16-bit audio without a header, so the player needs the sample_rate you sent (24000 unless changed).
  • seed (0 to 65535) helps A/B one change in instructions. pitch (0.5 to 2) and volume (0 to 100, default 50) are worth adjusting before you rewrite a note.

How Qwen-Audio 3.1 TTS Plus API pricing adds up

Metered per 1,000 characters of text only; instructions sit outside the meter, and voice, format and sample rate don't change it. With SSML on, the markup is part of text and is counted. Log text length and the instructions separately per job, so users can see direction is free and the charge reconciles against the script.

  • Text to Speech: $0.0285 per run, $2.85 for 100 runs

Async jobs, webhooks and rate limits

Every Qwen-Audio 3.1 TTS Plus request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for alibaba/qwen-audio-3.1-tts-plus/text-to-speech never runs or bills twice.

Common Qwen-Audio 3.1 TTS Plus API errors

errorCodeWhat it usually means and how to fix it
invalid_requestTypical causes are a voice id from another Qwen model, a language outside the 11 listed values, or text over 10,000 characters. Validate per model before you submit.
timeoutPoll the stored task id before resubmitting; a fresh submission bills the text again.
upstream_failedThe provider returned an error for this task. Retry once; if it repeats with SSML on, send the same text with enable_ssml off to rule out the markup.

Qwen-Audio 3.1 TTS Plus API questions

How much does the Qwen-Audio 3.1 TTS Plus API cost?

Qwen-Audio 3.1 TTS Plus costs $0.0285 per 1,000 characters. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Qwen-Audio 3.1 TTS Plus in the API?

Put alibaba/qwen-audio-3.1-tts-plus/text-to-speech for Text to Speech in the model field of POST /jobs/createTask.

Are instructions billed?

No. Only text is metered, so a long and specific note costs nothing extra.

Which language hints are accepted?

auto, zh, en, ja, ko, fr, de, pt, it, vi and id. The voices are Chinese-native, yet our English request with longanlingxin_v3.1 transcribed back exactly.

Can I predict output length from character count?

Not reliably. Instructions change the tempo: a sleepy Mandarin note gave about 2.9 characters per second and a calm documentary note about 4.2.

What are the limits of the Qwen-Audio 3.1 TTS Plus API?

Text length (characters): 10,000; Voices: 4; Languages: 10. Requests outside these limits are rejected before anything is charged.

Can I try Qwen-Audio 3.1 TTS Plus without writing code?

Run Qwen-Audio 3.1 TTS Plus in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

All Qwen-Audio models

Qwen-Audio 3.1 TTS Flash has 70 voices in more languages and costs a tenth as much per character, with a faster start.

More about Qwen-Audio 3.1 TTS Plus