ElevenLabs plugin for LiveKit Agents
Support for voice synthesis with ElevenLabs.
See https://docs.livekit.io/agents/integrations/tts/elevenlabs/ for more information.
Installation
pip install livekit-plugins-elevenlabs
Pre-requisites
You'll need an API key from ElevenLabs. It can be set as an environment variable: ELEVEN_API_KEY
Realtime speech-to-text audio chunks
Configure the outgoing audio chunk duration when creating the STT instance:
from livekit.plugins import elevenlabs
stt = elevenlabs.STT(
model="scribe_v2_realtime",
audio_chunk_duration_ms=100,
)
audio_chunk_duration_ms accepts a positive integer in milliseconds and defaults
to 50. At 100 ms, continuous audio produces approximately 10 audio messages per
second instead of 20, at the cost of up to 50 ms additional buffering. Larger
chunks do not pace reconnect backlogs or guarantee that provider queue errors
are avoided. Flushes send any remaining partial chunk before the commit.
This option applies only to realtime STT and is set at construction time.
Metadata
Release files for livekit-plugins-elevenlabs 1.8.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| livekit_plugins_elevenlabs-1.8.5.tar.gz | 24.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| livekit_plugins_elevenlabs-1.8.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.8 kB
Release files / livekit_plugins_elevenlabs-1.8.5.tar.gz
| Download URL | livekit_plugins_elevenlabs-1.8.5.tar.gz |
|---|---|
| Size | 24.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e071815ac505bbe103042f6e48fd68f187e6c5d2e0340172cb767eef1724240f
|
|
BLAKE2b-256 checksum How to use checksums |
0c16a461060984c4b2527d9e731c2c9ad65323d8cf3aca3fe04314fff31e4b35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logRelease files / livekit_plugins_elevenlabs-1.8.5-py3-none-any.whl
| Download URL | livekit_plugins_elevenlabs-1.8.5-py3-none-any.whl |
|---|---|
| Size | 26.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70c4a7d6c3043ed1ec08d2b8c57eecad4f619f1c2d9444e298b4052fbe847df9
|
|
BLAKE2b-256 checksum How to use checksums |
01151de81c7f18b7c7d4576985d4bbdbbda058dca3340c16236a14d9e7307e79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency log