Overview
This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key. <br/> You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
ElevenLabs API Documentation is a machine learning API from elevenlabs.io. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 19 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Machine Learning
- Base URL
https://api.elevenlabs.io/- Version
- 1.0
- Endpoints
- 19
- OpenAPI
- Specification ↗
- Spec updated
- 2023-04-12
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.elevenlabs.io/v1/history" \
-H "Accept: application/json"const response = await fetch("https://api.elevenlabs.io/v1/history", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.elevenlabs.io/v1/history",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /v1/history | Get Generated Items |
| POST | /v1/history/deletedeprecated | Delete History Items |
| POST | /v1/history/download | Download History Items |
| DELETE | /v1/history/{history_item_id} | Delete History Item |
| GET | /v1/history/{history_item_id}/audio | Get Audio From History Item |
| POST | /v1/text-to-speech/{voice_id} | Text To Speech |
| POST | /v1/text-to-speech/{voice_id}/stream | Text To Speech |
| GET | /v1/user | Get User Info |
| GET | /v1/user/subscription | Get User Subscription Info |
| GET | /v1/voices | Get Voices |
| POST | /v1/voices/add | Add Voice |
| GET | /v1/voices/settings/default | Get Default Voice Settings. |
| GET | /v1/voices/{voice_id} | Get Voice |
| DELETE | /v1/voices/{voice_id} | Delete Voice |
| POST | /v1/voices/{voice_id}/edit | Edit Voice |
| DELETE | /v1/voices/{voice_id}/samples/{sample_id} | Delete Sample |
| GET | /v1/voices/{voice_id}/samples/{sample_id}/audio | Get Audio From Sample |
| GET | /v1/voices/{voice_id}/settings | Get Voice Settings |
| POST | /v1/voices/{voice_id}/settings/edit | Edit Voice Settings |
Questions
Does the ElevenLabs API Documentation API need an API key?
No. The ElevenLabs API Documentation API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the ElevenLabs API Documentation API support HTTPS?
Yes, the ElevenLabs API Documentation API is served over HTTPS.
How many endpoints does the ElevenLabs API Documentation API have?
Its OpenAPI description lists 19 endpoints in version 1.0. All of them are shown on this page.
What are alternatives to the ElevenLabs API Documentation API?
Other Machine Learning APIs include Dialogflow, OpenAI, Hugging Face, WolframAlpha, OpenRouter.
Similar machine learning APIs
Compare alternatives →Dialogflow
Machine LearningNatural Language Processing
OpenAI
Machine LearningUse AI models such as ChatGPT or DALL-E to experience the capabilities of AI
Hugging Face
Machine LearningAI model hub with inference API for NLP, computer vision, and audio
WolframAlpha
Machine LearningProvides specific answers to questions using data and algorithms
OpenRouter
Machine LearningUnified API for 300+ LLMs from OpenAI, Anthropic, Meta, Mistral and more, with a free tier
Laya Decision Gateway
Machine LearningSub-35ms AI gateway for prompt injection defense, support ticket triage & content moderation
Listed from APIs.guru (CC0).