Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Chatterbox HD Text to Speech

resemble-ai/chatterbox-hd/text-to-speech

Chatterbox 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
Trasa produkcyjna

Wypróbuj model

Playground

Otwórz Playground
Wejście
Text to synthesize into speech.
Preset voice. Ignored when `reference_audio` is set; a random voice is used when neither is given.
Voice sample as an audio file or URL for zero-shot voice cloning. Overrides `voice`.
0.252
Emotion exaggeration. 0.5 is neutral; raise it for dramatic delivery. Zakres: od 0.25 do 2.
Upscale the output audio to 48 kHz (slower). Otherwise the output is 24 kHz.
Random seed for reproducible results. Omit for a random seed. Minimum: 0.
WyjścieGotowe

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

FieldTypeDefaultNotes
textstring, required—Text to speak.
voiceAurora / Blade / Britney / Carl / Cliff / Richard / Rico / Siobhan / Vicky—Preset voice; random when neither voice nor reference_audio is set.
reference_audioaudio file or URL—Voice to clone; overrides voice.
exaggerationnumber 0.25–20.50.5 is neutral; higher is more dramatic.
high_qualitybooleanfalse48 kHz output instead of 24 kHz; slower.
seedinteger ≥ 0—Fix it to reproduce a result.

Billing

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

TextPrice
200 characters$0.008
1,000 characters$0.04
5,000 characters$0.20

Failed runs are not charged.

Prompting

  • For dramatic delivery raise exaggeration to 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.

API produkcyjne
endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID modelu
resemble-ai/chatterbox-hd/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-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"
01

Schemat wejścia

6 parametrów · 1 wymaganych · 5 opcjonalnych

ParametrTypWymaganeOpis
textstringWymaganeText to synthesize into speech. · Minimalna długość: 1
seedintegerOpcjonalneRandom seed for reproducible results. Omit for a random seed. · Min.: 0
voicestringOpcjonalnePreset 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
exaggerationnumberOpcjonalneEmotion exaggeration. 0.5 is neutral; raise it for dramatic delivery. · Min.: 0.25 · Maks.: 2 · Domyślnie: 0.5
high_qualitybooleanOpcjonalneUpscale the output audio to 48 kHz (slower). Otherwise the output is 24 kHz. · Domyślnie: false
reference_audiostringOpcjonalneVoice sample as an audio file or URL for zero-shot voice cloning. Overrides `voice`.
02

Schemat wyjścia

PoleTypOpis
idstringUnikalny identyfikator zadania generowania
statusstringStatus zadania: pending, running, completed, failed, timeout
modelstringModel użyty do generowania
outputsarrayTablica elementów wyjściowych
outputs[].urlstringURL wygenerowanego artefaktu
outputs[].content_typestringTyp MIME (np. image/png, video/mp4)
errorobject | nullSzczegóły błędu, jeśli wystąpił; null w przypadku powodzenia
error.typestringMaszynowo czytelny kod typu błędu
error.messagestringOpis błędu czytelny dla człowieka

Asynchroniczny przepływ pracy

Ten model działa asynchronicznie. Wyślij żądanie, a następnie odpytyuj o wynik.

  1. Wyślij: wykonaj POST do /v1/run i odczytaj zwrócone id.
  2. Odpytywanie: wykonuj GET /v1/run/{id}, aż status będzie równy completed, failed lub timeout.
  3. Pobierz: odczytaj outputs z ukończonej odpowiedzi.

Wybierz swój model

Porównaj modele

Wszystkie modele obrazu i wideo
ModelTypCena domyślnaWydano
Resemble AIAudio$0.04 / uruchomienie2 cze 2025
Resemble AIAudio$0.01 / uruchomienie4 wrz 2025
Resemble AIAudio$0.02 / uruchomienie2 cze 2025
Resemble AIAudio$0.02 / uruchomienie1 cze 2025
Resemble AIAudio$0.03 / uruchomienie1 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.