Initiate a text to speech job
Text to Speech Routes
Generate Text to Speech Route
POST
Initiate a text to speech job
Documentation Index
Fetch the complete documentation index at: https://docs.tryhamsa.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '
Body
application/json
The voice id you wish to use. If you are using a cloned voice, you need to preload it first using preload cloned TTS voice API
The text you want to convert to speech.
Example:
"أهلاً و سهلاً بكم في همسة!"
The webhook url to which the TTS job result will be sent.
Authorization header to be sent in this format: Authorization: [authKey] [authSecret]