# MapleAI Image Generation

> MapleAI Image Generation is a paid API for AI agents from sol.mapleai.shop, paid per call via x402, $0.0216/call, status unknown (last checked 2026-10-02).

Generates images from a text prompt using selectable AI models, priced per image and size

## Facts

- Endpoint: POST https://sol.mapleai.shop/api/v1/images/generations?utm_source=zero.xyz
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mapleai-image-generation-9ddd5fcf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bkFSzWKhkZUukNK6vdygl

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 mapleai-image-generation-9ddd5fcf -d '<json body>'
```

Example prompt: Generate 2 images of a futuristic cityscape at night with neon lights using gpt-image-2.5, in 1024x1024 size.

## When to prefer this

Choose this endpoint when you need to generate images from text prompts with a choice of multiple frontier models (GPT-Image-2, GPT-Image-2.5, Grok) including high-resolution 2K variants, paid per-image via x402 micropayments with no subscription required. Prefer it over hosted OpenAI directly when you want pay-per-call crypto-native billing.

## Known failure modes

- Invalid or unsupported model name returns a validation error
- Image count exceeds maximum of 4 returns a 400 error
- Unsupported or invalid size string returns a bad request error
- Payment failure or insufficient USDC balance returns a 402 Payment Required
- Empty or missing prompt returns a validation error
- Prompt violates content policy and is rejected

## How this service works

Generate images, priced per image and size

## Output

Returns one or more generated images (as URLs or base64 data) produced by the selected AI model based on the provided text prompt, number of images, and size parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "integer",
   "maximum": 4,
   "minimum": 1
  },
  "size": {
   "type": "string"
  },
  "model": {
   "enum": [
    "gpt-image-2",
    "gpt-image-2.5",
    "gpt-image-2.5-flare",
    "gpt-image-2.5-sunburst",
    "grok-imagine-image",
    "gpt-image-2-2k",
    "gpt-image-2.5-sunburst-2k"
   ],
   "type": "string"
  },
  "prompt": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mapleai-image-generation-9ddd5fcf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sol.mapleai.shop](https://www.zero.xyz/host/sol.mapleai.shop/llms.txt)
