# Pixel Art Sprite Sheet Release Publisher

> Pixel Art Sprite Sheet Release Publisher is a paid API for AI agents from pixelart.withzero.xyz, paid per call via MPP, $0.02/call, status unknown (last checked 2026-09-11).

Publishes a content-addressed PNG sprite sheet and deterministic JSON engine manifest for a pixel art canvas, returning immutable release URLs

## Facts

- Endpoint: POST https://pixelart.withzero.xyz/api/v1/canvas/{id}/sprite-sheet-releases
- Price: $0.02/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-09-11
- Activations on Zero: 1
- Provider: pixelart.withzero.xyz
- Website: https://pixelart.withzero.xyz
- Canonical page: https://www.zero.xyz/c/pixelart-withzero-xyz-pixel-art-sprite-sheet-release-publisher-07abcc08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pycg-Zww0_lNyT4vGVKF9

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 pixelart-withzero-xyz-pixel-art-sprite-sheet-release-publisher-07abcc08 -d '<json body>'
```

Example prompt: Publish a sprite sheet release from my canvas abc123 with a scale of 2, 4 columns, and 1 pixel of padding between frames.

## When to prefer this

Use this endpoint when you need to package a pixel art canvas into an engine-ready, immutable sprite sheet with deterministic content-addressed URLs. It is idempotent — identical source and layout parameters always return the same URLs, making it safe to call repeatedly without creating duplicates. Prefer this over a GIF export when you need raw frame data and a JSON manifest for game engines or rendering pipelines.

## Known failure modes

- Canvas ID not found — 404 if the canvas does not exist
- Invalid scale value — 400 if scale is outside 1–8
- Invalid padding value — 400 if padding exceeds 16
- Invalid columns value — 400 if columns exceeds 1024
- Payment failure — endpoint requires $0.02 USDC per call
- Canvas has no frames — error if canvas contains no drawable content

## How this service works

Publish a content-addressed PNG sprite sheet and deterministic JSON engine manifest. Repeating the same source and layout returns the same immutable release URLs. Full agent guide: https://pixelart.withzero.xyz/llms.txt

## Output

Returns a release object containing immutable URLs for the PNG sprite sheet and JSON engine manifest, a 64-character hex release ID, source and sprite sheet hashes, sheet dimensions (width, height, columns, rows), scale and padding values, per-frame bounding boxes (x, y, width, height, frameIndex), total sprite sheet file size in bytes, and a boolean indicating whether this is a newly created release or a previously cached identical one.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "padding",
  "scale"
 ],
 "properties": {
  "scale": {
   "type": "integer",
   "default": 1,
   "maximum": 8,
   "minimum": 1,
   "description": "Nearest-neighbor integer scale. Default 1."
  },
  "columns": {
   "type": "integer",
   "maximum": 1024,
   "minimum": 1,
   "description": "Frame columns. Defaults to ceil(sqrt(frameCount))."
  },
  "padding": {
   "type": "integer",
   "default": 0,
   "maximum": 16,
   "minimum": 0,
   "description": "Transparent gap in source pixels. Default 0."
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "releaseId",
  "sourceHash",
  "spriteSheetHash",
  "manifestUrl",
  "spriteSheetUrl",
  "spriteSheetSizeBytes",
  "width",
  "height",
  "columns",
  "rows",
  "padding",
  "scale",
  "frames",
  "created"
 ],
 "properties": {
  "rows": {
   "type": "integer",
   "maximum": 9007199254740991,
   "exclusiveMinimum": 0
  },
  "scale": {
   "type": "integer",
   "maximum": 9007199254740991,
   "exclusiveMinimum": 0
  },
  "width": {
   "type": "integer",
   "maximum": 9007199254740991,
   "exclusiveMinimum": 0
  },
  "frames": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "frameIndex",
     "x",
     "y",
     "width",
     "height"
    ],
    "properties": {
     "x": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
     },
     "y": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
     },
     "width": {
      "type": "integer",
      "maximum": 9007199254740991,
      "exclusiveMinimum": 0
     },
     "height": {
      "type": "integer",
      "maximum": 9007199254740991,
      "exclusiveMinimum": 0
     },
     "frameIndex": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
     }
    },
    "additionalProperties": false
   }
  },
  "height": {
   "type": "integer",
   "maximum": 9007199254740991,
   "exclusiveMinimum": 0
  },
  "columns": {
   "type": "integer",
   "maximum": 9007199254740991,
   "exclusiveMinimum": 0
  },
  "created": {
   "type": "boolean",
   "description": "False when this exact content-addressed release already existed."
  },
  "padding": {
   "type": "integer",
   "maximum": 9007199254740991,
   "minimum": 0
  },
  "releaseId": {
   "type": "string",
   "pattern": "^[a-f0-9]{64}$"
  },
  "sourceHash": {
   "type": "string",
   "pattern": "^[a-f0-9]{64}$"
  },
  "manifestUrl": {
   "type": "string",
   "format": "uri"
  },
  "spriteSheetUrl": {
   "type": "string",
   "format": "uri"
  },
  "spriteSheetHash": {
   "type": "string",
   "pattern": "^[a-f0-9]{64}$"
  },
  "spriteSheetSizeBytes": {
   "type": "integer",
   "maximum": 9007199254740991,
   "exclusiveMinimum": 0
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pixelart-withzero-xyz-pixel-art-sprite-sheet-release-publisher-07abcc08/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pixelart.withzero.xyz](https://www.zero.xyz/host/pixelart.withzero.xyz/llms.txt)
