POST
/
v1
/
voices
/
add
curl --request POST \
  --url https://api.elevenlabs.io/v1/voices/add \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=<string>' \
  --form 'files=[
  "<string>"
]' \
  --form 'description=<string>' \
  --form 'labels=<string>'
{
  "voice_id": "<string>"
}

Headers

xi-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Body

multipart/form-data
name
string
required

The name that identifies this voice. This will be displayed in the dropdown of the website.

files
string[]
required

A list of file paths to audio recordings intended for voice cloning

description
string

How would you describe the voice?

labels
string

Serialized labels dictionary for the voice.

Response

200 - application/json
voice_id
string
required