Ludo's help documentation is available to your integration as two free tools, so an AI agent can look up how a feature works before it generates instead of guessing at parameters. This is the same documentation shown in the Ludo web app's help modal.
- Search (
searchDocs): ask a question in plain language and get back only the few sections that answer it. Start here.
- Read (
getDocs): list every document and section, or read a whole document or named sections.
MCP clients are told about both tools automatically through the server's instructions, so a well-behaved agent may search the documentation on its own before a generation. That is expected.
Cost and Limits
- Cost: none. Neither tool charges credits or queues a generation job.
- Search rate limit: 60 requests per 5 minutes and 1,000 per day.
- Read rate limit: 150 requests per 5 minutes.
- Authentication: your usual
Authorization: ApiKey YOUR_API_KEY header.
Search: Ask a Question
REST endpoint: GET https://api.ludo.ai/api/docs/search
Pass query (up to 500 characters) and, optionally, n, the maximum number of sections to return (1 to 10, default 3).
curl -G -H "Authorization: ApiKey YOUR_API_KEY" \
--data-urlencode "query=how do I choose a sprite animation mode" \
https://api.ludo.ai/api/docs/search
Response:
{ "results": [ { "doc", "label", "section", "relevance", "content" } ] }
- Results are ordered best first.
content is the section's full markdown.
doc and section can be passed straight to getDocs to read that section again.
relevance is a match score from 0 to 1. Only results scoring 0.6 or higher are returned.
- An empty
results list means the documentation does not cover the question. The response then includes a message suggesting what to try next: rephrase the question, or browse the table of contents with getDocs.
- HTTP 503 means the search is briefly unavailable. Use
getDocs instead rather than retrying in a loop.
Read: Browse or Read in Full
REST endpoint: GET https://api.ludo.ai/api/docs
The full documentation is about 281,000 characters (roughly 70,000 tokens), so it is not returned all at once.
1. Fetch the table of contents. Call with no parameters. You get every document's id, its label, and its section titles, with no section bodies.
curl -H "Authorization: ApiKey YOUR_API_KEY" \
https://api.ludo.ai/api/docs
2. Fetch only what you need. Pass a doc id and, ideally, a comma-separated sections list. Section titles are matched ignoring case, spacing and punctuation.
curl -H "Authorization: ApiKey YOUR_API_KEY" \
"https://api.ludo.ai/api/docs?doc=sprite-generator§ions=How%20to%20Choose%20the%20Sprite%20Animation%20Mode,Known%20Limitations"
Fetching a whole document without naming sections can return tens of thousands of characters, so name sections whenever you can.
Document ids: assistant, game-ideator, image-generator, project, account, faq, 3d-generator, video-generator, sprite-generator, audio-generator, api-mcp, game-asset-generation, directional-sprites, asset-toolbox.
Response:
{ "docs": [ { "id", "label", "sections": [ { "title", "content" } ] } ] }
In the table of contents, content is omitted.
- Partial matches. If only some of the section titles you asked for exist, you get those sections, plus
unmatched_sections (the titles that matched nothing) and available_sections (every valid title in that document).
- Self-correcting errors. An unknown
doc id, or a request where no section title matches, returns HTTP 400 with a message listing the valid values, so an agent can fix its request in one more call.
Important Notes
- Written for web users. The docs sometimes describe buttons and screens rather than API parameters. The substance applies to API and MCP callers, but the wording will not always match.
- Not a schema reference. Request and response fields for each tool are in the tool definitions and the API reference, not in these documents.
- Good things to look up: which sprite animation mode to choose, when to use "Generate Before / Generate After", how margins behave, which model suits a job, what a generation costs, and each generator's known limitations.