Run your first request
Create a key and complete a generation from submission to result.
Get an API key
Open API → API Keys, select Create API key, and name it in the popup. Copy
the one-time key, then use the quick start shown below it.
Make a request
Every model shares the same authentication, the same request lifecycle, and the same field names. The JSON body depends on the model.run goes one step further: it waits for the result and returns the finished request.
Choose your path
Ship to production
The request lifecycle, polling, cancellation, errors, and limits.
Send images, video, and audio
URLs, data URLs, and uploads for files larger than a request body.
Pick a model
Every model with its fields, tokens, defaults, and price.
SDKs and integrations
TypeScript SDK
npm install @mage-space/sdk. Typed configs for every model.Python SDK
pip install mage-space. Sync and asyncio clients.ComfyUI
Every Mage model as ComfyUI nodes. No GPU needed.
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.

