text-to-speech
Converts text to speech with ElevenLabs voices, for voiceovers, voice apps and speech in 90+ languages.
- Kind
- Skill
- Works with
- Any agent
- Source
- ElevenLabs Skills @ 503d4e9fda01
- Path
- text-to-speech/SKILL.md
- Jobs
- Implementation
- Topics
- Voice & audio
Credit
- Made by
- elevenlabs
- Original
- github.com/elevenlabs/skills/blob/503d4e9fda0190ab9357142f44e…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallInstall it with npx.
npx skills add elevenlabs/skills
Install factsScanned 2 Nov 2026
- Adds
- .claude/skills/text-to-speech/ (the skill folder)
- 3 file(s) the skill refers to
- Runs scripts
- Yes
- shell block in the text
- Uses the network
- Yes
- Marked in the catalog record
- Needs secrets
- Yes
- ELEVENLABS_API_KEY
- Reads environment variables
- ELEVENLABS_API_KEY
- Source revision
- 503d4e9fda01
- Licence
- MIT
- Last activity
- 28 Oct 2026
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
- Only the main file is read; other files in the folder are not scanned
# ElevenLabs Text-to-Speech
Generate natural speech from text - supports 90+ languages, multiple models for quality vs latency tradeoffs. Examples default to `eleven_v4`, the latest and highest-quality model.
> **Setup, before writing any code:** if `ELEVENLABS_API_KEY` isn't set for this project, run `npx -y @elevenlabs/cli@latest onboard init` from the app's folder first and follow what it prints: it signs the user in and stores a key for the project, so nobody copies one by hand. Otherwise see the [Installation Guide](references/installation.md). For JavaScript, use `@elevenlabs/*` packages only.
## Quick Start
### Python
```python
from elevenlabs import ElevenLabs
client = ElevenLabs()
audio = client.text_to_speech.convert(
text="Hello, welcome to ElevenLabs!",
voice_id="JBFqnCBsd6RMkjVDRZzb", # George
model_id="eleven_v4"
)
with open("output.mp3", "wb") as f:
for chunk in audio:
f.write(chunk)
```
### JavaScript
```javascript
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
import { createWriteStream } from "fs";
import { Readable } from "stream";
const client = new ElevenLabsClient();
…