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

Chatterbox Text to Speech

resemble-ai/chatterbox/text-to-speech

Chatterbox by Resemble AI turns English text into expressive speech, with emotive tags such as <laugh> and <sigh>, an exaggeration control, and zero-shot voice cloning from a reference clip.

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

Probar el modelo

Entorno de pruebas

Abrir playground
Entrada
The text to convert to speech (up to 5,000 characters). Supports emotive tags: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>.
Optional reference voice as an audio file or URL. The model matches its voice, style, and tone. When omitted, a default demo voice is used.
01
Exaggeration of the delivery (0 = none, 1 = maximum). Rango: de 0 a 1.
Random seed for reproducible results. Omit for a random seed.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

Ficha del modelo

Especificaciones

Precios

Precio base
$0.03 / 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
Resemble AI
ID del modelo
resemble-ai/chatterbox/text-to-speech
Ejecución
async
URL base
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README de la API

Chatterbox Text to Speech

Resemble AI Chatterbox speaks up to 5,000 characters of English text with emotive tags, an exaggeration control, and zero-shot voice matching from a reference clip.

Fields

FieldTypeDefaultNotes
textstring, required—Text to speak; supports tags such as <laugh> and <sigh>.
reference_audioaudio file or URL—Voice to match; a default voice is used when omitted.
exaggerationnumber 0–10.250 = neutral, 1 = most exaggerated.
seedinteger—Fix it to reproduce a result.

Billing

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

TextPrice
200 characters$0.006
1,000 characters$0.03
5,000 characters$0.15

Failed runs are not charged.

Prompting

  • Add emotive tags inline, e.g. That's hilarious <laugh>.

Also on SandBase

Related: resemble-ai/chatterbox/text-to-speech/multilingual, resemble-ai/chatterbox-hd/text-to-speech, resemble-ai/chatterbox/speech-to-speech.

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
resemble-ai/chatterbox/text-to-speech
# 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": "resemble-ai/chatterbox/text-to-speech",
  "text": "I just found a hidden treasure in the backyard! Check it out!",
  "exaggeration": 0.25,
  "reference_audio": "https://storage.googleapis.com/chatterbox-demo-samples/prompts/male_rickmorty.mp3"
}
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

4 parámetros · 1 obligatorios · 3 opcionales

ParámetroTipoObligatorioDescripción
textstringObligatorioThe text to convert to speech (up to 5,000 characters). Supports emotive tags: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>. · Longitud mínima: 1 · Longitud máxima: 5000
seedintegerOpcionalRandom seed for reproducible results. Omit for a random seed.
exaggerationnumberOpcionalExaggeration of the delivery (0 = none, 1 = maximum). · Mín.: 0 · Máx.: 1 · Valor predeterminado: 0.25
reference_audiostringOpcionalOptional reference voice as an audio file or URL. The model matches its voice, style, and tone. When omitted, a default demo voice is used.
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
Resemble AIAudio$0.03 / ejecución1 jun 2025
Resemble AIAudio$0.01 / ejecución4 sept 2025
Resemble AIAudio$0.02 / ejecución2 jun 2025
Resemble AIAudio$0.04 / ejecución2 jun 2025
Resemble AIAudio$0.02 / ejecución1 jun 2025

Preguntas

FAQ

¿Cómo llamo a Resemble AI Chatterbox Text to Speech a través de SandBase?

Crea una clave API de SandBase y luego envía solicitudes con el ID de modelo "resemble-ai/chatterbox/text-to-speech" 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 Resemble AI?

No. Una sola clave API y saldo de SandBase te dan acceso a Resemble AI Chatterbox Text to Speech y a los demás modelos del catálogo; no necesitas registrarte aparte en Resemble AI.