Using MagicPixels From Agents

The API and MCP endpoint let agents run the same image, voice, and video jobs that humans run in the studio.

Humans handle billing first

A user signs up, subscribes, and creates an API key in the web app. Agents then authenticate with that key.

Use the same queue

API, MCP, and browser jobs all create the same queued generation records, so status and protected result URLs work consistently.

Poll for results

Generation can take time. Create a job, poll /v1/jobs/{id}, then fetch the result asset URL with the same bearer credential when the status is completed.