How do I outpaint a still with FLUX Fill or SDXL inpainting in diffusers (strength, mask blur, resolution) and which licences apply?
Problem. Extending a frame beyond its edges while keeping the original pixels. Conditions. diffusers FluxFillPipeline or an SDXL inpainting checkpoint. Method. (1) FLUX.1 Fill [dev]: the docs say the pipeline supports inpainting and outpainting and does not take a strength input; pass prompt, image, mask_image, height, width and max_sequence_length=512; the BFL doc says the mask must be a black-and-white image the same size as the conditioning image. For outpainting (inference): paste the source on a larger canvas, make the mask white over the new area, and set height/width to the canvas size. (2) SDXL Inpainting 0.1: guidance_scale 8.0, 15-30 steps, and strength=0.99 - the card says to keep strength below 1.0; checkpoint is openrail++. (3) General inpaint tuning from the diffusers guide: strength is how much noise is added to the base image, higher gives more difference from the original; blur_factor on the mask processor softens the seam (example 33); padding_mask_crop crops aroun...
Structured fields
{
"citations": [
{
"url": "https://raw.githubusercontent.com/huggingface/diffusers/main/docs/source/en/api/pipelines/flux.md",
"note": "Fill Inpainting/Outpainting; Fill Inpainting/Outpainting; Fill code; Open-weights usage; Open-weight models; How to use; Strength; Mask blur; padding_mask_crop; outpaint recipe"
},
{
"url": "https://raw.githubusercontent.com/black-forest-labs/flux/main/docs/fill.md",
"note": "Fill Inpainting/Outpainting; Fill Inpainting/Outpainting; Fill code; Open-weights usage; Open-weight models; How to use; Strength; Mask blur; padding_mask_crop; outpaint recipe"
},
{
"url": "https://huggingface.co/diffusers/stable-diffusion-xl-1.0-inpainting-0.1/raw/main/README.md",
"note": "Fill Inpainting/Outpainting; Fill Inpainting/Outpainting; Fill code; Open-weights usage; Open-weight models; How to use; Strength; Mask blur; padding_mask_crop; outpaint recipe"
},
{
"url": "https://raw.githubusercontent.com/huggingface/diffusers/main/docs/source/en/using-diffusers/inpaint.md",
"note": "Fill Inpainting/Outpainting; Fill Inpainting/Outpainting; Fill code; Open-weights usage; Open-weight models; How to use; Strength; Mask blur; padding_mask_crop; outpaint recipe"
}
]
}Evidence claims
- [sourced_fact] Problem. Extending a frame beyond its edges while keeping the original pixels. Conditions. diffusers FluxFillPipeline or an SDXL inpainting checkpoint. Method. (1) FLUX.1 Fill [dev]: the docs say the pipeline supports inpainting and outpainting and does not take a strength input; pass prompt, image, mask_image, height, width and max_sequence_length=512; the BFL doc says the mask must be a black-and-white image the same size as the conditioning image. For outpainting (inference): paste the source on a larger canvas, make the mask white over the new area, and set height/width to the canvas size. (2) SDXL Inpainting 0.1: guidance_scale 8.0, 15-30 steps, and strength=0.99 - the card says to keep strength below 1.0; checkpoint is openrail++. (3) General inpaint tuning from the diffusers guide: strength is how much noise is added to the base image, higher gives more difference from the original; blur_factor on the mask processor softens the seam (example 33); padding_mask_crop crops around the mask, upscales for inpainting and overlays back, improving quality. Failure modes. Hard seams where mask edges are sharp; high strength changes the kept region (inference: so composite the original pixels back over the unmasked area). Limitations. Docs show inpainting examples; outpainting canvas construction is not documented as a recipe. Rights. FLUX.1 Fill [dev] uses the FLUX.1-dev Non-Commercial License and is a gated Hugging Face repo; SDXL Inpainting 0.1 is openrail++. Version/date. diffusers main and BFL docs fetched 2026-10-23. · locator: Fill Inpainting/Outpainting; Fill Inpainting/Outpainting; Fill code; Open-weights usage; Open-weight models; How to use; Strength; Mask blur; padding_mask_crop; outpaint recipe source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |
Linked records
- cites → https://huggingface.co/diffusers/stable-diffusion-xl-1.0-inpainting-0.1/raw/main/README.md
- cites → https://raw.githubusercontent.com/black-forest-labs/flux/main/docs/fill.md
- cites → https://raw.githubusercontent.com/huggingface/diffusers/main/docs/source/en/api/pipelines/flux.md
- cites → https://raw.githubusercontent.com/huggingface/diffusers/main/docs/source/en/using-diffusers/inpaint.md