Community-maintained integration. This service is built and maintained by lokutor-ai. Pipecat does not test or officially support it. Please report issues and request changes on the source repository. Learn more about community integrations.
Overview
LokutorTTSService generates speech from text using Lokutor’s
text-to-speech API over a persistent WebSocket connection. Lokutor runs on
CPU-only infrastructure and supports many languages (see the
Lokutor docs for the current list). The text can
carry expression tags such as [laugh], [sigh] and [breath], which the
service passes through unchanged. The service outputs TTSAudioRawFrames.
For speech-to-text, see Lokutor STT
in the same package.
Source Repository
Source code, examples, and issues for the Lokutor integration
PyPI Package
The
pipecat-lokutor package on PyPILokutor App
Get an API key and test available voices
Documentation
Lokutor API and service documentation
Installation
This is a community-maintained package distributed separately frompipecat-ai:
Prerequisites
Lokutor Account Setup
Before using the Lokutor TTS service, you need:- Lokutor Account: Sign up and get an API key at app.lokutor.com
- API Key: Used to authenticate the WebSocket connection
Required Environment Variables
LOKUTOR_API_KEY: Your Lokutor API key (used by the example to populateapi_key)
Configuration
Identifier of the voice to use. Browse and test voices at
app.lokutor.com.
Runtime input parameters for generation. See Input
Parameters below.
Input Parameters
Runtime-configurable parameters passed via theparams constructor argument
using LokutorTTSService.InputParams(...).
Available parameters and defaults are defined by the integration. See the
source repository for the
authoritative, up-to-date list.