About this endpoint
What it does
Smooths and sharpens a portrait photo. Send a portrait image file in the request body and optional query parameters to control the sharpening and smoothing strength; the response is a binary file.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| sharpen | Number | Sharpening amount. Minimum 0, maximum 1, default 0.12. |
| strength | Number | Smoothing strength. Minimum 0, maximum 1, default 0.32. |
Request Body
| Parameter | Type | Description |
|---|---|---|
| file | Binary | Portrait image file. Binary upload. Maximum size: 20 MB. |
Response
Returns a binary file. The success response is a single binary payload, not a JSON object.
| Parameter | Type | Description |
|---|---|---|
| binary | String | The processed portrait image returned as binary data. |


