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

speech-generation

Skill by letta-ai

Generates speech from text using ElevenLabs voices through Letta's hosted endpoint, billed to Letta credits. Built for agents that send voice messages, read text aloud, or make voiceovers.

  • Score 85
  • 3.9k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install speech-generation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/letta-ai/letta-code /tmp/letta-code && mkdir -p ~/.claude/skills && cp -r /tmp/letta-code/src/skills/builtin/speech-generation ~/.claude/skills/speech-generation

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

Step-by-step: install speech-generation in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Speech Generation is an agent skill that converts text to speech with ElevenLabs voice models. It calls Letta's hosted endpoint at POST /v1/audio/speech, sending text, a voice ID and a model ID, and receives the audio file back. Requests are forwarded to ElevenLabs with Letta's key and charged to the organization's Letta credits, so no ElevenLabs API key is needed. The skill supports 90+ languages and lists several models that trade quality for latency.

The skill also covers word timings for captions and lip-sync checks, voice settings, audio tags for delivery cues, and output formats from MP3 to WAV and telephony codecs. It includes request stitching for long text split across several requests. It is aimed at agents that need to speak, such as sending a voice message, reading text aloud, or creating voiceovers. The skill is adapted from ElevenLabs' text-to-speech skill and released under the MIT license.

Written from the project's SKILL.md and checked against it.

What it can do

  • Text to speechGenerates natural speech audio from text in 90+ languages.
  • Word timestampsReturns audio with word start and end times for captions or lip-sync checks.
  • Model selectionChooses among Eleven v4, v4 turbo, Flash and other ElevenLabs models.
  • Voice settingsAdjusts stability and similarity boost for the chosen voice.
  • Audio tagsAdds bracketed cues such as [whispers] or [pause] to shape delivery on Eleven v4.
  • Language selectionUses a language code to guide pronunciation on supported models.
  • Text normalizationControls whether numbers and dates are spoken as words or read literally.
  • Request stitchingLinks long audio parts with previous and next text to reduce audible seams.
  • Output formatsProduces MP3, PCM, Opus, WAV, or μ-law and A-law files for telephony.

What you need

  • Letta API key (LETTA_API_KEY)
  • Letta base URL (LETTA_BASE_URL) provided by the runtime
  • Letta Cloud account with organization credits

Try asking

  • Read this paragraph aloud in a calm female voice and send me the file.
  • Make a 30-second voiceover for this product intro in French.
  • Generate speech with word timestamps so I can caption this clip.

Good to know

  • Cloned or designed voices from a personal ElevenLabs account are rejected by the Letta endpoint.
  • Each request takes up to 10,000 characters.
  • Eleven v4 does not support the style or speed voice settings or SSML.
  • language_code is not supported on eleven_multilingual_v2.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: src/skills/builtin/speech-generation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • LICENSE1 KB
  • SKILL.md10 KB
  • references/voice-settings.md3 KB

Alternatives to speech-generation

All alternatives →

Compare with intelligence-vocabulary, media-use or media_library

speech-generation: common questions

Do I need an ElevenLabs API key to use this skill?

No. The skill calls Letta's hosted endpoint, which uses Letta's key and bills the organization's Letta credits. Only custom voices from a personal ElevenLabs account need the user's own ElevenLabs key.

Which model does the skill use by default?

Examples default to eleven_v4, which the source describes as the latest and highest-quality model.

What happens if the organization runs out of Letta credits?

The endpoint returns a 402 error. The skill tells the user and does not retry.

How do I install speech-generation?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is speech-generation free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is speech-generation safe to use?

It scores 85 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 speech-generation?

Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.

speech-generation Install

Add to stack

Loading.