Lokutor API
Tools
synthesize_speech requires text (up to 1,000 characters) and voice (a slot such as F1, or one of your clone_… ids), and takes an optional language. It also accepts speed (0.5–2.0) and steps (1–8): accepted for compatibility; no effect on versa-2.0. 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 asAuthorization: Bearer <key> (an X-API-Key header also works). 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