Preview how the voice engine says a sentence

GET /Platform/tts/pronunciations/preview

Preview how the voice engine says a sentence.

Applies the same text normalization and your organization's current pronunciation dictionary that a call applies, and returns what the voice engine is sent, so you can check a new entry before any call uses it. The dictionary is read fresh, so an entry saved a moment ago already applies. With speak true it also speaks the result and returns a link to the audio: in the voice you name (the same settings as an agent's or a phone menu's voice), or the default call voice; that is one text-to-speech request, billed like a call's speech. With term and spoken it previews an entry you have not saved, as if it were in your dictionary; nothing is saved.

Query parameters

Returns

PronunciationPreview

Example request

curl -X GET "https://api.hilus.ai/Platform/tts/pronunciations/preview" \
  -H "Authorization: Bearer $HILUS_API_KEY"