In this chapter, we will introduce how to use Flux to modify images.
This image is generated by AI
red hair
, and then regenerate the image. However, using this method, the hair of the person’s head becomes red, and other parts of the image may also change.
Or you may want to change the hair of a person in a person image to red, but you don’t want other parts of the image to change. Like this:
/models/diffusion_models/
directory.
Open in MaskEditor
(①), and use it in the MaskEditor.
At this point, you can click the Brush
button (②) on the left, then use the brush to paint on the image, the area you paint is the area you want to modify (④), if you think the painted area is too small, you can also modify it on the right (③). At the same time, there is an eraser tool on the left, which can erase the area you painted. After completing the painting, click the top Save button (⑤) to save your modifications.
a girl with red hair
. Then click the Generate button to generate the image.
An orange-haired girl with a bikini on top and jeans on bottom. Blue sky background
. Then click the Generate button to generate the image.