Skip to content

Chatterbox · Text to Speech

Integrate

Model id chatterbox/text-to-speech
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/chatterbox/text-to-speech?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello from Doitong. This is a short test sentence."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: $0.002 2 API credits Run it on this page

Get API key
Resemble AI Text to Speech #text-to-speech

English text-to-speech with emotive tags, exaggeration control and optional reference-audio style

Resemble AI · Audio

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required

Speech synthesis text, which may include emotive tags: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>. The text must not exceed 5000 characters.

Advanced audio · exaggeration · temperature · cfg · seed
audio_url default https://storage.googl...
Drop a file, or

Reference audio whose tone and style the model attempts to match in its speech output. Supply an audio file URL if you want to use this optional reference.

default 0.25

Speech exaggeration control: maximum exaggeration corresponds to 1.0, while 0.0 turns exaggeration off.

default 0.7

Generation temperature; increasing it makes the results more creative.

default 0.5

Audio generation seed; 0 selects a random seed. For reproducibility, use a fixed value and leave every other property unchanged; this should reproduce the audio file exactly.

POST /run/chatterbox/text-to-speech?wait=20 quote → $0.002
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/chatterbox/text-to-speech?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello from Doitong. This is a short test sentence."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Chatterbox · Text to Speech

Turns up to 5000 characters of text into speech. The text can include emotive tags such as <laugh>, <chuckle>, <sigh> and <cough>. An optional `audio_url` provides a reference whose style and tone the output tries to match. `exaggeration` (0 to 1), `temperature`, `cfg` and `seed` tune the delivery.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
textrequired
Typestring
Speech synthesis text, which may include emotive tags: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>. The text must not exceed 5000 characters.
audio_urloptional audio
Typeurl · audio
Defaulthttps://storage.googleapis.com/chatterbox-demo-samples/prompts/male_rickmorty.mp3
Reference audio whose tone and style the model attempts to match in its speech output. Supply an audio file URL if you want to use this optional reference.
exaggerationoptional
Typenumber
Default0.25
0 – 1
Speech exaggeration control: maximum exaggeration corresponds to 1.0, while 0.0 turns exaggeration off.
temperatureoptional
Typenumber
Default0.7
0.05 – 2
Generation temperature; increasing it makes the results more creative.
cfgoptional
Typenumber
Default0.5
0.1 – 1
seedoptional
Typeinteger | null
Audio generation seed; 0 selects a random seed. For reproducibility, use a fixed value and leave every other property unchanged; this should reproduce the audio file exactly.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "chatterbox/text-to-speech",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 2,
    "usd": "0.002",
    "charged": 2,
    "refunded": 0
  },
  "input": {
    "text": "Hello from Doitong. This is a short test sentence."
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
audio
object {url, content_type, file_name, file_size}Audio containing the synthesized speech.

More models: Text to Speech

For AI agents: this page as Markdown is at https://doitong.com/developers/models/chatterbox/text-to-speech.md. All models and guides: https://doitong.com/developers/llms.txt