The ElevenLabs API offers programmatic access to its text‑to‑speech platform, letting you list, create, edit, and delete voice profiles and their settings, generate speech (including streamed audio) for a given voice, and retrieve or manage previously generated audio items.
xi-api-key(header) — 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.
GET
/v1/user/subscription
Get User Subscription Info
xi-api-key(header) — 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.
GET
/v1/voices
Get Voices
xi-api-key(header) — 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.
POST
/v1/voices/add
Add Voice
xi-api-key(header) — 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.
GET
/v1/voices/settings/default
Get Default Voice Settings.
GET
/v1/history
Get Generated Items
xi-api-key(header) — 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.
POST
/v1/history/delete
Delete History Items
xi-api-key(header) — 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.
POST
/v1/history/download
Download History Items
xi-api-key(header) — 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.
DELETE
/v1/history/{history_item_id}
Delete History Item
history_item_id(path, required) — History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs.
xi-api-key(header) — 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.
GET
/v1/history/{history_item_id}/audio
Get Audio From History Item
history_item_id(path, required) — History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs.
xi-api-key(header) — 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.
POST
/v1/text-to-speech/{voice_id}
Text To Speech
voice_id(path, required) — Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
xi-api-key(header) — 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.
POST
/v1/text-to-speech/{voice_id}/stream
Text To Speech
voice_id(path, required) — Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
xi-api-key(header) — 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.
DELETE
/v1/voices/{voice_id}
Delete Voice
voice_id(path, required) — Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
xi-api-key(header) — 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.
GET
/v1/voices/{voice_id}
Get Voice
voice_id(path, required) — Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
with_settings(query) — If set will return settings information corresponding to the voice, requires authorization.
xi-api-key(header) — 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.
POST
/v1/voices/{voice_id}/edit
Edit Voice
voice_id(path, required) — Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
xi-api-key(header) — 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.
DELETE
/v1/voices/{voice_id}/samples/{sample_id}
Delete Sample
voice_id(path, required) — Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
sample_id(path, required) — Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice.
xi-api-key(header) — 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.
GET
/v1/voices/{voice_id}/samples/{sample_id}/audio
Get Audio From Sample
voice_id(path, required) — Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
sample_id(path, required) — Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice.
xi-api-key(header) — 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.
GET
/v1/voices/{voice_id}/settings
Get Voice Settings
voice_id(path, required) — Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
xi-api-key(header) — 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.
POST
/v1/voices/{voice_id}/settings/edit
Edit Voice Settings
voice_id(path, required) — Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
xi-api-key(header) — 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.