GET

/v1/schemas/gemini/image/v1beta/models/{modelsId}:predict

kind inputactivity imagehash 79911adb…extracted Sep 16, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
bbad9df92c004250545f0867c1c7bc986e87480dc95a5d932d687bb54bd72615
{
  "fetchedAt": 1789536639,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

3 properties · 0 required · 0 $defs
propertytypedescriptionconstraints
parametersanyOptional. The parameters that govern the prediction call.
instancesany[]Required. The instances that are the input to the prediction call.
labelsobjectOptional. Labels with user-defined metadata for the request. Optional. Labels must follow standard unified Cloud label requirements: - Label keys must start with a letter. - Label keys and values can be no longer than 63 characters (Unicode codepoints) and can…

Validate a payload

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