image palette
image_paletteDominant colours of an image (k-means): up to 12 colours with hex, RGB, share and luminance, whether the image is mostly dark, and a readable text colour to put on top. JPEG and PNG. Costs $0.003 USDC per call (x402).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "image_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | No | ||
| image_url | No | ||
| image_base64 | No |