Flux1-schnell-Inpaint-Mask Guide
Community Article
Published
November 4, 2024
FluxInpaintPipeline doesn't seem to consider the entire image during inpainting.(I 'm not sure the problem is pipeline or my program) Adding more masks can improve the results by providing more context, Alternatively, consider using ControlNet (though I'm not familiar with it).
Example 1
Let's say your input image is this one, and your prompt is "a person with an open mouth"
maybe you will paint like this.
however result is poor .
After some trials I realized giving more masks get better images,so we have to paint mask almost like this.
Now we get better result but face are totally difference.
Mix Original Image with first standard mask.
After Fixing color almost best result,this case increse color x 1.5 with PIL-enhancer
Tools
- Inpaint - https://huggingface.co/spaces/Akjava/flux1-schnell-mask-inpaint
- MixImage - https://huggingface.co/spaces/Akjava/Simple-Mask-Paste-Image
- Fix Color with mask - https://huggingface.co/spaces/Akjava/Simple-Whitebalance-Image
Images are generated with FLUX.1-schnell and licensed under the Apache 2.0 License