Pre-release
This release is a pre-release and may not be stable for production use.
ElevenLabs Plugin for elizaOS (Python)
High-quality text-to-speech (TTS) and speech-to-text (STT) plugin for elizaOS using the ElevenLabs API.
Installation
pip install eliza-plugin-elevenlabs
Features
- Text-to-Speech (TTS): High-quality voice synthesis with multiple voice models
- Speech-to-Text (STT): Accurate transcription with Scribe v1 model
- Speaker Diarization: Identify up to 32 different speakers
- Multi-language Support: 99 languages for STT
- Audio Event Detection: Detect laughter, applause, and other audio events
- Streaming Support: Efficient memory usage with streaming audio output
Usage
from eliza_plugin_elevenlabs import elevenlabs_plugin, ElevenLabsService
# Create the service
service = ElevenLabsService(api_key="your-api-key")
# Text-to-speech
audio_stream = await service.text_to_speech("Hello, world!")
# Speech-to-text
transcript = await service.speech_to_text(audio_file)
Configuration
| Environment Variable | Description | Default |
|---|---|---|
ELEVENLABS_API_KEY |
ElevenLabs API key | Required |
ELEVENLABS_VOICE_ID |
Voice ID for TTS | EXAVITQu4vr4xnSDxMaL |
ELEVENLABS_MODEL_ID |
TTS model ID | eleven_multilingual_v2 |
ELEVENLABS_VOICE_STABILITY |
Voice stability (0-1) | 0.5 |
ELEVENLABS_VOICE_SIMILARITY_BOOST |
Similarity boost (0-1) | 0.75 |
ELEVENLABS_OUTPUT_FORMAT |
Audio output format | mp3_44100_128 |
ELEVENLABS_STT_MODEL_ID |
STT model ID | scribe_v1 |
ELEVENLABS_STT_DIARIZE |
Enable speaker diarization | false |
License
MIT
Metadata
Release files for eliza-plugin-elevenlabs 2.0.0a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eliza_plugin_elevenlabs-2.0.0a5.tar.gz | 10.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eliza_plugin_elevenlabs-2.0.0a5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.5 kB
Release files / eliza_plugin_elevenlabs-2.0.0a5.tar.gz
| Download URL | eliza_plugin_elevenlabs-2.0.0a5.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7b99a7dae9cbf07b7508f3759320de7f1ecdb265e7277e1e3e7098000d93241
|
|
BLAKE2b-256 checksum How to use checksums |
863eea0788cf84671210b4202a8cc1f782ddddd572048d6a547a1c0fa4b219f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / eliza_plugin_elevenlabs-2.0.0a5-py3-none-any.whl
| Download URL | eliza_plugin_elevenlabs-2.0.0a5-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6462a5812d940780193f84a2493aeac6c4731169937cc9834d056ddc6cf08e9
|
|
BLAKE2b-256 checksum How to use checksums |
6d3c01ea0a5cc8955b59c28eebe20ba62790c59abec8b330d94cb1601a89710d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|