Qwen3 Tts Text To Speech
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.
Key Features
- High-quality audio generation with natural, human-like voice output.
- Multiple voice options — choose from a variety of voice styles, accents and tones.
- Fine-grained control over speed, pitch, and emphasis.
- Low-latency streaming suitable for real-time applications.
- Support for multiple languages and accents.
- Consistent quality across short and long-form audio.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text or description for audio generation. |
| voice | No | Voice ID or style to use. |
| speed | No | Playback speed multiplier (0.5-2.0, default: 1.0). |
| format | No | Output format: mp3, wav, ogg (default: mp3). |
How to Use
- Enter the text you want to convert to audio or describe the audio to generate.
- Select a voice style if the model supports multiple voices.
- Adjust speed and format settings as needed.
- Generate and download your audio file.
Code Examples
import os
import requests
response = requests.post(
"https://aircube.ai/api/v3/qwen3-tts/text-to-speech",
headers={
"Authorization": "Bearer " + os.environ["AIRCUBE_API_KEY"],
"Content-Type": "application/json",
},
json={
"prompt": "Hello, welcome to AirCube AI.",
"voice": "default"
},
timeout=300,
)
data = response.json()
if data["success"]:
print("ID:", data["data"]["id"], "Status:", data["data"]["status"])
else:
print("Error:", data["error"]["message"])Pricing
| Resolution | Duration | Cost |
|---|---|---|
| Standard | per generation | $0.05 |
Billing rules
- Failed generations are not charged.
Best Use Cases
- Voiceover production — generate narration for videos, podcasts and presentations.
- Accessibility — create audio versions of written content.
- Character voices — produce unique voices for games, apps and interactive media.
- Multilingual content — generate audio in multiple languages from the same script.
Pro Tips
- Use punctuation and line breaks in your text to control pacing and pauses.
- Experiment with different voices to find the best match for your content's tone.
- For longer content, break it into segments for more consistent quality.
- Preview at 1.0x speed before adjusting — subtle changes often sound most natural.
Notes
- Maximum text length varies by model — check parameters for specific limits.
- Audio output is typically MP3 format with configurable bitrate.
- Content policy applies — harmful or prohibited content will be filtered.