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
- Base URLhttps://api.shutterstock.com
- Auth
- HTTP basic
- or OAuth 2Authorization codehttps://accounts.shutterstock.com/oauth/authorizeToken URLhttps://api.shutterstock.com/v2/oauth/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"base64_image": "R0lGODlhgACAAPcAAEwiBLyaLOzNUNmWFNjOrNSuN7x6PPzqeOTMgfKSDMyuTPzwsdi2dHwuBPzbVu"
}Response
Created
Example response
{
"upload_id": "Udb14e1c3540bdbf82b4b3fe12d3a44f2"
}Changes
No recorded changes to this operation across all 3 revisions of this API.