{
  "x402Version": 2,
  "id": 10961,
  "slug": "10961",
  "resource": "https://agents.withzero.xyz/api/v1/pixelart/canvas",
  "description": "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",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9811c0900fcb719bbc363a3846d2d6db2771dea8",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar",
    "zeroclick"
  ],
  "sourceHost": "agents.withzero.xyz",
  "lastUpdated": "2026-09-14T19:57:10.154Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-14T19:57:09.303Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agents.withzero.xyz",
    "manifest_name": "agents.withzero.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}