elevenlabs-performance-tuning
Optimizes ElevenLabs TTS latency and throughput through model selection, streaming strategies, and audio format tuning.
Install this skill
Security score
The elevenlabs-performance-tuning skill was audited on May 17, 2026 and we found 11 security issues across 4 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 122 | console.log(`Time to first byte: ${ttfb.toFixed(0)}ms`); |
Template literal with variable interpolation in command context
| 147 | const url = `wss://api.elevenlabs.io/v1/text-to-speech/${config.voiceId}/stream-input?model_id=${model}`; |
Template literal with variable interpolation in command context
| 189 | console.log(`WebSocket TTFB: ${totalLatency}ms`); |
Template literal with variable interpolation in command context
| 232 | .update(`${voiceId}:${modelId}:${text}`) |
Template literal with variable interpolation in command context
| 261 | console.log("[Cache MISS]", key.substring(0, 8), `${audio.length} bytes`); |
Template literal with variable interpolation in command context
| 285 | console.log(`${chapter.title}: ${duration.toFixed(0)}ms`); |
Access to .env file
| 162 | xi_api_key: process.env.ELEVENLABS_API_KEY, |
Buffer.from base64 decode
| 186 | audioChunks.push(Buffer.from(msg.audio, "base64")); |
External URL reference
| 319 | - [ElevenLabs Streaming API](https://elevenlabs.io/docs/api-reference/text-to-speech/stream) |
External URL reference
| 320 | - [WebSocket API Reference](https://elevenlabs.io/docs/api-reference/text-to-speech/v-1-text-to-speech-voice-id-stream-input) |
External URL reference
| 321 | - [ElevenLabs Models](https://elevenlabs.io/docs/overview/models) |