Search Products By Image API: Transform Product Discovery
One problem that still exists in the rapidly changing world of e-commerce is the inability to search for things using their photos. This restriction annoys users and makes it more difficult for them to make a transaction. Presenting SightScout, a cutting-edge technology with visual search capabilities that is set to revolutionize product discovery.
What Is SightScout?
Boost your shopping experience with AI-driven visual search technology. Increase revenue by using smooth, interesting product discovery. Perfect for accessories, apparel, and interior design. Greetings from the shopping future!
SightScout is an artificial intelligence (AI) platform that offers picture analysis and search services. It enables users to browse through photos visually, see patterns, and get comprehensive details about particular items or goods. To facilitate effective picture search and analysis, the API also provides sophisticated features like object indexing, visual asset management, and API connectivity.
Uploading Images via API
One of the standout features of SightScout is the ability to upload images through the API. This can be done by either submitting individual images or bulk uploading via a CSV file. Here’s how:
Individual Image Upload
- Prepare the Image: Ensure the image is clear and focused, as this enhances the accuracy of the search results.
- API Endpoint: Use the designated API endpoint for image uploads. The documentation provides the exact URL and required parameters.
- Submit the Image: Make an API call to upload the image. The API will return a response with a list of matching products.
Bulk Upload via CSV
- Prepare the CSV File: Create a CSV file containing URLs of the images you wish to upload. Ensure the file is formatted correctly as per the API documentation.
- Upload the CSV: Use the bulk upload API endpoint to submit the CSV file. The API will process each image and return a comprehensive list of matching products.
- Review Results: Analyze the returned data to ensure the matches are accurate. This can be particularly useful for large inventories or catalog updates.
Different Endpoints
Save Record or Asset in Index
Through this Endpoint, you can upload the images or assets that users will search. In other words, the assets are the search library. For example, if it is an E-commerce site, you must upload as many images as products you have. You can also upload more than one image per product.
Body
POST https://sightscout.net/api/v1/indexes/YOUR_INDEX_HOST/saveRecord
{
"objectID": "your-object-id",
"image_url": "value1",
"product_id": "value2",
"meta_data": "{\"color\":\"azul\",\"talle\":\"M\",\"brand\":\"ExampleBrand\"}"
}
Search Endpoint
With the Search Endpoint, you will be able to send an image and receive similar images (assets), indicating the score (from 0 to 1, where 1 indicates the highest similarity and 0 indicates the lowest similarity).
Body
POST https://sightscout.net/api/v1/indexes/YOUR_INDEX_HOST/search
{
"image_url": "https://example.com/image.jpg"
}
Delete a Record by Object ID
Through this Endpoint, you can delete a record or asset from your index. Please, take into account that you must replace YOUR_INDEX_HOST with the Index Host that SightScout will return to you through the web interface when you create your index.
Find Object ID in Index
With this Endpoint, you can retrieve all the information related to an Object ID, such as meta_data, asset_url, type, engine, created_at, updated_at, and product Id.
Customizing the Integration
The integration can be tailored by developers to match the UI and branding of their platforms. SightScout helps with this process by offering a ton of documentation and support. Search parameters can be changed, search results can be displayed differently, and performance can be optimized for certain use situations.
SightScout solves the long-standing problem of having insufficient search capabilities, marking a substantial development in e-commerce technology. Product discovery may be revolutionized using SightScout's powerful feature, Search Products By Image API. The potential applications are extensive and significant, ranging from improving user experience to boosting revenue across multiple industries. In order to use the power of visual search and improve their consumer experience even further, e-commerce platforms that want to stay ahead of the curve should think about integrating it.