图片对比 API:批量比较图片相似度并返回 JSON
Created by
John
一次 API 调用把源图片与最多 500 张目标图片逐一对比,返回 similarityScore、phashDistance、重复判定和你自己的 ID 字段,方便直接写入系统。支持 MCP 调用。
Image Similarity API | Compare Images, Find Duplicatesjohnvc/image-similarity-api
Target index
Target image
Similarity score
pHash distance
+5 fieldsTextNumberBooleanListObject
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
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.
