Image Intelligence

Dominant colors / palette

Returns the top dominant colors (hex + rgb + fraction) via a fast color histogram. Set 'colors' (1–12) for how many.

post/vision/colors

Request

  • Base URL: https://abundanceapis.com
  • URL: https://abundanceapis.com/vision/colors
  • Auth: none declared

Request body

urlstring

Public image URL (fetched via an SSRF-hardened client).

base64string

Base64-encoded image (data URI prefix allowed).

colorsinteger

Example request

{
  "url": "https://picsum.photos/600",
  "colors": 5
}

Changes

No recorded changes to this operation across all 1 revision of this API.