GET
/v1/schemas/zai/image/paas%2Fv4%2Fimages%2Fgenerations?kind=output
Accept:
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", …}]}