# GlyphForge Pixelate — Image Pixelation API

> GlyphForge Pixelate — Image Pixelation API is a paid API for AI agents from glyphforge-delta.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-26).

Converts a base64-encoded image into a pixelated PNG by quantizing colors and enlarging pixel blocks

## Facts

- Endpoint: POST https://glyphforge-delta.vercel.app/api/pixelate?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Success rate: 0% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glyphforge-pixelate-image-pixelation-api-9083664d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2l-apuROFJdBRWjrJyMX7

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-pixelate-image-pixelation-api-9083664d -d '<json body>'
```

Example prompt: Can you pixelate this image for me — use a pixel block size of 8 and quantize it down to 16 colors? I'll give you the image as a base64 PNG.

## When to prefer this

Choose this endpoint when you need to programmatically pixelate or posterize an image with configurable pixel block size and color quantization. Ideal for creating retro pixel art aesthetics, generating stylized thumbnails, or reducing image complexity. Best used when you have a base64-encoded PNG, JPEG, or WEBP and want a pixelated PNG back at low cost ($0.05 USDC per call via x402).

## Known failure modes

- Invalid or malformed base64 image string returns an error response
- Unsupported image format (non-PNG/JPEG/WEBP) may cause processing failure
- Missing required 'image' field returns validation error
- Payment failure via x402 micropayment protocol blocks request
- Oversized image may cause timeout or memory errors on the serverless function
- Invalid integer values for colors or pixelSize may produce unexpected output

## 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 pixelated image as a base64-encoded PNG string, plus the output image dimensions (width and height in pixels).

## Example request

```json
{
 "image": "iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAIAAABMXP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3ajeTk3NQQ776TN96hdgNDk842eYql6aZLDUP09P/61+9S6gweVoAOsbDGhfEwO112FWKv26jVovXkXsaHW5mOSG5hcNEZ+D718vIorGL+OXYmJ1MXK1sX2+Xr2i8NJy9gDZIRK/Qlc1j8+OLXhsTrHJesJuX5durfYizZl5pNQrVmESWdS63e/o4Bydfmx1u3KXk2cdW56C4bI+1m8+Tyy4C6GT37/Wg5k27ajLQH6X7csUlo7em3XleMu1ukn2UHbhol16nMUg1LHKc0b/1es77u/uxH83We1+eXbrJFSKfBmAhyu5cxnSyXK5jSJmcVWo2tbWvV+D787O46O1LIDz8Th36V902b+cxavLvZ5vwrRnYh/8
… (truncated)
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "image"
 ],
 "properties": {
  "image": {
   "type": "string",
   "description": "Base64-encoded image (PNG, JPEG, WEBP)"
  },
  "colors": {
   "type": "integer",
   "description": "Number of colors to quantize to"
  },
  "pixelSize": {
   "type": "integer",
   "description": "Size of each pixel block"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "image": {
     "type": "string",
     "description": "Base64-encoded pixelated PNG"
    },
    "width": {
     "type": "integer"
    },
    "height": {
     "type": "integer"
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glyphforge-pixelate-image-pixelation-api-9083664d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from glyphforge-delta.vercel.app](https://www.zero.xyz/host/glyphforge-delta.vercel.app/llms.txt)
