Chatterbox Text to Speech
resemble-ai/chatterbox/text-to-speechChatterbox 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.
- Prezzo base
- $0.03USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 4
Prova il modello
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Scheda del modello
Specifiche
Prezzi
- Prezzo base
- $0.03 / esecuzione
Contesto e modalità
- Input
- Definito dallo schema
- Output
- audio
Funzionalità
- Chat
- Non supportato
- Vision
- Non supportato
- Ragionamento
- Non supportato
- Output strutturato
- Non supportato
- Chiamata di funzione
- Non supportato
- Input audio
- Non supportato
Accesso
- Provider
- Resemble AI
- ID modello
- resemble-ai/chatterbox/text-to-speech
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README 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
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | — | Text to speak; supports tags such as <laugh> and <sigh>. |
reference_audio | audio file or URL | — | Voice to match; a default voice is used when omitted. |
exaggeration | number 0–1 | 0.25 | 0 = neutral, 1 = most exaggerated. |
seed | integer | — | Fix it to reproduce a result. |
Billing
$0.03 per 1,000 characters of input text, billed per character.
| Text | Price |
|---|---|
| 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.
Inizia a costruire
Invia la tua prima richiesta
Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.
# 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"Schema di input
4 parametri · 1 obbligatori · 3 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
text | string | Obbligatorio | The text to convert to speech (up to 5,000 characters). Supports emotive tags: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>. · Lunghezza minima: 1 · Lunghezza massima: 5000 |
seed | integer | Facoltativo | Random seed for reproducible results. Omit for a random seed. |
exaggeration | number | Facoltativo | Exaggeration of the delivery (0 = none, 1 = maximum). · Min: 0 · Max: 1 · Predefinito: 0.25 |
reference_audio | string | Facoltativo | 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. |
Schema di output
| Campo | Tipo | Descrizione |
|---|---|---|
id | string | Identificatore univoco dell'attività di generazione |
status | string | Stato dell'attività: pending, running, completed, failed, timeout |
model | string | Modello usato per la generazione |
outputs | array | Array di elementi di output |
outputs[].url | string | URL dell'artefatto generato |
outputs[].content_type | string | Tipo MIME (ad esempio image/png, video/mp4) |
error | object | null | Dettagli dell'errore in caso di fallimento, null in caso di successo |
error.type | string | Codice del tipo di errore leggibile dalla macchina |
error.message | string | Descrizione dell'errore leggibile dall'utente |
Workflow asincrono
Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.
- Invio: esegui POST su /v1/run e leggi il
idrestituito. - Polling: esegui GET /v1/run/{id} finché lo stato non è
completed,failedotimeout. - Recupero: leggi
outputsdalla risposta completata.
Scegli il tuo modello
Confronta i modelli
| Modello | Tipo | Prezzo predefinito | Rilasciato |
|---|---|---|---|
Chatterbox Text to SpeechQuesto modello Resemble AI | Audio | $0.03 / esecuzione | 1 giu 2025 |
Resemble AI | Audio | $0.01 / esecuzione | 4 set 2025 |
Resemble AI | Audio | $0.02 / esecuzione | 2 giu 2025 |
Resemble AI | Audio | $0.04 / esecuzione | 2 giu 2025 |
Resemble AI | Audio | $0.02 / esecuzione | 1 giu 2025 |
Domande
FAQ
Come chiamo Resemble AI Chatterbox Text to Speech tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "resemble-ai/chatterbox/text-to-speech" a Unified Run API (/v1/run) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.
Mi serve un account Resemble AI separato?
No. Una sola chiave API e un solo saldo SandBase ti danno accesso a Resemble AI Chatterbox Text to Speech e agli altri modelli del catalogo; non è necessario registrarsi separatamente su Resemble AI.
