text-to-speech skill (ElevenLabs) for Claude: voiceovers from text
Teaches your coding agent to turn text into spoken audio with the ElevenLabs API. For developers building voiceovers or voice features.
- Installs
- 18.1K
- on skills.sh
- Stars
- 528
- on GitHub
- Files
- 3
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
text-to-speech makes your agent write and run ElevenLabs code that turns text into an audio file. It covers Python, JavaScript and the ElevenLabs command line, and tells the agent which of six models to use and how to set voices, languages, output formats and streaming. It loads when you ask for voiceovers, speech from text or a voice app.
It needs internet access and an ElevenLabs API key in ELEVENLABS_API_KEY. If the key is missing, the skill tells the agent to run an ElevenLabs sign-in command from your project folder that stores a key for the project. The repo's other ElevenLabs skills (speech-to-text, music, dubbing and more) are separate installs.
Good for
- Developers adding spoken audio to an app
- Anyone who wants voiceover files made from a script
- People who already have an ElevenLabs account and API key
Install text-to-speech
Claude Code
- 1
Copy this prompt.
Install the text-to-speech skill in Claude Code. Run this command: npx skills add https://github.com/elevenlabs/skills --skill text-to-speech Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
From its listing on skills.sh. Source.
What's in the skill
When it loads
Convert text to speech using ElevenLabs voice AI. Use when generating audio from text, creating voiceovers, building voice apps, or synthesizing speech in 90+ languages.
Sections in SKILL.md
- Quick Start
- Python
- JavaScript
- CLI
- Models
- Voice IDs
- Voice Settings
- Language Selection
- Text Normalization
- Audio Effects
- Request Stitching
- Output Formats
- Streaming
- Error Handling
- Tracking Costs
- References
Key facts
- Author
- ElevenLabs
- License
- MIT
- Installs on skills.sh
- 18,106 (Nov 2, 2026)
- GitHub stars
- 528 for the whole repo (Nov 2, 2026)
- Last commit
- Oct 28, 2026
- Default model
- eleven_v4
- Languages
- 90+ on the default model
What it includes
Python, JavaScript and CLI examples that write speech to an mp3 file
The agent writes a short script with the ElevenLabs client, picks a voice ID and model, and saves the returned audio to output.mp3. The CLI example elevenlabs say plays text at once with the default voice and the eleven_v3 model.
Try: “Turn this paragraph into an mp3 with a calm male voice.”
Runs code ·
Quick start codeSix models trade quality, language count and speed
eleven_v4 is the default. eleven_v4_turbo, eleven_flash_v2_5 and eleven_flash_v2 are for low latency. eleven_multilingual_v2 and eleven_v3 are older models.
ModelsFour named voices, or list all voices from the account
The skill names George, Sarah, Daniel and Charlotte with their voice IDs, and shows how to list every voice on your account.
Network ·
Voice IDsStability, similarity boost, style, speed and speaker boost
Sliders for how steady or expressive the voice is. Eleven v4 supports only stability and similarity boost, so pacing and emotion come from audio tags such as [whispers] and from punctuation. voice-settings.md adds ranges, defaults and presets for narration, chatbots, news and character voices.
Voice settingsPass a language code to guide pronunciation
The agent can set an ISO 639-1 code such as fr. Unsupported codes are ignored, and eleven_multilingual_v2 does not support the option.
Language selectionControls how numbers and dates are spoken
auto, on or off decides whether 01/15/2026 is read as a date or character by character.
Text normalizationFilter, distance, reverb, background noise and panning
Adds effects such as a phone filter or a hall reverb. The skill says effects do not change request cost, and that reverb or panning needs a stereo-capable output format.
Network ·
Audio effectsKeeps long audio smooth across several requests
Passes the text before and after each chunk so the joins have no pops or tone shifts.
Network ·
Request stitching13 formats from mp3 to raw PCM and telephony codecs
Lists the format names for web audio, real-time processing and phone systems, and which plan tier some of them need.
Output formatsReceive audio as it is generated, over HTTP or WebSocket
SKILL.md shows the stream method. streaming.md adds two WebSocket routes: the Text to Dialogue WebSocket for eleven_v4_turbo (about 100ms, one voice per connection) and the stream-input WebSocket for the Flash models and eleven_multilingual_v2, which does not take eleven_v3 or eleven_v4. Its playback example pipes audio into ffplay, and both WebSocket examples send your API key to ElevenLabs.
Runs code ·
StreamingCommon API errors and how to read character usage
Covers 401, 422 and 429 errors and reading the character count from response headers.
Network ·
Error handling and costs
From the official docs
Permissions
Medium risk
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
Uses your ElevenLabs key and sends your text out
Scripts the agent writes call the ElevenLabs API with your key, so the text you give it is sent to ElevenLabs. Use a key you can revoke. github.com
Agent may install packages and the CLI
SKILL.md and installation.md tell the agent to run npx -y @elevenlabs/cli@latest onboard init (unpinned, latest version), and the guide lists npm, Homebrew, Scoop and a curl shell installer. streaming.md's playback example starts ffplay. Read each command before you approve it. github.com
The key may end up in your project
SKILL.md says onboard init stores a key for the project, and the README says its onboarding skill puts one in your project's env file. Keep that file out of git. installation.md says elevenlabs auth login stores credentials in the OS keyring instead. github.com
Requests use your character quota
The skill has a Tracking Costs section that reads the character count from response headers. Check your ElevenLabs plan limits before long jobs. github.com
Technical details
| Talks to | ElevenLabs API (the skill states it requires internet access). npm and package registries when the agent installs the SDK or CLI |
|---|---|
| Sign-in and keys | Per installation.md, elevenlabs auth login stores credentials in the OS keyring, and ELEVENLABS_API_KEY can be set in the environment. SKILL.md says onboard init stores a key for the project without saying where; the README says the onboarding skill writes it to the project's env file. |
| Scopes |
|
Questions
What does the text-to-speech skill do?
It gives your agent working ElevenLabs code and settings for turning text into audio. The agent then writes and runs scripts that call the ElevenLabs API and save the result, for example as an mp3 file.
How do I install it in Claude Code, the Claude app or Codex?
Use the install box above; it uses the skills CLI, which can target Claude Code and Codex. The repo README lists npx skills add elevenlabs/skills as its own install command, which adds every ElevenLabs skill. The README does not document a Claude app upload.
Does it need an API key?
Yes. It needs an ElevenLabs API key in ELEVENLABS_API_KEY and internet access. If the key is missing, SKILL.md tells the agent to run npx -y @elevenlabs/cli@latest onboard init in your project folder, which signs you in and stores a key for the project. installation.md also covers creating a key by hand in the ElevenLabs dashboard.
Is it safe to install?
It is instructions and code examples, with no bundled scripts. What can go wrong is what the agent runs for you: it may install ElevenLabs packages, run the ElevenLabs CLI and send your text to ElevenLabs with your key. Review commands before approving them and use a key you can revoke.
Which ElevenLabs model does it use?
eleven_v4 by default. The skill also lists eleven_v4_turbo and the Flash models for low latency, and says eleven_v3 and eleven_multilingual_v2 are older models.
What is the difference between this and the other ElevenLabs skills?
This one turns text into speech. The same repo has separate skills for speech-to-text, sound effects, music, voice changing, dubbing, agents and setting up an API key, and the README lists them.
Information
updated Nov 2, 2026
- Repository
- elevenlabs/skills
- Folder
text-to-speech
Sources
Docs, issue trackers and discussions this page is built from.
Show all 5Hide
- text-to-speech SKILL.md · github.com
- elevenlabs/skills README · github.com
- installation.md · github.com
- streaming.md · github.com
- voice-settings.md · github.com