Skip to main content
POST
/
v1
/
voices
/
{voice_id}
/
edit
Edit Voice
curl --request POST \
  --url https://api.elevenlabs.io/v1/voices/{voice_id}/edit \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=<string>' \
  --form 'files=<string>' \
  --form 'description=<string>' \
  --form 'labels=<string>' \
  --form files.items='@example-file'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<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.

Path Parameters

voice_id
string
required

Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.

Body

multipart/form-data
name
string
required

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

files
file[]

Audio files to add to the voice

description
string

How would you describe the voice?

labels
string

Serialized labels dictionary for the voice.

Response

Successful Response