GET
/v1/schemas/fal/image/bria%2Ffibo-2%2Fgenerate
Accept:
Request body
8 properties · 0 required · 6 $defs| property | type | description | constraints |
|---|---|---|---|
| style | enum | A style for the generated image. Requires 'prompt'; not with 'image_url', 'vgl' or 'negative_prompt'. | Kodak Film | Hard Flash | Hazy Dreamy | Rough Realism · nullable |
| seed | integer | Random seed for reproducibility, 0 to 2147483647. | 0 ≤ n ≤ 2147483647 · default: 5555 |
| resolution | enum | Size of the image. 1K (the default): about one megapixel, 1024x1024 at 1:1 (1408x792 at 16:9). 2K: about four megapixels, the 1K image re-rendered at twice its width and height with finer detail, 2048x2048 at 1:1 (2816x1584 at 16:9). The extra pass takes about… | 1K | 2K |
| image_url | string | A reference image (inspire mode). With 'prompt', VGL uses it as a visual reference for the prompt's scene and generates a new image of that scene, not the image. Alone, the VGL describes the image itself, so the result is a close variation of it. Not with 'vgl'. | nullable |
| prompt | string | What to generate, in free-form text. It is expanded into a VGL, which is returned. With 'vgl', the change to make to it. | nullable |
| vgl | Vgl | A VGL (Visual Generation Language) document: the structured JSON description of the scene. Alone, the model renders it as-is. With 'prompt', VGL changes it by the prompt (refine) and the result is rendered. Accepts what a previous request returned. Not with 'image_url' or 'style'. | nullable |
| aspect_ratio | enum | Aspect ratio of the image, at about one megapixel. Options: 1:1, 1:2, 1:3, 1:4, 1:5, 2:1, 2:3, 3:1, 3:2, 3:4, 4:1, 4:3, 4:5, 5:1, 5:4, 9:16, 9:21, 10:16, 16:9, 16:10, 21:9 | 1:1 | 1:2 | 1:3 | 1:4 | 1:5 | 2:1 · +15 more · default: "1:1" |
| sync_mode | boolean | If true, returns the image directly in the response (increases latency). | default: false |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"bria/fibo-2/generate","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}