Skip to main content
Index an image once and you can find the images that look most like it, or find images by describing them in plain words, such as “red sneakers on a white background”. Neither needs tags. The Node.js examples use the Node SDK:

Index images as you upload them

Add autoIndex=true to an upload. The upload returns straight away and indexing happens in the background.
The response includes "indexStatus": "pending". Presigned uploads take autoIndex too and start indexing once the upload is confirmed. You can pass autoTag as well to tag the image too.

Index images you already have

See Index Media.

Find similar images

Returns the project’s indexed images that look most like this one, best first. The image itself isn’t included. Use it for “more like this” on a product page, or to spot near-duplicates before they’re published.

Search by description

Write what you’d expect to see in the image. Queries can be up to 300 characters, and work best in English.

Results and scores

Both searches return media items, like List Media, each with a score up to 1:
Similar images usually score 0.8 and up. Text matches score much lower, usually 0.2 to 0.35, even when they’re good. To drop weak matches, pass minScore, and pick a value for each kind of search separately. Only indexed images can match. Results always come from the project the API key belongs to.

Billing

Indexing is charged per image at your plan’s usage rate, from your included usage or your credit. It works on every plan, pay as you go included. You aren’t charged when:
  • The same image was indexed before. Dreep reuses the earlier result, and the response says "cached": true
  • Indexing fails
Searching and finding similar images are free.