Installation
- JavaScript
- Python
Get an API key
Sign up at app.lokutor.com and create an API key.Two APIs
Text-to-Speech
Stream synthesized speech from text.
Voice Agent
Full-duplex conversations with microphone and speaker.
Tool Calling
Give your agent tools to interact with external systems.
Visemes
Lip-sync animation with real-time mouth shape data.
Platform notes
- Browser: AudioContext and microphone require a user gesture (button click). See Browser Setup.
- Node.js: Requires
speakerandnode-record-lpcm16for audio I/O. See Node.js Setup. - Python: Audio I/O uses
pyaudiounder the hood (installed automatically as a dependency).