curl --request POST \
--url 'agent-voices/clone' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: multipart/form-data' \
-F 'name="Sample"' \
-F 'description="sample description"' \
-F 'file=(binary)' \
{
"status": "<string>",
"message": "<string>",
"data": {}
}Voices
Clone custom voice
Create
POST
agent-voices
/
clone
curl --request POST \
--url 'agent-voices/clone' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: multipart/form-data' \
-F 'name="Sample"' \
-F 'description="sample description"' \
-F 'file=(binary)' \
{
"status": "<string>",
"message": "<string>",
"data": {}
}Headers
string
required
Your API key for authentication. Prefix with
Bearer .string
required
Your access token for authentication.
Body
This endpoint acceptsmultipart/form-data.
string
required
The name for the new agent’s voice.
string
required
The description for the new agent’s voice.
file
The audio file which hold a sample audio to clone from.
curl --request POST \
--url 'agent-voices/clone' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: multipart/form-data' \
-F 'name="Sample"' \
-F 'description="sample description"' \
-F 'file=(binary)' \
Response
string
Confirms the request was successful.
string
A human-readable message about the request’s outcome.
object
An object containing the details of the newly created agent voice.