Pixelate & Blur Image API - redact faces, license plates or private regions
pixelate_imagePixelate (mosaic blocks) or blur an entire image or a specified percentage bounding box (x, y, width, height) to anonymize faces, license plates or private text before publishing. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.002/call via x402 at https://radarbg.com/x402/pixelate-image.
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": {
"mode": "pixel",
"where": "all",
"fileName": "sample.png",
"strength": "l",
"fileContent": "iVBORw0KGgoAAAANSUhEUgAAAHgAAABQCAIAAABd+SbeAAAA6klEQVR4nO3cQQ2DABAAwdKgg1cFVQIykIOEyqiIisFDKdsQZv6XXDb3vmFa3jeOd//3AlchdEToiNARoSNCR4SOCB0ROiJ0ROiI0BGhI0JHhI4IHRE6InRE6Mi4Z/jznH+0xmk8Xut3gy46InRE6IjQEaEjQkeEjggdEToidEToiNARoSNCR4SOCB0ROiJ0ROiI0BGhI0JHhI4IHRE6InRE6IjQEaEjQkeEjggdEToidEToiNARoSNCR4SOCB0ZPIFtuOiI0BGhI0JHhI4IHRE6InRE6IjQEaEjQkeEjggdEToidEToiNCRDexBBl0OjJSaAAAAAElFTkSuQmCC"
},
"name": "pixelate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boxX | No | Left edge % of width (when where=box) | |
| boxY | No | Top edge % of height (when where=box) | |
| mode | No | pixel (mosaic blocks) or blur | pixel |
| files | No | Or several files: [{fileName, fileContent (base64)}] (up to 60 files, 20 MB total) | |
| where | No | all (whole image) or box (region by %) | all |
| format | No | Output format: same, jpg, png or webp | same |
| boxWidth | No | Box width % (when where=box) | |
| fileName | No | File name with extension, e.g. report.pdf | |
| strength | No | Effect strength: s, m, l or xl | m |
| blockSize | No | Optional exact pixel block size | |
| boxHeight | No | Box height % (when where=box) | |
| fileContent | No | The file as base64 (a data: URI is fine; 20 MB total decoded limit per call) |