GET
/v1/schemas/fal/image/fal-ai/janus
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace87edb1723e2c74ebc551974b3be2670bea61d3f73f3f33e8a84a6ca3fcaf6199{
"fetchedAt": 1792818001,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
9 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt to generate an image from. | |
| temperature | number | Controls randomness in the generation. Higher values make output more random. | 0.1 ≤ n ≤ 2 · default: 1 |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | default: false |
| seed | integer | Random seed for reproducible generation. | nullable |
| output_format | enum | The format of the generated image. | jpeg | png · default: "png" |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images. | default: true |
| image_size | ImageSize | enum | The size of the generated image. | default: "square" |
| cfg_weight | number | Classifier Free Guidance scale - how closely to follow the prompt. | 1 ≤ n ≤ 20 · default: 5 |
| num_images | integer | Number of images to generate in parallel. | 1 ≤ n ≤ 16 · default: 1 |
Types
1 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/janus","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}