> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dreep.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Find Similar Media

> Find images that look like a stored image with dreep.findSimilarMedia().

```ts theme={null}
const lookalikes = await dreep.findSimilarMedia({ id: asset.id, limit: 8 });
// [{ id, filename, url, tags, score: 0.93, … }, …]
```

The image must be [indexed](https://docs.dreep.cloud/node-sdk/search/index-media.md) first, and isn't
included in its own results.

Finding similar images is free. Indexing is charged per image.

## Parameters

| Parameter | Type | Description |
| :- | :- | :- |
| `id` | `string` | **Required.** An indexed image's ID |
| `limit` | `number` | Up to 100. Defaults to 20 |
| `minScore` | `number` | Leave out matches scoring below this, from 0 to 1. Similar images usually score 0.8 and up |
| `signal` | `AbortSignal` | Cancels the request |

## Returns

`SearchResult[]`, best first. Each is a [media item](https://docs.dreep.cloud/node-sdk/media/list-media.md)
with its `tags` and a `score` up to 1.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.