image-color-service REST API (1.0.1)

Download OpenAPI specification:Download

Small microservice which calculates the most dominant colors in an image.

Calculate color.

Calculates the most dominant color in an image.

query Parameters
colors
integer [ 2 .. 255 ]

The amount of colors to calculate. Defaults to 5.

quality
integer [ 1 .. 10 ]

The quality of the colors. Defaults to 10.

Request Body schema:

The image file in binary.

string <binary> (ColorRequest)

Responses

Response samples

Content type
application/json
{
  • "colors": [
    ]
}