# Maximus Media House — AI Agent API (x402) — full reference Full agent-facing reference for the paid x402 surface. The short index is `GET https://agent.maximusmediahouse.com/llms.txt`. ## Products (pay per call) - chat — `POST https://agent.maximusmediahouse.com/v1/chat/completions` — $0.003 flat per call (qwen3.5). - image generation — `POST https://agent.maximusmediahouse.com/v1/images/generations` — $0.01 (flux-2-klein-4b). - image edit — `POST https://agent.maximusmediahouse.com/v1/images/edits` — $0.02 (qwen-image-edit-2511). - image generation (premium) — model `flux3-klein` — $0.03. - video — model `wan2.2-i2v-480p` — $0.60 per clip, PREPAID-only; top up at `POST https://agent.maximusmediahouse.com/v1/subscription`. ## Recurring tier: prepaid balance Prepaid balance funds the video rail (PREPAID-only); `POST https://agent.maximusmediahouse.com/v1/subscription` tops it up and each clip draws down the balance. - subscription balance — `GET https://agent.maximusmediahouse.com/v1/subscription/balance?wallet=0x…` — returns `remaining_calls` (one clip = one prepaid call) and `remaining_seconds`. This prepaid pack does not auto-renew: it is a one-time top-up, the spend stops when the balance reaches zero, and you top up again only when you choose to. When the balance reaches zero, an eligible route returns HTTP 402 with error 'insufficient_prepaid_balance' and you can top up again at POST /v1/subscription. ## Paid-response billing Every PAID response carries a machine-readable `billing` block: `{"payment_source": "per_call_x402", "prepaid": false, "remaining_calls": null, "renewal": "none", "auto_renew": false}`. `remaining_calls` is `null` (never a misleading `0`) when the caller is not on a prepaid balance. Read it off the response you just paid for — no second call needed. `GET https://agent.maximusmediahouse.com/v1/pricing` carries the same `renewal`/`auto_renew`/`contract` metadata, and every unpaid 402 body repeats the contract in its `prepaid_pack` field. ## Discovery (free, never charged) - x402 discovery: `https://agent.maximusmediahouse.com/.well-known/x402` - pricing: `https://agent.maximusmediahouse.com/v1/pricing` - OpenAPI: `https://agent.maximusmediahouse.com/openapi.json` - MCP: `https://agent.maximusmediahouse.com/mcp` ## Sibling surface — consumer credit packs (human checkout) This host is the per-call agent rail. A sibling host runs the human-facing console that sells generation CREDITS for USDC (Native) on Base: one credit = one second, and the SAME balance funds image AND video generation. Buy at `https://gen.maximusmediahouse.com/buy`: starter_5 $5 → 125 s · creator_15 $15 → 375 s · studio_50 $50 → 1250 s ($0.04/sec; a 5 s clip = $0.20). NOTE the two surfaces are priced differently: this agent rail's video is a FIXED 3.06 s clip (49 frames @16fps) at the price in the price card above, prepaid via `POST /v1/subscription`; the console bills per second. Payment is verified on-chain before credits are added. Public catalogue / quote: `GET https://gen.maximusmediahouse.com/api/billing/packs`, `GET https://gen.maximusmediahouse.com/api/billing/usdc/quote`; create an intent `POST https://gen.maximusmediahouse.com/api/billing/usdc/intent` and settle it `POST https://gen.maximusmediahouse.com/api/billing/usdc/status` (both signed-in).