---
title: "Analyse Image Palette"
method: POST
path: "/image/palette"
---

# Analyse Image Palette

`POST /image/palette`

## Request

- Base URL: `https://api.colourmemory.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.colourmemory.com/image/palette`
- Auth: none declared

Extract dominant colours from a base64 image or URL and match to archive.

## Request body

- ImagePaletteRequest
  - `image_base64` string
  - `image` string
  - `base64` string
  - `image_url` string
  - `media_type` string
  - `n_colours` integer
  - `n_colors` integer
  - `archive` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/colourmemory/apis/colour-memory-api.md) · [All operations](https://skmtc.dev/colourmemory/apis/colour-memory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/colourmemory/apis/colour-memory-api/revisions/4ba028f64042?raw)
