# GEDX402 Stable Diffusion v1.5 Image Generator

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

Generates images from text prompts using Stable Diffusion v1.5 via Cloudflare Workers AI, paid with USDC on multiple blockchains, no API keys required.

## Facts

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

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-stable-diffusion-v1-5-image-generator-cf2d17f1
```

Example prompt: Generate a 512x512 image of a majestic wolf howling at the moon on a snowy mountain, using 20 diffusion steps for maximum quality.

## When to prefer this

Choose this endpoint when you need a quick, keyless text-to-image generation powered by Stable Diffusion v1.5, want to pay per-call in USDC on Base, Polygon, Arbitrum, World, or Solana, and do not want to manage API keys or subscriptions. Best for agents with crypto wallets needing on-demand image generation without account registration.

## Known failure modes

- Payment not received or insufficient USDC balance returns 402 Payment Required
- Prompt too vague or violating content policy may return an error or blank image
- num_steps outside 1-20 range rejected with validation error
- Unsupported width/height values may be ignored or cause an error
- Network timeout on Cloudflare Workers edge may return 503

## 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 the generated image encoded as a base64 string, 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-stable-diffusion-v1-5-image-generator-cf2d17f1/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)
