Create a new pixel art canvas
Create a new pixel art canvas. Returns editing, manifest, full-spec, guide, and interactive-view URLs. Optionally pre-load base64 RGBA pixels. Full agent guide: https://pixelart.withzero.xyz/llms.txt
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-14
updated
Provider
agents.withzero.xyz · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9811c0900fcb719bbc363a3846d2d6db2771dea8",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"loop": true
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"fps": {
"description": "Playback rate for animation consumers.",
"maximum": 60,
"minimum": 1,
"type": "integer"
},
"game": {
"additionalProperties": false,
"description": "Optional engine metadata: pivots, facing, root motion, clips, sockets, boxes, and events.",
"properties": {
"clips": {
"description": "Named animation ranges within this canvas.",
"items": {
"additionalProperties": false,
"properties": {
"fps": {
"maximum": 60,
"minimum": 1,
"type": "integer"
},
"fromFrame": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"loop": {
"type": "boolean"
},
"name": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"toFrame": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"name",
"fromFrame",
"toFrame"
],
"type": "object"
},
"maxItems": 64,
"type": "array"
},
"defaultPivot": {
"additionalProperties": false,
"description": "Default render pivot shared by frames without an override.",
"properties": {
"x": {
"description": "Horizontal pixel coordinate from the left edge of the frame.",
"type": "number"
},
"y": {
"description": "Vertical pixel coordinate from the top edge of the frame.",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
},
"facing": {
"description": "Native facing direction of the authored art.",
"enum": [
"left",
"right",
"none"
],
"type": "string"
},
"frames": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"boxes": {
"description": "Gameplay geometry associated with this frame.",
"items": {
"additionalProperties": false,
"properties": {
"height": {
"exclusiveMinimum": 0,
"type": "number"
},
"kind": {
"enum": [
"hit",
"hurt",
"collision",
"interaction"
],
"type": "string"
},
"name": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"width": {
"exclusiveMinimum": 0,
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"kind",
"x",
"y",
"width",
"height"
],
"type": "object"
},
"maxItems": 64,
"type": "array"
},
"durationMs": {
"description": "Per-frame duration override. Omit to use the clip or canvas FPS.",
"maximum": 60000,
"minimum": 1,
"type": "integer"
},
"events": {
"description": "Events emitted when playback enters this frame.",
"items": {
"additionalProperties": false,
"properties": {
"name": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"payload": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"name"
],
"type": "object"
},
"maxItems": 64,
"type": "array"
},
"pivot": {
"additionalProperties": false,
"description": "Per-frame pivot override. Omit to use defaultPivot.",
"properties": {
"x": {
"description": "Horizontal pixel coordinate from the left edge of the frame.",
"type": "number"
},
"y": {
"description": "Vertical pixel coordinate from the top edge of the frame.",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
},
"sockets": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"x": {
"description": "Horizontal pixel coordinate from the left edge of the frame.",
"type": "number"
},
"y": {
"description": "Vertical pixel coordinate from the top edge of the frame.",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
},
"description": "Named attachment points such as feet, muzzle, hand, or weapon.",
"propertyNames": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"type": "object"
}
},
"type": "object"
},
"description": "Metadata keyed by canonical zero-based frame index.",
"propertyNames": {
"pattern": "^(0|[1-9]\\d*)$",
"type": "string"
},
"type": "object"
},
"rootMotion": {
"anyOf": [
{
"const": "none",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"socket": {
"description": "Socket whose movement represents root motion.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"type": "object"
}
],
"description": "Whether movement is in-place or derived from a named socket."
}
},
"type": "object"
},
"height": {
"default": 64,
"description": "Canvas height in pixels (8–256). Default: 64.",
"maximum": 256,
"minimum": 8,
"type": "integer"
},
"initData": {
"description": "Base64-encoded RGBA pixel data to initialise the canvas. Must be exactly width × height × 4 bytes after decoding. Omit to start with a transparent (empty) canvas.",
"maxLength": 349528,
"minLength": 1,
"type": "string"
},
"loop": {
"default": true,
"description": "Whether playback loops (false = play once).",
"type": "boolean"
},
"name": {
"description": "Human-readable label for this canvas.",
"maxLength": 100,
"type": "string"
},
"width": {
"default": 64,
"description": "Canvas width in pixels (8–256). Default: 64.",
"maximum": 256,
"minimum": 8,
"type": "integer"
}
},
"required": [
"loop"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"zeroclick": {
"info": {
"payment": {
"amountUsd": "0.010000",
"id": "apay_QSkJpXu2LB-JuXdYf8U-u"
},
"requestId": "zcreq_WyemYtmlHk64TKP1OKJrr",
"service": "canvas-create"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"agentId": {
"type": "string"
},
"payment": {
"properties": {
"amountUsd": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"amountUsd"
],
"type": "object"
},
"requestId": {
"type": "string"
},
"service": {
"type": "string"
}
},
"required": [
"payment"
],
"type": "object"
}
}
}Use it
curl
curl "https://agents.withzero.xyz/api/v1/pixelart/canvas" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agents.withzero.xyz/api/v1/pixelart/canvas");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://agents.withzero.xyz/api/v1/pixelart/canvas")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/10961.json, and this resource appears in /discovery/resources and /discovery/search.