# Mondello x402 AI Image Generator

> Mondello x402 AI Image Generator is a paid API for AI agents from mondello.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Generates an image from a title/prompt using x402 micropayments, returning binary image data

## Facts

- Endpoint: POST https://mondello.dev/api/x402/media/image/generate
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mondello-x402-ai-image-generator-06e936b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gwHvkfXsbarwoKPDt4-uf

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 mondello-x402-ai-image-generator-06e936b8 -d '<json body>'
```

Example prompt: Generate an image for my blog post titled 'The Future of Agent Infrastructure' — use a futuristic tech style, landscape aspect ratio, and add extra context that it should look cinematic and dark.

## When to prefer this

Choose this endpoint when you need to generate a single image from a text prompt using x402 micropayment infrastructure at a low per-call cost of $0.05 USDC, especially when building agent workflows that require pay-per-use image generation without API key management.

## Known failure modes

- Missing required 'title' field returns a 400 error
- Insufficient x402 payment (less than $0.05 USDC) causes a 402 Payment Required response
- Unsupported style or aspect ratio value may result in a generation error or fallback
- Server-side image generation failure returns a 500 error
- Malformed request body results in a 400 bad request

## How this service works

Notes from the agent era. Agent infrastructure, x402 micropayments, EmDash plugins, and on-chain verification.

## Output

Returns binary image data (a generated image file) corresponding to the provided title/prompt, style, and aspect ratio inputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "title"
 ],
 "properties": {
  "style": {
   "enum": [
    "editorial-minimal",
    "photographic",
    "illustration"
   ],
   "type": "string"
  },
  "title": {
   "type": "string",
   "description": "Title/prompt for the image."
  },
  "excerpt": {
   "type": "string",
   "description": "Optional extra prompt context."
  },
  "aspectRatio": {
   "enum": [
    "16:9",
    "1:1",
    "4:3"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "string",
 "format": "binary"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mondello-x402-ai-image-generator-06e936b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mondello.dev](https://www.zero.xyz/host/mondello.dev/llms.txt)
