GET
/v1/schemas/fal/image/fal-ai/hidream-o1-image?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracec3860d34a99ab1386eb4a6ef9a4760db1ccc7c35bb7b81e7240aeb7e01f3a274{
"fetchedAt": 1783329487,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
5 properties · 5 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| timings* | object | Generation timings. | |
| seed* | integer | The seed used for generation. | |
| images* | ImageFile[] | Generated images. | |
| has_nsfw_concepts* | boolean[] | Whether each generated image was flagged by the safety checker. | |
| prompt* | string | The prompt used for generation. |
Types
1 $defsImageFileobject
| file_size | integer | The size of the file in bytes. | nullable |
| height | integer | The height of the image | nullable |
| content_type | string | The mime type of the file. | 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. | |
| width | integer | The width of the image | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/hidream-o1-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}