Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Qwen 3 TTS - Text to Speech [1.7B]

alibaba/qwen-3-tts/1.7b

Qwen 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.

Preço base
$0.0001USD / execução
Execução
async
Tipo de modelo
audio
Campos de entrada
15
Rota de produção

Testar o modelo

Playground

Abrir playground
Entrada
Optional prompt to guide the style of the generated speech. This prompt will be ignored if a speaker embedding is provided.
The text to be converted to speech.
01
Temperature for sub-talker sampling. Intervalo: 0 a 1.
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.
Penalty to reduce repeated tokens/codes. Mínimo: 0.
The language of the voice.
01
Top-p for sub-talker sampling. Intervalo: 0 a 1.
01
Top-p sampling parameter. Intervalo: 0 a 1.
Optional reference text that was used when creating the speaker embedding. Providing this can improve synthesis quality when using a cloned voice.
Top-k sampling parameter. Mínimo: 0.
Top-k for sub-talker sampling. Mínimo: 0.
01
Sampling temperature; higher => more random. Intervalo: 0 a 1.
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.
18192
Maximum number of new codec tokens to generate. Intervalo: 1 a 8192.
Sampling switch for the sub-talker.
SaídaExemplo
  1. O que você gostaria de fazer em seguida?

    Abrir original

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

Cartão do modelo

Especificações

Preços

Preço base
$0.0001 / execução

Contexto e modalidades

Entrada
Definido pelo schema
Saída
audio

Capacidades

Chat
Não suportado
Visão
Não suportado
Raciocínio
Não suportado
Saída estruturada
Não suportado
Chamada de função
Não suportado
Entrada de áudio
Não suportado

Acesso

Provedor
Alibaba
ID do modelo
alibaba/qwen-3-tts/1.7b
Execução
async
URL base
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README da 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

FieldTypeDefaultNotes
promptstring, required—Text to speak.
textstring—Alias of prompt; if both are sent, text is used.
subtalker_temperaturenumber 0–10.9Sub-model temperature.
speaker_voice_embedding_file_urlstring—Optional cloned-voice embedding (safetensors) to use instead of a preset voice.
repetition_penaltynumber1.05Reduces repeated sounds.
languageAuto / English / Chinese / Spanish / French / German / Italian / Japanese / Korean / Portuguese / RussianAutoSpoken language; Auto detects it.
subtalker_top_pnumber 0–11Sub-model sampling setting.
top_pnumber 0–11Sampling setting.
reference_textstring—Transcript used when the embedding was created; improves cloned-voice quality.
top_kinteger50Sampling setting; leave at default unless delivery is unstable.
subtalker_top_kinteger50Sub-model sampling setting.
temperaturenumber 0–10.9Higher values give more varied delivery.
voiceVivian / Serena / Uncle_Fu / Dylan / Eric / Ryan / Aiden / Ono_Anna / Sohee—Preset voice; ignored when a speaker embedding is supplied.
max_new_tokensinteger 1–8192200Caps the generated audio length; raise it for long text.
subtalker_dosamplebooleantrueSampling switch for the acoustic sub-model.

Billing

$0.09 per 1,000 characters of input text, billed per character.

TextPrice
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.

Comece a construir

Envie sua primeira solicitação

Endpoint compatível com OpenAI com autenticação unificada e rastreamento de uso.

API de produção
endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID do modelo
alibaba/qwen-3-tts/1.7b
# 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"
01

Esquema de entrada

15 parâmetros · 1 obrigatórios · 14 opcionais

ParâmetroTipoObrigatórioDescrição
promptstringObrigatórioOptional prompt to guide the style of the generated speech. This prompt will be ignored if a speaker embedding is provided.
textstringOpcionalThe text to be converted to speech.
top_kintegerOpcionalTop-k sampling parameter. · Mín.: 0 · Padrão: 50
top_pnumberOpcionalTop-p sampling parameter. · Mín.: 0 · Máx.: 1 · Padrão: 1
voicestringOpcionalThe 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. · Opções: Vivian, Serena, Uncle_Fu, Dylan, Eric, Ryan, Aiden, Ono_Anna, Sohee
VivianSerenaUncle_FuDylanEricRyanAidenOno_AnnaSohee
languagestringOpcionalThe language of the voice. · Opções: Auto, English, Chinese, Spanish, French, German, Italian, Japanese, Korean, Portuguese, Russian · Padrão: "Auto"
AutoEnglishChineseSpanishFrenchGermanItalianJapaneseKoreanPortugueseRussian
temperaturenumberOpcionalSampling temperature; higher => more random. · Mín.: 0 · Máx.: 1 · Padrão: 0.9
max_new_tokensintegerOpcionalMaximum number of new codec tokens to generate. · Mín.: 1 · Máx.: 8192 · Padrão: 200
reference_textstringOpcionalOptional reference text that was used when creating the speaker embedding. Providing this can improve synthesis quality when using a cloned voice.
subtalker_top_kintegerOpcionalTop-k for sub-talker sampling. · Mín.: 0 · Padrão: 50
subtalker_top_pnumberOpcionalTop-p for sub-talker sampling. · Mín.: 0 · Máx.: 1 · Padrão: 1
repetition_penaltynumberOpcionalPenalty to reduce repeated tokens/codes. · Mín.: 0 · Padrão: 1.05
subtalker_dosamplebooleanOpcionalSampling switch for the sub-talker. · Padrão: true
subtalker_temperaturenumberOpcionalTemperature for sub-talker sampling. · Mín.: 0 · Máx.: 1 · Padrão: 0.9
speaker_voice_embedding_file_urlstringOpcionalURL 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.
02

Esquema de saída

CampoTipoDescrição
idstringIdentificador exclusivo da tarefa de geração
statusstringStatus da tarefa: pending, running, completed, failed, timeout
modelstringModelo usado para a geração
outputsarrayVetor de itens de saída
outputs[].urlstringURL do artefato gerado
outputs[].content_typestringTipo MIME (por exemplo, image/png, video/mp4)
errorobject | nullDetalhes do erro se houver falha, null em caso de sucesso
error.typestringCódigo do tipo de erro legível por máquina
error.messagestringDescrição do erro legível por humanos

Fluxo assíncrono

Este modelo é executado de forma assíncrona. Envie uma solicitação e depois faça polling pelo resultado.

  1. Enviar: faça POST para /v1/run e leia o id retornado.
  2. Fazer polling: faça GET em /v1/run/{id} até o status ser completed, failed ou timeout.
  3. Recuperar: leia outputs da resposta concluída.

Escolha seu modelo

Comparar modelos

Todos os modelos de imagem e vídeo
ModeloTipoPreço padrãoLançado
AlibabaÁudio$0.00 / execução26 de jan. de 2026
AlibabaÁudio$0.05 / execução29 de jul. de 2026
AlibabaÁudio$0.09 / execução26 de jan. de 2026
AlibabaÁudio$0.00 / execução26 de jan. de 2026
AlibabaÁudio$0.00 / execução26 de jan. de 2026
AlibabaÁudio$0.00 / execução26 de jan. de 2026

Perguntas

FAQ

Como faço chamadas ao Alibaba Qwen 3 TTS - Text to Speech [1.7B] pela SandBase?

Crie uma chave de API da SandBase e depois envie solicitações com o ID do modelo "alibaba/qwen-3-tts/1.7b" para Unified Run API (/v1/run) em https://api.sandbase.ai. Os exemplos de requisição nesta página mostram a carga exata.

Preciso de uma conta Alibaba separada?

Não. Uma única chave de API e saldo da SandBase dão acesso a Alibaba Qwen 3 TTS - Text to Speech [1.7B] e aos outros modelos do catálogo; você não precisa se cadastrar separadamente no Alibaba.