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 | Mandatory | Description |
|---|---|---|---|
| mode | String | No | Style filter mode. Allowed values: painting, watercolor, sketch, oil. Default: painting. |
| strength | Number | No | Filter strength. Minimum: 0, maximum: 1. Default: 0.65. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | 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 | Mandatory | Description |
|---|---|---|---|
| binary body | String | Yes | Styled image returned as binary data. |