Extract and Name Colours from an Image
image_paletteExtract dominant colors from an uploaded image and get matched archival entries with cultural provenance, RAL standards, and WCAG accessibility data. Works for product photography, interiors, artwork, and brand assets.
Instructions
Upload an image (base64 encoded) and extract its dominant colour palette, with each colour matched to its nearest named archive entry with full cultural provenance. Uses K-means++ extraction plus Bradford chromatic adaptation for accuracy. Returns up to 5 dominant colours, each with archive name, cultural story, nearest RAL standard, and WCAG accessibility data. Works for product photography, interior photos, artwork, brand assets, and mood boards. The image is never stored — processed in memory only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_base64 | Yes | Base64 encoded image (JPEG, PNG, WebP) | |
| media_type | No | Image MIME type e.g. 'image/jpeg' | image/jpeg |
| n_colours | No | Number of dominant colours to extract (default 5, max 5) | |
| archive | No | Optional: restrict archive matching to a specific archive |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| result | No | ||
| error | No |