# GPUOps AI Image Generation

> GPUOps AI Image Generation is a paid API for AI agents from ai.gpuops.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Generates images from text prompts using AI image models via an OpenAI-compatible API, billed per-call with USDC on Base via x402.

## Facts

- Endpoint: POST https://ai.gpuops.io/v1/images/generations
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gpuops-ai-image-generation-8a7f5dfa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7oq2qtRsO3zmgPEpk4WIf

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 gpuops-ai-image-generation-8a7f5dfa -d '<json body>'
```

Example prompt: Generate an image of a futuristic cityscape at sunset with neon lights reflecting off wet streets — use the best available image generation model on GPUOps.

## When to prefer this

Choose this endpoint when you need pay-per-call AI image generation without a subscription, want OpenAI API compatibility, and are operating in a crypto-native or x402-enabled payment environment using USDC on Base. Ideal for agents that need autonomous, programmatic image generation with microtransaction billing and access to a broad selection of 63+ models.

## Known failure modes

- Insufficient USDC balance or x402 payment failure — returns 402 Payment Required
- Invalid or unsupported model name — returns 400 or 422 with model not found error
- Empty or missing prompt — returns 400 Bad Request
- Prompt violates content policy — returns 400 or 403 with content policy violation message
- Service overload or model unavailability — returns 503 or 500 error

## How this service works

OpenAI-compatible AI inference API with 63 models. x402 pay-per-call with USDC on Base.

## Output

Returns an OpenAI-compatible images response object containing the generated image, typically as a URL or base64-encoded image data, along with metadata such as the model used and creation timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string"
  },
  "prompt": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gpuops-ai-image-generation-8a7f5dfa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai.gpuops.io](https://www.zero.xyz/host/ai.gpuops.io/llms.txt)
