Method: images.annotate

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 (AnnotateImageRequest)
    }
  ]
}
Fields
requests[]

object (AnnotateImageRequest)

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 (AnnotateImageResponse)
    }
  ]
}
Fields
responses[]

object (AnnotateImageResponse)

Individual responses to image annotation requests within the batch.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-vision

For more information, see the Authentication Overview.