Palabra plugin for LiveKit Agents
Support for Palabra realtime Speech-to-Text and Text-to-Speech APIs, using WebSocket streaming interfaces.
See STT documentation and TTS documentation for more information.
Installation
pip install livekit-plugins-palabra
Pre-requisites
The Palabra plugin requires an API key to authenticate. You can create one at platform.palabra.ai/api-keys.
Set the API key in your .env file:
PALABRA_API_KEY=<your_palabra_api_key>
Usage
Speech-to-Text (STT)
Use Palabra STT in an AgentSession or as a standalone streaming transcription service. The spoken language is auto-detected by default:
from livekit.agents import AgentSession
from livekit.plugins import palabra
session = AgentSession(
stt=palabra.STT(),
# ... llm, tts, etc.
)
Live translation
Palabra STT can translate speech on the fly. With translate_languages set, each emitted SpeechData maps as: language/text = the translation; source_languages/source_texts = the original speech. Final transcripts arrive already in the target language, so a translating agent works without an LLM in the loop:
stt = palabra.STT(translate_languages=["es"])
Text-to-Speech (TTS)
Use Palabra TTS for real-time speech synthesis:
from livekit.plugins import palabra
session = AgentSession(
tts=palabra.TTS(
language="en",
voice_id="default_low", # or "default_high", or any Palabra voice id
speed=0.5, # 0.0-1.0; 0.5 is natural conversational pace
),
# ... stt, llm, etc.
)
The TTS streams over one persistent WebSocket session: text chunks coming from the LLM are tokenized into sentences and synthesized as they arrive, and an interruption cancels the in-flight synthesis server-side.
More information and reference
- Palabra realtime STT API
- Palabra realtime TTS API
- Palabra platform — API keys and usage
- palabra-ai Python SDK — the transport this plugin builds on
Metadata
Release files for livekit-plugins-palabra 1.8.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| livekit_plugins_palabra-1.8.9.tar.gz | 13.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| livekit_plugins_palabra-1.8.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.5 kB
Release files / livekit_plugins_palabra-1.8.9.tar.gz
| Download URL | livekit_plugins_palabra-1.8.9.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9645715ffb2522b65c3a3033cba066a5d0561e1768b4ec5f6cfe53564a61d862
|
|
BLAKE2b-256 checksum How to use checksums |
777abc5ea2428af19a6cd9a6272901fd72802944e9eed806e434f564c2275e62
|
| 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 24, 2026.
Transparency logRelease files / livekit_plugins_palabra-1.8.9-py3-none-any.whl
| Download URL | livekit_plugins_palabra-1.8.9-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b44eebea2b21dfe6cc387a65019ce0363233d7d980058b67ccb4b13b9068241
|
|
BLAKE2b-256 checksum How to use checksums |
fc7ca78e1b8be3f7a39598c1ceff798b3a6231291c0af3ce8252dd47588805c9
|
| 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 24, 2026.
Transparency logSecurity for livekit-plugins-palabra 1.8.9
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for livekit_plugins_palabra-1.8.9.tar.gz
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 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.