Skip to main content
POST
/
v1
/
voices
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 'description=<string>' \
  --form language=en \
  --form enhance=true \
  --form audioFile=@example-file

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
name
string
required

Display name for the cloned voice

audioFile
file
required

Audio file to clone the voice from

description
string

Optional description of the voice

language
string
default:en

Language code for the voice

enhance
boolean
default:true

Whether to enhance the voice quality

Response

Successfully created voice clone