black-forest-labs/flux-fill-pro
Professional inpainting and outpainting model with state-of-the-art performance. Edit or extend images with natural, seamless results.
Capabilities
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
image* | string(uri) | The image to inpaint. Can contain an alpha mask. Must be jpeg, png, gif, or webp. | — | — |
prompt* | string | Text prompt for image generation | — | — |
guidance | number | Controls the balance between adherence to the text prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt. | 60 | min: 1.5, max: 100 |
mask | string(uri) | A black-and-white image that describes the part of the image to inpaint. Black areas will be preserved while white areas will be inpainted. Must have the same size as image. Optional if you provide an alpha mask in the original image. Must be jpeg, png, gif, or webp. | — | — |
outpaint | string | A quick option for outpainting an input image. Mask will be ignored. | "None" | NoneZoom out 1.5xZoom out 2xMake squareLeft outpaintRight outpaintTop outpaintBottom outpaint |
output_format | string | Format of the output images. | "jpg" | jpgpng |
prompt_upsampling | boolean | Automatically modify the prompt for more creative generation | false | — |
safety_tolerance | integer | Safety tolerance, 1 is most strict and 6 is most permissive | 2 | min: 1, max: 6 |
seed | integer | Random seed. Set for reproducible generation | — | — |
steps | integer | Number of diffusion steps. Higher values yield finer details but increase processing time. | 50 | min: 15, max: 50 |
imagerequiredstringThe image to inpaint. Can contain an alpha mask. Must be jpeg, png, gif, or webp.
promptrequiredstringText prompt for image generation
guidancenumberControls the balance between adherence to the text prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt.
60min: 1.5, max: 100maskstringA black-and-white image that describes the part of the image to inpaint. Black areas will be preserved while white areas will be inpainted. Must have the same size as image. Optional if you provide an alpha mask in the original image. Must be jpeg, png, gif, or webp.
outpaintstringA quick option for outpainting an input image. Mask will be ignored.
"None"output_formatstringFormat of the output images.
"jpg"prompt_upsamplingbooleanAutomatically modify the prompt for more creative generation
falsesafety_toleranceintegerSafety tolerance, 1 is most strict and 6 is most permissive
2min: 1, max: 6seedintegerRandom seed. Set for reproducible generation
stepsintegerNumber of diffusion steps. Higher values yield finer details but increase processing time.
50min: 15, max: 5041c767bcbfffUpdated: 7/25/20264.0M runs
cinemasetfree.com