zsxkib / flux-dev-inpainting

🎨 Fill in masked parts of images with FLUX.1-dev 🖌️

  • Public
  • 139.9K runs
  • GitHub
  • License

FLUX.1 DEV Inpainting Model

About

This is a version of the Flux DEV inpainting model by @skalskip92. We’ve changed it to keep the original image’s shape. The model expects the mask to be the same size as the input image, but you can change this with some settings.

Big thanks to @Gothos13 for helping create this clever inpainting method.

Tips for Use

  • For better results, try using more steps (between 20-30) when creating the image.
  • Play around with the inpainting ‘strength’. Numbers between 0.85-1.0 often work well, but you might need different strengths for different prompts.
  • Keep in mind that Flux wasn’t specially trained for inpainting. There are no specific inpainting parts, which makes this a smart way to use the model’s skills.
  • The model can still handle text in images.

Note

This inpainting method can make great images, but you might need to try a few times to get what you want. Don’t give up if your first try doesn’t look perfect!

For more info and updates, check out the original tweet thread.

Support

If you like my work, please follow me! @zsakib_