Installation
Speech to text
pipecat-lokutor 0.3.0 adds LokutorSTTService, which streams audio to the /ws/stt WebSocket and returns interim and final transcripts in the nine supported languages. The pipeline must run at 16 kHz.
end message, so the service sends end when Pipecat’s VAD reports that the user stopped speaking and reopens the socket for the next utterance. Pass finalize_on_vad_stop=False to rely on the server’s own silence timer instead. Custom vocabulary is passed as keyterms.
Usage
Full Example
A complete example using Groq STT + Groq LLM + Lokutor TTS is available in the repository.Features
- WebSocket-based streaming TTS
- Pay-per-use pricing from a prepaid balance (rate card)
- Automatic reconnection with exponential backoff
- Metrics and usage tracking
- Full Pipecat frame lifecycle management
Resources
- Repository: https://github.com/lokutor-ai/pipecat-lokutor
- PyPI: https://pypi.org/project/pipecat-lokutor/
- Pipecat Community Integrations: https://docs.pipecat.ai/server/services/community-integrations