GET
/v1/schemas/fal/image/fal-ai/krea-2/turbo/style?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace3f251bfda0ea9b41d0ec7db15bc41f26b49c618361aea2ae080c78d692a20321{
"fetchedAt": 1783832468,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
6 properties · 5 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| timings* | object | Timing information for the request, in seconds. | |
| prompt* | string | The prompt used for generation. | |
| images* | ImageFile[] | The generated images. | |
| has_nsfw_concepts* | boolean[] | Whether each generated image contains NSFW concepts. | |
| seed* | integer | The seed used to generate the image(s). | |
| actual_prompt | string | The final prompt after expansion, if prompt expansion was enabled. | nullable |
Types
1 $defsImageFileobject
| width | integer | The width of the image | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
| height | integer | The height of the image | nullable |
| url* | string | The URL where the file can be downloaded from. | |
| file_name | string | The name of the file. It will be auto-generated if not provided. | 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/krea-2/turbo/style","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}