text-to-speech
Skill by elevenlabs
Converts text to speech using ElevenLabs voice AI. Suited to voiceovers, voice apps and speech in 90+ languages. Requires an ElevenLabs API key.
Install text-to-speech
Built from the published package, never by AI.
git clone --depth 1 https://github.com/elevenlabs/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/text-to-speech ~/.claude/skills/text-to-speechRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/elevenlabs/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/text-to-speech ~/.gemini/antigravity-cli/skills/text-to-speechAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The text-to-speech skill generates natural speech from text with ElevenLabs voice AI. It includes examples in Python, JavaScript and the ElevenLabs CLI, and uses the eleven_v4 model by default. Output can be MP3, PCM, mu-law, A-law, Opus or WAV, and audio can be streamed in chunks. The skill also covers voice settings, language codes, text normalization, audio effects and request stitching for long audio.
Setup uses the ElevenLabs CLI onboarding command or an ELEVENLABS_API_KEY environment variable. The skill lists several models with different languages and latency, from eleven_flash_v2_5 at about 75ms to eleven_v4_turbo at about 100ms. It is aimed at developers and creators who need voiceovers, voice apps or spoken audio in many languages.
Written from the project's SKILL.md and checked against it.
What it can do
- Text to speechGenerates speech from text, using eleven_v4 as the default model.
- Streaming audioReturns audio chunks as they are generated, over HTTP streaming or WebSocket.
- Voice settingsAdjusts stability, similarity boost, style, speed and speaker boost.
- Language selectionUses a language_code to guide pronunciation on models that support it.
- Text normalizationControls whether numbers, dates and abbreviations are spoken in full words.
- Audio effectsApplies filter presets, reverb, looped background noise and stereo panning.
- Request stitchingPasses neighbouring text so separate requests join without pops or tone shifts.
- Output formatsSupports MP3, PCM, mu-law, A-law, Opus and WAV output formats.
- Voice listingLists available voices and their IDs through the voices API.
- Cost trackingReads character usage from the x-character-count response header.
What you need
- ElevenLabs API key (ELEVENLABS_API_KEY)
- Internet access
- Python or JavaScript environment
Try asking
- Generate a voiceover from this script using eleven_v4.
- Convert this paragraph to speech in French with a calm voice.
- Stream text to speech with low latency for my voice app.
Good to know
- Eleven v4 does not support the style or speed voice settings.
- Eleven v4 does not support SSML and is not available on the stream-input WebSocket.
- language_code is not supported on eleven_multilingual_v2.
- Reverb and non-zero pan are rejected for ulaw, alaw and pcm output formats.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: text-to-speech/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
references/installation.md3 KB -
references/streaming.md12 KB -
references/voice-settings.md4 KB
Alternatives to text-to-speech
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
text-to-speech: common questions
Which model does the text-to-speech skill use by default?
The examples default to eleven_v4, which the source describes as the latest and highest-quality model.
Do audio effects change the cost of a request?
No. The source states that effects do not change the cost of a request.
How can I track character usage?
Read the x-character-count and request-id response headers from a request made with with_raw_response.
How do I install text-to-speech?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is text-to-speech free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is text-to-speech safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to text-to-speech?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
