GET

/v1/schemas/google-vertex/image/v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:predict

kind inputactivity imagehash 3b8c538b…extracted Oct 7, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
c53822c7158de0461a16c06223d306d1a32575088879045c6cc5e9ffe21cd46c
{
  "fetchedAt": 1791350027,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

3 properties · 0 required · 0 $defs
propertytypedescriptionconstraints
instancesany[]Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer …
parametersanyThe parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri.
labelsobjectOptional. The user labels for Imagen billing usage only. Only Imagen supports labels. For other use cases, it will be ignored.

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"google-vertex","endpointId":"v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:predict","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}