# Glyphforge — Image to ASCII/Text Art Converter

> Glyphforge — Image to ASCII/Text Art Converter is a paid API for AI agents from glyphfor9e.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Converts a base64-encoded image into ASCII, Unicode block, or other text art representations using configurable character sets and output width.

## Facts

- Endpoint: POST https://glyphfor9e.vercel.app/api/ascii
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glyphforge-image-to-ascii-text-art-converter-a9d578c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fTcrJOk31shf3RD6g3dQn

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 glyphforge-image-to-ascii-text-art-converter-a9d578c5 -d '<json body>'
```

Example prompt: Take this image of my logo and convert it to ASCII art using the detailed character set, 80 characters wide.

## When to prefer this

Choose this endpoint when you need server-side, programmatic conversion of raster images (PNG, JPEG, WEBP) into text art with selectable character sets and precise output widths. It is ideal for pipelines that need ASCII or Unicode block art on demand — such as CLI tools, README generators, or creative content workflows — and where a hosted API with per-call micropayment pricing is acceptable over a local library.

## Known failure modes

- Invalid or corrupt base64 image data returns an error response
- Unsupported image format (e.g. GIF, TIFF) may cause processing failure
- Overly large images or very high width values may time out or be rejected
- Invalid charset enum value returns a validation error
- Missing required `image` field returns a 400-level error
- Payment failure via x402 micropayment prevents the request from being processed

## How this service works

Convert images to ASCII, Braille, Unicode block art, and more. Paid API with x402 micropayments on Base.

## Output

Returns a JSON object with a `success` boolean and a `data` object containing the rendered text art string (`ascii`), plus the output dimensions (`width` and `height` in character units).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "image"
 ],
 "properties": {
  "image": {
   "type": "string",
   "description": "Base64-encoded image (PNG, JPEG, WEBP)"
  },
  "width": {
   "type": "integer",
   "description": "Output width in characters"
  },
  "charset": {
   "enum": [
    "standard",
    "detailed",
    "simple",
    "blocks"
   ],
   "type": "string",
   "description": "Character set for mapping"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "ascii": {
     "type": "string",
     "description": "The ASCII art output"
    },
    "width": {
     "type": "integer"
    },
    "height": {
     "type": "integer"
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glyphforge-image-to-ascii-text-art-converter-a9d578c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from glyphfor9e.vercel.app](https://www.zero.xyz/host/glyphfor9e.vercel.app/llms.txt)
