About Chatterbox
The Chatterbox API is a lightweight English text to speech endpoint with optional voice cloning: pass reference_audio_url and the line is read in that voice. Exaggeration and temperature control delivery. Each request has a small flat price, which suits prototyping and games with many short lines.
Call it with the model name resemble-ai/chatterbox-v1/text-to-speech on POST /jobs/createTask, from $0.036.
Introduction
What it returns
One WAV file per task: 24 kHz, 16-bit, mono PCM. There are no word timings or subtitles in the result.
The voice
Chatterbox is Resemble AI's open-source English model (MIT licence). Without a reference it reads in its built-in voice; there is no voice list. Send a short MP3 or WAV clip in reference_audio_url to clone a voice: the reading takes on that clip's timbre, not its words. A few seconds of one clean voice without music works best, and you must have the right to use the voice.
Controls
exaggeration(0–1, default 0.5): how emotional the reading is.temperature(0.05–2, default 0.7): variation between takes.guidance_scale(0.1–1, default 0.5): how closely the reading follows the text's pacing; around 0.3 slows a fast, dramatic delivery.
Tags such as <laugh>, <sigh> or [gasp] are read aloud as words in our tests. Spell sounds out instead: "ha…", "mmm…", "ahh…".
Length
text accepts up to 1,000 characters. A 270-character paragraph came back as about 15 seconds of audio in our tests; most tasks finished in 10 to 30 seconds.
Request parameters
| Parameter | Required | Description |
|---|---|---|
exaggeration | No | How emotional the reading is. ≥ 0 · ≤ 1 · Default: 0.5 |
guidance_scale | No | How strictly the model follows the prompt. ≥ 0.1 · ≤ 1 · Default: 0.5 |
reference_audio_url | No | A short clip of the voice to imitate. |
temperature | No | Variation between takes. Higher is less predictable. ≥ 0.05 · ≤ 2 · Default: 0.7 |
text | Yes | The words to be spoken, exactly as written. |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per run |
|---|---|
| Standard | $0.036 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
API quick start
Call the Chatterbox API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model resemble-ai/chatterbox-v1/text-to-speech and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "resemble-ai/chatterbox-v1/text-to-speech",
"input": {
"text": "Welcome back. Your files finished rendering a minute ago and are ready to download."
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
What to build with the Chatterbox API
- Game dialogue tools generating many short character barks.
- Prototype voice-overs for storyboards and demos.
- Personal voice features where users clone their own voice with consent.
Chatterbox parameter notes
- text up to 1,000 characters, English only.
- reference_audio_url clones a voice from a short clip.
- exaggeration raises dramatic intensity; temperature adds variation.
- guidance_scale (0.1 to 1) controls adherence to the reference voice.
How Chatterbox API pricing adds up
One flat price per request up to 1,000 characters, independent of audio length. Split long scripts into several requests.
- Text to Speech: $0.036 per run, $3.60 for 100 runs
Async jobs, webhooks and rate limits
Every Chatterbox request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for resemble-ai/chatterbox-v1/text-to-speech never runs or bills twice.
Common Chatterbox API errors
| errorCode | What it usually means and how to fix it |
|---|---|
invalid_request | Text over 1,000 characters. |
invalid_asset | A reference clip that cannot be decoded. |
content_rejected | The text or reference voice was refused. |
Chatterbox API questions
How much does the Chatterbox API cost?
Chatterbox costs $0.036 per run. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What is the model name for Chatterbox in the API?
Put resemble-ai/chatterbox-v1/text-to-speech for Text to Speech in the model field of POST /jobs/createTask.
Does the Chatterbox API support languages other than English?
No, English only.
How do I clone a voice with the Chatterbox API?
Send a short clip as reference_audio_url along with the text, and only with permission from the speaker.
Is Chatterbox billed by length?
No, a flat price per request up to 1,000 characters.
What are the limits of the Chatterbox API?
Text length (characters): 1,000; Largest upload: 90 MB. Requests outside these limits are rejected before anything is charged.
Can I try Chatterbox without writing code?
Run Chatterbox in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.