# ADH Text-to-Image Generator

> ADH Text-to-Image Generator is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Generates an image from a text prompt at a specified width and height, returning a URL to the created image.

## Facts

- Endpoint: POST https://agentdatum.com/api/v1/tool/tool-text2img?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/adh-text-to-image-generator-e39a504e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h1PqQ9l3juzFBjaGKBbeI

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 adh-text-to-image-generator-e39a504e -d '<json body>'
```

Example prompt: Generate a 512x512 image of a snowy mountain landscape at sunset.

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.01 USDC) AI image generated from a text prompt with controllable dimensions, paid via x402 protocol, and you don't need advanced style controls or model selection.

## Known failure modes

- Missing or empty prompt returns an error
- Invalid or out-of-range width/height values may cause generation failure
- Payment not received results in 402 response
- Image generation service timeout or upstream failure
- Prompt triggers content policy rejection

## How this service works

ADH 金融情报层：把 239 个原始数据源洗成带实体解析、时间同步、溯源与派生结论的情报（宏观regime / 加密尽调 / 事件窗口），免费注入你的 AI 上下文。Agent 走 x402 结算，人类订阅（PayPal）即将上线。

## Output

Returns a JSON object containing the original prompt and a URL pointing to the generated image hosted remotely.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "prompt": "a red fox in snow",
  "image_url": "https://..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/adh-text-to-image-generator-e39a504e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
