v1

latestOpenAPI 3.0.02026-07-131091452.6 MB
computer_vision

Upload images

This endpoint uploads an image for reverse image or video search. Images must be in JPEG or PNG format. To get the search results, pass the upload ID that this endpoint returns to the GET /v2/cv/similar/images or GET /v2/cv/similar/videos endpoints. Contact us for access to this endpoint.

post/v2/cv/images

Request body

base64_imagestring required

A Base 64 encoded jpeg or png; images can be no larger than 10mb and can be no larger than 10,000 pixels in width or height

Example request

{
  "base64_image": "R0lGODlhgACAAPcAAEwiBLyaLOzNUNmWFNjOrNSuN7x6PPzqeOTMgfKSDMyuTPzwsdi2dHwuBPzbVu"
}

Response

Created

upload_idstring required

Example response

{
  "upload_id": "Udb14e1c3540bdbf82b4b3fe12d3a44f2"
}