About this endpoint
What it does
Colorizes a grayscale or desaturated image using a CPU palette. It takes an uploaded image file and optional palette/strength query parameters, then returns the processed image as a binary response.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| palette | ENUM | No | Palette to use for colorization. Allowed values: natural, warm, cool, sepia. Default: natural. |
| strength | Number | No | Colorization strength. Minimum: 0, maximum: 1. Default: 0.72. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Grayscale or desaturated image. Binary file upload. Maximum size: 20 MB. |
Response
Returns a binary file response containing the colorized image. The output schema is a binary string, so there is no JSON object wrapper or named response fields.