# GEDX402 Lucid Origin Image Generation

> GEDX402 Lucid Origin Image Generation is a paid API for AI agents from image.gedx402.com, paid per call via x402, $0.074/call, status unknown (last checked 2026-09-14).

Generates an image from a text prompt using the Lucid Origin diffusion model, returning base64-encoded image data, paid per-call with USDC via x402.

## Facts

- Endpoint: GET https://image.gedx402.com/v1/image/lucid-origin
- Price: $0.074/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-lucid-origin-image-generation-1ad9bdfd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VE8fGlZ_GBYXp3D5vG3Dy

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-lucid-origin-image-generation-1ad9bdfd
```

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

## When to prefer this

Choose this endpoint when you need to generate images using the Lucid Origin diffusion model specifically, want to pay per-call with USDC on Base, Polygon, Arbitrum, World, or Solana without managing API keys, and prefer a crypto-native x402 payment flow over subscription-based image APIs.

## Known failure modes

- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Invalid prompt (empty or null) may return a 400 Bad Request
- num_steps exceeds maximum of 20 returns validation error
- Width or height values unsupported by model may be ignored or cause error
- Network timeout if generation takes too long under heavy load

## 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 string of the generated image under the key 'image', ready to be decoded and displayed or saved as an image file.

## 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-lucid-origin-image-generation-1ad9bdfd/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)
