Qwen3 Tts Text To Speech
Playground
Try it on WaveSpeedAI!Qwen3 TTS: Multi-language, multi-voice text-to-speech synthesis with style control. Supports 11 languages and 9 voice characters. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.
Features
Qwen3-TTS Text-to-Speech is a high-quality text-to-speech model with a curated selection of preset voices. Choose from 9 distinct voices spanning different genders and speaking styles, with optional style instructions to fine-tune the delivery.
Why Choose This?
-
Curated voice library 9 preset voices with distinct personalities — from professional narrators to friendly conversational tones.
-
Style instruction support Guide the speaking style with natural language instructions for customized delivery.
-
Auto language detection Set language to “auto” and the model intelligently detects the language from your text.
-
Simple and fast Straightforward interface — select a voice, enter text, and generate.
Parameters
| Parameter | Required | Description |
|---|---|---|
| text | Yes | The text to convert to speech |
| language | Yes | Language code or “auto” for automatic detection |
| voice | Yes | Preset voice to use (see Available Voices below) |
| style_instruction | No | Natural language guidance for speaking style |
Available Voices
| Voice | Description |
|---|---|
| Vivian | Female voice |
| Serena | Female voice |
| Ono_Anna | Female voice |
| Sohee | Female voice |
| Uncle_Fu | Male voice |
| Dylan | Male voice |
| Eric | Male voice |
| Ryan | Male voice |
| Aiden | Male voice |
Style Instruction Examples
- “Speak slowly and calmly, like a meditation guide”
- “Energetic and enthusiastic, like a sports announcer”
- “Professional and clear, suitable for corporate presentations”
- “Warm and friendly, like talking to a close friend”
How to Use
- Enter your text — write or paste the content you want to convert to speech.
- Select language — choose the target language or use “auto” for automatic detection.
- Choose a voice — select from the 9 available preset voices.
- Add style instruction (optional) — describe how you want the voice to sound.
- Run — submit and download your audio file.
Pricing
| Text Length | Cost |
|---|---|
| Under 100 chars | $0.005 |
| 100+ chars | $0.005 per 100 characters |
Billing Rules
- Minimum charge: $0.005 (for texts under 100 characters)
- For longer texts: $0.005 × (character count / 100)
Best Use Cases
- Video Voiceovers — Generate professional narration for YouTube, ads, or explainer videos.
- Audiobook Production — Convert manuscripts into natural-sounding narration.
- Podcasts & Broadcasting — Create consistent voice content without recording equipment.
- E-learning & Training — Produce clear, engaging audio for educational materials.
- Accessibility — Convert written content to audio for visually impaired users.
Pro Tips
- Try different voices to find the best match for your content type.
- Use style_instruction to adjust tone without changing the voice itself.
- Match female voices (Vivian, Serena, Ono_Anna, Sohee) for softer content; male voices (Uncle_Fu, Dylan, Eric, Ryan, Aiden) for authoritative content.
- Test with short text first to preview how the voice sounds before generating longer content.
Related Models
- Qwen3-TTS Voice Clone — Clone any voice from a short audio sample.
- Qwen3-TTS Voice Design — Design custom voices using natural language descriptions.
Notes
- All 9 voices are optimized for natural, clear speech output.
- Style instructions work best when they describe emotion, pace, or tone rather than technical audio settings.
- For best quality, match the language parameter to your text content.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
set -euo pipefail
export WAVESPEED_API_KEY="your-api-key"
REQUEST_BODY=$(cat <<'JSON'
{
"text": "A clear example input",
"language": "auto",
"voice": "Vivian"
}
JSON
)
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/qwen3-tts/text-to-speech" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
-H "Content-Type: application/json" \
-d "${REQUEST_BODY}")
TASK=$(printf '%s' "${SUBMIT_RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "${TASK}" | jq -r '.id // empty')
if [ -z "${PREDICTION_ID}" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL=$(printf '%s' "${TASK}" | jq -r '.urls.get // empty')
if [ -z "${RESULT_URL}" ]; then RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"; fi
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body \
"${RESULT_URL}" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}")
RESULT=$(printf '%s' "${RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')
case "${STATUS}" in
completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
failed|cancelled|timeout) printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
created|processing) sleep 2 ;;
*) printf 'Unexpected status: %s
' "${STATUS}" >&2; exit 1 ;;
esac
doneParameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| text | string | Yes | - | - | The text content to convert into speech |
| language | string | Yes | auto | auto, Chinese, English, German, Italian, Portuguese, Spanish, Japanese, Korean, French, Russian | Language of the speech output (use 'auto' for automatic detection) |
| voice | string | Yes | Vivian | Vivian, Serena, Ono_Anna, Sohee, Uncle_Fu, Dylan, Eric, Ryan, Aiden | Voice character to use for speech synthesis |
| style_instruction | string | No | - | - | Optional instruction to control the speaking style, tone, or emotion |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Output values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array<string | object> | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to poll for the prediction result |
| data.status | string | Status: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |