# x402donghang Landscape Image Generation

> x402donghang Landscape Image Generation is a paid API for AI agents from x402donghang.duckdns.org, paid per call via x402, $0.08/call, status down (last checked 2026-09-16).

Generates a landscape-oriented AI image from a text prompt, returning a hosted image URL, paid per-call via USDC using the x402 protocol.

## Facts

- Endpoint: POST https://x402donghang.duckdns.org/x402/v1/image-gen/landscape
- Price: $0.08/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402donghang-landscape-image-generation-acc5e33b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wm3jlTwOKNOVoz3matuBt

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 x402donghang-landscape-image-generation-acc5e33b -d '<json body>'
```

Example prompt: Generate an AI image of a glowing bitcoin coin resting on dark sea glass with a minimal aesthetic, in 1280x720 widescreen format.

## When to prefer this

Choose this endpoint when you need a low-cost ($0.08 USDC), no-signup AI image generation call paid via crypto (USDC/x402), specifically for landscape or configurable aspect ratios (widescreen, portrait, square), and want a direct hosted image URL in return. Prefer over OpenAI DALL-E or Stability AI when you want micropayment-based, anonymous access with no API key registration.

## Known failure modes

- Invalid or missing prompt returns a 400 error
- Prompt exceeding 2000 characters is rejected
- Unsupported size enum value causes a validation error
- Payment not completed (402 Not Paid) if USDC payment via x402 fails
- Image generation model unavailability returns a 500 or service error
- Generated image URL may expire or become unavailable after some period

## How this service works

Fresh crypto narrative research with market context and verifiable source URLs. Free BTC sample; custom radar $0.02/call via x402 USDC.

## Output

A JSON response containing: a hosted image URL (on x402donghang.duckdns.org/x402/media/images/), the model used (z-image Bailian turbo), the output size, the tier (standard), the price charged, the product name, and an ok:true status flag.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "size": {
   "enum": [
    "1024x1024",
    "1280x720",
    "1536x1024",
    "1024x1536"
   ],
   "type": "string",
   "description": "Output size; default 1024x1024 on the standard tier"
  },
  "prompt": {
   "type": "string",
   "maxLength": 2000,
   "minLength": 1,
   "description": "Text description of the image to draw"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "size": "1024x1024",
  "tier": "standard",
  "model": "z-image (Bailian turbo)",
  "price": "$0.05",
  "prompt": "a glowing bitcoin coin on dark sea glass, minimal",
  "product": "image-gen",
  "image_url": "https://x402donghang.duckdns.org/x402/media/images/img_20260827_abcd.png"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402donghang-landscape-image-generation-acc5e33b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402donghang.duckdns.org](https://www.zero.xyz/host/x402donghang.duckdns.org/llms.txt)
