Skip to main content
POST
Image metadata enrichment use case

Headers

Authorization
string
required

Bearer token used for authentication. Format: Authorization: Bearer ACCESS_TOKEN.

Path Parameters

MODEL_ID
string
required

Unique identifier for the model. Must be a multimodal model capable of processing images, such as gemini-2.5-flash-lite.

Body

application/json
batch
object[]
required

An array of request items. Each item must contain exactly one of text, image, or imageLink.

useCaseConfig
UseCaseConfigImageMetadataEnrichment · object

Optional object to control metadata generation. The image must be provided in the batch item as useCaseConfig only tunes the output.

modelConfig
ModelConfig · object

Provides fields and values that specify ranges for tokens. Fields used for specific use cases and models are specified. The default values are used if other values are not specified.

Response

200 - application/json

OK

predictions
object[]