Tool detail
paint
Paints one pixel at a given x,y with a palette color on the shared 21-million-pixel canvas.
Categories: Entertainment
Use when
- paint a pixel on the 21millionpixels shared canvas
- skip the human cooldown by paying per pixel
Not for
- not for reading the canvas — reads are free elsewhere
- palette indices 33-108 require the paying wallet to own a plot
Inputs
POST JSON body: x (0-4999, required), y (0-4199, required), color (0-108 palette index, required), username (optional, 3-20 chars)
Admitted input schema
{
"type": "object",
"properties": {
"color": {
"type": "integer",
"minimum": 0,
"maximum": 108,
"description": "palette index; 1-32 for everyone, 33-108 for wallets that own a plot, 0 clears the tile. GET /api/info lists the hex values and which indices are retired"
},
"username": {
"type": "string",
"minLength": 3,
"maxLength": 20,
"pattern": "^[a-z0-9_-]+$",
"description": "optional; the name this wallet paints under"
},
"x": {
"type": "integer",
"minimum": 0,
"maximum": 4999,
"description": "column, 0 at the left"
},
"y": {
"type": "integer",
"minimum": 0,
"maximum": 4199,
"description": "row, 0 at the top"
}
},
"required": [
"x",
"y",
"color"
],
"additionalProperties": false
}Endpoint
- Method
POST- URL
https://21millionpixels.art/api/agent/paint
Payment
- Protocol
- x402
- Listed price
- $0.005 USDC per pixel on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://21millionpixels.art/api/agent/paint
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z