ElevenLabs TTS v3
Text to audio
Starting price $0.17 / run
By Google
Google's Gemini 3.8 Flash TTS reads a script in one of its prebuilt voices, or voices a two-person dialogue, with directions for tone kept apart from the words.
google/gemini-3.8-flash-ttsQuote 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": "google/gemini-3.8-flash-tts",
"input": {
"prompt": "Welcome to the workshop. Today you will make your first clay bowl. <laugh> Don'\''t worry, the first one never comes out round."
}
}'
# 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": "google/gemini-3.8-flash-tts", "quote_id": "QUOTE_ID", "input": {"prompt":"Welcome to the workshop. Today you will make your first clay bowl. <laugh> Don'\''t worry, the first one never comes out round."}}'
# 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 |
|---|---|---|
prompt | string | Verbatim text for single-speaker speech. Put delivery directions in style_instructions; inline vocal events may use <laugh> or <sigh>. For dialogue, omit prompt and provide speakers and turns instead. The complete input is limited to 8,192 tokens. |
style_instructions | string | Delivery style, separate from the spoken transcript. Applies to all turns unless overridden. |
voice | string (enum) | Prebuilt voice for single-speaker speech. |
speakers | array of objects | Exactly two distinct speaker aliases and their prebuilt voices for dialogue. |
turns | array of objects | Ordered dialogue turns, each identifying a configured speaker. |
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.
Gemini 3.8 Flash TTS turns text into speech. For one speaker, write the exact words in the prompt, pick a voice such as Kore, Puck or Charon, and describe the delivery in the style field. Sounds like <laugh> or <sigh> can sit inside the text.
For a dialogue, leave the prompt empty, give two speakers a name and a voice each, then list the turns in order. Each turn can carry its own style direction on top of the shared one.
Listen for omitted words, pronunciation of names and numbers, unexpected pauses and any directions spoken aloud. In dialogue, check that every line belongs to the intended speaker. Align the finished audio with the video in your editor; a written pacing instruction does not guarantee an exact duration.