fenneishi / Fooocus-ControlNet-SDXL

add more control to fooocus
GNU General Public License v3.0
226 stars 9 forks source link

可以增加一个上传遮罩功能吗? #10

Open chaorenai opened 8 months ago

chaorenai commented 8 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the idea you'd like A clear and concise description of what you want to happen. 在webui上有一个上传遮罩功能,价值非常大,不知道大神时候可以加上这个功能,谢谢!

chaorenai commented 8 months ago

fooocus超强的inpaint,如果能够加上上传遮罩功能,就可以秒杀先在市场上所有的 电商海报,ai模特等项目了。万分期待!

fenneishi commented 8 months ago

我会尝试的

chaorenai commented 8 months ago

我会尝试的

我一个做技术的朋友之前有写成功过,说是有20行代码。https://github.com/lllyasviel/Fooocus/pull/529 这是他提交到fooocus的PR。当时在群里测试效果非常棒,商业化价值很大。不过他后来研究comfyui去了。他的改过的那些代码,随着fooocus升级,也不能用了。如果你的这个分支可以有这个功能,会吸引很多ai商业化的群体以及企业来使用。就算以后官方不升级这个功能,我们也会一直跟随你这个版本的。

fenneishi commented 8 months ago

mask_inpaint

fenneishi commented 8 months ago

image

chaorenai commented 8 months ago

image

请问这个功能在使用的时候,时候可以结合controlnet?今天测试了,商品和人物无法控制的话,在重绘的时候,容易生出来很多多余的内容,导致图片无法使用…抽卡成功率不高哈