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.
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-generationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/letta-ai/letta-code /tmp/letta-code && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/letta-code/src/skills/builtin/speech-generation ~/.gemini/antigravity-cli/skills/speech-generationAntigravity 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
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
ANo 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 →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
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.
