GET

/v1/schemas/openai/image/images%2Fvariations?kind=output

kind outputactivity imagehash e7fe3758extracted Jul 6, 2026version currentsource upstream spec ↗

Response body

7 properties · 1 required · 4 $defs
propertytypedescriptionconstraints
created*integerThe Unix timestamp (in seconds) of when the image was created.format: unixtime
dataImage[]The list of generated images.
backgroundenumThe background parameter used for the image generation. Either `transparent` or `opaque`.transparent | opaque
output_formatenumThe output format of the image generation. Either `png`, `webp`, or `jpeg`.png | webp | jpeg
sizeenumThe size of the image generated. Either `1024x1024`, `1024x1536`, or `1536x1024`.1024x1024 | 1024x1536 | 1536x1024
qualityenumThe quality of the image generated. Either `low`, `medium`, or `high`.low | medium | high
usageImageGenUsageFor `gpt-image-1` only, the token usage information for the image generation.

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"openai","endpointId":"images/variations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}