The API is in early access. If the API tab is not visible in your settings
yet, write to mage@mage.space.
Run your first request
Create a key and complete a generation from submission to result.
Get an API key
Keys are created in Settings → API and shown once.
Make a request
Every model shares the same authentication and the same request lifecycle. The JSON body depends on the model.cURL
Choose your path
Ship to production
The request lifecycle, polling, cancellation, errors, and limits.
Send images and video
URLs, data URLs, and uploads for files larger than a request body.
Pick a model
Every model with its fields, tokens, defaults, and price.
Base URL
Every endpoint lives underhttps://api.mage.space/v1. Fields, models, and endpoints are added within v1; anything that would break an existing client ships as a new version. See versioning.
Results and inputs are kept for 30 days. Download what you want to keep.

