About this endpoint
What it does
Applies a lightweight CPU style filter to an uploaded image and returns the transformed image as binary output.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| mode | String | Style filter mode. Allowed values: painting, watercolor, sketch, oil. Default: painting. |
| strength | Number | Filter strength. Minimum: 0, maximum: 1. Default: 0.65. |
Request Body
| Parameter | Type | Description |
|---|---|---|
| file | Binary | Image file. Binary upload. Maximum size: 20 MB. |
Response
Returns a binary file containing the styled image. The success response is a raw binary payload, not a JSON object.
| Parameter | Type | Description |
|---|---|---|
| binary body | String | Styled image returned as binary data. |


