Overview
Find visually similar images within a set of 2 to 12: CLIP similarity for every pair, groups of similar images, nearest neighbour per image and a perceptual hash distance to spot near-duplicates. Every image is embedded with OpenAI CLIP ViT-B/32 (MIT, fp16 ONNX, SHA-256 pinned; EXIF-rotated, shorter side to 224, centre crop) and compared by cosine similarity.
Protocol
x402 (POST)
Price
$0.0080
Payment Asset
USD Coin
Payment Network
Base
Category
media/images
Provider
bild
Indexed
2026-11-17 02:07:10
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"images": [
{
"id": "a",
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwBAMAAABTZWEsAAAAJ1BMVEV6uOjo16j/003jzW9+ueX50lTmzmuIu9eyw6fmzmqzxKWzw6b40VZx3hZPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAV0lEQVQ4y2NgGLzAyzR4Cz559klKSmoFeBR4KgFBCh4Fi0AKNPAoMAIpUMajIAikQJWQAh1KrNhEyJFuhLzJnkQgoBg8TINbGEbBsAOCBMCoglEFJCkAAMKYNKuC2Gj3AAAAAElFTkSuQmCC"
},
{
"id": "b",
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwBAMAAABTZWEsAAAAMFBMVEU/j0wvazpaOx4+jUswbzw2ekE0dj89ikk6hEc5gUVXRSNHdj9DgkVKbTlOXTE3fUPlyye/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAlklEQVQ4y2MQJAAY6KRAJKLYvNURtwKRCQxAwOGIU0EyAxiY4VIgygAFgTgUJMAUsGFXIGIAU8DsiFWBJAMcTMSqwAGhgAWrggCEAlasChoQCjiwKihAKGDHqsAAoYCZPAUErSDoSILeJBhQBIOaYGQRjG7CCYZgkhMUuQyS58WdaAW1Xh+v2bcIT75QAoNRBaMKBoUCAA+rbbd55OrkAAAAAElFTkSuQmCC"
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Similarity is semantic and visual (CLIP), not a proof of identical origin; two different photos of the same kind of scene can score high.",
"Content at the edges of very wide images is partly ignored (centre crop).",
"Thresholds are empirical; check borderline pairs by eye."
],
"result": {
"groups": [
[
"a"
],
[
"b"
]
],
"ids": [
"a",
"b"
],
"images": [
{
"dhash": "0101010000000000",
"height": 48,
"id": "a",
"width": 64
},
{
"dhash": "3030383030808080",
"height": 48,
"id": "b",
"width": 64
}
],
"matrix": [
[
1,
0.758
],
[
0.758,
1
]
],
"model": {
"file": "onnx/vision_model_fp16.onnx",
"license": "MIT",
"model": "OpenAI CLIP ViT-B/32 image encoder (fp16 ONNX export of openai/clip-vit-base-patch32, MIT)",
"sha256": "35c4e0fb0aeee527dcde1693520b214a34424a786babd530f35366bad5844efd",
"source": "https://huggingface.co/Xenova/clip-vit-base-patch32/tree/6b7c523703ae26e39be4b03774966f8571c7f523"
},
"nearest": [
{
"id": "a",
"nearest": "b",
"similarity": 0.758
},
{
"id": "b",
"nearest": "a",
"similarity": 0.758
}
],
"pairs": [
{
"a": "a",
"b": "b",
"hash_distance": 17,
"relation": "different",
"similarity": 0.758
}
],
"threshold": 0.85
},
"service": "visual-similarity",
"status": "success"
},
"type": "json"
}