About this endpoint
What it does
Enhances an uploaded image by adjusting local contrast with CLAHE and increasing saturation, then returns the processed image as binary data.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Image file to process. Binary upload, max 20 MB. |
| clip_limit | Number | No | CLAHE clip limit. Default: 2. Allowed range: 0.5 to 10. Higher values increase local contrast. |
| saturation | Number | No | Saturation multiplier. Default: 1.2. Allowed range: 0.5 to 3. 1.0 means no change; 1.5 is vivid. |
Response
Returns a binary string containing the enhanced image file.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | String | Yes | Binary image output containing the enhanced result. |