Create TTS history
Text to Speech Routes
Create TTS history
Create a new TTS history entry for a generated audio clip.
POST
Create TTS history
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
TTS voice identifier
Example:
"633f19a6-089b-4950-bfab-55f5c750732e"
Text to be synthesized. Must contain real Arabic or English text.
Required string length:
1 - 3000Example:
"مرحباً، هذا مثال على نص التحويل إلى صوت."
API key identifier (used for API key authorization)
Example:
"9f5f1f6a-2b1d-4a33-8fd4-6f5c2b89e3aa"
Optional voice generation configuration
Example:
{ "speed": 1, "expressiveness": 1 }Optional list of voice dictionary identifiers
Required array length:
1 - 10 elements