Blur Faces
blur_facesFind the faces in a JPEG, PNG or WebP photo and blur, pixelate or black them out; returns the image and each face's box. Missed faces can be added as areas. Can you run shell commands? Then do not send base64: upload the file from disk with curl -F file=@ https://helpyself.com/api/v1/tools/blur-faces (same tool, same answer, much faster). Tell the user to check every page of the redacted file before sharing it; anything still visible means it must not be sent. A HelpySelf tool (helpyself.com).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data": "<base64-encoded file bytes>",
"name": "team.jpg",
"type": "image/jpeg",
"areas": [],
"style": "blur",
"detect": true,
"strength": 6
},
"name": "blur_faces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The photo file as base64, in the format given by type. Send the whole file as it is, up to 50 MB: do not crop, shrink or split it first. If you can run shell commands, do not write the base64 out yourself: send the file from disk with curl -F file=@<path> -F <option>=<value> https://helpyself.com/api/v1/tools/blur-faces (add -H "Authorization: Bearer <token>" if you have one); the answer is the same JSON. | |
| name | No | The source filename. The result keeps its stem, with -blurred and the output format's extension. | photo.jpg |
| type | Yes | The MIME type of the photo: image/jpeg, image/png or image/webp. | |
| areas | No | Extra rectangles to hide as well, in pixels of the image as displayed (EXIF rotation applied), x and y the top-left corner: faces the detector missed, a name badge, a number plate. The previous result's faces list shows what was found. | |
| style | No | How each face is hidden: 'blur', 'pixelate' (large blocks), or 'solid' (a black box, which leaves nothing to recover). | blur |
| detect | No | Find faces automatically. Set false to hide only the given areas. | |
| strength | No | How strongly to blur or pixelate, 1–10, measured against each face's own size. 6 hides a face well; ignored for 'solid'. |