wowmachine
smart_toy

color-palette

wowmachine/color-palette

Extract the dominant colour palette from an image using ColorThief. Returns a JSON list of hex and RGB values ordered by prominence.

Input

URL of the image to extract a colour palette from.

add_photo_alternate

Number of colours to extract from the image.

min: 2max: 32

Output

data_object

Run the model to see output here.

Pricing

**1 credit per call.** Flat per call — the price does not depend on input size, output size, or parameters. *Wowmachine utilities are deterministic, non-AI media operations (ffmpeg, Pillow, yt-dlp, O...

Features

## Color Palette Extractor Extract the dominant colour palette from an image using the ColorThief algorithm. Returns a JSON list of RGB values and hex codes ordered by prominence. ## What it does -...

API Examples

curl -X POST \
  /api/v1/model/wowmachine/color-palette \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {}
}'

Tags