Image search
Image search is a 2 step process. First, you send the image as a base64 encoded string to receive a slug id of the vectorized image. Second, you use that id to get search results of similar products.
Last updated
Was this helpful?
Image search is a 2 step process. First, you send the image as a base64 encoded string to receive a slug id of the vectorized image. Second, you use that id to get search results of similar products.
Last updated
Was this helpful?
Step 1: POST /vectorize-image
This endpoint lets you to create a vectorization id for an image by providing a base64 encoded string of the image.
Note: If you want to detect specific objects in an image before starting the image search process, you want to use the endpoint.
Headers
Authorization
string
Bearer token
Request body
The request passes the base64 encoded string of the image you want to use.
Response
Step 2: GET /search
This endpoint lets you to search products that match the image.
Headers
Authorization
string
Bearer token
Query parameters
imageId
string
Image search identifier.
Response