{"uid":"cap_fcBGBbHytJ1Mo45cvRZ1G","slug":"halowerk-image-duplicate-detector-81d54a64","name":"Halowerk Image Duplicate Detector","description":"Takes between two and eight images by URL or inline base64 and compares each pair. Three perceptual hashes are computed, because each fails differently: an average hash over an 8x8 grey image is cheap but moves with brightness, a gradient hash reads the slope between neighbouring pixels and survives exposure changes, and a DCT hash over the low frequencies of a 32x32 grey image is the sturdiest against rescaling and re-encoding.","url":"https://medien.halowerk.com/v1/image-dupe","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"images":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL of the image."},"label":{"type":"string","maxLength":120,"description":"Name used in the answer. Defaults to image_1, image_2 …"},"filename":{"type":"string","maxLength":260},"content_base64":{"type":"string","maxLength":12000000,"description":"The image inline, base64."}},"additionalProperties":false},"maxItems":8,"minItems":2,"description":"Two to eight images. Each takes either url or content_base64."},"check_mirror":{"type":"boolean","default":false,"description":"Also compare against the mirrored image."},"check_rotations":{"type":"boolean","default":false,"description":"Also compare against the other image rotated 90, 180 and 270 degrees."},"phash_threshold":{"type":"integer","maximum":32,"minimum":0,"description":"Override the pHash distance below which a pair counts as likely edited. Default 10."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rIIgMOVbpttqFvjgoX8qp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares 2–8 images using three perceptual hashing algorithms (average hash, gradient hash, DCT hash) to detect duplicates and near-duplicates across each pair","exampleAgentPrompt":"Compare these two product images for me — one from our CDN at https://cdn.example.com/product-v1.jpg and one at https://cdn.example.com/product-v2.jpg — and tell me if they're visually the same using perceptual hashing, even if one was re-encoded or slightly brightened.","exampleUseCases":[{"title":"Deduplicating user-uploaded photos","prompt":"I have four uploaded profile photos from users that might be duplicates — check https://uploads.example.com/img1.jpg, img2.jpg, img3.jpg, and img4.jpg against each other and tell me which pairs are near-identical using all three perceptual hash methods."},{"title":"Detecting reused stock images","prompt":"Can you check if this blog post thumbnail at https://blog.example.com/header.jpg is visually the same as our competitor's hero image at https://competitor.com/hero.jpg — even if they resized or re-saved it?"},{"title":"Verifying asset integrity after re-encoding","prompt":"We ran our master image through a compression pipeline and got back https://media.example.com/output-compressed.png — compare it to the original at https://media.example.com/original.png and tell me whether the perceptual hashes still match across average, gradient, and DCT methods."}],"resultDescription":"Returns pairwise comparison results for all submitted image pairs, including three perceptual hash values (average hash, gradient hash, DCT hash) and similarity scores for each. Indicates whether pairs are likely duplicates based on hash distances, allowing the agent to reason about visual identity independent of file format, brightness shifts, or mild rescaling.","failureModes":["Invalid or inaccessible image URL returns an error for that image","Base64 payload that is not a valid image format causes a decoding error","Submitting fewer than 2 or more than 8 images falls outside the supported range","Network timeout fetching a remote image URL","Unsupported image format (e.g. raw TIFF or proprietary formats) may fail to decode"],"whenToPreferThis":"Choose this endpoint when you need to detect whether images are visually identical or near-identical despite re-encoding, resizing, brightness changes, or minor compression artifacts — scenarios where byte-level comparison would fail. Prefer it over simple hash or checksum tools when resilience to JPEG re-saves, exposure shifts, or format conversions is required. It is ideal for deduplication pipelines, content moderation, asset management, and detecting reused or plagiarized imagery.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:42:35.811Z","isFirstParty":false}