# ASCII Art Generator from Image

> ASCII Art Generator from Image is a paid API for AI agents from ascii-x402-production.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts an uploaded image (JPEG, PNG, WebP, GIF, TIFF, or SVG) into terminal-friendly ASCII art text output.

## Facts

- Endpoint: POST https://ascii-x402-production.up.railway.app/v1/ascii-art
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ascii-art-generator-from-image-e7072d27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IClapjBfUl5Vr-Z1AjCey

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 ascii-art-generator-from-image-e7072d27 -d '<json body>'
```

Example prompt: Can you convert this PNG image of my cat into terminal-friendly ASCII art?

## When to prefer this

Choose this endpoint when you need to programmatically convert a raster or vector image into ASCII art for terminal display, CLI tools, text-based UIs, or README decoration. It supports a wide range of common image formats up to 10 MiB and is priced at $0.001 USDC per call, making it suitable for lightweight or infrequent conversions.

## Known failure modes

- Image file exceeds 10 MiB limit — request rejected
- Unsupported image format submitted — only JPEG, PNG, WebP, GIF, TIFF, SVG accepted
- Malformed or corrupted image file — conversion fails
- Payment not included or invalid — x402 payment required for each call
- Network timeout for large images close to the size limit

## How this service works

Convert an uploaded image into terminal-friendly ASCII art.

## Output

The endpoint returns the image rendered as ASCII art — a block of printable characters that visually represents the original image, suitable for display in terminals, READMEs, or text-based interfaces.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image": {
   "type": "string",
   "description": "JPEG, PNG, WebP, GIF, TIFF, or SVG image upload; maximum 10 MiB.",
   "contentMediaType": "image/*"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ascii-art-generator-from-image-e7072d27/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ascii-x402-production.up.railway.app](https://www.zero.xyz/host/ascii-x402-production.up.railway.app/llms.txt)
