elevenlabs-tts
ElevenLabs Text-to-Speech API for high-quality speech synthesis.
Install / Use
npx skills add benchflow-ai/skillsbench --skill elevenlabs-ttsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OtherSupported Platforms
Our assessment of elevenlabs-tts
elevenlabs-tts scores 80/100 on our quality scale, 101st of 154 Other skills we index.
Its SKILL.md is 2.3 KB long, well organised into 10 sections with 6 code examples: moderately detailed.
With 1,813 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so elevenlabs-tts is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
elevenlabs-tts compared with similar skills
All 4 of these similar skills score higher than elevenlabs-tts; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| elevenlabs-tts (this skill)by benchflow-ai | 80 | 1.8k | 2mo ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 86.4k | 15d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.2k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 84.6k | today | MCP Server |
| crawl4aiby unclecode | 100 | 84.5k | 5d ago | MCP Server |
Frequently asked questions
- How do I install elevenlabs-tts?
- Run
npx skills add benchflow-ai/skillsbench --skill elevenlabs-tts. The install tabs above show the steps for each supported agent. - Which AI agents does elevenlabs-tts work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is elevenlabs-tts safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is elevenlabs-tts still maintained?
- The repository was last updated about 2 months ago, so elevenlabs-tts is actively maintained.
Skill content
View source on GitHubname: elevenlabs-tts description: "ElevenLabs Text-to-Speech API for high-quality speech synthesis."
ElevenLabs Text-to-Speech
Generate high-quality speech audio from text using the ElevenLabs API.
Authentication
The API key is available as environment variable:
ELEVENLABS_API_KEY
Include in request header:
xi-api-key: $ELEVENLABS_API_KEY
API Endpoints
Text-to-Speech
POST https://api.elevenlabs.io/v1/text-to-speech/{voice_id}
Request Body:
{
"text": "Your text here",
"model_id": "eleven_turbo_v2_5",
"voice_settings": {
"stability": 0.5,
"similarity_boost": 0.5
}
}
Response: Audio bytes (mp3 format by default)
Popular Voice IDs
21m00Tcm4TlvDq8ikWAM- Rachel (female, calm)EXAVITQu4vr4xnSDxMaL- Bella (female, soft)ErXwobaYiN019PkySvjV- Antoni (male, warm)TxGEqnHWrfWFTfGW9XjX- Josh (male, deep)
Python Example
import os
import requests
ELEVENLABS_API_KEY = os.environ.get("ELEVENLABS_API_KEY")
VOICE_ID = "21m00Tcm4TlvDq8ikWAM" # Rachel
def text_to_speech(text, output_path):
url = f"https://api.elevenlabs.io/v1/text-to-speech/{VOICE_ID}"
headers = {
"xi-api-key": ELEV…[redacted],
"Content-Type": "application/json"
}
data = {
"text": text,
"model_id": "eleven_turbo_v2_5",
"voice_settings": {
"stability": 0.5,
"similarity_boost": 0.75
}
}
response = requests.post(url, json=data, headers=headers)
if response.status_code == 200:
with open(output_path, "wb") as f:
f.write(response.content)
return True
else:
print(f"Error: {response.status_code} - {response.text}")
return False
Handling Long Text
ElevenLabs has a ~5000 character limit per request. For long documents:
- Split text into chunks at sentence boundaries
- Generate audio for each chunk
- Concatenate using ffmpeg or pydub:
# Create file list
echo "file 'chunk1.mp3'" > files.txt
echo "file 'chunk2.mp3'" >> files.txt
# Concatenate
ffmpeg -f concat -safe 0 -i files.txt -c copy output.mp3
Best Practices
- Split at sentence boundaries to avoid cutting words
- Check rate limits (varies by subscription tier)
- Cache generated audio to avoid redundant API calls
Related Skills
Agent-Reach
86.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.2kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
84.6k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
84.5kOpen-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
