Images

Find similar images

Changed on

Returns visually similar images from public datasets and your own and team datasets, with their similarity score, source dataset, and license, automatically embedding the query image when needed. By default, excludes the source dataset and datasets containing copies of the query image. Set includeSourceDataset=true to include those datasets. Copies of the query image remain excluded.

get/api/images/{imageId}/similar

Request

  • Base URL
    https://platform.ultralytics.com
  • Auth
    HTTP bearer

Path parameters

imageIdstring required
Example:507f1f77bcf86cd799439011

Image ID

Query parameters

includeSourceDataset'true' | 'false'

Include the source dataset and datasets containing copies of the query image; query copies remain excluded

Response

Similar images with filenames and dimensions

Example response

{
  "images": [
    {
      "id": "507f1f77bcf86cd799439011"
    }
  ]
}

Changes