Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

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.

Prix de base
$0.03USD / exécution
Exécution
async
Type de modèle
audio
Champs d'entrée
4
Route de production

Essayer le modèle

Bac à sable

Ouvrir le Playground
Entrée
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). Plage : de 0 à 1.
Random seed for reproducible results. Omit for a random seed.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

Fiche modèle

Spécifications

Tarification

Prix de base
$0.03 / 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
Resemble AI
ID du modèle
resemble-ai/chatterbox/text-to-speech
Exécution
async
URL de base
https://api.sandbase.ai
API
Unified Run API
Point de terminaison
/v1/run

README de l'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.

Commencer à construire

Envoyez votre première requête

Point de terminaison compatible OpenAI avec authentification unifiée et suivi de l'utilisation.

API de production
point de terminaison Unified Run API
https://api.sandbase.ai/v1/run
ID du modèle
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

Schéma d'entrée

4 paramètres · 1 obligatoires · 3 facultatifs

ParamètreTypeObligatoireDescription
textstringObligatoireThe text to convert to speech (up to 5,000 characters). Supports emotive tags: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>. · Longueur min. : 1 · Longueur max. : 5000
seedintegerFacultatifRandom seed for reproducible results. Omit for a random seed.
exaggerationnumberFacultatifExaggeration of the delivery (0 = none, 1 = maximum). · Min : 0 · Max : 1 · Par défaut : 0.25
reference_audiostringFacultatifOptional 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

Schéma de sortie

ChampTypeDescription
idstringIdentifiant unique de la tâche de génération
statusstringStatut de la tâche : pending, running, completed, failed, timeout
modelstringModèle utilisé pour la génération
outputsarrayTableau des éléments de sortie
outputs[].urlstringURL de l'artefact généré
outputs[].content_typestringType MIME (par ex. image/png, video/mp4)
errorobject | nullDétails de l'erreur en cas d'échec, null en cas de succès
error.typestringCode de type d'erreur lisible par machine
error.messagestringDescription 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.

  1. Envoyer : faites un POST vers /v1/run et lisez le id renvoyé.
  2. Interroger : faites un GET sur /v1/run/{id} jusqu’à ce que le statut soit completed, failed ou timeout.
  3. Récupérer : lisez outputs dans la réponse terminée.

Choisissez votre modèle

Comparer les modèles

Tous les modèles d’image et de vidéo
ModèleTypePrix par défautLancement
Resemble AIAudio$0.03 / exécution1 juin 2025
Resemble AIAudio$0.01 / exécution4 sept. 2025
Resemble AIAudio$0.02 / exécution2 juin 2025
Resemble AIAudio$0.04 / exécution2 juin 2025
Resemble AIAudio$0.02 / exécution1 juin 2025

Questions

FAQ

Comment appeler Resemble AI Chatterbox Text to Speech via SandBase ?

Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "resemble-ai/chatterbox/text-to-speech" à 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 Resemble AI distinct ?

Non. Une seule clé API SandBase et un seul solde vous donnent accès à Resemble AI Chatterbox Text to Speech et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte Resemble AI séparément.