GET
/v1/schemas/fal/image/fal-ai%2Fbria%2Ftext-to-image%2Fbase
Accept:
Request body
11 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt you would like to use to generate images. | length ≥ 1 |
| num_images | integer | How many images you would like to generate. When using any Guidance Method, Value is set to 1. | 1 ≤ n ≤ 4 · default: 4 |
| num_inference_steps | integer | The number of iterations the model goes through to refine the generated image. This parameter is optional. | 20 ≤ n ≤ 50 · default: 30 |
| prompt_enhancement | boolean | When set to true, enhances the provided prompt by generating additional, more descriptive variations, resulting in more diverse and creative output images. | default: false |
| negative_prompt | string | The negative prompt you would like to use to generate images. | default: "" |
| guidance_scale | number | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. | 0 ≤ n ≤ 20 · default: 5 |
| aspect_ratio | enum | The aspect ratio of the image. When a guidance method is being used, the aspect ratio is defined by the guidance image and this parameter is ignored. | 1:1 | 2:3 | 3:2 | 3:4 | 4:3 | 4:5 · +3 more · default: "1:1" |
| guidance | GuidanceInput[] | Guidance images to use for the generation. Up to 4 guidance methods can be combined during a single inference. | default: [] |
| 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 | The same seed and the same prompt given to the same version of the model will output the same image every time. | 0 ≤ n ≤ 2147483647 · nullable |
| medium | enum | Which medium should be included in your generated images. This parameter is optional. | photography | art |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/bria/text-to-image/base","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}