Qwen 3 TTS - Text to Speech [1.7B]
alibaba/qwen-3-tts/1.7bQwen 3 Tts 1.7b is Alibaba's text-to-speech AI model. Generate human-like voiceovers with expressive intonation, multilingual support, and customizable voice characteristics.
- आधार मूल्य
- $0.0001USD / रन
- निष्पादन
- async
- मॉडल प्रकार
- audio
- इनपुट फ़ील्ड
- 15
model को आज़माएँ
प्लेग्राउंड
आप आगे क्या करना चाहेंगे?
उदाहरण
प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
- परिणाम खोलें ↗
इनपुट
{ "prompt": "Very happy." }
मॉडल कार्ड
विनिर्देश
मूल्य निर्धारण
- आधार मूल्य
- $0.0001 / रन
संदर्भ और modalities
- इनपुट
- Schema-परिभाषित
- आउटपुट
- audio
क्षमताएँ
- चैट
- समर्थित नहीं
- विज़न
- समर्थित नहीं
- रीज़निंग
- समर्थित नहीं
- संरचित output
- समर्थित नहीं
- फ़ंक्शन कॉलिंग
- समर्थित नहीं
- ऑडियो इनपुट
- समर्थित नहीं
पहुंच
- प्रदाता
- Alibaba
- मॉडल ID
- alibaba/qwen-3-tts/1.7b
- निष्पादन
- async
- बेस URL
- https://api.sandbase.ai
- API
- Unified Run API
- एंडपॉइंट
- /v1/run
API README
Qwen 3 TTS - Text to Speech [1.7B]
Qwen 3 TTS 1.7B, the open-weights Qwen speech model: text to speech in 10 languages with nine preset voices, or a cloned voice from a speaker-embedding file. The 1.7B model gives more natural prosody than 0.6B.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text to speak. |
text | string | — | Alias of prompt; if both are sent, text is used. |
subtalker_temperature | number 0–1 | 0.9 | Sub-model temperature. |
speaker_voice_embedding_file_url | string | — | Optional cloned-voice embedding (safetensors) to use instead of a preset voice. |
repetition_penalty | number | 1.05 | Reduces repeated sounds. |
language | Auto / English / Chinese / Spanish / French / German / Italian / Japanese / Korean / Portuguese / Russian | Auto | Spoken language; Auto detects it. |
subtalker_top_p | number 0–1 | 1 | Sub-model sampling setting. |
top_p | number 0–1 | 1 | Sampling setting. |
reference_text | string | — | Transcript used when the embedding was created; improves cloned-voice quality. |
top_k | integer | 50 | Sampling setting; leave at default unless delivery is unstable. |
subtalker_top_k | integer | 50 | Sub-model sampling setting. |
temperature | number 0–1 | 0.9 | Higher values give more varied delivery. |
voice | Vivian / Serena / Uncle_Fu / Dylan / Eric / Ryan / Aiden / Ono_Anna / Sohee | — | Preset voice; ignored when a speaker embedding is supplied. |
max_new_tokens | integer 1–8192 | 200 | Caps the generated audio length; raise it for long text. |
subtalker_dosample | boolean | true | Sampling switch for the acoustic sub-model. |
Billing
$0.09 per 1,000 characters of input text, billed per character.
| Text | Price |
|---|---|
| 100 characters | $0.009 |
| 1,000 characters | $0.09 |
| 5,000 characters | $0.45 |
Failed runs are not charged.
Prompting
- Use punctuation to control pauses; break long passages into paragraphs.
- Pick a voice whose primary language matches the text.
Limits
max_new_tokens(default 200) caps the audio length; long text needs a higher value.
Also on SandBase
Related: alibaba/qwen-3-tts/0.6b.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ OpenAI-compatible endpoint.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "alibaba/qwen-3-tts/1.7b",
"text": "I am solving the equation: x = [-b ± √(b²-4ac)] / 2a? Nobody can — it's a disaster (◍•͈⌔•͈◍), very sad!",
"top_k": 50,
"top_p": 1,
"voice": "Vivian",
"prompt": "Very happy.",
"language": "English",
"temperature": 0.9,
"max_new_tokens": 200,
"reference_text": "Okay. Yeah. I resent you. I love you. I respect you. But you know what? You blew it! And it is all thanks to you.",
"subtalker_top_k": 50,
"subtalker_top_p": 1,
"repetition_penalty": 1.05,
"subtalker_dosample": true,
"subtalker_temperature": 0.9,
"speaker_voice_embedding_file_url": "https://static.sandbase.ai/examples/alibaba/qwen-3-tts/1.7b/output_url_0.safetensors"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"इनपुट स्कीमा
15 पैरामीटर · 1 आवश्यक · 14 वैकल्पिक
| पैरामीटर | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
prompt | string | आवश्यक | Optional prompt to guide the style of the generated speech. This prompt will be ignored if a speaker embedding is provided. |
text | string | वैकल्पिक | The text to be converted to speech. |
top_k | integer | वैकल्पिक | Top-k sampling parameter. · न्यूनतम: 0 · डिफ़ॉल्ट: 50 |
top_p | number | वैकल्पिक | Top-p sampling parameter. · न्यूनतम: 0 · अधिकतम: 1 · डिफ़ॉल्ट: 1 |
voice | string | वैकल्पिक | The voice to be used for speech synthesis, will be ignored if a speaker embedding is provided. Check out the **[documentation](https://github.com/QwenLM/Qwen3-TTS/tree/main?tab=readme-ov-file#custom-voice-generate)** for each voice's details and which language they primarily support. · विकल्प: Vivian, Serena, Uncle_Fu, Dylan, Eric, Ryan, Aiden, Ono_Anna, Sohee VivianSerenaUncle_FuDylanEricRyanAidenOno_AnnaSohee |
language | string | वैकल्पिक | The language of the voice. · विकल्प: Auto, English, Chinese, Spanish, French, German, Italian, Japanese, Korean, Portuguese, Russian · डिफ़ॉल्ट: "Auto" AutoEnglishChineseSpanishFrenchGermanItalianJapaneseKoreanPortugueseRussian |
temperature | number | वैकल्पिक | Sampling temperature; higher => more random. · न्यूनतम: 0 · अधिकतम: 1 · डिफ़ॉल्ट: 0.9 |
max_new_tokens | integer | वैकल्पिक | Maximum number of new codec tokens to generate. · न्यूनतम: 1 · अधिकतम: 8192 · डिफ़ॉल्ट: 200 |
reference_text | string | वैकल्पिक | Optional reference text that was used when creating the speaker embedding. Providing this can improve synthesis quality when using a cloned voice. |
subtalker_top_k | integer | वैकल्पिक | Top-k for sub-talker sampling. · न्यूनतम: 0 · डिफ़ॉल्ट: 50 |
subtalker_top_p | number | वैकल्पिक | Top-p for sub-talker sampling. · न्यूनतम: 0 · अधिकतम: 1 · डिफ़ॉल्ट: 1 |
repetition_penalty | number | वैकल्पिक | Penalty to reduce repeated tokens/codes. · न्यूनतम: 0 · डिफ़ॉल्ट: 1.05 |
subtalker_dosample | boolean | वैकल्पिक | Sampling switch for the sub-talker. · डिफ़ॉल्ट: true |
subtalker_temperature | number | वैकल्पिक | Temperature for sub-talker sampling. · न्यूनतम: 0 · अधिकतम: 1 · डिफ़ॉल्ट: 0.9 |
speaker_voice_embedding_file_url | string | वैकल्पिक | URL to a speaker embedding file in safetensors format, from `fal-ai/qwen-3-tts/clone-voice` endpoint. If provided, the TTS model will use the cloned voice for synthesis instead of the predefined voices. |
आउटपुट स्कीमा
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
id | string | generation task के लिए विशिष्ट पहचानकर्ता |
status | string | कार्य की स्थिति: pending, running, completed, failed, timeout |
model | string | generation के लिए उपयोग किया गया model |
outputs | array | output items की array |
outputs[].url | string | जनरेट किए गए artifact का URL |
outputs[].content_type | string | MIME type (जैसे image/png, video/mp4) |
error | object | null | यदि failed हो तो error details, success पर null |
error.type | string | machine-readable error type code |
error.message | string | मानव-पठनीय error विवरण |
असिंक्रोनस वर्कफ़्लो
यह model asynchronously चलता है। अनुरोध सबमिट करें, फिर परिणाम के लिए poll करें।
- सबमिट करें: /v1/run पर POST करें और लौटाए गए
idको पढ़ें। - Poll करें: status
completed,failedयाtimeoutहोने तक /v1/run/{id} पर GET करें। - Retrieve करें: completed response से
outputsपढ़ें।
अपना मॉडल चुनें
मॉडलों की तुलना करें
| मॉडल | प्रकार | डिफ़ॉल्ट कीमत | रिलीज़ |
|---|---|---|---|
Alibaba | ऑडियो | $0.00 / रन | 26 जन॰ 2026 |
Alibaba | ऑडियो | $0.05 / रन | 29 जुल॰ 2026 |
Alibaba | ऑडियो | $0.09 / रन | 26 जन॰ 2026 |
Alibaba | ऑडियो | $0.00 / रन | 26 जन॰ 2026 |
Alibaba | ऑडियो | $0.00 / रन | 26 जन॰ 2026 |
Alibaba | ऑडियो | $0.00 / रन | 26 जन॰ 2026 |
प्रश्न
FAQ
SandBase के माध्यम से Alibaba Qwen 3 TTS - Text to Speech [1.7B] को कैसे कॉल करें?
एक SandBase API key बनाएं, फिर model ID "alibaba/qwen-3-tts/1.7b" के साथ requests को https://api.sandbase.ai पर Unified Run API (/v1/run) भेजें। इस पेज पर दिए गए request examples exact payload दिखाते हैं।
क्या मुझे एक अलग Alibaba account चाहिए?
नहीं। एक SandBase API key और balance आपको Alibaba Qwen 3 TTS - Text to Speech [1.7B] और catalog के अन्य models तक access देता है; आपको अलग से Alibaba पर sign up करने की आवश्यकता नहीं है।
