POST
/
v1
/
voices
/
add
from elevenlabs import ElevenLabs

client = ElevenLabs(
    api_key="YOUR_API_KEY",
)
client.voices.add(
    name="Alex",
)
{
  "voice_id": "<string>",
  "requires_verification": true
}

Voice Cloning API Usage

If you provide a list of file paths to audio recordings intended for voice cloning, you confirm that you have all necessary rights or consents to upload and clone the voice samples they contain and that you will not use the platform-generated content for any illegal, fraudulent, or harmful purpose. You reaffirm your obligation to abide by ElevenLabs’ Terms of Service, Prohibited Use Policy and Privacy Policy.

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

Response

200
application/json

Successful Response

The response is of type object.