Dominant colours of a photo

Six dominant colours plus a role suggestion (background / support / accent) — use it to theme a layout around an image.

post/images/palette

Request

  • Base URL: https://rendry.io/api/v1
  • URL: https://rendry.io/api/v1/images/palette
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Headers

X-Rendry-Accountstring

Browser/OAuth current member account selector. API keys/embed credentials are bound to their persisted account and reject another account. Omitting this header selects the browser actor personal account.

Request body

urlstring
storage_keystring

Response

Palette

measured_overstring

What was measured: the whole photo, or the frame passed

rolesobject

bg, support, accent, on and the ranked colours 0..5 — the names a derived colour is addressed by

hintstring

Changes

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