# GEDX402 Lucid Origin Image Generator

> GEDX402 Lucid Origin Image Generator is a paid API for AI agents from ged-x402-image.jvalamis.workers.dev, paid per call via x402, $0.074/call, status unknown (last checked 2026-09-15).

Generates an AI image using the 'lucid-origin' model on Cloudflare Workers AI, paid per-call in USDC via x402 protocol with no API key required.

## Facts

- Endpoint: GET https://ged-x402-image.jvalamis.workers.dev/v1/image/lucid-origin
- Price: $0.074/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-lucid-origin-image-generator-a66e58b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_052hagi_lyn3rl7anEJbA

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-generator-a66e58b8
```

Example prompt: Generate a photorealistic image of a misty mountain forest at sunrise, 1024 pixels wide and 768 pixels tall, using 15 diffusion steps for high quality — pay with USDC on Base via x402.

## When to prefer this

Choose this endpoint when you need a no-signup, API-key-free image generation service that accepts crypto micropayments via x402 protocol, specifically using the lucid-origin model on Cloudflare Workers AI. Ideal for agents operating in Web3 environments that already handle USDC on Base, Polygon, Arbitrum, World, or Solana.

## Known failure modes

- Payment not received or USDC transaction failed — returns HTTP 402 Payment Required
- Invalid prompt or missing prompt field — returns 400 Bad Request
- num_steps exceeds maximum of 20 — returns 400 with validation error
- Requested dimensions not supported by the model — may produce unexpected output or error
- Worker overload or cold start — may return 503 Service Unavailable
- Network timeout on slow diffusion — partial or no response

## 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 single 'image' field with a base64-encoded string of the generated image, ready to be decoded and rendered.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "width": {
   "type": "integer"
  },
  "height": {
   "type": "integer"
  },
  "prompt": {
   "type": "string"
  },
  "num_steps": {
   "type": "integer"
  }
 }
}
```

## 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-generator-a66e58b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ged-x402-image.jvalamis.workers.dev](https://www.zero.xyz/host/ged-x402-image.jvalamis.workers.dev/llms.txt)
