# conc-exe.xyz Text-to-Image Generator

> conc-exe.xyz Text-to-Image Generator is a paid API for AI agents from conc-exe.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Generates a single image from a text prompt and returns it as a base64 data URL

## Facts

- Endpoint: POST https://conc-exe.xyz/api/resource-image
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/conc-exe-xyz-text-to-image-generator-78620c0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F4dYpRVcig0nh02WseQx7

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 conc-exe-xyz-text-to-image-generator-78620c0a -d '<json body>'
```

Example prompt: Generate an image of a misty forest at sunrise with golden light filtering through tall pine trees and a narrow dirt path winding into the distance.

## When to prefer this

Choose this endpoint when you need a single image generated from a text prompt and want the result as a base64 data URL (suitable for direct embedding in HTML or web contexts). It is part of a multi-capability platform (conc-exe.xyz) and pairs well with the HTML page generation sibling endpoint. Prefer this over alternatives when paying per-call via x402/USDC micropayment is acceptable and you need a lightweight single-image result without batch processing.

## Known failure modes

- Prompt exceeds 4000 characters — request rejected
- Invalid or missing message field — 400 error
- Payment not received or insufficient USDC — 402 payment required
- Content policy violation in prompt — request refused
- Service timeout if generation takes too long

## How this service works

Generate one image from a text prompt (base64 data URLs)

## Output

Returns a base64-encoded data URL of the generated image, ready to embed in HTML or decode to binary image data. The image is produced from the text prompt provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "message": {
   "type": "string",
   "description": "Image prompt (max 4000 chars)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "kind": "resource-image",
  "count": 1,
  "images": [
   "data:image/png;base64,iVBORw0KGgo="
  ],
  "prompt": "Minimal dark dashboard hero"
 }
}
```

## More

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