图片对比 API:批量比较图片相似度并返回 JSON

一次 API 调用把源图片与最多 500 张目标图片逐一对比,返回 similarityScore、phashDistance、重复判定和你自己的 ID 字段,方便直接写入系统。支持 MCP 调用。

Try for free
Image Similarity API | Compare Images, Find Duplicates
Image Similarity API | Compare Images, Find Duplicatesjohnvc/image-similarity-api
Target index
Target image
Similarity score
pHash distance
+5 fields
Text
Number
Boolean
List
Object

Input

Source image:https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/960px-Cat03.jpg
Target images
url:https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/250px-Cat03.jpg+2
customId:sku-8841+2
Comparison mode:both
Source image ID:master-001

Output fields

Target index
Target image
Similarity score
pHash distance
Verdict
Is similar
Is near duplicate
Custom ID
Error message

How it works

Sign up on Apify01

Create your Apify account to access the Image Similarity API | Compare Images, Find Duplicates.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay