GET
/v1/schemas/fal/image/fal-ai/lumina-image/v2?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace9a264a759e5eb4a0e580417d5087e8dd19d34ff9d85675f0b4fd3f4eb373483b{
"fetchedAt": 1783330412,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
5 properties · 5 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| timings* | object | ||
| images* | Image[] | The generated images | |
| has_nsfw_concepts* | boolean[] | Whether the generated images contain NSFW concepts. | |
| 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. | |
| prompt* | string | The prompt used for generating the image. |
Types
1 $defsImageobject
Represents an image file.
| content_type | string | The mime type of the file. | nullable |
| height | integer | The height of the image in pixels. | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
| width | integer | The width of the image in pixels. | 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/lumina-image/v2","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}