{"category":"image","endpoint":"https://setget.net/v1/tools/image-redact","examples":[{"input":{"height":60,"image":"sample.jpg","width":120,"x":60,"y":40},"title":"Black box"},{"input":{"height":60,"image":"sample.jpg","mode":"pixelate","strength":12,"width":120,"x":60,"y":40},"title":"Pixelate an area"},{"input":{"height":100,"image":"sample.png","mode":"blur","width":100,"x":0,"y":0},"title":"Blur an area"}],"input_schema":{"additionalProperties":false,"properties":{"color":{"default":"#000000","description":"Colour of the box. A hex colour such as #ff8800, or a name such as white or black.","examples":["#000000"],"type":"string"},"height":{"description":"Height of the area in pixels.","examples":[60],"minimum":1,"type":"integer"},"image":{"description":"The image to redact.","format":"setget-file","type":"string","x-accept":["image"]},"mode":{"default":"box","description":"box covers the area with a solid colour and cannot be undone. blur and pixelate look softer but can sometimes be reversed.","enum":["box","blur","pixelate"],"type":"string"},"strength":{"default":20,"description":"For blur, how far each pixel is smeared; for pixelate, the size of the blocks. In pixels.","maximum":200,"minimum":2,"type":"integer"},"width":{"description":"Width of the area in pixels.","examples":[120],"minimum":1,"type":"integer"},"x":{"description":"Left edge of the area to hide, in pixels from the left of the image.","examples":[60],"minimum":0,"type":"integer"},"y":{"description":"Top edge of the area to hide, in pixels from the top of the image.","examples":[40],"minimum":0,"type":"integer"}},"required":["image","x","y","width","height"],"type":"object"},"keywords":["redact","blur","pixelate","censor","hide","black box","privacy","face","mask","blackout","cover","anonymize"],"related":["image-strip-metadata","image-crop","image-text-overlay"],"slug":"image-redact","summary":"Hide part of an image, such as a face, name, address or number, with a solid box, a blur or pixelation.","tier":"job","timeout_seconds":120,"title":"Redact part of an image","url":"https://setget.net/tools/image-redact"}
