Chatterbox Speech to Speech
resemble-ai/chatterbox/speech-to-speechChatterbox Speech to Speech by Resemble AI converts a speech recording into another voice while keeping the words and timing, using a target voice sample.
- Cena bazowa
- $0.02USD / uruchomienie
- Wykonanie
- async
- Typ modelu
- audio
- Pola wejściowe
- 2
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.02 / 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/speech-to-speech
- Wykonanie
- async
- Bazowy URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
Chatterbox Speech to Speech
Resemble AI Chatterbox Speech to Speech re-voices a speech recording with the voice of a target sample, keeping the words and timing.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
audio | audio file or URL, required | — | Speech to re-voice. |
reference_audio | audio file or URL, required | — | Target voice sample; the output takes this voice. |
Billing
$0.02 per started minute of source audio, with a one-minute minimum. The charge uses the measured length of audio.
| Source audio | Price |
|---|---|
| 30 s | $0.02 |
| 1 min | $0.02 |
| 2 min 10 s | $0.06 |
Failed runs are not charged.
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/speech-to-speech",
"audio": "https://storage.googleapis.com/chatterbox-demo-samples/samples/duff_stewie.wav",
"reference_audio": "https://v3.fal.media/files/tiger/0XODRhebRLiBdu8MqgZc5_tmpljqsylwu.wav"
}
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
2 parametrów · 2 wymaganych · 0 opcjonalnych
| Parametr | Typ | Wymagane | Opis |
|---|---|---|---|
audio | string | Wymagane | Source speech to convert, as an audio file or URL. |
reference_audio | string | Wymagane | Target voice sample as an audio file or URL (required). The output takes this 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 Speech to SpeechTen model Resemble AI | Audio | $0.02 / uruchomienie | 1 cze 2025 |
Resemble AI | Audio | $0.01 / uruchomienie | 4 wrz 2025 |
Resemble AI | Audio | $0.02 / uruchomienie | 2 cze 2025 |
Resemble AI | Audio | $0.04 / uruchomienie | 2 cze 2025 |
Resemble AI | Audio | $0.03 / uruchomienie | 1 cze 2025 |
Pytania
FAQ
Jak wywołać Resemble AI Chatterbox Speech to Speech przez SandBase?
Utwórz klucz API SandBase, a następnie wysyłaj żądania z identyfikatorem modelu "resemble-ai/chatterbox/speech-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 Speech to Speech oraz innych modeli w katalogu; nie musisz osobno zakładać konta u Resemble AI.
