Blur faces (privacy)
Try it interactively →POST /api/image-privacy-blur-facesAuto-blur every face detected in a photo. Useful for publishing crowd / street photos without identifying individuals; configurable blur strength.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| image* | file | — | Input image bytes. |
| method | enum (gaussian | pixelate) | "gaussian" | Blur algorithm. |
| strength | number (1…201) | 35 | Gaussian kernel size (odd) or pixelate cell size. |
| padding | number (0…2) | 0.15 | Expand each face box by this fraction of its size. |
| scoreThreshold | number (0…1) | 0.6 | Face detection confidence cutoff. |
| format | enum (jpeg | png) | "jpeg" | Output encoding. |
| quality | number (1…100) | 90 | JPEG quality (ignored for PNG). |
Response
Modes: binary, json. Cache: yes (24h TTL).