Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
The official Python SDK for the ElevenLabs API.
| Date | Stars |
|---|---|
| 2026-07-24 | 3043 |
| 2026-07-25 | 3044 |
| 2026-07-28 | 3044 |
| 2026-07-30 | 3044 |
| 2026-08-06 | 3044 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
35.0
growth rate 0.00%/day
# ElevenLabs Python Library

[](https://buildwithfern.com/?utm_source=fern-elevenlabs/elevenlabs-python/readme)
[](https://discord.gg/elevenlabs)
[](https://twitter.com/elevenlabsio)
[](https://pypi.org/project/elevenlabs/)
[](https://pepy.tech/project/elevenlabs)
The official Python SDK for [ElevenLabs](https://elevenlabs.io/). ElevenLabs brings the most compelling, rich and lifelike voices to creators and developers in just a few lines of code.
## 📖 API & Docs
Check out the [HTTP API documentation](https://elevenlabs.io/docs/api-reference).
## Install
```bash
pip install elevenlabs
```
## Usage
### Main Models
1. **Eleven v3** (`eleven_v3`)
- Dramatic delivery and performances
- 70+ languages supported
- Supported for natural multi-speaker dialogue
2. **Eleven Multilingual v2** (`eleven_multilingual_v2`)
- Excels in stability, language diversity, and accent accuracy
- Supports 29 languages
- Recommended for most use cases
3. **Eleven Flash v2.5** (`eleven_flash_v2_5`)
- Ultra-low latency
- Supports 32 languages
- Faster model, 50% lower price per character
4. **Eleven Turbo v2.5** (`eleven_turbo_v2_5`)
- Good balance of quality and latency
- Ideal for developer use cases where speed is crucial
- Supports 32 languages
For more detailed information about these models and others, visit the [ElevenLabs Models documentation](https://elevenlabs.io/docs/models).
```py
from dotenv import load_dotenv
from elevenlabs.client import ElevenLabs
from elevenlabs.play import play
load_dotenv()
elevenlabs = ElevenLabs()
audio = elevenlabs.text_to_speech.convert(
text="The first move is what sets everything in motion.",
voice_id="JBFqnCBsd6RMkjVDRZzb",
model_id="eleven_v3",
output_format="mp3_44100_128",
)
play(audio)
```
<details> <summary> Play </summary>
🎧 **Try it out!** Want to hear our voices in action? Visit the [ElevenLabs Voice Lab](https://elevenlabs.io/voice-lab) to experiment with different voices, languages, and settings.
</details>
## Voices
List all your available voices with `search()`.
```py
from elevenlabs.client import ElevenLabs
elevenlabs = ElevenLabs(
api_key="YOUR_API_KEY",
)
response = elevenlabs.voices.search()
print(response.voices)
```
For information about the structure of the voices output, please refer to the [official ElevenLabs API documentation for Get Voices](https://elevenlabs.io/docs/api-reference/get-voices).
Build a voice object with custom settings to personalize the voice style, or call
`elevenlabs.voices.settings.get("your-voice-id")` to get the default settings for the voice.
</details>
## Clone Voice
Clone your voice in an instant. Note that voice cloning requires an API key, see below.
```py
from elevenlabs.client import ElevenLabs
from elevenlabs.play import play
elevenlabs = ElevenLabs(
api_key="YOUR_API_KEY",
)
voice = elevenlabs.voices.ivc.create(
name="Alex",
description="An old American male voice with a slight hoarseness in his throat. Perfect for news", # Optional
files=["./sample_0.mp3", "./sample_1.mp3", "./sample_2.mp3"],
)
```
## Streaming
Stream audio in real-time, as it's being generated.
```py
from elevenlabs import stream
from elevenlabs.client import ElevenLabs
elevenlabs = ElevenLabs(
api_key="YOUR_API_KEY",
)
audio_stream = elevenlabs.text_toExcerpt of 13,905 characters
Read on GitHub114
54
Paul Asjes · ElevenLabs · Spain
36
Louis J. · ElevenLabs · United Kingdom
25
Fern Support · Fern · United States
25
Angelo Giacco · ElevenLabs
19
9
Kræn Hansen · @elevenlabs · Denmark
6
Laurence Squires
3
Luke Harries · United Kingdom
3
Rayan Saleh · ElevenLabs · United Kingdom
2
1
1
1
1
1
1
1
Peter Chng
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:69f339d8edbfa77d, topic:text-to-speech, readme:text-to-speech, readme:voice cloning