GET

/v1/schemas/fal/image/fal-ai/cogview4?kind=output

kind outputactivity imagehash 9c773c47…extracted Jul 6, 2026version currentsource upstream spec ↗

Response body

5 properties · 5 required · 1 $defs
propertytypedescriptionconstraints
prompt*stringThe prompt used for generating the image.
seed*integerSeed of the generated Image. It will be the same value of the one passed in the input or the randomly generated that was used in case none was passed.
has_nsfw_concepts*boolean[]Whether the generated images contain NSFW concepts.
timings*object
images*Image[]The generated images

Types

1 $defs

Imageobject

Represents an image file.

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

Validate a payload

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