Extract palette
extract_palettePull the main colours out of an image (median cut). Returns hex codes plus a GIMP/Aseprite .gpl palette.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | No | How many colours to extract | |
| image_url | No | Public http(s) URL of a PNG or JPEG (max 4 MB, 2048x2048) | |
| image_base64 | No | PNG or JPEG as base64 (or a data: URL), if there is no public URL |