ElevenLabs TTS v3
Text to audio
Starting price $0.17 / run
By Kuaishou
Kling TTS reads up to 500 characters of text in one of its preset voices, at a speed you set.
kling-video/v1/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": "kling-video/v1/tts",
"input": {
"text": "Once upon a time, a small fox found a lantern in the snow and followed its light into the forest."
}
}'
# 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": "kling-video/v1/tts", "quote_id": "QUOTE_ID", "input": {"text":"Once upon a time, a small fox found a lantern in the snow and followed its light into the forest."}}'
# 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 |
voice_id | string (enum) | The voice ID to use for speech synthesis |
voice_speed | number | Rate of speech |
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.
Kling TTS turns a short text into speech. Choose a preset voice, from narrators and story readers to cartoon characters, and set the speaking rate from a little slower than normal to twice as fast.
Listen to the complete audio and check pronunciation, lyrics, timing and sound quality.