SkillAgentSearch skills...

elevenlabs-tts

ElevenLabs Text-to-Speech API for high-quality speech synthesis.

Install / Use

npx skills add benchflow-ai/skillsbench --skill elevenlabs-tts

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

80/100

Category

Other

Supported Platforms

Universal

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.

Substance
20/30
Structure
20/20
Description
12/15
Adoption
14/20
Freshness
15/15

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.

SkillScoreStarsUpdatedFormat
elevenlabs-tts (this skill)by benchflow-ai801.8k2mo agoSKILL.md
Agent-Reachby Panniantong10086.4k15d agoCLAUDE.md
headroomby headroomlabs-ai10074.2ktodayCLAUDE.md
Scraplingby D4Vinci10084.6ktodayMCP Server
crawl4aiby unclecode10084.5k5d agoMCP 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.

name: 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:

  1. Split text into chunks at sentence boundaries
  2. Generate audio for each chunk
  3. 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

View on GitHub
GitHub Stars1.8k
CategoryOther
Updated2mo ago
Forks368

Languages

PDDL

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions