Raster alpha centroid: return the weighted foreground center and its offset from...
https://bild.halowerk.com/v1/raster-alpha-weighted-optical-centerOverview
Raster alpha centroid: return the weighted foreground center and its offset from image center. Use it when an agent needs to center transparent icons optically.
Protocol
x402 (POST)
Price
$0.0050
Payment Asset
USD Coin
Payment Network
Base
Category
media/images
Provider
bild
Source
bazaar
Indexed
2026-11-18 19:04:13
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"image": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAKUlEQVR4nGNgIAXIRa3+LxS6IgGvAgxFMEFsGK8CrFah6MTlBpJ8BQIACd4s1Aujus8AAAAASUVORK5CYII="
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"center_x": 3.5625,
"center_y": 3.9097,
"height": 8,
"offset_x": -0.4375,
"offset_y": -0.0903,
"sha256": "79fcfa387f9c8fc9fb454895449039ab4ad180a56db6d295fe2b27f327bb3822",
"weight": 20.1294,
"width": 8
},
"limitations": "Only local PNG bytes, 128 × 128 maximum. No remote image fetch.",
"measured_at": "2026-11-18T17:42:58.168Z",
"source": {
"reference": "Caller-provided raster PNG",
"retrieved_at": "2026-11-18T17:42:58.168Z"
}
},
"type": "json"
}