# OpenAI gpt-image-2.5-flare Image Generation

> OpenAI gpt-image-2.5-flare Image Generation is a paid API for AI agents from openai.mm.family, paid per call via x402, $0.003473/call, status unknown (last checked 2026-10-02).

Generates images from text prompts using OpenAI's GPT Image 2.5 Flare model, returning base64-encoded PNG/JPEG/WebP via x402 micropayment.

## Facts

- Endpoint: POST https://openai.mm.family/x402/v1/models/gpt-image-2.5-flare/images/generations?utm_source=zero.xyz
- Price: $0.003473/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-2-5-flare-image-generation-9f2b5b04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o7TijXZah09wRkiVz9AMI

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-2-5-flare-image-generation-9f2b5b04 -d '<json body>'
```

Example prompt: Generate a high-quality 1024x1024 image of a futuristic cityscape at sunset with neon lights reflecting off wet streets — use high quality and return it as a PNG.

## When to prefer this

Choose this endpoint when you need GPT Image 2.5 Flare specifically — OpenAI's latest flare-generation image model — accessible via x402 USDC micropayment without a direct OpenAI API key. Prefer it for agentic workflows that pay-per-call in USDC on Base or Solana, or when you need fine-grained quality control (low/medium/high/xhigh/max) and multiple output formats (PNG, JPEG, WebP). It is distinct from gpt-image-1-mini or gpt-image-1.5 in model capability and pricing tier.

## Known failure modes

- 'auto' quality is explicitly refused — must specify low, medium, high, xhigh, or max
- Omitting size and quality defaults to 1024x1024 medium — may cause unexpected token costs
- Invalid or missing prompt returns a 400-level error
- Payment failure or insufficient USDC balance returns a 402 Payment Required
- Prompt violates content moderation policy and is rejected
- Unsupported output_format value causes schema validation error

## How this service works

gpt-image-2.5-flare: OpenAI GPT Image 2.5 Flare image generation, paid per call in USDC. OpenAI list $30 per 1M image tokens (1024x1024: low 196, medium 439, high 1756 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 containing an array of base64-encoded images (b64_json), along with metadata including the image size, quality level, output format, creation timestamp, and token usage breakdown (input tokens, output tokens, total tokens).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "integer"
  },
  "size": {
   "type": "string"
  },
  "model": {
   "enum": [
    "gpt-image-2.5-flare"
   ],
   "type": "string"
  },
  "prompt": {
   "type": "string"
  },
  "quality": {
   "enum": [
    "low",
    "medium",
    "high",
    "xhigh",
    "max"
   ],
   "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-2-5-flare-image-generation-9f2b5b04/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)
