Images
Find similar images
Changed onReturns 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 URLhttps://platform.ultralytics.com
- AuthHTTP 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
- info
added the non-success response with the status
- info
- info
added the new optional
queryrequest parameterincludeSourceDataset
- info