GET

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

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

Response body

2 properties · 2 required · 1 $defs
propertytypedescriptionconstraints
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.
image*ImageThe generated image file info.

Types

1 $defs

Imageobject

Represents an image file.

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

Validate a payload

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