text-to-speech
Skill by tadaspetra
Converts text to speech using ElevenLabs voice AI. It is for generating audio, creating voiceovers, building voice apps, and synthesizing speech in 70+ languages.
Install text-to-speech
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tadaspetra/loop /tmp/loop && mkdir -p ~/.claude/skills && cp -r /tmp/loop/.agents/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/tadaspetra/loop /tmp/loop && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/loop/.agents/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 connects an AI assistant to ElevenLabs voice AI to turn written text into audio. It shows how to call the ElevenLabs API from Python, JavaScript, or cURL, and lists the available models, popular voice IDs, and output formats such as MP3, PCM, WAV, and μ-law.
Users can adjust stability, similarity boost, style, and speaker boost, force a language code, and control how numbers and dates are read aloud. For long audio, request stitching passes neighboring text to each request to reduce audible seams. The skill is aimed at people generating voiceovers, building voice apps, or synthesizing speech in 70+ languages. It requires an ElevenLabs API key set as ELEVENLABS_API_KEY.
Written from the project's SKILL.md and checked against it.
What it can do
- Text to speech conversionConverts text into an audio file using a chosen ElevenLabs voice and model.
- Voice selectionLists available voices and uses pre-made or custom voice IDs.
- Voice settingsAdjusts stability, similarity boost, style, speed, and speaker boost.
- Language enforcementForces a specific language for pronunciation using an ISO 639-1 code.
- Text normalizationControls whether numbers, dates, and abbreviations are spoken naturally or literally.
- Request stitchingPasses previous and next text so long audio joins smoothly across requests.
- Output formatsProduces MP3, PCM, WAV, Opus, μ-law, or A-law audio at several sample rates.
- StreamingReturns audio chunks as they are generated for real-time applications.
- Character usage trackingReads x-character-count and request-id response headers to monitor usage.
What you need
- ElevenLabs API key set as ELEVENLABS_API_KEY
- Internet access
- ElevenLabs Python SDK or @elevenlabs JavaScript packages
Try asking
- Turn this script into a voiceover using the George voice.
- Generate an MP3 narration of this article in French.
- Stream this short message as audio with the flash model.
Good to know
- Requires an ElevenLabs API key and internet access.
- Some output formats such as 192 kbps MP3 and 48 kHz PCM need Creator, Pro, or higher plans.
- Some models support only English, and others support 29 or 32 languages.
- Rate limits apply and return a 429 error when exceeded.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/text-to-speech/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
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 ElevenLabs models support the most languages?
The source lists eleven_v3 with 70+ languages. The eleven_multilingual_v2 model supports 29 languages, and the flash and turbo v2.5 models support 32.
How can I track how many characters I used?
Read the x-character-count header from the response when using with_raw_response. The request-id header is also returned.
What format should I use for phone systems?
The source recommends ulaw_8000 for phone systems such as Twilio and telephony, with alaw_8000 as an alternative.
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 Apache-2.0 licence. The service it connects to may have its own pricing.
Is text-to-speech safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality B. 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.
