Extract an image's palette, dominant color and average color
Extract an image's palette, dominant color and average color. Use when an agent needs the dominant colors or palette of an image.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
354 msmedian answer time
$0.002listed price per call
$0.002price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://tanod.dev/v1/image/colors
| Category | Image and media |
|---|---|
| Provider host | tanod.dev |
| Networks | eip155:137, eip155:42161, eip155:56, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.002 | 336 ms |
| 2026-11-25 | valid payment request | 402 | $0.002 | 290 ms |
| 2026-11-24 | valid payment request | 402 | $0.002 | 375 ms |
| 2026-11-23 | valid payment request | 402 | $0.002 | 344 ms |
| 2026-11-22 | valid payment request | 402 | $0.002 | 390 ms |
| 2026-11-21 | valid payment request | 402 | $0.002 | 354 ms |
| 2026-11-20 | valid payment request | 402 | $0.002 | 375 ms |
| 2026-11-19 | valid payment request | 402 | $0.002 | 187 ms |
| 2026-11-18 | valid payment request | 402 | $0.002 | 357 ms |
| 2026-11-17 | valid payment request | 402 | $0.002 | 403 ms |
| 2026-11-16 | valid payment request | 402 | $0.002 | 304 ms |
| 2026-11-15 | valid payment request | 402 | $0.002 | 342 ms |
| 2026-11-14 | no x402 terms | 523 | 3209 ms | |
| 2026-11-13 | valid payment request | 402 | $0.002 | 242 ms |
| 2026-11-12 | valid payment request | 402 | $0.002 | 364 ms |
| 2026-11-11 | valid payment request | 402 | $0.002 | 302 ms |
| 2026-11-10 | valid payment request | 402 | $0.002 | 199 ms |
| 2026-11-09 | valid payment request | 402 | $0.002 | 296 ms |
| 2026-11-08 | valid payment request | 402 | $0.002 | 347 ms |
| 2026-11-07 | valid payment request | 402 | $0.002 | 186 ms |
| 2026-11-06 | valid payment request | 402 | $0.002 | 197 ms |
| 2026-11-05 | valid payment request | 402 | $0.002 | 194 ms |
| 2026-11-04 | valid payment request | 402 | $0.002 | 371 ms |
| 2026-11-03 | valid payment request | 402 | $0.002 | 352 ms |
| 2026-11-02 | valid payment request | 402 | $0.002 | 321 ms |
| 2026-11-01 | valid payment request | 402 | $0.002 | 197 ms |
| 2026-10-31 | valid payment request | 402 | $0.002 | 257 ms |
| 2026-10-29 | valid payment request | 402 | $0.002 | 292 ms |
Example input (from the provider)
{
"body": {
"k": 3,
"url": "https://tanod.dev/icon.png"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"auto_orient": {
"default": true,
"description": "Apply the EXIF orientation first (default true).",
"type": "boolean"
},
"image_base64": {
"anyOf": [
{
"maxLength": 13333464,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url."
},
"k": {
"default": 5,
"description": "Palette size (1-10, default 5).",
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"url": {
"anyOf": [
{
"maxLength": 2048,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Public http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64."
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Abridged to fit the header. Full example: the 402 JSON body. Full schema: https://tanod.dev/openapi.json POST /v1/image/colors",
"properties": {
"average": {
"type": [
"object",
"null"
]
},
"dominant": {
"type": [
"object",
"null"
]
},
"final_url": {
"type": "string"
},
"input": {
"type": "object"
},
"notes": {
"type": "array"
},
"operation": {
"type": "string"
},
"palette": {
"type": "array"
},
"pixels_sampled": {
"type": "integer"
},
"source": {
"type": "object"
},
"source_url": {
"type": "string"
}
},
"required": [
"operation",
"input",
"notes",
"palette",
"dominant"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}