Skip to content
Fourohtwo

Find visually similar images within a set of 2 to 12

bild.halowerk.com/v1/visual-similarity

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.

BaseAnswering
POSThttps://bild.halowerk.com/v1/visual-similarity

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://bild.halowerk.com/v1/visual-similarity", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"images":[{"id":"a","image_base64":"iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwBAMAAABTZWEsAAAAJ1BMVEV6uOjo16j/003jzW9+ueX50lTmzmuIu9eyw6fmzmqzxKWzw6b40VZx3hZPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAV0lEQVQ4y2NgGLzAyzR4Cz559klKSmoFeBR4KgFBCh4Fi0AKNPAoMAIpUMajIAikQJWQAh1KrNhEyJFuhLzJnkQgoBg8TINbGEbBsAOCBMCoglEFJCkAAMKYNKuC2Gj3AAAAAElFTkSuQmCC"},{"id":"b","image_base64":"iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwBAMAAABTZWEsAA),
});
console.log(await res.json());

Example input

{"images":[{"id":"a","image_base64":"iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwBAMAAABTZWEsAAAAJ1BMVEV6uOjo16j/003jzW9+ueX50lTmzmuIu9eyw6fmzmqzxKWzw6b40VZx3hZPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAV0lEQVQ4y2NgGLzAyzR4Cz559klKSmoFeBR4KgFBCh4Fi0AKNPAoMAIpUMajIAikQJWQAh1KrNhEyJFuhLzJnkQgoBg8TINbGEbBsAOCBMCoglEFJCkAAMKYNKuC2Gj3AAAAAElFTkSuQmCC"},{"id":"b","image_base64":"iVBORw0KGgoAAAANSUhEUgAAAEAAAAAwBAMAAABTZWEsAA