Preview TTS voice
Voice Cloning
Preview TTS voice
Generate a short preview clip for a TTS voice.
POST
Preview TTS voice
Authorizations
Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '
Query Parameters
Project identifier.
Example:
"ae6d58c6-c6bd-4ae0-ad74-b8b39c29928b"
Body
application/json
URL of the uploaded voice sample
Example:
"https://cdn.tryhamsa.com/uploads/voice.wav"
Transcription of the uploaded audio sample
Required string length:
1 - 5000Example:
"مرحباً، هذا مثال على التسجيل الصوتي."
Language of the preview voice
Available options:
en, ar Example:
"ar"
Dialect identifier (required for preview)
Example:
"145a7af6-3614-4bb2-be5d-702000d459ab"
Text to be synthesized using the preview voice
Required string length:
1 - 5000Example:
"أهلاً بك، هذا مثال لنطق الصوت."