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 elevenlabs

Converts text to speech using ElevenLabs voice AI. Suited to voiceovers, voice apps and speech in 90+ languages. Requires an ElevenLabs API key.

  • Score 84
  • 600 stars
  • MIT
  • 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/elevenlabs/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/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 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

A

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

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.

text-to-speech Install

Add to stack

Loading.