cURL
curl --request POST \ --url https://api.anam.ai/v1/voices \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'name=<string>' \ --form audioFile='@example-file' \ --form 'description=<string>' \ --form language=en \ --form enhance=true
Create a new voice by cloning from an audio file
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Display name for the cloned voice
Audio file to clone the voice from
Optional description of the voice
Language code for the voice
Whether to enhance the voice quality
Successfully created voice clone
Was this page helpful?