ElevenLabs TTS v3
Text to audio
Starting price $0.17 / run
Chatterbox reads up to 5000 characters aloud and can match the style and tone of a reference recording you upload.
chatterbox/text-to-speechQuote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chatterbox/text-to-speech",
"input": {
"text": "Welcome back! <laugh> Today I'\''m testing three coffee makers, and one of them really surprised me."
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "chatterbox/text-to-speech", "quote_id": "QUOTE_ID", "input": {"text":"Welcome back! <laugh> Today I'\''m testing three coffee makers, and one of them really surprised me."}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
textrequired | string | The text to be converted to speech (maximum 5000 characters). You can additionally add the following emotive tags: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp> |
audio_url | string (URL) | Optional URL to an audio file to use as a reference for the generated speech. If provided, the model will try to match the style and tone of the reference audio. |
exaggeration | number | Exaggeration factor for the generated speech (0.0 = no exaggeration, 1.0 = maximum exaggeration). |
temperature | number | Temperature for generation (higher = more creative). |
cfg | number | Cfg |
seed | integer | Useful to control the reproducibility of the generated audio. Assuming all other properties didn't change, a fixed seed should always generate the exact same audio file. Set to 0 for random seed.. |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "audio", "url": "https://…", "mime_type": "audio/mpeg", "thumbnail_url": null }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
Chatterbox turns text into speech. Add a short recording and it follows that speaker's style and tone; without one it uses its own voice. Tags such as <laugh>, <sigh> or <gasp> in the text add those sounds where you place them.
Exaggeration makes the read more dramatic, temperature makes it more varied, and a fixed seed repeats a result.
Listen for names, pronunciation, pauses, clipping and the intended tone before publishing.