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

  • Score 74
  • 298 stars
  • Apache-2.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/tadaspetra/loop /tmp/loop && mkdir -p ~/.claude/skills && cp -r /tmp/loop/.agents/skills/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 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

A

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

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.

text-to-speech Install

Add to stack

Loading.