Skip to main content

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

Metadata

Release files for livekit-plugins-palabra 1.8.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for livekit-plugins-palabra 1.8.13
File Size Uploaded Provenance Actions
livekit_plugins_palabra-1.8.13.tar.gz 13.0 kB With provenance Details for livekit_plugins_palabra-1.8.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for livekit-plugins-palabra 1.8.13
File Interpreter ABI Platform Actions
livekit_plugins_palabra-1.8.13-py3-none-any.whl Python 3 none any Details for livekit_plugins_palabra-1.8.13-py3-none-any.whl

Total release size: 29.6 kB

Release files / livekit_plugins_palabra-1.8.13.tar.gz

Download URL livekit_plugins_palabra-1.8.13.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9de7374fa308d50571ff123a3ecba4075cbb9749642d7bd46dbc3ab31815dd97
BLAKE2b-256 checksum
How to use checksums
181975f9542501bc9f7f260f395b7e8b5ae4bbc18ade0ea8e6375a467eb80bcd
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 Nov 18, 2026.

Transparency log

Release files / livekit_plugins_palabra-1.8.13-py3-none-any.whl

Download URL livekit_plugins_palabra-1.8.13-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08f9b4f30a9b6fe2430f6a13921f381dc1985e109baa472026a4597e9de52924
BLAKE2b-256 checksum
How to use checksums
23c72674af7f7a7121a98a39c1cd0504211e32ffe87d1ea89e3d321fd8a3a6f4
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 Nov 18, 2026.

Transparency log

Security for livekit-plugins-palabra 1.8.13

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for livekit_plugins_palabra-1.8.13.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 Nov 18, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page