Api Endpoint

WithZero

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

Open interactive test console

Offering

Provider
agents.withzero.xyz
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agents.withzero.xyz/api/v1/pixelart/canvas
MIME type
Not provided
First seen
2026-10-16T01:52:13.818Z
Last seen
Tags
Media, Research, Publishing, Automation, Memory

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x9811c0900fcb719bbc363a3846d2d6db2771dea8"
  }
]

Observed health

Status
Reachable
Latest latency
125 ms
Average latency
195 ms
HTTP status
400
Last checked
Reachability
100% over 9 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "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"
}

Output 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"
}