MiniMax Speech-02 HD
Text to speech
Starting price $0.17 / run
By ElevenLabs
Eleven v4 reads up to 5000 characters in a voice you name, and audio tags in the text direct how each line is delivered.
elevenlabs/tts/eleven-v4Quote 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-v4",
"input": {
"text": "Welcome to the museum. [whispering] Please keep your voice down in this room. The paintings here are almost three hundred years old."
}
}'
# 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-v4", "quote_id": "QUOTE_ID", "input": {"text":"Welcome to the museum. [whispering] Please keep your voice down in this room. The paintings here are almost three hundred years old."}}'
# 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 convert to speech. Supports audio tags such as [whispering] and IPA pronunciation enclosed in forward slashes. |
voice | string | The voice to use for speech generation |
stability | number | Voice stability. Lower values allow more expressive delivery; higher values make delivery more consistent. |
similarity_boost | number | How closely the output follows the reference voice. Higher values increase similarity but may reduce naturalness. |
seed | integer | Seed for best-effort reproducibility. Identical output is not guaranteed. |
language_code | string | Language code (ISO 639-1) for speech generation and text normalization. |
output_format | string (enum) | Output format of the generated audio. Formatted as codec_sample_rate_bitrate. |
apply_text_normalization | string (enum) | Whether to normalize text such as numbers and dates before generation. |
timestamps | boolean | Whether to return character-level timing information with the generated audio. |
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.
Eleven v4 turns text into speech. Put an audio tag such as [whispering] before a line to change its delivery, and write a word's IPA pronunciation between forward slashes when it must be said a certain way.
Stability trades expressive delivery for an even one, and similarity sets how closely the read follows the voice. Choose MP3, PCM, Opus or telephone formats, and turn on character timing for subtitles or lip sync.
Listen for pronunciation, pauses and any cue read aloud. Check names and numbers against the script.