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.
- Prix de base
- $0.0001USD / exécution
- Exécution
- async
- Type de modèle
- audio
- Champs d'entrée
- 15
Essayer le modèle
Bac à sable
Que souhaitez-vous faire ensuite ?
Exemples
Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
- Ouvrir le résultat ↗
Entrée
{ "prompt": "Very happy." }
Fiche modèle
Spécifications
Tarification
- Prix de base
- $0.0001 / exécution
Contexte et modalités
- Entrée
- Défini par le schéma
- Sortie
- audio
Fonctionnalités
- Chat
- Non pris en charge
- Vision
- Non pris en charge
- Raisonnement
- Non pris en charge
- Sortie structurée
- Non pris en charge
- Appel de fonction
- Non pris en charge
- Entrée audio
- Non pris en charge
Accès
- Fournisseur
- Alibaba
- ID du modèle
- alibaba/qwen-3-tts/1.7b
- Exécution
- async
- URL de base
- https://api.sandbase.ai
- API
- Unified Run API
- Point de terminaison
- /v1/run
README de l'API
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.
Commencer à construire
Envoyez votre première requête
Point de terminaison compatible OpenAI avec authentification unifiée et suivi de l'utilisation.
# 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"Schéma d'entrée
15 paramètres · 1 obligatoires · 14 facultatifs
| Paramètre | Type | Obligatoire | Description |
|---|---|---|---|
prompt | string | Obligatoire | Optional prompt to guide the style of the generated speech. This prompt will be ignored if a speaker embedding is provided. |
text | string | Facultatif | The text to be converted to speech. |
top_k | integer | Facultatif | Top-k sampling parameter. · Min : 0 · Par défaut : 50 |
top_p | number | Facultatif | Top-p sampling parameter. · Min : 0 · Max : 1 · Par défaut : 1 |
voice | string | Facultatif | 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. · Options : Vivian, Serena, Uncle_Fu, Dylan, Eric, Ryan, Aiden, Ono_Anna, Sohee VivianSerenaUncle_FuDylanEricRyanAidenOno_AnnaSohee |
language | string | Facultatif | The language of the voice. · Options : Auto, English, Chinese, Spanish, French, German, Italian, Japanese, Korean, Portuguese, Russian · Par défaut : "Auto" AutoEnglishChineseSpanishFrenchGermanItalianJapaneseKoreanPortugueseRussian |
temperature | number | Facultatif | Sampling temperature; higher => more random. · Min : 0 · Max : 1 · Par défaut : 0.9 |
max_new_tokens | integer | Facultatif | Maximum number of new codec tokens to generate. · Min : 1 · Max : 8192 · Par défaut : 200 |
reference_text | string | Facultatif | 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 | Facultatif | Top-k for sub-talker sampling. · Min : 0 · Par défaut : 50 |
subtalker_top_p | number | Facultatif | Top-p for sub-talker sampling. · Min : 0 · Max : 1 · Par défaut : 1 |
repetition_penalty | number | Facultatif | Penalty to reduce repeated tokens/codes. · Min : 0 · Par défaut : 1.05 |
subtalker_dosample | boolean | Facultatif | Sampling switch for the sub-talker. · Par défaut : true |
subtalker_temperature | number | Facultatif | Temperature for sub-talker sampling. · Min : 0 · Max : 1 · Par défaut : 0.9 |
speaker_voice_embedding_file_url | string | Facultatif | 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. |
Schéma de sortie
| Champ | Type | Description |
|---|---|---|
id | string | Identifiant unique de la tâche de génération |
status | string | Statut de la tâche : pending, running, completed, failed, timeout |
model | string | Modèle utilisé pour la génération |
outputs | array | Tableau des éléments de sortie |
outputs[].url | string | URL de l'artefact généré |
outputs[].content_type | string | Type MIME (par ex. image/png, video/mp4) |
error | object | null | Détails de l'erreur en cas d'échec, null en cas de succès |
error.type | string | Code de type d'erreur lisible par machine |
error.message | string | Description de l'erreur lisible par l'humain |
Flux de travail asynchrone
Ce modèle s’exécute de manière asynchrone. Envoyez une requête, puis interrogez le résultat.
- Envoyer : faites un POST vers /v1/run et lisez le
idrenvoyé. - Interroger : faites un GET sur /v1/run/{id} jusqu’à ce que le statut soit
completed,failedoutimeout. - Récupérer : lisez
outputsdans la réponse terminée.
Choisissez votre modèle
Comparer les modèles
| Modèle | Type | Prix par défaut | Lancement |
|---|---|---|---|
Qwen 3 TTS - Text to Speech [1.7B]Ce modèle Alibaba | Audio | $0.00 / exécution | 26 janv. 2026 |
Alibaba | Audio | $0.05 / exécution | 29 juil. 2026 |
Alibaba | Audio | $0.09 / exécution | 26 janv. 2026 |
Alibaba | Audio | $0.00 / exécution | 26 janv. 2026 |
Alibaba | Audio | $0.00 / exécution | 26 janv. 2026 |
Alibaba | Audio | $0.00 / exécution | 26 janv. 2026 |
Questions
FAQ
Comment appeler Alibaba Qwen 3 TTS - Text to Speech [1.7B] via SandBase ?
Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "alibaba/qwen-3-tts/1.7b" à Unified Run API (/v1/run) sur https://api.sandbase.ai. Les exemples de requêtes sur cette page montrent la charge utile exacte.
Ai-je besoin d’un compte Alibaba distinct ?
Non. Une seule clé API SandBase et un seul solde vous donnent accès à Alibaba Qwen 3 TTS - Text to Speech [1.7B] et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte Alibaba séparément.
