Image API Reference

POSTUpload and index an image

POST /api/image/v1
Headers:
  Authorization: Bearer <YOUR_API_KEY>
  Content-Type: multipart/form-data

Body:

thumbnail: (binary image data)
tags: [tag1, tag2] // (optional String list)
biz_id: xxx // (required String, unique identifier for the image in your bussiness)
        

Response:

{
"id": "img_123", // unique identifier for the image in ImgSearch system
}

DELETERemove an image

DELETE /api/image/v1?id=<IMAGE_ID>
Headers:
  Authorization: Bearer <YOUR_API_KEY>

Response:
null