ElevenLabs

ElevenLabs API Documentation

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. You can…

AI & machine learning#openapi#machine-learning

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

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. 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.

Endpoints 19

text-to-speech

  • POSTText To Speech/v1/text-to-speech/:voice_idConverts text into speech using a voice of your choice and returns audio.
  • POSTText To Speech/v1/text-to-speech/:voice_id/streamConverts text into speech using a voice of your choice and returns audio as an audio stream.

voices

  • GETGet Voices/v1/voicesGets a list of all available voices for a user.
  • POSTAdd Voice/v1/voices/addAdd a new voice to your collection of voices in VoiceLab.
  • GETGet Default Voice Settings./v1/voices/settings/defaultGets the default settings for voices. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to…
  • GETGet Voice/v1/voices/:voice_id?with_settings=falseReturns metadata about a specific voice.
  • DELETEDelete Voice/v1/voices/:voice_idDeletes a voice by its ID.
  • POSTEdit Voice/v1/voices/:voice_id/editEdit a voice created by you.
  • GETGet Voice Settings/v1/voices/:voice_id/settingsReturns the settings for a specific voice. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to…
  • POSTEdit Voice Settings/v1/voices/:voice_id/settings/editEdit your settings for a specific voice. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to…

samples

  • DELETEDelete Sample/v1/voices/:voice_id/samples/:sample_idRemoves a sample by its ID.
  • GETGet Audio From Sample/v1/voices/:voice_id/samples/:sample_id/audioReturns the audio corresponding to a sample attached to a voice.

history

  • GETGet Generated Items/v1/historyReturns metadata about all your generated audio.
  • POSTDelete History Items/v1/history/deleteDeprecated. Delete a number of history items by their IDs.
  • POSTDownload History Items/v1/history/downloadDownload one or more history items. If one history item ID is provided, we will return a single audio file. If more than one history item IDs are provided, we…
  • DELETEDelete History Item/v1/history/:history_item_idDelete a history item by its ID
  • GETGet Audio From History Item/v1/history/:history_item_id/audioReturns the audio of an history item.

user

  • GETGet User Info/v1/userGets information about the user
  • GETGet User Subscription Info/v1/user/subscriptionGets extended information about the users subscription

API details

Base URL
https://api.elevenlabs.io
Authentication
None declared in the description
Operations
19 operations on 18 pathsGET 9POST 7DELETE 3
1 marked deprecated
Main resources
voices 8history 5samples 2text-to-speech 2user 2
Response formats
application/json audio/mpeg audio/*
Description format
OpenAPI 3.0.2, API version 1.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the ElevenLabs API Documentation in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the ElevenLabs API Documentation collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Text To Speech” (POST /v1/text-to-speech/:voice_id), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the ElevenLabs API Documentation?

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. You can… It is listed under AI & machine learning and has 19 endpoints.

Who publishes the ElevenLabs API Documentation?

It is listed from ElevenLabs's public API description (an OpenAPI document), not published by ElevenLabs on Swastik Codes. Anyone who controls elevenlabs.io can claim the profile by adding a DNS TXT record.

What is the base URL of the ElevenLabs API Documentation?

Requests go to https://api.elevenlabs.io. Endpoint paths are added to this base URL.

How do I authenticate with the ElevenLabs API Documentation?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the ElevenLabs API Documentation have?

19 operations on 18 paths (9 GET, 7 POST, 3 DELETE). The largest groups are voices, history, samples, text-to-speech.

Is forking the ElevenLabs API Documentation free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.