KutsuyaYuki / ABG_extension

232 stars 23 forks source link

I want to remove the background but when I enter the description it doesn't work please help #16

Open phinihoa opened 1 year ago

phinihoa commented 1 year ago

i am programming an app using stable diffusion but when entering description { "prompt" : "attractive girl", "Model" : "deliberate_v2", "Negative prompt" : "", "width" : 512, "height": 350, "sampler_index": " DDIM", "script_args": ["abg remover"], "steps" : 25 } .the background is not remove please help me . Thank you very much

KutsuyaYuki commented 1 year ago

I don't really know the context of what you are trying to do, therefore I can't help you.

Can you describe the steps you take from beginning to end and post the terminal output?

phinihoa commented 1 year ago

thanks for reading . In the web ui in the text2img section I can use the ABG Remove script to do a great job of removing the background. So I would like to ask how to use stable diffusion's POST/sdapi/v1/txt2img api to remove the background to get the same result. Please help because when I type "script_args": ["abg remover"] in the prompt it doesn't remove the background. I asked in discord stable diffusion following the link below but no one knows how to do it so I'm asking for permission to message you for help https://discord.com/channels/1002292111942635562/1011228667659178055/1091703602436903002