Overview
Image search lets users find products by uploading a photo. Refine analyzes the image’s visual features and returns products that look similar. Perfect for “shop the look” experiences, visual discovery, and reverse image search.Basic Usage
Image Input Formats
The SDK accepts three image formats:- File Object
- Blob
- Base64 String
Parameters
File | Blob | string
required
The image to search with. Accepts File objects, Blobs, or base64-encoded strings.
number
required
Number of results to return. Recommended: 8-24 for image search.
With Filters
Combine visual search with filters to narrow results:Response
The response structure is identical to text search:Tracking Image Search
Track image search results the same way as text search:Complete Implementation
Here’s a full drag-and-drop image search component:Image Requirements
For best results:Use Cases
Shop the Look
Shop the Look
Let users upload photos of outfits they like and find similar items in your catalog.
Visual Discovery
Visual Discovery
Add a camera icon to your search bar for users who prefer visual browsing.
Screenshot Search
Screenshot Search
Users can screenshot products from social media and find them in your store.
Competitor Matching
Competitor Matching
Find similar products to items users found elsewhere (use responsibly).
Error Handling
Next Steps
Text Search
Search with text queries
Filters
Filter operators reference