77trust / 100

Metadata Scrub

by bild.halowerk.com in Developer tools

x402 APIPassing, checked 9 h ago

Remove EXIF, GPS, XMP, IPTC, comments, thumbnails and appended images from JPEG, PNG, WebP, GIF or TIFF without touching the pixels, with a before/after inventory proven by re-reading. Parses the container byte by byte (JPEG marker segments, PNG chunks, WebP RIFF chunks, GIF blocks) and rebuilds it from a whitelist: image data, coding tables, Adobe colour transform, animation control and, unless disabled, the ICC colour profile. Everything else goes: EXIF incl.

POST
https://bild.halowerk.com/v1/metadata-scrub
Price
$0.005
per call in USDC
Uptime
96.0%
last 30 days
Response time
53 ms
164 ms slowest 5%
Last check
Passed
9 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://bild.halowerk.com/v1/metadata-scrub

Each call costs $0.005 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://bild.halowerk.com/v1/metadata-scrub
content-type: application/json

{
  "image_url": "https://bild.halowerk.com/beispiel/metadata-scrub-image.webp"
}

Parameters

ParameterTypeRequiredDescription
image_base64stringNo
image_urlstring (uri)No
include_valuesbooleanNo Default: false.
keep_icc_profilebooleanNo Default: true.
keep_orientationbooleanNo Default: true.

Example response

The provider's example. We can't check it without paying.

Example response, 130 lines
{
  "limitations": [
    "Information visible in the pixels (faces, signs, screens, reflections) is not touched; use the image-level services for that.",
    "AVIF/HEIF containers are not edited; convert them first."
  ],
  "result": {
    "after": {
      "blocks": [],
      "categories": {},
      "embedded_images": [],
      "findings": [],
      "gps_present": false,
      "metadata_bytes": 0,
      "orientation": 1
    },
    "before": {
      "blocks": [
        {
          "block": "EXIF",
          "bytes": 428,
          "metadata": true
        },
        {
          "block": "XMP",
          "bytes": 392,
          "metadata": true
        }
      ],
      "categories": {
        "device": 3,
        "identity": 2,
        "location": 5,
        "technical": 3,
        "time": 1
      },
      "embedded_images": [],
      "findings": [
        {
          "category": "device",
          "field": "Make",
          "source": "EXIF chunk"
        },
        {
          "category": "device",
          "field": "Model",
          "source": "EXIF chunk"
        },
        {
          "category": "technical",
          "field": "Orientation",
          "source": "EXIF chunk"
        },
        {
          "category": "identity",
          "field": "Artist",
          "source": "EXIF chunk"
        },
        {
          "category": "technical",
          "field": "6 other IFD0 tags",
          "source": "EXIF chunk"
        },
        {
          "category": "time",
          "field": "DateTimeOriginal",
          "source": "EXIF chunk"
        },
        {
          "category": "device",
          "field": "BodySerialNumber",
          "source": "EXIF chunk"
        },
        {
          "category": "technical",
          "field": "6 other Exif tags",
          "source": "EXIF chunk"
        },
        {
          "category": "location",
          "field": "GPSLatitudeRef",
          "source": "EXIF chunk"
        },
        {
          "category": "location",
          "field": "GPSLatitude",
          "source": "EXIF chunk"
        }
      ],
      "gps_present": true,
      "metadata_bytes": 820,
      "orientation": 1
    },
    "bytes_after": 1928,
    "bytes_before": 2748,
    "format": "webp",
    "image_base64": "UklGRoAHAABXRUJQVlA4WAoAAAAAAAAAPwEA7wAAVlA4IGIHAACQNQCdASpAAfAAPjEYi0QiIaERjJQMIAMEs7dwE3+6fp3EZ9jaHEBfAP0M9/+u5P/9P7iA9Xin/5/9f+axT37r8oukG7x8JYyV82/vvyx/x30N5wD9Hukn5gP2X9Zn0wf6T1AP3R6wD9o/YA/Zn0zP3L+Ej9ov3A9qPV42JSIHY2Eu5JSqeaT5SHpoS+AdWpF5rzPtzP0PZSTlz4LZdO+j5uO3a2ks1Xiclmb4NV0vxDBGpXjDsOTdEGulYOKHS4x4VfxZA8f2CIoPyGiCTpSK+QlmudT2LQAywHCYIrR/+5aiwp7lslFbUMZ8/0Apt151O2aqv0xgKO/heg0BjPYFVqZNyl5Z… [truncated, 2572 chars]",
    "image_format": "webp",
    "input_sha256": "520518d14dab15c333bfc3df986751aaef79ccf1ceb54e9b4207018df605c77e",
    "kept": [],
    "lossless": true,
    "method": "WebP RIFF chunk rewrite; VP8/VP8L/ALPH/ANMF copied byte for byte, VP8X flags updated",
    "output_sha256": "c63f3fbf0b6cb6304d98995ed72970a5b4e1cc6d7b04c60341d95d909cd2fd10",
    "removed": [
      {
        "block": "EXIF",
        "bytes": 428
      },
      {
        "block": "XMP",
        "bytes": 392
      }
    ],
    "verification": {
      "clean": true,
      "embedded_images_after": 0,
      "exif_kept_for_orientation_only": false,
      "libvips_readback": {
        "exif": false,
        "icc_profile": false,
        "iptc": false,
        "xmp": false
      },
      "personal_fields_after": 0,
      "pixel_sha256": "4778856ee8a32afc36a175c19e755b950f37590420f3b2c819d64172012bd8bf",
      "pixels_identical": true
    }
  },
  "service": "metadata-scrub",
  "status": "success"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.005.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://bild.halowerk.com/v1/metadata-scrub' \
  -H 'content-type: application/json' \
  --data-raw '{"image_url":"https://bild.halowerk.com/beispiel/metadata-scrub-image.webp"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://bild.halowerk.com/v1/metadata-scrub' \
  -H 'content-type: application/json' \
  --data-raw '{"image_url":"https://bild.halowerk.com/beispiel/metadata-scrub-image.webp"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fbild.halowerk.com%2Fv1%2Fmetadata-scrub&method=POST
const res = await pay("https://bild.halowerk.com/v1/metadata-scrub", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "image_url": "https://bild.halowerk.com/beispiel/metadata-scrub-image.webp"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://bild.halowerk.com/v1/metadata-scrub",
        json={
            "image_url": "https://bild.halowerk.com/beispiel/metadata-scrub-image.webp",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
9 h agoPassed402135 ms$0.005
2 days agoTimed out---
4 days agoPassed40239 ms$0.005
4 days agoPassed40248 ms$0.005
5 days agoPassed402121 ms$0.005
Show 10 older checks
5 days agoPassed402229 ms$0.005
5 days agoPassed402125 ms$0.005
6 days agoPassed402130 ms$0.005
6 days agoPassed402164 ms$0.005
6 days agoPassed40242 ms$0.005
7 days agoPassed40251 ms$0.005
7 days agoPassed40240 ms$0.005
7 days agoPassed40238 ms$0.005
7 days agoPassed402112 ms$0.005
8 days agoPassed40242 ms$0.005