elevenlabs-performance-tuning

Featured

Optimize ElevenLabs TTS latency with model selection, streaming, caching, and audio format tuning. Use when experiencing slow TTS responses, implementing real-time voice features, or optimizing audio generation throughput. Trigger: "elevenlabs performance", "optimize elevenlabs", "elevenlabs latency", "elevenlabs slow", "fast TTS", "reduce elevenlabs latency", "TTS streaming".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ElevenLabs Performance Tuning ## Overview Optimize ElevenLabs TTS latency and throughput through model selection, streaming strategies, audio format tuning, and caching. Latency ranges from ~75ms (Flash) to ~500ms (v3) depending on configuration. ## Prerequisites - ElevenLabs SDK installed - Understanding of your latency requirements - Audio playback infrastructure (browser, mobile, server-side) ## Instructions ### Step 1: Model Selection for Latency The single biggest performance lever is model choice: | Model | Avg Latency | Quality | Languages | Use Case | |-------|-------------|---------|-----------|----------| | `eleven_flash_v2_5` | ~75ms | Good | 32 | Real-time chat, IVR, gaming | | `eleven_turbo_v2_5` | ~150ms | Good | 32 | Balanced speed/quality | | `eleven_multilingual_v2` | ~300ms | High | 29 | Narration, content creation | | `eleven_v3` | ~500ms | Highest | 70+ | Maximum expressiveness | ```typescript // Select model based on use case function selectModel(useCase: "realtime" | "balanced" | "quality" | "max_quality"): string { const models = { realtime: "eleven_flash_v2_5", balanced: "eleven_turbo_v2_5", quality: "eleven_multilingual_v2", max_quality: "eleven_v3", }; return models[useCase]; } ``` ### Step 2: Output Format Optimization Smaller formats = faster transfer: | Format | Size/Second | Quality | Best For | |--------|-------------|---------|----------| | `mp3_44100_128` | ~16 KB/s | High | Downloads, archival | |...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category