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