Chatterbox HD Text to Speech
resemble-ai/chatterbox-hd/text-to-speechChatterbox HD by Resemble AI generates expressive speech from text with nine preset voices or zero-shot voice cloning, an emotion exaggeration control, and optional 48 kHz output.
- Cena bazowa
- $0.04USD / uruchomienie
- Wykonanie
- async
- Typ modelu
- audio
- Pola wejściowe
- 6
Wypróbuj model
Playground
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Karta modelu
Specyfikacja
Cennik
- Cena bazowa
- $0.04 / uruchomienie
Kontekst i modalności
- Wejście
- Zdefiniowane przez schemat
- Wyjście
- audio
Możliwości
- Czat
- Nieobsługiwane
- Wizja
- Nieobsługiwane
- Rozumowanie
- Nieobsługiwane
- Ustrukturyzowany wynik
- Nieobsługiwane
- Wywoływanie funkcji
- Nieobsługiwane
- Wejście audio
- Nieobsługiwane
Dostęp
- Dostawca
- Resemble AI
- ID modelu
- resemble-ai/chatterbox-hd/text-to-speech
- Wykonanie
- async
- Bazowy URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
Chatterbox HD Text to Speech
Resemble AI Chatterbox HD speaks text with nine preset voices or a voice cloned from a reference clip, with emotion exaggeration and optional 48 kHz output.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | — | Text to speak. |
voice | Aurora / Blade / Britney / Carl / Cliff / Richard / Rico / Siobhan / Vicky | — | Preset voice; random when neither voice nor reference_audio is set. |
reference_audio | audio file or URL | — | Voice to clone; overrides voice. |
exaggeration | number 0.25–2 | 0.5 | 0.5 is neutral; higher is more dramatic. |
high_quality | boolean | false | 48 kHz output instead of 24 kHz; slower. |
seed | integer ≥ 0 | — | Fix it to reproduce a result. |
Billing
$0.04 per 1,000 characters of input text, billed per character.
| Text | Price |
|---|---|
| 200 characters | $0.008 |
| 1,000 characters | $0.04 |
| 5,000 characters | $0.20 |
Failed runs are not charged.
Prompting
- For dramatic delivery raise
exaggerationto about 0.7–1.0.
Also on SandBase
Related: resemble-ai/chatterbox-hd/speech-to-speech, resemble-ai/chatterbox/text-to-speech.
Zacznij tworzyć
Wyślij pierwsze żądanie
Kompatybilny z OpenAI endpoint z jednolitym uwierzytelnianiem i śledzeniem użycia.
# 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-hd/text-to-speech",
"text": "My name is Maximus Decimus Meridius, commander of the Armies of the North.",
"exaggeration": 0.5,
"high_quality": false,
"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"Schemat wejścia
6 parametrów · 1 wymaganych · 5 opcjonalnych
| Parametr | Typ | Wymagane | Opis |
|---|---|---|---|
text | string | Wymagane | Text to synthesize into speech. · Minimalna długość: 1 |
seed | integer | Opcjonalne | Random seed for reproducible results. Omit for a random seed. · Min.: 0 |
voice | string | Opcjonalne | Preset voice. Ignored when `reference_audio` is set; a random voice is used when neither is given. · Opcje: Aurora, Blade, Britney, Carl, Cliff, Richard, Rico, Siobhan, Vicky AuroraBladeBritneyCarlCliffRichardRicoSiobhanVicky |
exaggeration | number | Opcjonalne | Emotion exaggeration. 0.5 is neutral; raise it for dramatic delivery. · Min.: 0.25 · Maks.: 2 · Domyślnie: 0.5 |
high_quality | boolean | Opcjonalne | Upscale the output audio to 48 kHz (slower). Otherwise the output is 24 kHz. · Domyślnie: false |
reference_audio | string | Opcjonalne | Voice sample as an audio file or URL for zero-shot voice cloning. Overrides `voice`. |
Schemat wyjścia
| Pole | Typ | Opis |
|---|---|---|
id | string | Unikalny identyfikator zadania generowania |
status | string | Status zadania: pending, running, completed, failed, timeout |
model | string | Model użyty do generowania |
outputs | array | Tablica elementów wyjściowych |
outputs[].url | string | URL wygenerowanego artefaktu |
outputs[].content_type | string | Typ MIME (np. image/png, video/mp4) |
error | object | null | Szczegóły błędu, jeśli wystąpił; null w przypadku powodzenia |
error.type | string | Maszynowo czytelny kod typu błędu |
error.message | string | Opis błędu czytelny dla człowieka |
Asynchroniczny przepływ pracy
Ten model działa asynchronicznie. Wyślij żądanie, a następnie odpytyuj o wynik.
- Wyślij: wykonaj POST do /v1/run i odczytaj zwrócone
id. - Odpytywanie: wykonuj GET /v1/run/{id}, aż status będzie równy
completed,failedlubtimeout. - Pobierz: odczytaj
outputsz ukończonej odpowiedzi.
Wybierz swój model
Porównaj modele
| Model | Typ | Cena domyślna | Wydano |
|---|---|---|---|
Chatterbox HD Text to SpeechTen model Resemble AI | Audio | $0.04 / uruchomienie | 2 cze 2025 |
Resemble AI | Audio | $0.01 / uruchomienie | 4 wrz 2025 |
Resemble AI | Audio | $0.02 / uruchomienie | 2 cze 2025 |
Resemble AI | Audio | $0.02 / uruchomienie | 1 cze 2025 |
Resemble AI | Audio | $0.03 / uruchomienie | 1 cze 2025 |
Pytania
FAQ
Jak wywołać Resemble AI Chatterbox HD Text to Speech przez SandBase?
Utwórz klucz API SandBase, a następnie wysyłaj żądania z identyfikatorem modelu "resemble-ai/chatterbox-hd/text-to-speech" do Unified Run API (/v1/run) na https://api.sandbase.ai. Przykłady żądań na tej stronie pokazują dokładny payload.
Czy potrzebuję osobnego konta Resemble AI?
Nie. Jeden klucz API SandBase i saldo daje Ci dostęp do Resemble AI Chatterbox HD Text to Speech oraz innych modeli w katalogu; nie musisz osobno zakładać konta u Resemble AI.
