GET
/v1/schemas/fal/image/fal-ai%2Fbria%2Fexpand
Accept:
Request body
9 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| canvas_size* | integer[] | The desired size of the final image, after the expansion. should have an area of less than 5000x5000 pixels. | |
| image_url* | string | The URL of the input image. | |
| negative_prompt | string | The negative prompt you would like to use to generate images. | default: "" |
| aspect_ratio | enum | The desired aspect ratio of the final image. Will be used over original_image_size and original_image_location if provided. | 1:1 | 2:3 | 3:2 | 3:4 | 4:3 | 4:5 · +3 more · nullable |
| original_image_location | integer[] | The desired location of the original image, inside the full canvas. Provide the location of the upper left corner of the original image. The location can also be outside the canvas (the original image will be cropped). Will be ignored if aspect_ratio is provided. | nullable |
| original_image_size | integer[] | The desired size of the original image, inside the full canvas. Ensure that the ratio of input image foreground or main subject to the canvas area is greater than 15% to achieve optimal results. Will be ignored if aspect_ratio is provided. | nullable |
| seed | integer | You can choose whether you want your generated expension to be random or predictable. You can recreate the same result in the future by using the seed value of a result from the response. You can exclude this parameter if you are not interested in recreating your results. This parameter is optional. | 0 ≤ n ≤ 2147483647 · nullable |
| 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 |
| prompt | string | Text on which you wish to base the image expansion. This parameter is optional. Bria currently supports prompts in English only, excluding special characters. | default: "" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/bria/expand","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}