You authenticate with an API key. Create one in the Melius app under Team settings → Integrations. See Authentication.
Base URL
x-team-id header — it defaults to the team your key belongs to:
How generations work
A generation in Melius is a canvas node — there’s no separate “generate” path, so the API stays consistent with the app. You create a node, start a run, and poll the run until it finishes:status is finished (or failed).
Get the result
When a run finishes, fetch the URL of the generated file with one more call:Rate limits and credits
- Credits. Generations consume credits from the team you act on, exactly like the app. The credit cost of each model is shown in
GET /generation/models. - Rate limits. API requests are subject to a monthly per-plan request limit. When you exceed it, requests return
429with aRetry-Afterheader. Enterprise plans are unlimited.
Next steps
Quickstart
Create a key and run your first generation end to end.
Authentication
API keys, the
x-team-id header, and how keys are scoped.