Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dose it support ControlNet inpaint in SDXL? #16

Open
Whoo-jl opened this issue May 8, 2024 · 6 comments
Open

Dose it support ControlNet inpaint in SDXL? #16

Whoo-jl opened this issue May 8, 2024 · 6 comments

Comments

@Whoo-jl
Copy link

Whoo-jl commented May 8, 2024

No description provided.

@ShenZhang-Shin
Copy link
Collaborator

Yes, I'm working on it. It works fine. I will integrate it into the code soon.
Here is an example. I directly edit 2K image using controlnet inpainting + hidiffusion
input:
christ

output:
hidi_christ_27_seed_65_conditioning_scale_0 5_religious or historical artwork, Christian tradition style  Alien or Xenomorph sits on a rocky outcr

@Whoo-jl
Copy link
Author

Whoo-jl commented May 9, 2024

Yes, I'm working on it. It works fine. I will integrate it into the code soon.是的,我正在努力。它工作正常。我将很快将其集成到代码中。 Here is an example. I directly edit 2K image using controlnet inpainting + hidiffusion下面是一个示例。我使用 controlnet inpainting + hidiffusion 直接编辑 2K 图像 input: 输入: christ

output: 输出: hidi_christ_27_seed_65_conditioning_scale_0 5_religious or historical artwork, Christian tradition style Alien or Xenomorph sits on a rocky outcr

That's great! I can't wait to try it!

@Yzhbuaa
Copy link

Yzhbuaa commented May 9, 2024

Hello, which inpainting controlnet for SDXL did you use in the example above?

@ShenZhang-Shin
Copy link
Collaborator

Hello, which inpainting controlnet for SDXL did you use in the example above?

diffusers/controlnet-canny-sdxl-1.0

@Yzhbuaa
Copy link

Yzhbuaa commented May 9, 2024

Thank you for your quick reply! Did you mean that you use stabilityai/stable-diffusion-xl-base-1.0 conbined with diffusers/controlnet-canny-sdxl-1.0 to perform the image inpainting task? What is the benefit of using a canny controlnet rather than only sdxl?

@ShenZhang-Shin
Copy link
Collaborator

ShenZhang-Shin commented May 9, 2024

Thank you for your quick reply! Did you mean that you use stabilityai/stable-diffusion-xl-base-1.0 conbined with diffusers/controlnet-canny-sdxl-1.0 to perform the image inpainting task? What is the benefit of using a canny controlnet rather than only sdxl?

Yes.
Only use stabilityai/stable-diffusion-xl-base-1.0 can also do inpainting task, but the pose consistency is not as good as sdxl+controlnet.
For example, here is the inpainting output only using sdxl+hidiffusion. You can see the difference.
The inpainting code in readme is sdxl+hidiffusion. I will integrate sdxl+controlnet+hidiffusion into our codebase.
9_seed_141_48 77_oil painting, Alien or Xenomorph sitting on a white rocky outcrop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants