# WithZero Pixel Art Canvas Semantic Segmentation

> WithZero Pixel Art Canvas Semantic Segmentation is a paid API for AI agents from agents.withzero.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Applies semantic segmentation to a pixel art canvas, partitioning canvas regions into labeled semantic zones for analysis or editing.

## Facts

- Endpoint: POST https://agents.withzero.xyz/api/v1/pixelart/canvas/%7Bid%7D/segment/semantic
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/withzero-pixel-art-canvas-semantic-segmentation-28550640
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZJVBqa0EcrR9X9E5AIrDC

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 withzero-pixel-art-canvas-semantic-segmentation-28550640 -d '<json body>'
```

Example prompt: Take my pixel art canvas with ID abc123 and run semantic segmentation on it so I can see which regions belong to different semantic zones like background, character, and foreground.

## When to prefer this

Use this endpoint when you have an existing pixel art canvas (identified by its ID) and need to understand the semantic structure of its content — for example, to programmatically identify regions, guide further editing, or extract structured zone information. Prefer this over generic image segmentation when working within the WithZero pixel art ecosystem and needing pay-per-use, no-account-required access.

## Known failure modes

- Canvas ID not found — 404 error if the specified canvas does not exist
- Invalid or missing body fields — 400 error if required body properties are absent or malformed
- Payment failure — 402 if the $0.02 USDC payment is not processed
- Segmentation failure — 500 if the underlying model cannot process the canvas
- Unsupported canvas format — error if the canvas is not in a state suitable for segmentation

## How this service works

Create media, research companies and people, publish to the web, remember context, deploy apps, and schedule work—on demand, without vendor accounts or API keys. This server is a pay-per-use, transparent proxy in front of WithZero's own API: ZeroClick handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. This document is the source of truth for agents: it lists the complete verified paid surface with each operation's live price in its x-payment-info. Endpoints not listed here are not part of the supported catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge.

## Output

Returns a semantic segmentation of the specified pixel art canvas, with canvas regions partitioned and labeled by semantic category (e.g. background, foreground, objects, characters). The response likely includes segment masks, labels, and bounding information for each identified zone.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/withzero-pixel-art-canvas-semantic-segmentation-28550640/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.withzero.xyz](https://www.zero.xyz/host/agents.withzero.xyz/llms.txt)
