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" | None Zoom out 1.5x Zoom out 2x Make square Left outpaint Right outpaint Top outpaint Bottom outpaint |
output_format | string | Format of the output images. | "jpg" | jpg png |
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 |
image required string The image to inpaint. Can contain an alpha mask. Must be jpeg, png, gif, or webp.
prompt required 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 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" output_format string Format of the output images.
"jpg" 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 2d4197724d8e Updated: 2/26/2026 3.8M runs
cinemasetfree.com