POST https://fal.run/fal-ai/bria/expand
Endpoint ID: fal-ai/bria/expand
Try it in the Playground
Run this model interactively with your own prompts.
Quick Start
Related
- Bria RMBG 2.0 — Image Generation
- Bria Eraser — Image Generation
- Bria Product Shot — Image Generation
- Bria Background Replace — Image Generation
- Video — Video Generation
- Bria GenFill — Image Generation
- Replace Background — Image Generation
- Bria Text-to-Image HD — Image Generation
- Bria Text-to-Image Base — Image Generation
- Embed Product — Image Generation
- Bria Text-to-Image Fast — Image Generation
Capabilities
- Image input
- Aspect ratio control
- Text prompt input
- Reproducible generation (seed)
- Negative prompts
- Synchronous mode
API Reference
Input Schema
The URL of the input image.
The desired size of the final image, after the expansion. should have an area of less than 5000x5000 pixels.
The desired aspect ratio of the final image. Will be used over original_image_size and original_image_location if provided.Possible values:
1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9The 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.
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.
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 value:
""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.Range:
0 to 2147483647The negative prompt you would like to use to generate images. Default value:
""If
True, the media will be returned as a data URI and the output data won’t be available in the request history.Output Schema
The generated image
Seed value used for generation.
Input Example
Output Example
Limitations
seedrange: 0 to 2147483647