# ElevenLabs API

CreateWithAI Hub page: https://createwithaihub.com/apis-sdks/elevenlabs-api
Latest version of this file: https://createwithaihub.com/apis-sdks/elevenlabs-api.md

- Type: API / SDK · Category: APIs & SDKs
- Publisher: ElevenLabs
- Pricing: Free plan plus paid plans
- Runs on: API (cloud)

REST API for ElevenLabs voice AI: text-to-speech, speech-to-text, voice cloning, sound effects, music and voice agents.

The ElevenLabs API (ElevenAPI) is a REST interface to ElevenLabs' voice and audio models, with official Python and TypeScript SDKs. It covers text-to-speech, speech-to-text, voice cloning and voice design, sound effects, music, dubbing and voice changing. ElevenAgents combines speech recognition, an LLM of your choice and text-to-speech into a single voice agent.

Useful for: Adding narration or voiceovers to videos and apps, transcribing audio, cloning a voice for content, or building a phone or web voice agent.

## Key features

- Text-to-speech and speech-to-text
- Voice cloning from recordings and voice design from text descriptions
- Sound effects, music, dubbing and voice changing
- ElevenAgents for conversational voice agents
- Official Python and TypeScript SDKs

## Connection

- Modality: Audio
- SDK language: Python, TypeScript / JS
- Free tier: Has a free tier

## Before you start

- ElevenLabs account
- API key (ELEVENLABS_API_KEY)

## Install steps from the official documentation

Python SDK:

```
pip install elevenlabs
```

TypeScript SDK:

```
npm install @elevenlabs/elevenlabs-js
```

## Limitations

- Free plan includes 10,000 credits per month and its output may only be used non-commercially with attribution; a commercial license starts with the Starter plan ($6/month)
- The JavaScript SDK requires MPV and ffmpeg to play audio

## Official links

- Website: https://elevenlabs.io
- Source repository: https://github.com/elevenlabs/elevenlabs-python
- Documentation: https://elevenlabs.io/docs/overview/intro
- Source: https://elevenlabs.io/docs/overview/intro (Capabilities, official Python/TypeScript SDKs, API key auth)
- Source: https://elevenlabs.io/pricing/api (Free tier listed; per-character and per-minute metering)
- Source: https://github.com/elevenlabs/elevenlabs-python (pip install elevenlabs; MIT)
- Source: https://github.com/elevenlabs/elevenlabs-js (npm install @elevenlabs/elevenlabs-js; MIT; MPV/ffmpeg note)
- Source: https://elevenlabs.io/pricing (Free 10k credits/month without commercial license; Starter $6/month (after $1 first month) includes Commercial License)
- Source: https://elevenlabs.io/docs/overview/administration/billing (Free plan content usable non-commercially with attribution; paid plans include commercial rights)
