# OpenAI GPT-Image-1.5 via mm.family (x402)

> OpenAI GPT-Image-1.5 via mm.family (x402) is a paid API for AI agents from openai.mm.family, paid per call via x402, $0.00559/call, status unknown (last checked 2026-10-02).

Generates images from text prompts using OpenAI's gpt-image-1.5 model, paid per call in USDC via x402 protocol, returning base64-encoded PNG/JPEG/WebP output.

## Facts

- Endpoint: POST https://openai.mm.family/x402/v1/models/gpt-image-1.5/images/generations?utm_source=zero.xyz
- Price: $0.00559/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openai-gpt-image-1-5-via-mm-family-x402-e39d4a84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JIF0uIH3aXLjh8xWvaS8_

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 openai-gpt-image-1-5-via-mm-family-x402-e39d4a84 -d '<json body>'
```

Example prompt: Generate an image of a serene Japanese garden at sunrise with cherry blossoms reflecting in a koi pond — use high quality, 1024x1024 size, and return it as a PNG.

## When to prefer this

Choose this endpoint when you specifically need OpenAI's gpt-image-1.5 model with x402 USDC micropayment support, want fine-grained quality control (low/medium/high) with predictable per-call token costs, or need to integrate image generation into an autonomous agent pipeline without OAuth or API keys — just pay-per-use in stablecoins. Prefer over chatgpt-image-latest when you want a stable, versioned model rather than OpenAI's rolling latest release.

## Known failure modes

- Prompt rejected by moderation — returns error if content violates OpenAI policy
- 'auto' quality value refused — must explicitly pass 'low', 'medium', or 'high'
- Payment failure — x402 payment not completed or insufficient USDC balance
- Invalid size or format enum value — returns 400 error
- Model field mismatch — must specify 'gpt-image-1.5' exactly

## How this service works

gpt-image-1.5: OpenAI GPT Image 1.5 image generation, paid per call in USDC. OpenAI list $32 per 1M image tokens (1024x1024: low 272, medium 1056, high 4160 tokens), text in $5 per 1M, plus $0.0005 (Base) or $0.0005 (Solana) per call. Send size and quality (auto is refused); omitted means 1024x1024 medium. Returns b64_json. Rates: https://openai.mm.family/x402/pricing

## Output

Returns a JSON object with a `data` array containing a `b64_json` field (base64-encoded image), plus metadata including `size`, `quality`, `output_format`, `created` timestamp, and `usage` token counts (input_tokens, output_tokens, total_tokens).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "integer"
  },
  "size": {
   "type": "string"
  },
  "model": {
   "enum": [
    "gpt-image-1.5"
   ],
   "type": "string"
  },
  "prompt": {
   "type": "string"
  },
  "quality": {
   "enum": [
    "low",
    "medium",
    "high"
   ],
   "type": "string"
  },
  "background": {
   "type": "string"
  },
  "moderation": {
   "enum": [
    "auto"
   ],
   "type": "string"
  },
  "output_format": {
   "enum": [
    "png",
    "jpeg",
    "webp"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "b64_json": "<base64 png>"
   }
  ],
  "size": "1024x1024",
  "usage": {
   "input_tokens": 12,
   "total_tokens": 208,
   "output_tokens": 196
  },
  "created": 1,
  "quality": "low",
  "output_format": "png"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openai-gpt-image-1-5-via-mm-family-x402-e39d4a84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openai.mm.family](https://www.zero.xyz/host/openai.mm.family/llms.txt)
