Go to example tasks

Compare Two Images for Similarity, Percentage Verdict

Get a similarity percentage for any two images plus a duplicate verdict. Paste URLs, base64, or upload files; rows show similarityScore and phashDistance.

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:https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/250px-Cat03.jpg
Comparison mode:both

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 Apify or log in

The Image Similarity API | Compare Images, Find Duplicates Actor is ready to run with the inputs already set for "Compare Two Images for Similarity, Percentage Verdict". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Compare Two Images for Similarity, Percentage Verdict" task

The Image Similarity API | Compare Images, Find Duplicates Actor will start running based on the input automatically. You can also change all the input fields, like source image, target images, and more, to match your specific use case.

Receive the "Compare Two Images for Similarity, Percentage Verdict" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as target index, target image, similarity score, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Compare Two Images for Similarity, Percentage Verdict" task via API.

Image

Integrate "Compare Two Images for Similarity, Percentage Verdict" into your workflow

Connect "Compare Two Images for Similarity, Percentage Verdict" with 100+ integrations, or run it via API or MCP.

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