Overview
An image's palette of `k` colours (hex, rgb, share), the dominant one and the average colour with its luminance, from a 200 px sample (median cut refined by k-means; transparent pixels ignored). Body: `{"url": "https://tanod.dev/icon.png", "k": 3}`. Reads PNG, JPEG, WebP, GIF, TIFF, BMP, ICO and AVIF (the first frame of an animation); HEIC, SVG, PDF, PSD and EPS are refused (422), and an image over 40 megapixels is a 413 image_too_large (neither charged). Images, their metada
Protocol
x402 (POST)
Price
$0.0020
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
media/images
Provider
tanod
Indexed
2026-10-07 22:29:17
Health
Status
healthy
Latency (p50)
420ms
Uptime (30d)
97.0%
Reliability Score
93.5/100
Last Checked
2026-10-31 07:03:41
Last Healthy
2026-10-31 07:03:41
Consecutive Failures
0
Input Schema
{
"body": {
"k": 3,
"url": "https://tanod.dev/icon.png"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"average": {
"hex": "#ad8a17",
"luminance": 137.1,
"rgb": [
173
]
},
"dominant": {
"hex": "#f3c11a",
"rgb": [
243
],
"share": 0.6719
},
"final_url": "https://tanod.dev/icon.png",
"input": {
"animated": false,
"bytes": 2183,
"format": "png",
"frames": 1,
"has_alpha": true,
"height": 256,
"width": 256
},
"notes": [],
"operation": "colors",
"palette": [
{
"hex": "#f3c11a",
"rgb": [
243
],
"share": 0.6719
}
],
"pixels_sampled": 39468,
"source": {
"library": "Pillow",
"license": "MIT-CMU (HPND)",
"url": "https://python-pillow.org"
},
"source_url": "https://tanod.dev/icon.png"
},
"type": "json"
}