Skip to content

ElevenLabs API Documentation API

by elevenlabs.io

No authHTTPSMachine Learning
Open documentation ↗

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
Base URL
https://api.elevenlabs.io/
Version
1.0
Endpoints
19
Spec updated
2023-04-12

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://api.elevenlabs.io/v1/history" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://api.elevenlabs.io/v1/history", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://api.elevenlabs.io/v1/history",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/v1/historyGet Generated Items
POST/v1/history/deletedeprecatedDelete History Items
POST/v1/history/downloadDownload History Items
DELETE/v1/history/{history_item_id}Delete History Item
GET/v1/history/{history_item_id}/audioGet Audio From History Item
POST/v1/text-to-speech/{voice_id}Text To Speech
POST/v1/text-to-speech/{voice_id}/streamText To Speech
GET/v1/userGet User Info
GET/v1/user/subscriptionGet User Subscription Info
GET/v1/voicesGet Voices
POST/v1/voices/addAdd Voice
GET/v1/voices/settings/defaultGet Default Voice Settings.
GET/v1/voices/{voice_id}Get Voice
DELETE/v1/voices/{voice_id}Delete Voice
POST/v1/voices/{voice_id}/editEdit Voice
DELETE/v1/voices/{voice_id}/samples/{sample_id}Delete Sample
GET/v1/voices/{voice_id}/samples/{sample_id}/audioGet Audio From Sample
GET/v1/voices/{voice_id}/settingsGet Voice Settings
POST/v1/voices/{voice_id}/settings/editEdit 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.

Compare alternatives →

Listed from APIs.guru (CC0).