GET
/v1/schemas/fal/image/fal-ai/codeformer?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace9aebab416e4a444216855850bcfa0546f6a34ffbd18e52ef948404b7bc4dddc6{
"fetchedAt": 1783329487,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
2 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| seed* | integer | Seed 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* | Image | The generated image file info. |
Types
1 $defsImageobject
Represents an image file.
| content_type | string | The mime type of the file. | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
| height | integer | The height of the image in pixels. | nullable |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| width | integer | The width of the image in pixels. | nullable |
| url* | string | The URL where the file can be downloaded from. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/codeformer","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}