GET
/v1/schemas/zai/image/paas%2Fv4%2Fasync%2Fimages%2Fgenerations?kind=output
Accept:
Response body
4 properties · 0 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| model | string | Model name used in this call. | |
| id | string | Task order number generated by the platform, use this order number when calling the async result interface. | |
| request_id | string | Task number submitted by the user during the client request or generated by the platform. | |
| task_status | string | Processing status, `PROCESSING (processing)`, `SUCCESS (success)`, `FAIL (failure)`. Results need to be obtained via query. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"zai","endpointId":"paas/v4/async/images/generations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}