GET
/v1/schemas/gemini/image/v1beta/models/{modelsId}:predict?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracef697c69526f2d0f93e6e022d34a6a98146776f0f982cc56727132c048329221c{
"fetchedAt": 1783328683,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
1 properties · 0 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| predictions | any[] | The outputs of the prediction call. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"gemini","endpointId":"v1beta/models/{modelsId}:predict","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}