Overview
Compare two screenshots pixel by pixel: count of changed pixels, ratio, pass/fail against your tolerance, bounding boxes of changed regions and a highlighted diff image (PNG). Decodes both images in a resource-limited child process and compares every pixel with the perceptual YIQ colour difference of Kotsarenko and Ramos (2010) against a threshold (0 = exact, default 0.1), blending semi-transparent pixels onto white.
Protocol
x402 (POST)
Price
$0.0050
Payment Asset
USD Coin
Payment Network
Base
Category
media/images
Provider
bild
Indexed
2026-11-20 13:10:04
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"baseline_base64": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAG0lEQVR4nGP4T2XAMGrgqIGjBo4aOGrgSDUQAOdROht+5XF2AAAAAElFTkSuQmCC",
"candidate_base64": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAHklEQVR4nGP49evXf2pihlEDRw0cNXDUwFEDR6qBAK7jIqvwSltdAAAAAElFTkSuQmCC",
"diff_image": false,
"threshold": 0.01
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"result": {
"antialiased_pixels": 0,
"compared_pixels": 400,
"diff_percent": 100,
"diff_pixels": 400,
"diff_ratio": 1,
"height": 20,
"identical": false,
"ignored_pixels": 0,
"max_diff_ratio": 0,
"passed": false,
"regions": [
{
"height": 20,
"pixels": 400,
"width": 20,
"x": 0,
"y": 0
}
],
"regions_total": 1,
"size_mode": "strict",
"sizes": {
"baseline": {
"height": 20,
"width": 20
},
"candidate": {
"height": 20,
"width": 20
}
},
"threshold": 0.01,
"width": 20
},
"service": "visual-regression",
"status": "success"
},
"type": "json"
}