Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

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.

Precio base
$0.0001USD / ejecución
Ejecución
async
Tipo de modelo
audio
Campos de entrada
15
Ruta de producción

Probar el modelo

Entorno de pruebas

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. Rango: de 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. Rango: de 0 a 1.
01
Top-p sampling parameter. Rango: de 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. Rango: de 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. Rango: de 1 a 8192.
Sampling switch for the sub-talker.
SalidaEjemplo
  1. ¿Qué le gustaría hacer después?

    Abrir original

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

Ficha del modelo

Especificaciones

Precios

Precio base
$0.0001 / ejecución

Contexto y modalidades

Entrada
Definido por esquema
Salida
audio

Capacidades

Chat
No compatible
Visión
No compatible
Razonamiento
No compatible
Salida estructurada
No compatible
Llamadas a funciones
No compatible
Entrada de audio
No compatible

Acceso

Proveedor
Alibaba
ID del modelo
alibaba/qwen-3-tts/1.7b
Ejecución
async
URL base
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README de la 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.

Empiece a construir

Envíe su primera solicitud

Endpoint compatible con OpenAI con autenticación unificada y seguimiento de uso.

API de producción
Endpoint de Unified Run API
https://api.sandbase.ai/v1/run
ID del 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 obligatorios · 14 opcionales

ParámetroTipoObligatorioDescripción
promptstringObligatorioOptional 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 · Valor predeterminado: 50
top_pnumberOpcionalTop-p sampling parameter. · Mín.: 0 · Máx.: 1 · Valor predeterminado: 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. · Opciones: Vivian, Serena, Uncle_Fu, Dylan, Eric, Ryan, Aiden, Ono_Anna, Sohee
VivianSerenaUncle_FuDylanEricRyanAidenOno_AnnaSohee
languagestringOpcionalThe language of the voice. · Opciones: Auto, English, Chinese, Spanish, French, German, Italian, Japanese, Korean, Portuguese, Russian · Valor predeterminado: "Auto"
AutoEnglishChineseSpanishFrenchGermanItalianJapaneseKoreanPortugueseRussian
temperaturenumberOpcionalSampling temperature; higher => more random. · Mín.: 0 · Máx.: 1 · Valor predeterminado: 0.9
max_new_tokensintegerOpcionalMaximum number of new codec tokens to generate. · Mín.: 1 · Máx.: 8192 · Valor predeterminado: 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 · Valor predeterminado: 50
subtalker_top_pnumberOpcionalTop-p for sub-talker sampling. · Mín.: 0 · Máx.: 1 · Valor predeterminado: 1
repetition_penaltynumberOpcionalPenalty to reduce repeated tokens/codes. · Mín.: 0 · Valor predeterminado: 1.05
subtalker_dosamplebooleanOpcionalSampling switch for the sub-talker. · Valor predeterminado: true
subtalker_temperaturenumberOpcionalTemperature for sub-talker sampling. · Mín.: 0 · Máx.: 1 · Valor predeterminado: 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 salida

CampoTipoDescripción
idstringIdentificador único de la tarea de generación
statusstringEstado de la tarea: pending, running, completed, failed, timeout
modelstringModelo usado para la generación
outputsarrayMatriz de elementos de salida
outputs[].urlstringURL del artefacto generado
outputs[].content_typestringTipo MIME (por ejemplo, image/png, video/mp4)
errorobject | nullDetalles del error si falla; null en caso de éxito
error.typestringCódigo de tipo de error legible por máquina
error.messagestringDescripción del error legible por humanos

Flujo asíncrono

Este modelo se ejecuta de forma asíncrona. Envía una solicitud y luego consulta el resultado.

  1. Enviar: haz POST a /v1/run y lee el id devuelto.
  2. Consultar: haz GET a /v1/run/{id} hasta que el estado sea completed, failed o timeout.
  3. Recuperar: lee outputs de la respuesta completada.

Elija su modelo

Comparar modelos

Todos los modelos de imagen y video
ModeloTipoPrecio predeterminadoLanzamiento
AlibabaAudio$0.00 / ejecución26 ene 2026
AlibabaAudio$0.05 / ejecución29 jul 2026
AlibabaAudio$0.09 / ejecución26 ene 2026
AlibabaAudio$0.00 / ejecución26 ene 2026
AlibabaAudio$0.00 / ejecución26 ene 2026
AlibabaAudio$0.00 / ejecución26 ene 2026

Preguntas

FAQ

¿Cómo llamo a Alibaba Qwen 3 TTS - Text to Speech [1.7B] a través de SandBase?

Crea una clave API de SandBase y luego envía solicitudes con el ID de modelo "alibaba/qwen-3-tts/1.7b" a Unified Run API (/v1/run) en https://api.sandbase.ai. Los ejemplos de solicitud de esta página muestran el payload exacto.

¿Necesito una cuenta separada de Alibaba?

No. Una sola clave API y saldo de SandBase te dan acceso a Alibaba Qwen 3 TTS - Text to Speech [1.7B] y a los demás modelos del catálogo; no necesitas registrarte aparte en Alibaba.