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.7
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_palabra-1.8.7.tar.gz | 13.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| livekit_plugins_palabra-1.8.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.5 kB
Release files / livekit_plugins_palabra-1.8.7.tar.gz
| Download URL | livekit_plugins_palabra-1.8.7.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c720c7a7255fdd7ecb41a502970e5a400835ba0cdafaf280d0456ef2a5885ae
|
|
BLAKE2b-256 checksum How to use checksums |
8c79efd6687c5635d55091778309d2ad2430d819004772c9fb1419dae02c0a98
|
| 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 14, 2026.
Transparency logRelease files / livekit_plugins_palabra-1.8.7-py3-none-any.whl
| Download URL | livekit_plugins_palabra-1.8.7-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb609919c8cbfff648f81a0c685aa9b01601c9fe6ab595e343ed5e17842e450f
|
|
BLAKE2b-256 checksum How to use checksums |
1cf5249813141ca5e33985d636f1b746d37893b191df1da61990df0d6d5fc42b
|
| 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 14, 2026.
Transparency log