ElevenLabs TTS v3
Text to audio
Starting price $0.17 / run
Chatterbox HD reads your text in one of its preset voices or in a voice cloned from a short sample, with control over emotion.
resemble-ai/chatterboxhd/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": "resemble-ai/chatterboxhd/text-to-speech",
"input": {
"text": "Attention, travelers: the evening train to the coast will leave from platform four in ten minutes."
}
}'
# 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": "resemble-ai/chatterboxhd/text-to-speech", "quote_id": "QUOTE_ID", "input": {"text":"Attention, travelers: the evening train to the coast will leave from platform four in ten minutes."}}'
# 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 | Text to synthesize into speech. |
voice | string (enum) | The voice to use for the TTS request. If neither voice nor audio are provided, a random voice will be used. |
audio_url | string (URL) | URL to the audio sample to use as a voice prompt for zero-shot TTS voice cloning. Providing a audio sample will override the voice setting. If neither voice nor audio_url are provided, a random voice will be used. |
exaggeration | number | Controls emotion exaggeration. Range typically 0.25 to 2.0. |
cfg | number | Classifier-free guidance scale (CFG) controls the conditioning factor. Range typically 0.2 to 1.0. For expressive or dramatic speech, try lower cfg values (e.g. ~0.3) and increase exaggeration to around 0.7 or higher. If the reference speaker has a fast speaking style, lowering cfg to around 0.3 can improve pacing. |
high_quality_audio | boolean | If True, the generated audio will be upscaled to 48kHz. The generation of the audio will take longer, but the quality will be higher. If False, the generated audio will be 24kHz. |
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. |
temperature | number | Controls the randomness of generation. Range typically 0.05 to 5. |
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 HD turns text into speech. Choose a preset voice such as Aurora, Carl or Siobhan, or upload an audio sample and it speaks in that voice instead. With neither, it picks a random voice.
Exaggeration sets how emotional the read sounds and guidance how closely it follows the voice. The high quality option returns 48kHz audio instead of 24kHz and takes longer.
Listen for names, pronunciation, pauses, clipping and the intended tone before publishing.