# Maximus Media House Image Edit API

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

Edits or transforms an existing image based on a text instruction using the Qwen image-editing model, returning a modified image in base64 or URL format

## Facts

- Endpoint: POST https://agent.maximusmediahouse.com/v1/images/edits?utm_source=zero.xyz
- Price: $0.02/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-image-edit-api-43d52c99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CO7oYlrbkYovaQBLbl5jL

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-image-edit-api-43d52c99 -d '<json body>'
```

Example prompt: Take this product photo (https://example.com/shirt.png) and edit it to change the shirt color to navy blue and add a subtle shadow beneath it, output as a 1024x1024 image.

## When to prefer this

Choose this endpoint when you need instruction-based image editing (not generation from scratch) using the Qwen image-edit model, with flexible input via URL or base64 and output in base64 or URL format. Ideal for agents building media pipelines, e-commerce photo editing workflows, or creative tools that need to modify existing images on a per-call pay-as-you-go basis ($0.02 USDC per call) without a subscription.

## Known failure modes

- Invalid or inaccessible image URL (SSRF guard blocks private/internal URLs)
- Both image and image_url provided simultaneously — only one is accepted
- Image too large or in unsupported format
- Prompt exceeds 1200 character limit
- Seed value out of range (must be 0–4294967295)
- Payment failure or insufficient USDC balance (x402 protocol)
- Model unavailable or rate limit exceeded
- Invalid size enum value provided

## Output

Returns an object containing the edited image either as a base64-encoded JSON string (b64_json) or a publicly accessible URL, depending on the response_format parameter chosen. The image reflects the modifications described in the prompt while preserving the source image's identity and composition.

## 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": {
      "seed": {
       "type": "integer",
       "maximum": 4294967295,
       "minimum": 0
      },
      "size": {
       "enum": [
        "1024x1024",
        "768x768",
        "512x512"
       ],
       "type": "string",
       "default": "1024x1024"
      },
      "image": {
       "type": "string",
       "description": "Source image as base64 PNG/JPEG (no data: prefix)."
      },
      "model": {
       "enum": [
        "qwen-image-edit-2511"
       ],
       "type": "string"
      },
      "prompt": {
       "type": "string",
       "maxLength": 1200,
       "minLength": 1,
       "description": "Instruction applied to the source image (identity/composition preserved)."
      },
      "image_url": {
       "type": "string",
       "format": "uri",
       "description": "Public https URL of the source image (SSRF-guarded). Send exactly one of image / image_url."
      },
      "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-image-edit-api-43d52c99/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)
