# GEDX402 DreamShaper-8 LCM Image Generation

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

Generates images from text prompts using the DreamShaper-8 LCM diffusion model, paid per-call with USDC via x402 protocol

## Facts

- Endpoint: GET https://image.gedx402.com/v1/image/dreamshaper-8-lcm
- Price: $0.029/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-dreamshaper-8-lcm-image-generation-c81d2ee9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YksbmJ99ha7aYoRbnwquP

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-dreamshaper-8-lcm-image-generation-c81d2ee9
```

Example prompt: Generate a photorealistic image of a misty forest at sunrise, 512 pixels wide and 512 pixels tall, using 10 diffusion steps.

## When to prefer this

Choose this endpoint when you need fast DreamShaper-8 LCM image generation without managing API keys or subscriptions — ideal for agents that hold USDC on Base, Polygon, Arbitrum, World, or Solana and want pay-per-call access. Prefer it over OpenAI or Stability AI integrations when operating in a crypto-native or x402 payment context.

## Known failure modes

- Payment failure if USDC balance is insufficient or x402 payment header is malformed
- Invalid prompt returns a 400 error
- width or height values outside model-supported ranges may be ignored or cause errors
- num_steps exceeding maximum of 20 returns a validation error
- Timeout if model inference takes too long on the workers backend
- Unsupported blockchain network for USDC payment causes payment rejection

## 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 field 'image' with a base64-encoded string of the generated image, which can be decoded to a PNG or JPEG 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-dreamshaper-8-lcm-image-generation-c81d2ee9/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)
