Closed bihailantian655 closed 8 months ago
The mask_optional parameter on advanced ControlNet is not an inpaint mask, it is an attention mask for where ControlNet should take effect (and how much, meaning gradients are allowed). Your setup with the preprocessor, etc still needs to be the same as with vanilla nodes.
To reiterate, the mask_optional input on Apply Advanced ControlNet has nothing to do with inpaint or inpaint controlnet. You still have to use the preprocessor same as before. You don't need to plug anything into mask_optional unless you intend to mask the controlnet's effects.
do you mean like this
Yes, but you're missing the inpaint preprocessor for the control net, which you had set up correctly for your vanilla controlnet example in your original post.
This time it should be right, thank you again for your help
No problem!
The difference between these two workflows is that the first uses native Control Net , the second use ADV controlnet , and it seems that ADV inpaint has very little impact.
Maybe it's because I'm not using adv cnet correctly,