Content APISearchVisual Similarity

Visual Similarity

This method can be particularly useful when you want to find images that have a similar aesthetic, color scheme, or subject matter. It works by comparing the visual characteristics of the images and determining how similar they are.

Syntax

Visual similarity search can be performed on any imageBlock. Here’s how:

Usage

Example 1 - image blocks

Arguments

NameTypeDescription
id*stringThe ID of the reference image to find similar images
certaintynumberNormalized similarity threshold between 0 (identical) and 1 (completely different)
distancenumberDistance threshold for similarity matching
©2024 Unbody