{"slug":"bild-halowerk-com-v1-visual-regression-62a559","title":"Compare two screenshots pixel by pixel","host":"bild.halowerk.com","method":"POST","resource":"https://bild.halowerk.com/v1/visual-regression","category":"image","description":"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 o","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1193,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"baseline_base64":"iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAG0lEQVR4nGP4T2XAMGrgqIGjBo4aOGrgSDUQAOdROht+5XF2AAAAAElFTkSuQmCC","candidate_base64":"iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAHklEQVR4nGP49evXf2pihlEDRw0cNXDUwFEDR6qBAK7jIqvwSltdAAAAAElFTkSuQmCC","diff_image":false,"threshold":0.01},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"baseline_base64":{"maxLength":7000000,"minLength":16,"type":"string"},"baseline_url":{"format":"uri","maxLength":2048,"type":"string"},"candidate_base64":{"maxLength":7000000,"minLength":16,"type":"string"},"candidate_url":{"format":"uri","maxLength":2048,"type":"string"},"diff_image":{"default":true,"type":"boolean"},"ignore_regions":{"items":{"additionalProperties":false,"properties":{"height":{"minimum":1,"type":"integer"},"width":{"minimum":1,"type":"integer"},"x":{"minimum":0,"type":"integer"},"y":{"minimum":0,"type":"integer"}},"required":["x","y","width","height"],"type":"object"},"maxItems":50,"type":"array"},"include_antialiasing":{"default":false,"type":"boolean"},"max_diff_ratio":{"default":0,"maximum":1,"minimum":0,"type":"number"},"max_regions":{"default":20,"maximum":200,"minimum":1,"type":"integer"},"size_mode":{"default":"strict","enum":["strict","top-left"],"type":"string"},"threshold":{"default":0.1,"maximum":1,"minimum":0,"type":"number"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1193,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1223,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1195,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1184,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1165,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1197,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1144,"error":null}],"description_full":"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.","last_updated":"2026-11-20T12:27:08.805Z","schemes":["exact"]}