GET
/v1/schemas/zai/image/paas/v4/images/generations?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace8741c036978cc6491c52c1cee16e10c2a87a8fb675a757e1a9644ebbd4c4d7af{
"fetchedAt": 1791178309,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
3 properties · 0 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| created | integer | Request creation time, in `Unix` timestamp format, unit is seconds. | |
| data | object[] | Array, containing the generated image `URL`. Currently, the array only contains one image. | |
| content_filter | object[] | Array, containing content safety related information. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"zai","endpointId":"paas/v4/images/generations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}