elevenlabs-tts
ElevenLabs text-to-speech with 22+ premium voices, multilingual support, and voice tuning via inference.sh CLI. Models: eleven_multilingual_v2 (highest quality), eleven_turbo_v2_5 (low latency), eleven_flash_v2_5 (ultra-fast). Capabilities: text-to-speech, voice selection, stability/style control, 32 languages.
Saker · 用法翻译
Install · 安装
npx skills add https://github.com/inferen-sh/skills/tree/main/tools/audio/elevenlabs-tts # 或:cp -r SKILL.md ~/.claude/skills/elevenlabs-tts/
Skill 文档 · 原文
ElevenLabs Text-to-Speech
Premium text-to-speech with 22+ voices via inference.sh CLI.
Quick Start
Requires inference.sh CLI (belt). Install instructionsbelt login
# Generate speech with ElevenLabs
belt app run elevenlabs/tts --input '{"text": "Hello, welcome to our product demo.", "voice": "aria"}'Available Models
| Model | ID | Best For | Latency | |-------|----|----------|---------| | Multilingual v2 | eleven_multilingual_v2 | Highest quality, 32 languages | ~250ms | | Turbo v2.5 | eleven_turbo_v2_5 | Balance of speed & quality | ~150ms | | Flash v2.5 | eleven_flash_v2_5 | Ultra-low latency | ~75ms |
Voice Library
Female Voices
| Voice | Style | |-------|-------| | aria | American, conversational | | alice | British, confident | | bella | American, warm | | jessica | American, expressive | | laura | American, professional | | lily | British, soft | | sarah | American, friendly |
Male Voices
| Voice | Style | |-------|-------| | george | British, authoritative | | adam | American, deep | | bill | American, mature | | brian | American, conversational | | callum | Transatlantic, intense | | charlie | Australian, natural | | chris | American, casual | | daniel | British, commanding | | eric | American, friendly | | harry | American, young | | liam | American, articulate | | matilda | American, warm | | river | American, confident | | roger | American, authoritative | | will | American, bright |
Examples
Basic Speech
belt app run elevenlabs/tts --input '{"text": "Welcome to our quarterly earnings presentation.", "voice": "george"}'Choose a Model
# Highest quality
belt app run elevenlabs/tts --input '{
"text": "This is our premium multilingual model with the best quality.",
"voice": "aria",
"model": "eleven_multilingual_v2"
}'
# Ultra-fast for real-time applications
belt app run elevenlabs/tts --input '{
"text": "Flash model for low-latency applications.",
"voice": "brian",
"model": "eleven_flash_v2_5"
}'Voice Tuning
belt app run elevenlabs/tts --input '{
"text": "Fine-tune the voice characteristics for your use case.",
"voice": "bella",
"stability": 0.3,
"similarity_boost": 0.9,
"style": 0.4
}'| Parameter | Range | Effect | |-----------|-------|--------| | stability | 0-1 | Higher = more consistent, lower = more expressive | | similarity_boost | 0-1 | Higher = closer to original voice character | | style | 0-1 | Higher = more style exaggeration | | use_speaker_boost | true/false | Enhances speaker clarity |
Output Formats
belt app run elevenlabs/tts --input '{
"text": "High quality audio output.",
"voice": "daniel",
"output_format": "mp3_44100_192"
}'| Format | Description | |--------|-------------| | mp3_44100_128 | MP3 at 44.1kHz, 128kbps (default) | | mp3_44100_192 | MP3 at 44.1kHz, 192kbps | | pcm_16000 | Raw PCM at 16kHz | | pcm_22050 | Raw PCM at 22.05kHz | | pcm_24000 | Raw PCM at 24kHz | | pcm_44100 | Raw PCM at 44.1kHz |
Multilingual
ElevenLabs supports 32 languages including English, Spanish, French, German, Italian, Portuguese, Chinese, Japanese, Korean, Arabic, Hindi, Russian, and more.
# Spanish
belt app run elevenlabs/tts --input '{
"text": "Hola, bienvenidos a nuestra presentacion.",
"voice": "aria",
"model": "eleven_multilingual_v2"
}'
# French
belt app run elevenlabs/tts --input '{
"text": "Bonjour, bienvenue a notre demonstration.",
"voice": "alice",
"model": "eleven_multilingual_v2"
}'Voice + Video Workflow
# 1. Generate voiceover
belt app run elevenlabs/tts --input '{
"text": "Introducing the future of AI-powered content creation.",
"voice": "george"
}' > voiceover.json
# 2. Create talking head video
belt app run bytedance/omnihuman-1-5 --input '{
"image_url": "https://portrait.jpg",
"audio_url": "<audio-url-from-step-1>"
}'Use Cases
- Voiceovers: Product demos, explainer videos, commercials
- Audiobooks: Long-form narration with consistent voices
- Podcasts: AI hosts with natural delivery
- E-learning: Course narration in multiple languages
- Accessibility: High-quality screen reader content
- IVR: Professional phone system messages
- Video Narration: Documentary and social media content
Related Skills
# ElevenLabs multi-speaker dialogue
npx skills add inference-sh/skills@elevenlabs-dialogue
# ElevenLabs voice changer
npx skills add inference-sh/skills@elevenlabs-voice-changer
# ElevenLabs sound effects
npx skills add inference-sh/skills@elevenlabs-sound-effects
# All TTS models (Kokoro, DIA, Chatterbox, and more)
npx skills add inference-sh/skills@text-to-speech
# Full platform skill (all 250+ apps)
npx skills add inference-sh/skills@infsh-cliBrowse all audio apps: belt app list --category audio