# imgzen GPT Image 1 Generator

> imgzen GPT Image 1 Generator is a paid API for AI agents from api.imgzen.dev, paid per call via x402, $0.1/call, status down (last checked 2026-10-12, last successful call 2026-05-08).

Generates or edits high-quality images using OpenAI's GPT Image 1 model via a pay-per-call API at $0.10/image

## Facts

- Endpoint: POST https://api.imgzen.dev/v1/models/gpt-image-1/generate?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: down
- Last checked: 2026-10-12
- Last successful call: 2026-05-08
- Success rate: 36% of calls made through Zero
- Rating: 2.5 / 5 from 2 reviews
- Activations on Zero: 12
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-imgzen-dev-a55d198a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QghkwdNwS0z8rLR79NK9p

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 api-imgzen-dev-a55d198a -d '<json body>'
```

Example prompt: Generate a vivid, high-quality square PNG image of a futuristic cityscape at night with neon reflections on wet streets — use GPT Image 1 with a transparent background.

## When to prefer this

Choose this endpoint when you need OpenAI GPT Image 1 quality specifically, want fine-grained control over style (vivid vs natural), background transparency, aspect ratio, and output format, and are comfortable paying $0.10/image via x402 USDC. Prefer over sibling Gemini endpoints when OpenAI's rendering style is desired. Use over GPT Image 1.5 when the latest OpenAI model is not required and cost parity is acceptable.

## Known failure modes

- Invalid or missing prompt returns an error status
- Reference image URL is unreachable or malformed — generation fails
- More than 5 reference images provided — schema validation error
- Unsupported enum value for style, quality, background, aspect_ratio, or output_format — validation error
- Payment failure via x402 protocol — request not processed
- Server-side model error or timeout — status error with no output URL

## How this service works

imgzen — GPT Image 1, OpenAI high quality — $0.100/image

## Output

Returns a JSON object containing the URL of the generated image, the model and provider used, generation time in milliseconds, and payment confirmation details including method, amount, and currency.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [],
 "properties": {
  "image": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 5,
   "description": "Optional reference image(s) for editing (max 5), supports URL and base64"
  },
  "style": {
   "enum": [
    "vivid",
    "natural"
   ],
   "type": "string",
   "default": "vivid",
   "description": "Image style"
  },
  "prompt": {
   "type": "string",
   "description": "Text prompt describing the image to generate or edit"
  },
  "quality": {
   "enum": [
    "low",
    "medium",
    "high"
   ],
   "type": "string",
   "default": "high",
   "description": "Output quality: low, medium, high"
  },
  "background": {
   "enum": [
    "transparent",
    "opaque",
    "auto"
   ],
   "type": "string",
   "default": "auto",
   "description": "Background type"
  },
  "aspect_ratio": {
   "enum": [
    "1:1",
    "2:3",
    "3:2"
   ],
   "type": "string",
   "default": "1:1",
   "description": "Image aspect ratio"
  },
  "output_format": {
   "enum": [
    "png",
    "webp",
    "jpeg"
   ],
   "type": "string",
   "default": "png",
   "description": "Output image format"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "status",
  "output",
  "payment"
 ],
 "properties": {
  "output": {
   "type": "object",
   "required": [
    "url",
    "provider",
    "model",
    "duration_ms"
   ],
   "properties": {
    "url": {
     "type": "string"
    },
    "model": {
     "type": "string"
    },
    "provider": {
     "type": "string"
    },
    "duration_ms": {
     "type": "number"
    }
   }
  },
  "status": {
   "type": "string"
  },
  "payment": {
   "type": "object",
   "required": [
    "method",
    "amount",
    "currency"
   ],
   "properties": {
    "amount": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "currency": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-imgzen-dev-a55d198a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.imgzen.dev](https://www.zero.xyz/host/api.imgzen.dev/llms.txt)
