Speak text in a voice and get a link to the audio

POST /Platform/tts/speak

Speak text in a voice and get a link to the audio.

Runs the same path as a call's speech: text normalization, your organization's pronunciation dictionary, the voice's provider and model, and the speech cache (a sentence spoken before comes from the cache). Billed like a call's speech, per character. For long text use async mode (?async=true) and poll the job; for audio while it is generated use speak/stream or the speech socket.

Body parameters

Returns

SpeechResult

Example request

curl -X POST "https://api.hilus.ai/Platform/tts/speak" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'