Skip to main content
POST
/
v2
/
tts
/
voices
/
custom
/
preload
Preload a cloned TTS voice into the system
curl --request POST \
  --url https://api.tryhamsa.com/v2/tts/voices/custom/preload \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "voiceId": "c803658e-ccec-47e7-ad0f-1caf9ba4babb"
}
'
{
  "success": true,
  "message": "Custom voice have been preloaded successfully",
  "data": []
}

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

Authorization
string
header
required

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
voiceId
string
required

The unique identifier of the custom cloned voice to preload into the system

Example:

"c803658e-ccec-47e7-ad0f-1caf9ba4babb"

Response

Voice successfully preloaded

success
boolean
Example:

true

message
string
Example:

"Custom voice have been preloaded successfully"

data
any[]
Example:
[]