Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 87
  • 3.6k stars
  • GPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-speech

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install text-to-speech in Claude Code

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

A

No 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 →

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.

text-to-speech Install

Add to stack

Loading.