text-to-speech
Skill by mantrakp04
Converts text to speech using ElevenLabs voice AI. Suited to voiceovers, voice apps and speech in 70+ languages, with a choice of models for quality or latency.
Install text-to-speech
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mantrakp04/ardia /tmp/ardia && mkdir -p ~/.claude/skills && cp -r /tmp/ardia/.claude/skills/elevenlabs/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/mantrakp04/ardia /tmp/ardia && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ardia/.claude/skills/elevenlabs/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 gives an AI assistant access to ElevenLabs voice AI for generating audio from text. It includes Python, JavaScript and CLI examples for converting text into audio files and for streaming audio as it is generated. Users can pick from several models, such as eleven_v3 for highest quality or eleven_flash_v2_5 for ultra-low latency, and tune voice settings like stability, similarity boost, style and speed.
The skill also covers language selection, text normalization for numbers and dates, request stitching for long audio, and many output formats, including telephony formats like ulaw_8000. It requires an ElevenLabs API key set as ELEVENLABS_API_KEY. It is aimed at developers and creators who need voiceovers, voice apps or speech synthesis in many languages.
Written from the project's SKILL.md and checked against it.
What it can do
- Text to speech conversionGenerates audio from text using the ElevenLabs API in Python, JavaScript or the CLI.
- Model selectionOffers six ElevenLabs models that trade off quality, language count and latency.
- Voice settingsAdjusts stability, similarity boost, style, speed and speaker boost for a voice.
- Language selectionUses language_code with supported models to guide pronunciation.
- Text normalizationControls whether numbers, dates and abbreviations are spoken normally or literally.
- Request stitchingPasses previous_text and next_text so audio joins cleanly across separate requests.
- Output formatsSupports MP3, raw PCM, μ-law, A-law, Opus and WAV outputs at several rates.
- StreamingReturns audio chunks as they are generated for real-time applications.
- Cost trackingReads the x-character-count response header to monitor character usage.
What you need
- ElevenLabs API key (ELEVENLABS_API_KEY)
- Internet access
- ElevenLabs SDK for Python or @elevenlabs packages for JavaScript
Try asking
- Generate an MP3 voiceover from this script using ElevenLabs.
- Stream speech in real time with the flash model for my voice app.
- Convert this text to speech in French using eleven_v3.
Good to know
- language_code is not supported on eleven_multilingual_v2.
- Unsupported language codes are ignored.
- Common errors include 401 for an invalid key and 429 for rate limits.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/elevenlabs/text-to-speech/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
references/installation.md3 KB -
references/streaming.md8 KB -
references/voice-settings.md3 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
How many languages does text-to-speech support?
The skill describes 70+ languages for eleven_v3. The eleven_multilingual_v2 model is listed for 29 languages.
Which audio output formats are available?
The source lists MP3, raw PCM, μ-law and A-law for telephony, Opus, and WAV. Each has its own sample rate or bitrate.
How can I track how many characters I use?
Call the convert method with with_raw_response and read the x-character-count header from the 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 GPL-3.0 licence. The service it connects to may have its own pricing.
Is text-to-speech safe to use?
It scores 87 of 100. Grades: maintenance A, licence C, 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.
