GET
/v1/schemas/fal/image/fal-ai/wan/v2.2-5b/text-to-image?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace963749190c3e75ba18db04a19e791c10901c4639ca5ffa8da599850cfac7ff3a{
"fetchedAt": 1783331098,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
2 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| seed* | integer | The seed used for generation. | |
| image* | File | The generated image file. |
Types
1 $defsFileobject
| content_type | string | The mime type of the file. | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
| 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. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/wan/v2.2-5b/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}