Music
tadaspetra/loop
Generate music using ElevenLabs Music API. An agent skill from tadaspetra/loop.
Convert text to speech using ElevenLabs voice AI. An agent skill from elevenlabs/skills.
$ npx skills add elevenlabs/skills --skill text-to-speech -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install elevenlabs/skills text-to-speech --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/elevenlabs/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/text-to-speech .claude/skills/text-to-speech && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "text-to-speech" agent skill from https://github.com/elevenlabs/skills/tree/main/text-to-speech into .claude/skills/text-to-speech/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-to-speech", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/elevenlabs/skills/tree/main/text-to-speechType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add elevenlabs/skills --skill text-to-speech -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install elevenlabs/skills text-to-speech --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elevenlabs/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/text-to-speech .agents/skills/text-to-speech && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "text-to-speech" agent skill from https://github.com/elevenlabs/skills/tree/main/text-to-speech into .agents/skills/text-to-speech/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-to-speech", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add elevenlabs/skills --skill text-to-speech -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install elevenlabs/skills text-to-speech --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elevenlabs/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/text-to-speech .cursor/skills/text-to-speech && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "text-to-speech" agent skill from https://github.com/elevenlabs/skills/tree/main/text-to-speech into .cursor/skills/text-to-speech/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-to-speech", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/elevenlabs/skills.git --path text-to-speech--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add elevenlabs/skills --skill text-to-speech -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install elevenlabs/skills text-to-speech --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elevenlabs/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/text-to-speech .gemini/skills/text-to-speech && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "text-to-speech" agent skill from https://github.com/elevenlabs/skills/tree/main/text-to-speech into .gemini/skills/text-to-speech/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-to-speech", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install elevenlabs/skills text-to-speechInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add elevenlabs/skills --skill text-to-speech -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/elevenlabs/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/text-to-speech .github/skills/text-to-speech && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "text-to-speech" agent skill from https://github.com/elevenlabs/skills/tree/main/text-to-speech into .github/skills/text-to-speech/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-to-speech", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add elevenlabs/skills --skill text-to-speech -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install elevenlabs/skills text-to-speech --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elevenlabs/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/text-to-speech .opencode/skills/text-to-speech && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "text-to-speech" agent skill from https://github.com/elevenlabs/skills/tree/main/text-to-speech into .opencode/skills/text-to-speech/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-to-speech", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
text-to-speechConvert text to speech using ElevenLabs voice AI. An agent skill from elevenlabs/skills.
Text To Speech is an agent skill from elevenlabs/skills. Convert text to speech using ElevenLabs voice AI. Use when generating audio from text, creating voiceovers, building voice apps, or synthesizing speech in 90+ languages.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/installation.md`, `references/streaming.md` and `references/voice-settings.md`). Compatibility notes: Requires internet access and an ElevenLabs API key (ELEVENLABSAPIKEY).
It sits in Media & Creative, covering Text to speech and voice. It works with ElevenLabs. The repository describes itself as: Collections of skills for building with ElevenLabs. The licence is MIT.
Read from SKILL.md and the folder at commit 1d08a4a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python, bash and javascript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
ELEVENLABS_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires internet access and an ElevenLabs API key (ELEVENLABS_API_KEY).
From compatibility in the SKILL.md frontmatter.
Text To Speech loads about 2.2k tokens when it runs, and up to ~7k if it reads all its reference files. Until then it costs about 46 tokens; SKILL.md has 607 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from elevenlabs/skills at commit 1d08a4a, republished under its MIT licence (© elevenlabs). 607 words, ~2,208 tokens.
.claude/skills/text-to-speech/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Generate natural speech from text - supports 90+ languages, multiple models for quality vs latency tradeoffs. Examples default to eleven_v4, the latest and highest-quality model.
Setup: See Installation Guide. For JavaScript, use
@elevenlabs/*packages only.
from elevenlabs import ElevenLabs
client = ElevenLabs()
audio = client.text_to_speech.convert(
text="Hello, welcome to ElevenLabs!",
voice_id="JBFqnCBsd6RMkjVDRZzb", # George
model_id="eleven_v4"
)
with open("output.mp3", "wb") as f:
for chunk in audio:
f.write(chunk)import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
import { createWriteStream } from "fs";
import { Readable } from "stream";
const client = new ElevenLabsClient();
const audio = await client.textToSpeech.convert("JBFqnCBsd6RMkjVDRZzb", {
text: "Hello, welcome to ElevenLabs!",
modelId: "eleven_v4",
});
// convert() returns a web ReadableStream — bridge it to a Node stream to write to disk
Readable.fromWeb(audio).pipe(createWriteStream("output.mp3"));Use say to play text immediately with the default voice and eleven_v3 model:
elevenlabs say "Hello!"Pipe text into say when another command produces the input:
echo "The build finished successfully." | elevenlabs sayUse the API command when you need to set request parameters directly:
elevenlabs text-to-speech convert --voice-id JBFqnCBsd6RMkjVDRZzb \
--text "Hello!" --model-id eleven_v4 --output output.mp3The CLI reads ELEVENLABS_API_KEY from the environment automatically.
| Model ID | Languages | Latency | Best For |
|---|---|---|---|
eleven_v4 | 90+ | Standard | Default. Highest quality, emotional range, audio tags, voice cloning accuracy |
eleven_v4_turbo | 90+ | ~100ms | Real-time v4 quality for agents and interactive apps (via Text to Dialogue WebSocket) |
eleven_flash_v2_5 | 32 | ~75ms | Lowest latency, lowest cost, stream-input WebSocket |
eleven_flash_v2 | English | ~75ms | English-only, lowest latency |
eleven_multilingual_v2 | 29 | Standard | Previous generation; most stable on very long-form generations |
eleven_v3 | 70+ | Standard | Previous generation expressive model |
eleven_turbo_v2_5 and eleven_turbo_v2 are superseded by the Flash models (same output, lower latency) — use eleven_flash_v2_5 / eleven_flash_v2 instead.
Eleven v4 notes: supports only stability and similarity_boost voice settings (no style or speed), does not support SSML, and is not available on the stream-input TTS WebSocket. Direct delivery with audio tags such as [whispers], [laughs], [sarcastic].
Use pre-made voices or create custom voices in the dashboard.
Popular voices:
JBFqnCBsd6RMkjVDRZzb - George (male, narrative)EXAVITQu4vr4xnSDxMaL - Sarah (female, soft)onwK4e9ZLuTAKqWW03F9 - Daniel (male, authoritative)XB0fDUnXU5powFXDhCwa - Charlotte (female, conversational)voices = client.voices.get_all()
for voice in voices.voices:
print(f"{voice.voice_id}: {voice.name}")Fine-tune how the voice sounds:
from elevenlabs import VoiceSettings
audio = client.text_to_speech.convert(
text="Customize my voice settings.",
voice_id="JBFqnCBsd6RMkjVDRZzb",
model_id="eleven_v4",
voice_settings=VoiceSettings(
stability=0.5, # Lower = more expressive, higher = more consistent
similarity_boost=0.75, # Higher = closer to the reference voice
)
)Use language_code with models that support language enforcement to guide pronunciation and text normalization. Unsupported language codes are ignored, and language_code is not supported on eleven_multilingual_v2.
audio = client.text_to_speech.convert(
text="Bonjour, comment allez-vous?",
voice_id="JBFqnCBsd6RMkjVDRZzb",
model_id="eleven_v4",
language_code="fr" # ISO 639-1 code
)Controls how numbers, dates, and abbreviations are converted to spoken words. For example, "01/15/2026" becomes "January fifteenth, twenty twenty-six":
"auto" (default): Model decides based on context"on": Always normalize (use when you want natural speech)"off": Speak literally (use when you want "zero one slash one five...")audio = client.text_to_speech.convert(
text="Call 1-800-555-0123 on 01/15/2026",
voice_id="JBFqnCBsd6RMkjVDRZzb",
model_id="eleven_v4",
apply_text_normalization="on"
)When generating long audio in multiple requests, the audio can have pops, unnatural pauses, or tone shifts at the boundaries. Request stitching solves this by letting each request know what comes before/after it:
# First request
audio1 = client.text_to_speech.convert(
text="This is the first part.",
voice_id="JBFqnCBsd6RMkjVDRZzb",
model_id="eleven_v4",
next_text="And this continues the story."
)
# Second request using previous context
audio2 = client.text_to_speech.convert(
text="And this continues the story.",
voice_id="JBFqnCBsd6RMkjVDRZzb",
model_id="eleven_v4",
previous_text="This is the first part."
)| Format | Description |
|---|---|
mp3_44100_128 | MP3 44.1kHz 128kbps (default) - compressed, good for web/apps |
mp3_44100_192 | MP3 44.1kHz 192kbps (Creator+) - higher quality compressed |
mp3_44100_64 | MP3 44.1kHz 64kbps - lower quality, smaller files |
mp3_22050_32 | MP3 22.05kHz 32kbps - smallest MP3 files |
pcm_16000 | Raw PCM 16kHz - use for real-time processing |
pcm_22050 | Raw PCM 22.05kHz |
pcm_24000 | Raw PCM 24kHz - good balance for streaming |
pcm_44100 | Raw PCM 44.1kHz (Pro+) - CD quality |
pcm_48000 | Raw PCM 48kHz (Pro+) - highest quality |
ulaw_8000 | μ-law 8kHz - standard for phone systems (Twilio, telephony) |
alaw_8000 | A-law 8kHz - telephony (alternative to μ-law) |
opus_48000_64 | Opus 48kHz 64kbps - efficient streaming codec |
wav_44100 | WAV 44.1kHz - uncompressed with headers |
Use the stream method to receive audio chunks as they're generated:
audio_stream = client.text_to_speech.stream(
text="This text will be streamed as audio.",
voice_id="JBFqnCBsd6RMkjVDRZzb",
model_id="eleven_v4"
)
for chunk in audio_stream:
play_audio(chunk)For real-time apps where latency matters most, use eleven_v4_turbo (~100ms) over the Text to Dialogue WebSocket, or eleven_flash_v2_5 (~75ms) over HTTP streaming or the stream-input WebSocket. See references/streaming.md.
try:
audio = client.text_to_speech.convert(
text="Generate speech",
voice_id="invalid-voice-id",
model_id="eleven_v4"
)
except Exception as e:
print(f"API error: {e}")Common errors:
Monitor character usage via response headers (x-character-count, request-id):
response = client.text_to_speech.convert.with_raw_response(
text="Hello!", voice_id="JBFqnCBsd6RMkjVDRZzb", model_id="eleven_v4"
)
audio = response.parse()
print(f"Characters used: {response.headers.get('x-character-count')}")© elevenlabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in text-to-speech of elevenlabs/skills.
Open the folder on GitHubat commit 1d08a4a
Text To Speech next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Text To Speech this skillelevenlabs/skills | 482 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Musictadaspetra/loop | 296 | 2 repos | ~827 | Automated safety check: Pass | MIT | |
| Sound Effectstadaspetra/loop | 296 | 2 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Elevenlabs Transcribeqdhenry/Claude-Command-Suite | 1.3k | — | ~1.5k | Automated safety check: Notes | None | |
| Sagtrpc-group/trpc-agent-go | 1.9k | 15 repos | ~574 | Automated safety check: Pass | Apache-2.0 | |
| MusicbozhouDev/video-skills-toolkit | 150 | — | ~3.6k | Automated safety check: Pass | MIT |
tadaspetra/loop
Generate music using ElevenLabs Music API. An agent skill from tadaspetra/loop.
tadaspetra/loop
Generate sound effects from text descriptions using ElevenLabs.
qdhenry/Claude-Command-Suite
Transcribes audio/video files using ElevenLabs Scribe v2 API.
trpc-group/trpc-agent-go
ElevenLabs text-to-speech with mac-style say UX. An agent skill from trpc-group/trpc-agent-go.
bozhouDev/video-skills-toolkit
Generate music using ElevenLabs Music API. An agent skill from bozhouDev/video-skills-toolkit.
calesthio/OpenMontage
Guides users through setting up an ElevenLabs API key for ElevenLabs MCP tools.
elevenlabs/skills
Dub audio and video into other languages using the ElevenLabs Dubbing API (dubbingv2), preserving the original speakers' voices.
elevenlabs/skills
Transform the voice in an audio recording into a different target voice while preserving emotion, timing, and delivery using the ElevenLabs Voice Changer (speech-to-speech) API.
elevenlabs/skills
Remove background noise and isolate vocals/speech from audio using ElevenLabs Voice Isolator (audio isolation) API.
elevenlabs/skills
Add real-time voice conversations to a custom agent runtime with ElevenLabs Speech Engine.
elevenlabs/skills
Build voice AI agents with ElevenLabs. An agent skill from elevenlabs/skills.
elevenlabs/skills
Guides users through setting up an ElevenLabs API key for REST API and SDK workflows.
Works with
Categories
Convert text to speech using ElevenLabs voice AI. An agent skill from elevenlabs/skills. Text To Speech is an agent skill from elevenlabs/skills. Convert text to speech using ElevenLabs voice AI.
Text To Speech fits situations like: generating audio from text; creating voiceovers; building voice apps; synthesizing speech in 90+ languages.
Run `npx skills add elevenlabs/skills --skill text-to-speech -a claude-code`. Or copy the skill folder (text-to-speech in elevenlabs/skills) into .claude/skills/text-to-speech in your project. Claude Code loads it when a task matches its description.
Run `npx skills add elevenlabs/skills --skill text-to-speech -a codex`. Or copy the skill folder (text-to-speech in elevenlabs/skills) into .agents/skills/text-to-speech in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add elevenlabs/skills --skill text-to-speech -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/text-to-speech, .gemini/skills/text-to-speech, .github/skills/text-to-speech and .opencode/skills/text-to-speech in your project.
Going by SKILL.md and its folder, Text To Speech needs credentials named ELEVENLABS_API_KEY. Our summary lists: Python 3; A credential in ELEVENLABS_API_KEY. Compatibility (from SKILL.md): Requires internet access and an ElevenLabs API key (ELEVENLABS_API_KEY)..
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Text To Speech is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Text To Speech: Music (tadaspetra/loop, 296 stars), Sound Effects (tadaspetra/loop, 296 stars), Elevenlabs Transcribe (qdhenry/Claude-Command-Suite, 1.3k stars) and Sag (trpc-group/trpc-agent-go, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
elevenlabs (a GitHub organization) maintains it in elevenlabs/skills, which has 482 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 9, 2026.
Source: elevenlabs/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.