REST API
Generate game assets from your own app, game server or pipeline.
Included with the Pro and Studio plans. See what a generation costs
Set up in 3 steps
Subscribe to Pro or Studio
API and MCP access is included on the Pro and Studio plans.
Get Your API Key
Log in at app.ludo.ai, open API Keys from the sidebar or the user menu, name your key and click Create key. Copy it right away: it is shown only once.
Call the API
Send requests to https://api.ludo.ai/api/ with the Authorization: ApiKey YOUR_API_KEY header.
REST API
Build custom integrations with Ludo.ai using our comprehensive REST API. Generate game assets, animate sprites programmatically, and integrate AI-powered asset creation into your pipeline. Full API reference.
request_id returns the existing job instead of charging twiceX-Ludo-Job-Id header, so a dropped connection never loses a generationAsync Generation
Generations run as jobs by default, so your scripts never have to hold a connection open:
- Send a generation request as usual and get an instant
202with a job id. - Fetch the result with
GET /assets/jobs/{id}?wait=30: the call waits up to 30 seconds and returns the moment your generation finishes. - List recent jobs with
GET /assets/jobs, or cancel a queued one withDELETE /assets/jobs/{id}(credits refunded).
"async": false to a request body, but new integrations should use jobs.Generation History
GET /assets/generations lists everything you have generated: filter by type, search by text, and choose the source (api, web, or all), paginated newest first.
Build with Ludo from your own code
Plug game-asset generation into your app, server or pipeline.
