Run image detection and annotation for a batch of images.
HTTP request
POST https://vision.googleapis.com/v1p4beta1/images:annotate
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
| JSON representation | |
|---|---|
{
"requests": [
{
object ( |
|
| Fields | |
|---|---|
requests[] |
Individual image annotation requests for this batch. |
Response body
If successful, the response body contains data with the following structure:
Response to a batch image annotation request.
| JSON representation | |
|---|---|
{
"responses": [
{
object ( |
|
| Fields | |
|---|---|
responses[] |
Individual responses to image annotation requests within the batch. |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-vision
For more information, see the Authentication Overview.