Skip to content
HALOWERK

Bildwerk

screen content blur

RT-DETRv2-S (r18vd, PekingU, Apache-2.0, trained on COCO 2017; pinned ONNX, SHA-256 checked) runs locally with onnxruntime-node on the EXIF-rotated image and, for images with a long side of 900 px or more, additionally on 6 overlapping tiles so small phones are not lost. Detections of the COCO classes tv (TVs and monitors), laptop and cell phone above the score threshold are merged (IoU > 0.5 or 80 % overlap), enlarged by the padding and pixelated, blurred or filled black in the pixels; the.

POST https://bild.halowerk.com/v1/screen-content-blur

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
image_base64stringNoThe image (PNG, JPEG, WebP, GIF, TIFF or AVIF) as base64 or data: URL, at most 10 MB decoded. Give either image_base64 or image_url.
image_urlstringNoPublic http(s) URL of the image, fetched once (at most 10 MB). Private and local addresses are refused.
devicesarrayNoDevice classes to mask; default all (tv also covers computer monitors).
min_scorenumberNoDetector score threshold; lower values find more devices and more false boxes.
modestringNopixelate = coarse mosaic, blur = strong blur, fill = solid black (strongest).
paddingnumberNoBox enlargement per side as a fraction of the device size.
pixel_blocksintegerNoMosaic blocks across the larger box side (pixelate mode).
output_formatstringNoOutput encoding; "same" keeps JPEG/PNG/WebP and writes PNG for GIF/TIFF and JPEG for AVIF input.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "image_base64": {
      "type": "string",
      "minLength": 16,
      "maxLength": 14000000,
      "description": "The image (PNG, JPEG, WebP, GIF, TIFF or AVIF) as base64 or data: URL, at most 10 MB decoded. Give either image_base64 or image_url."
    },
    "image_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048,
      "description": "Public http(s) URL of the image, fetched once (at most 10 MB). Private and local addresses are refused."
    },
    "devices": {
      "type": "array",
      "minItems": 1,
      "maxItems": 3,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "tv",
          "laptop",
          "cell_phone"
        ]
      },
      "description": "Device classes to mask; default all (tv also covers computer monitors)."
    },
    "min_score": {
      "type": "number",
      "minimum": 0.25,
      "maximum": 0.9,
      "default": 0.45,
      "description": "Detector score threshold; lower values find more devices and more false boxes."
    },
    "mode": {
      "type": "string",
      "enum": [
        "pixelate",
        "blur",
        "fill"
      ],
      "default": "pixelate",
      "description": "pixelate = coarse mosaic, blur = strong blur, fill = solid black (strongest)."
    },
    "padding": {
      "type": "number",
      "minimum": 0,
      "maximum": 0.3,
      "default": 0.03,
      "description": "Box enlargement per side as a fraction of the device size."
    },
    "pixel_blocks": {
      "type": "integer",
      "minimum": 4,
      "maximum": 32,
      "default": 10,
      "description": "Mosaic blocks across the larger box side (pixelate mode)."
    },
    "output_format": {
      "type": "string",
      "enum": [
        "same",
        "jpeg",
        "png",
        "webp"
      ],
      "default": "same",
      "description": "Output encoding; \"same\" keeps JPEG/PNG/WebP and writes PNG for GIF/TIFF and JPEG for AVIF input."
    }
  }
}

Open original schema

Published input example

{
  "image_base64": "/9j/2wBDABQUFBQVFBcZGRcfIh4iHy4rJycrLkYyNjI2MkZqQk5CQk5Cal5yXVZdcl6phXZ2hanDpJukw+zT0+z/////////2wBDARQUFBQVFBcZGRcfIh4iHy4rJycrLkYyNjI2MkZqQk5CQk5Cal5yXVZdcl6phXZ2hanDpJukw+zT0+z/////////wgARCAB2AFgDASIAAhEBAxEB/8QAGwAAAgMBAQEAAAAAAAAAAAAAAAQBAwYFAgf/xAAZAQACAwEAAAAAAAAAAAAAAAADBAABAgX/2gAMAwEAAhADEAAAANMSXmCVrjAhEj4hbIzEkryBctAq4+ffQcnRs/Xpahu533pKMY14DPOgCS0CrjIa3JD6Nnj16W6vpe+gC/feUa6fCCDWLQ953zc06kt1m3U3RGVVfXWH3rk3OvyIINDu8Xc0R87V7rV6TNnixNyym/1lN97ndDtcwINhcVY8DPnuT2cos33Lcd7xNnbhH4PauqsPLyQaC15mkJ+LzOlyhGVYZakvfuhtOYiLqSCRtIFmubzQxs0IEFfAMLxASQBJ/8QAMBAAAgEDAgIIBgIDAAAAAAAAAQIDAAQREiEQMQUgIjIzQXGxExVRUlSRMH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nZMmMXj02apHGk/R7p2JLhWlTHx/LbICgE1ODQCaRNngCmJ7hwf/2Q==",
  "mode": "pixelate"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →