# Export Pixel Art Canvas as Animated GIF

> Export Pixel Art Canvas as Animated GIF is a paid API for AI agents from pixelart.withzero.xyz, paid per call via MPP, $0.02/call, status unknown (last checked 2026-10-12, last successful call 2026-07-14).

Exports a pixel art canvas animation as an infinite-loop GIF89a binary file, with configurable FPS, scale, and transparency.

## Facts

- Endpoint: GET https://pixelart.withzero.xyz/api/v1/canvas/{id}/export.gif?utm_source=zero.xyz
- Price: $0.02/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-12
- Last successful call: 2026-07-14
- Success rate: 100% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 9
- Provider: pixelart.withzero.xyz
- Website: https://pixelart.withzero.xyz
- Canonical page: https://www.zero.xyz/c/pixelart-withzero-xyz-export-pixel-art-canvas-as-animated-gif-1b221b4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J7oT5z8fC0tGIe8FBoWxV

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-export-pixel-art-canvas-as-animated-gif-1b221b4c
```

Example prompt: Export my pixel art canvas (ID: abc123) as an animated GIF — set it to 12 fps, scale it up 4x, and keep the transparent background.

## When to prefer this

Use this endpoint when you need to download the final animated GIF output of a pixel art canvas created or edited via the pixelart.withzero.xyz API — especially when you need configurable frame rate, upscaling, or transparency. This is the only paid export endpoint on the platform; all other read routes are free.

## Known failure modes

- Canvas ID not found — 404 if the canvas does not exist
- Invalid fps value outside 1-30 range — likely 400 or validation error
- Invalid scale value outside 1-8 range — likely 400 or validation error
- Canvas has no frames — may return empty or error GIF
- Payment failure — $0.02 USDC not processed, 402 response
- Large canvas with many frames may time out on slow connections

## How this service works

Export the composited animation as GIF89a bytes. Query overrides: fps=1..60; scale=1..8 (default 4); loop=true|false; transparent=true|false (default true). Stored FPS and loop are used when omitted. Full agent guide: https://pixelart.withzero.xyz/llms.txt

## Output

A raw binary GIF89a file (image/gif) representing the animated canvas with all visible layers composited across frames, looping infinitely. The agent should save the response bytes directly to a .gif file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id"
 ],
 "properties": {
  "id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "string",
 "format": "binary",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "description": "GIF89a binary image bytes with centisecond delays distributed to approximate the requested FPS."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pixelart-withzero-xyz-export-pixel-art-canvas-as-animated-gif-1b221b4c/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)
