# GEDX402 Flux-2-Klein-9B Image Generator

> GEDX402 Flux-2-Klein-9B Image Generator is a paid API for AI agents from image.gedx402.com, paid per call via x402, $0.085/call, status unknown (last checked 2026-09-13).

Generates images from a text prompt using the Flux-2-Klein-9B diffusion model, paid per-call with USDC via x402 protocol — no API key required.

## Facts

- Endpoint: GET https://image.gedx402.com/v1/image/flux-2-klein-9b
- Price: $0.085/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-flux-2-klein-9b-image-generator-eba58251
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zndZDFpEmB0k4ZSHFqBVZ

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 gedx402-flux-2-klein-9b-image-generator-eba58251
```

Example prompt: Generate an image of a misty Japanese mountain village at sunrise, 1024 pixels wide by 768 pixels tall, using 15 diffusion steps for high quality.

## When to prefer this

Choose this endpoint when you need to generate images using the Flux-2-Klein-9B model specifically, want to pay per-call with USDC on Base, Polygon, Arbitrum, World, or Solana without any API key registration, and need a lightweight crypto-native image generation workflow via the x402 payment protocol.

## Known failure modes

- Payment not received or insufficient USDC balance — returns 402 Payment Required
- Prompt missing from request — returns 400 Bad Request
- num_steps out of range (must be 1–20) — returns 400 validation error
- Width or height not supported by the model — may return 400 or produce unexpected output
- Model inference timeout — may return 504 or empty response
- Unsupported blockchain network provided for payment — payment not accepted

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

A JSON object containing a base64-encoded image string (key: 'image') representing the AI-generated image produced by the Flux-2-Klein-9B model.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "width": {
   "type": "integer",
   "description": "Output width in pixels when supported by the model."
  },
  "height": {
   "type": "integer",
   "description": "Output height in pixels when supported by the model."
  },
  "prompt": {
   "type": "string",
   "description": "Natural-language description of the image to generate."
  },
  "num_steps": {
   "type": "integer",
   "maximum": 20,
   "minimum": 1,
   "description": "Diffusion steps (quality vs speed)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "image": "<base64>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-flux-2-klein-9b-image-generator-eba58251/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from image.gedx402.com](https://www.zero.xyz/host/image.gedx402.com/llms.txt)
