extract_dominant_color_palette
Extract a five-color aesthetic palette from image pixel data using k-means clustering. Generate dominant color schemes for design and analysis without heavy native dependencies.
Instructions
Computes k-means dominant 5-color aesthetic palettes from image pixel data without heavy native dependencies. (0.015 USDC on Base L2)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"payload": "<payload>"
},
"name": "extract_dominant_color_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Input parameters or JSON string payload for the tool execution | |
| paymentSignature | No | Base L2 USDC micropayment signature or transaction hash for x402 settlement |