Controlnet Img2Img with reference#3872
Controlnet Img2Img with reference#3872realimposter wants to merge 5 commits intohuggingface:mainfrom
Conversation
|
Hey @realimposter, What is a common use case of this? Also how is this different from #3435? |
|
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
|
Also related to: #4257 |
|
I really desire the SDXL-supported 'img2img+ControlNet+reference only pipeline' and 'inpainting+ControlNet+reference only pipeline.' I would be very happy if they were available. |
It can be usefull with face photo editing on low level of noice power. |
Hey @patrickvonplaten! Currently, I am struggling to adapt reference guidance to the inpaint pipelines for the same reason -- it would allow more ways to edit images. By the way, these combinations of inpainting, reference, and ControlNets work totally fine in A1111 so it might be useful to them in diffusers (perhaps, in the community examples). So, I tried to do the following but haven't got any reasonable result: I must say that everything works fine with non-inpainting weights with 4-channel input so I think it is smth wrong with how I am trying to prepare upd: seems like the artefacts happen if there is |
patrickvonplaten
left a comment
There was a problem hiding this comment.
@DN6 can you take a look here?
|
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
|
@DN6 gentle ping here |
|
@realimposter Could we move this into the community pipelines please? |
|
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |



What does this PR do?
Adds controlnet reference functionality to the controlnet Img2Img pipeline. I created this by combining "stable_diffusion_controlnet_reference.py" into "pipeline_controlnet_img2img.py"
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.