Back to Eliza

ElevenLabs Plugin

packages/docs/plugin-registry/elevenlabs.md

2.0.11.5 KB
Original Source

High-quality voice synthesis for Eliza agents using the ElevenLabs API.

Package: @elizaos/plugin-elevenlabs

Overview

The ElevenLabs plugin integrates ElevenLabs' text-to-speech API into Eliza, enabling agents to generate natural-sounding speech and conversational audio. It supports multiple models, voice customization (stability, similarity boost, style), streaming latency optimization, and configurable output formats.

Installation

bash
eliza plugins install elevenlabs

Auto-Enable

The plugin auto-enables when ELEVENLABS_XI_API_KEY is set.

Configuration

VariableTypeRequiredDescription
ELEVENLABS_XI_API_KEYstringYesElevenLabs API key
ELEVENLABS_MODEL_IDstringNoModel ID (default: eleven_multilingual_v2)
ELEVENLABS_VOICE_IDstringNoVoice ID
ELEVENLABS_VOICE_STABILITYstringNoVoice stability (0-1)
ELEVENLABS_VOICE_SIMILARITY_BOOSTstringNoSimilarity boost (0-1)
ELEVENLABS_VOICE_STYLEstringNoVoice style (0-1)
ELEVENLABS_VOICE_USE_SPEAKER_BOOSTbooleanNoUse speaker boost
ELEVENLABS_OPTIMIZE_STREAMING_LATENCYstringNoOptimize streaming latency (0-4)
ELEVENLABS_OUTPUT_FORMATstringNoOutput audio format