Model API
Elevenlabs Tts Eleven V3
Generate text-to-speech audio using Eleven-v3 from ElevenLabs.
Model id
elevenlabs/tts/eleven-v3Run it
Quote 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": "elevenlabs/tts/eleven-v3",
"input": {
"text": "example"
}
}'
# 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": "elevenlabs/tts/eleven-v3", "quote_id": "QUOTE_ID", "input": {"text":"example"}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"Input
| Name | Type | Description |
|---|---|---|
textrequired | string | The text to convert to speech |
voice | string | The voice to use for speech generation |
stability | number | Voice stability (0-1) |
timestamps | boolean | Whether to return timestamps for each word in the generated speech |
language_code | string | Language code (ISO 639-1) used to enforce a language for the model. |
apply_text_normalization | string (enum) | This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. |
Output
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 }
]Pricing
- up to · 1,000 characters$0.17/ run
The exact charge for your input comes from a quote. How charges settle