Lokutor API
Tools
synthesize_speech takes text (up to 1,000 characters), voice, language, speed (0.5–2.0) and steps (1–8, accepted but no effect: the current voice model runs a fixed 4). For longer text, call POST /tts/synthesize directly. Tools run exactly like the REST endpoints behind them, with the same authentication, balance checks and errors. A rejected key or a balance too low to start (billing.insufficient_balance) comes back as a tool error the assistant can read.
Add it
Create an API key in the dashboard and send it as theAuthorization header. Without a key, the five discovery tools still work.
- Claude Code
- Cursor
- VS Code
- Claude (web and desktop)
Protocol
Streamable HTTP, stateless. Every request is aPOST of one JSON-RPC message (or a batch), answered with application/json. There is no session and no server-initiated stream, so GET returns 405. Protocol revisions 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05 are supported.
Lokutor Docs
Gives an assistantsearch_lokutor and a read-only view of every page and the OpenAPI spec, so it answers from the current docs instead of from memory. No key needed.
- Claude Code
- Cursor / VS Code
- Other clients
Related
- Agent Skill: teaches a coding agent how to build with Lokutor
- OpenAPI Spec: the machine-readable API contract
llms-full.txt: the complete docs in one file