New users get free credits - no credit card required Get started
Paid account required

Batch Extract Color Palettes

Extract representative HEX colors from multiple images in one ordered JSON response.

POST /api/free/batch-color-palette

Use Batch Extract Color Palettes online

Upload and manage a batch without entering an API key. Running the job requires a signed-in paid account.

Paid access · no key field

1. Upload and settings

Use this tool online without an API key. Files are sent only when you run the request.

Image files *
Color count
Complete the required fields to run the tool.POST /api/free-online/batch-color-palette

2. Preview and download

Your result will appear here

Preview, size changes and download controls are shown here

When to use this batch API

A batch color palette API samples multiple images and returns representative HEX colors with approximate proportions for each file. It performs deterministic analysis rather than image generation.

Common workflows

  • Create color swatches for product listings.
  • Compare visual themes across campaign assets.
  • Seed interface accents from a collection of editorial images.
  1. 01Upload the images you want to process with Batch Extract Color Palettes.
  2. 02Choose one shared parameter set for the whole batch.
  3. 03Run the job, review per-file status, and download the ZIP or JSON result.

Use repeated files fields, then set Image files, Color count. Each image is sampled independently with the same requested color count from 3 through 8.

Related single-image API

Use the single-image endpoint for free one-off processing, or this paid batch endpoint for repeatable multi-file work.

Extract Color Palette

Integrate with the API

Programmatic batch calls require an API key owned by a paid account. One batch request counts as one API request.

API endpoint
POST /api/free/batch-color-palette

Use an APIAny key from a paid account. The API accepts up to 20 files and 100 MB total per request.

How it works
  • Each image is sampled independently with the same requested color count from 3 through 8.
  • The ordered JSON result includes HEX values, approximate ratios and isolated per-file errors.

Response

A successful request returns a json response with the Content-Type described by this page.

Common errors

400
A file or parameter is missing, invalid or outside the documented limit.
401
The API key is missing, invalid or disabled for programmatic API calls.
429
The online or authenticated shared rate limit has been reached.

Parameters and limits

ParameterRequirementDefaultAccepted values
filesImage filesRequiredfile
countColor countOptional53, 4, 5, 6, 7, 8

API example

Use this authenticated example in code. The online Playground above intentionally does not request or expose your key.

curl -X POST "https://apiany.ai/api/free/batch-color-palette" \
  -H "Authorization: Bearer $API_KEY" \
  -F "files=@a.png" \
  -F "files=@b.jpg" \
  -F "count=5"

Frequently asked questions

Who can run Batch Extract Color Palettes?

The page is public, but online execution requires a paid login and API calls require a paid account key.

What are the Batch Extract Color Palettes file limits?

Online jobs accept 10 files and 50 MB total; API jobs accept 20 files and 100 MB total; each file can be 30 MB.

What does Batch Extract Color Palettes return?

It returns JSON. The ordered JSON result includes HEX values, approximate ratios and isolated per-file errors.

Can Batch Extract Color Palettes finish when one file fails?

Yes. Files are processed independently, successful results remain available, and failed items include an error code.

Source: APIAny free API catalog and live route behavior. Content reviewed 2026-07-17.