GET

/v1/schemas/fal/image/openai/gpt-image-2?kind=output

kind outputactivity imagehash d03ecf14…extracted Jul 6, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
2d71a8be07847999bcf281ff8f7ee65d2f2387711f095d2e3131db1128c77ec3
{
  "fetchedAt": 1783328807,
  "extractorVersion": "1",
  "verifiedAt": null
}

Response body

1 properties · 1 required · 1 $defs
propertytypedescriptionconstraints
images*ImageFile[]The generated images.

Types

1 $defs

ImageFileobject

file_namestringThe name of the file. It will be auto-generated if not provided.nullable
url*stringThe URL where the file can be downloaded from.
heightintegerThe height of the imagenullable
widthintegerThe width of the imagenullable
file_sizeintegerThe size of the file in bytes.nullable
content_typestringThe mime type of the file.nullable

Validate a payload

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