Closed LeapLu closed 11 months ago
Yes. You cound pass outpaint_selections
for outpaint and input_mask
for inpaint, both need param input_image
.
The dropdown menu in your screenshot just fill some text in textfiled on the left, which equivalent to param inpaint_additional_prompt
in the api.
so if there is the value of inpaint_additional_prompt which means the method is Modify Content?
Regardless of what the value of inpaint_additional_prompt
is, it will apply inpaint if you pass param input_mask
.
The param inpaint_additional_prompt
only influence the content of inpaint area. And from the Fooocus's code, the value of inpaint_additional_prompt
will just override param prompt
.
Regardless of what the value of
inpaint_additional_prompt
is, it will apply inpaint if you pass paraminput_mask
. The paraminpaint_additional_prompt
only influence the content of inpaint area. And from the Fooocus's code, the value ofinpaint_additional_prompt
will just override paramprompt
.
thank u! ❤️❤️❤️
@konieshadow As far as I know, there are three inpainting methods. What parameters do we use to control switching between them?
@konieshadow As far as I know, there are three inpainting methods. What parameters do we use to control switching between them?
solved
@Laidawang how did you switch between different ways? I am unable to find toggle.
hey! did inpaint outpatient method supported?I didnt find it from the api of /v2/generation/image-inpait-outpaint