Mage image and video generation — one paid service for both media types, billed per artefact in USDC or EURC. No Mage account or API key required.
Mage's image and video models behind x402 micropayments, in one service. POST /image/generate turns a prompt into an image; POST /video/generate turns a prompt into a video. Both return an artifact_id in about a second; poll GET /status/{artifact_id} (free) until completed, then download GET /download/{artifact_id} (free). The curated launch set is GPT Image 2, Flux 2 and Nano Banana 2 for images, and LTX Video, MiniMax-H3 and Cherry for video. Each model runs at its Mage default profile — the only profile whose Gem cost Mage publishes before a render — and every job records the Gems Mage actually charged so the cost table can be recalibrated from measured data. Artefacts are stored for 2 hours.
Pay per call in USDC, EURC across Base, Arbitrum, Polygon, Avalanche, Ethereum, Robinhood and Arc via the x402 micropayment protocol — no subscriptions, no API keys, no wallets to configure for the caller.
| Method | Endpoint | Description | Tier |
|---|---|---|---|
POST | /image/generate | Generate an image with a curated Mage model (GPT Image 2, Flux 2 or Nano Banana 2) at its default profile. Billed from the model's Gem cost at the standard pack rate, plus chain cost; the 402 quotes the exact amount. Returns an artifact_id immediately; poll /status/{artifact_id} then download /download/{artifact_id} (both free). | premium |
POST | /video/generate | Generate a video with a curated Mage model (LTX Video, MiniMax-H3 or Cherry) at its default profile. Billed from the model's Gem cost at the standard pack rate, plus chain cost; the 402 quotes the exact amount. Returns an artifact_id immediately; poll /status/{artifact_id} then download /download/{artifact_id} (both free). | premium |
generate_imagegenerate_videoGenerate an image with the cheapest curated model
{
"prompt": "A cat walking across a rooftop at dusk, city lights behind",
"model_id": "gpt_image_2"
}Generate a short video with the cheapest curated model
{
"prompt": "A cat walking across a rooftop at dusk, slow dolly in",
"model_id": "ltx_video"
}