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.
- Taban fiyat
- $0.0001USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 15
Modeli deneyin
Oynatma Alanı
Sırada ne yapmak istersiniz?
Örnekler
Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.
- Sonucu aç ↗
Girdi
{ "prompt": "Very happy." }
Model kartı
Teknik özellikler
Fiyatlandırma
- Temel fiyat
- $0.0001 / çalıştırma
Bağlam ve modaliteler
- Girdi
- Şemada tanımlı
- Çıktı
- audio
Yetenekler
- Sohbet
- Desteklenmiyor
- Görsel
- Desteklenmiyor
- Akıl yürütme
- Desteklenmiyor
- Yapılandırılmış çıktı
- Desteklenmiyor
- Fonksiyon çağırma
- Desteklenmiyor
- Ses girdisi
- Desteklenmiyor
Erişim
- Sağlayıcı
- Alibaba
- Model kimliği
- alibaba/qwen-3-tts/1.7b
- Çalıştırma
- async
- Temel URL
- https://api.sandbase.ai
- API
- Unified Run API
- Uç nokta
- /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.
Geliştirmeye başlayın
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan OpenAI uyumlu uç nokta.
# 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"Giriş Şeması
15 parametre · 1 zorunlu · 14 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
prompt | string | Zorunlu | Optional prompt to guide the style of the generated speech. This prompt will be ignored if a speaker embedding is provided. |
text | string | İsteğe bağlı | The text to be converted to speech. |
top_k | integer | İsteğe bağlı | Top-k sampling parameter. · Min: 0 · Varsayılan: 50 |
top_p | number | İsteğe bağlı | Top-p sampling parameter. · Min: 0 · Maks: 1 · Varsayılan: 1 |
voice | string | İsteğe bağlı | 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. · Seçenekler: Vivian, Serena, Uncle_Fu, Dylan, Eric, Ryan, Aiden, Ono_Anna, Sohee VivianSerenaUncle_FuDylanEricRyanAidenOno_AnnaSohee |
language | string | İsteğe bağlı | The language of the voice. · Seçenekler: Auto, English, Chinese, Spanish, French, German, Italian, Japanese, Korean, Portuguese, Russian · Varsayılan: "Auto" AutoEnglishChineseSpanishFrenchGermanItalianJapaneseKoreanPortugueseRussian |
temperature | number | İsteğe bağlı | Sampling temperature; higher => more random. · Min: 0 · Maks: 1 · Varsayılan: 0.9 |
max_new_tokens | integer | İsteğe bağlı | Maximum number of new codec tokens to generate. · Min: 1 · Maks: 8192 · Varsayılan: 200 |
reference_text | string | İsteğe bağlı | 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 | İsteğe bağlı | Top-k for sub-talker sampling. · Min: 0 · Varsayılan: 50 |
subtalker_top_p | number | İsteğe bağlı | Top-p for sub-talker sampling. · Min: 0 · Maks: 1 · Varsayılan: 1 |
repetition_penalty | number | İsteğe bağlı | Penalty to reduce repeated tokens/codes. · Min: 0 · Varsayılan: 1.05 |
subtalker_dosample | boolean | İsteğe bağlı | Sampling switch for the sub-talker. · Varsayılan: true |
subtalker_temperature | number | İsteğe bağlı | Temperature for sub-talker sampling. · Min: 0 · Maks: 1 · Varsayılan: 0.9 |
speaker_voice_embedding_file_url | string | İsteğe bağlı | 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. |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Üretim görevinin benzersiz tanımlayıcısı |
status | string | Görev durumu: pending, running, completed, failed, timeout |
model | string | Üretimde kullanılan model |
outputs | array | Çıkış öğelerinin dizisi |
outputs[].url | string | Oluşturulan çıktının URL'si |
outputs[].content_type | string | MIME türü (örn. image/png, video/mp4) |
error | object | null | Başarısız olursa hata ayrıntıları, başarıda null |
error.type | string | Makine tarafından okunabilir hata türü kodu |
error.message | string | İnsan tarafından okunabilir hata açıklaması |
Asenkron İş Akışı
Bu model asenkron çalışır. Bir istek gönderin, ardından sonuç için sorgulayın.
- Gönder: /v1/run adresine POST yapın ve dönen
idalanını okuyun. - Sorgula: durum
completed,failedveyatimeoutolana kadar /v1/run/{id} adresine GET yapın. - Al: tamamlanan yanıttan
outputsalanını okuyun.
Modelinizi seçin
Modelleri karşılaştırın
| Model | Tür | Varsayılan fiyat | Yayınlanma |
|---|---|---|---|
Alibaba | Ses | $0.00 / çalıştırma | 26 Oca 2026 |
Alibaba | Ses | $0.05 / çalıştırma | 29 Tem 2026 |
Alibaba | Ses | $0.09 / çalıştırma | 26 Oca 2026 |
Alibaba | Ses | $0.00 / çalıştırma | 26 Oca 2026 |
Alibaba | Ses | $0.00 / çalıştırma | 26 Oca 2026 |
Alibaba | Ses | $0.00 / çalıştırma | 26 Oca 2026 |
Sorular
SSS
Alibaba Qwen 3 TTS - Text to Speech [1.7B]'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "alibaba/qwen-3-tts/1.7b" ile https://api.sandbase.ai adresindeki Unified Run API (/v1/run) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.
Ayrı bir Alibaba hesabına ihtiyacım var mı?
Hayır. Tek bir SandBase API anahtarı ve bakiyesi size Alibaba Qwen 3 TTS - Text to Speech [1.7B] ve katalogdaki diğer modellere erişim sağlar; Alibaba için ayrıca kayıt olmanız gerekmez.
