About this endpoint
What it does
Blurs, pixelates, or blacks out detected faces in an uploaded image. The endpoint takes an image file plus optional processing controls and returns a binary image result.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| mode | ENUM | No | Face-processing mode. Allowed values: blur, pixelate, black. Default: blur. |
| expand | Number | No | Expansion factor around detected faces. Default: 0.18. Minimum: 0, maximum: 0.6. |
| strength | Integer | No | Processing strength. Default: 31. Minimum: 5, maximum: 99. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Image file to process. Binary upload. Max size: 20 MB. |
Response
Returns a binary string containing the processed image output.