GET
/v1/schemas/meta/image/v1%2Fimages%2Fgenerations?kind=output
Accept:
Response body
5 properties · 2 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| created* | integer | Unix timestamp (seconds) for when the images were created. | |
| data* | image-object[] | Array of generated images. | |
| output_format | string | File type of the generated images. Echoes the requested output_format (png, jpeg, or webp); webp when omitted. | |
| background | string | Background setting for the generated images. Accepted but ignored. | |
| usage | image-gen-usage | Token usage for the image generation request. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"meta","endpointId":"v1/images/generations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}