# MapleAI Image-to-Image Editor

> MapleAI Image-to-Image Editor 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).

Edits or transforms an existing image using a text prompt, supporting multiple AI models and output sizes

## Facts

- Endpoint: POST https://sol.mapleai.shop/api/v1/images/image2image?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-to-image-editor-397a5f91
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u9jrdyiqV74NtE7eP9XRq

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-to-image-editor-397a5f91 -d '<json body>'
```

Example prompt: Take this product photo I'm uploading and make the background a clean white studio setting — use gpt-image-2.5 and give me 2 versions in 1024x1024.

## When to prefer this

Choose this endpoint when you need to modify or transform an existing image using a text prompt rather than generating from scratch. It supports multiple frontier models (GPT-Image-2, GPT-Image-2.5 variants, Grok) letting you pick quality vs cost, and supports 2K resolution variants. Prefer it over text-to-image when the user has a source image they want altered, repainted, or style-transferred.

## Known failure modes

- Image exceeds 10 MB limit — request rejected
- Unsupported image format (non-PNG/JPEG/WebP) — parse error
- Invalid model enum value — validation error
- n out of range (must be 1–4) — validation error
- Payment not attached or insufficient USDC — 402 response
- Model temporarily unavailable — upstream provider error

## How this service works

Edit an image, priced per image and size

## Output

Returns edited/transformed image(s) based on the source image and prompt, in the specified size and quantity (up to 4), generated by the selected model (gpt-image-2, gpt-image-2.5, gpt-image-2.5-flare, gpt-image-2.5-sunburst, grok-imagine-image, or 2K variants).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "integer",
   "maximum": 4,
   "minimum": 1
  },
  "size": {
   "type": "string"
  },
  "image": {
   "type": "string",
   "description": "PNG, JPEG or WebP data URI, maximum 10 MB"
  },
  "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-to-image-editor-397a5f91/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)
