# Maximus Media House AI Image Generation

> Maximus Media House AI Image Generation is a paid API for AI agents from agent.maximusmediahouse.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-31).

Generates images from text prompts using Flux model variants, returning base64 or URL output

## Facts

- Endpoint: POST https://agent.maximusmediahouse.com/v1/images/generations?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maximus-media-house-ai-image-generation-dd9a7549
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vaJ4zUxCvXuhK6yLbU2_4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability maximus-media-house-ai-image-generation-dd9a7549 -d '<json body>'
```

Example prompt: Generate a photorealistic image of a misty mountain forest at sunrise, 1024x1024, using the flux3-klein premium model, and give me the result as a base64 image.

## When to prefer this

Choose this endpoint when you need fast, affordable AI image generation using Flux models with flexible output formats (base64 or URL), support for reference images, and deterministic seeding. The flux-2-klein-4b tier at $0.01/call is ideal for high-volume or draft-quality generation, while flux3-klein at $0.03/call offers premium house-quality output. Prefer this over generic OpenAI image endpoints when you want Flux-native quality at pay-per-call pricing via x402.

## Known failure modes

- Prompt too long (over 1200 characters) returns validation error
- Invalid model name returns enum validation failure
- n exceeds 4 returns max exceeded error
- Invalid size value outside allowed enum returns schema error
- SSRF-guarded reference image URLs that are blocked return fetch error
- Payment failure via x402 protocol returns 402 Payment Required

## Output

Returns generated image data either as a base64-encoded JSON payload or as a URL pointing to the generated image, depending on the response_format parameter. Up to 4 images can be returned per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "model",
      "prompt"
     ],
     "properties": {
      "n": {
       "type": "integer",
       "default": 1,
       "maximum": 4,
       "minimum": 1,
       "description": "Number of images (server caps at 4)."
      },
      "refs": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "maxItems": 4,
       "description": "Optional reference image URLs (SSRF-guarded)."
      },
      "seed": {
       "type": "integer",
       "maximum": 4294967295,
       "minimum": 0,
       "description": "Optional deterministic seed."
      },
      "size": {
       "enum": [
        "1024x1024",
        "768x768",
        "512x512"
       ],
       "type": "string",
       "default": "1024x1024"
      },
      "model": {
       "enum": [
        "flux3-klein",
        "flux-2-klein-4b"
       ],
       "type": "string",
       "description": "flux3-klein ($0.03, premium house-quality) or flux-2-klein-4b ($0.01, fast/cheap)."
      },
      "prompt": {
       "type": "string",
       "maxLength": 1200,
       "minLength": 1,
       "description": "Text prompt describing the image to generate."
      },
      "response_format": {
       "enum": [
        "b64_json",
        "url"
       ],
       "type": "string",
       "default": "b64_json"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maximus-media-house-ai-image-generation-dd9a7549/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.maximusmediahouse.com](https://www.zero.xyz/host/agent.maximusmediahouse.com/llms.txt)
