InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[enhancement]: ControlNet is needed here

Open butaixianran opened this issue 2 years ago • 19 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Contact Details

No response

What should this feature add?

ControlNet is needed here, it is a very very powerful feature for stable diffusion. Now, SD webui gets it.

It's an img2img feature, it takes the source image and use ControlNet AI to generate this image's frame lines or character's pose. So the output image can get the samething but keeps its own style

check it out: https://github.com/lllyasviel/ControlNet

and this is SD webui's extension for this: https://github.com/Mikubill/sd-webui-controlnet





butaixianran avatar Feb 15 '23 05:02 butaixianran

yes, please. i love invokeai's ui and everything but controlnet is too awesome to miss.

GumDeveloper avatar Feb 17 '23 16:02 GumDeveloper

Anyone working on this? Or anyone could at least lay out the steps that need to be taken for this to work?

jonas-klesen avatar Feb 17 '23 19:02 jonas-klesen

Yeah, I'm already thinking of installing the old SD again just to use it to speed up some projects. It's very much needed for Invoke.

SeanPMurphy avatar Feb 17 '23 20:02 SeanPMurphy

The real deal is, invokeAI need to support extensions. So other developer can add new feature to InvokeAI.

For example, I created a SD webui's extension to translate native language into English, so now, people can use their native language as prompt.

I'd like to add this feature to InvokeAI, but it seems does not support extensions.

butaixianran avatar Feb 17 '23 21:02 butaixianran

The real deal is, invokeAI need to support extensions. So other developer can add new feature to InvokeAI.

See also this newly-created issue: https://github.com/invoke-ai/InvokeAI/issues/2696

Although one could also just fork the repo, implement ControlNet support, and create a pull request?

jonas-klesen avatar Feb 17 '23 22:02 jonas-klesen

There's active work on getting this in to the upstream diffusers library:

  • https://github.com/huggingface/diffusers/issues/2331

any interface InvokeAI adds for ControlNet is likely to be built on top of that.

keturn avatar Feb 18 '23 02:02 keturn

Although one could also just fork the repo, implement ControlNet support, and create a pull request?

Yes, PRs always welcome. The #developer-forums or #dev-chat on discord is the best place to coordinate that sort of thing. (See #739 for access to #dev-chat.)

keturn avatar Feb 18 '23 02:02 keturn

Hi guys, I opened a ControlNet PR on Diffusers repo yesterday. Still in WIP. If you have any comments from a user perspective, especially on Discussion-1, please let me know.

takuma104 avatar Feb 18 '23 12:02 takuma104

The real deal is, invokeAI need to support extensions. So other developer can add new feature to InvokeAI.

Yes the lack of extensions support I think really hamstrings InvokeAI and limits the speed at which features can be added. It would be great to see this implemented.

darth-veitcher avatar Feb 18 '23 19:02 darth-veitcher

Are extensions even planned, i mean it seems like thats the 1 thing holding back invoke from being the defacto standard vs A111, most people jump on that one because due to extensions its the first to get new things... Seems some form of extension pipeline should be part of the InvokeAI even if those better extensions eventually get rolled into main system.

cchance27 avatar Mar 01 '23 05:03 cchance27

Going to chime in agreeing with the extension concept, if that will help get the features over to InvokeAI sooner. Automatic111 crashes for me (and freezes my computer) regularly, InvokeAI has not done that even once. So there is a more stable app here, and perhaps that's in part because it didn't go the route of extensibility, but I think finding a way to do it would be great.

korodarn avatar Mar 01 '23 06:03 korodarn

I'm more moderate; I think that this topic (controlNET) is needed as a feature, but I think Invoke has a leg up in:

  • UI
  • Stability
  • Ease of use

Extensibility IMO should take a backseat vs retaining the above for end users (in terms of actively supporting/developing ways to do this), however it probably wouldn't hurt to at least make some extension documentation to get people started.

Rule72 avatar Mar 02 '23 18:03 Rule72

I'm more moderate; I think that this topic (controlNET) is needed as a feature, but I think Invoke has a leg up in:

* UI

* Stability

* Ease of use

Extensibility IMO should take a backseat vs retaining the above for end users (in terms of actively supporting/developing ways to do this), however it probably wouldn't hurt to at least make some extension documentation to get people started.

I agree with this. This is how Invoke AI stands out. Although I appreciate the developers of the automatic1111 Web UI, there is bad UI and no UX there. Whatever you decide to do, you have to either hack your way through or find someone's guide who had already hacked their way through the task.

I use Automatic1111 for testing out the bleeding edge features. For actually using SD for a real-world task, Invoke AI is the go-to app.

yanekyuk avatar Mar 02 '23 19:03 yanekyuk

Are extensions even planned, i mean it seems like thats the 1 thing holding back invoke from being the defacto standard vs A111, most people jump on that one because due to extensions its the first to get new things... Seems some form of extension pipeline should be part of the InvokeAI even if those better extensions eventually get rolled into main system.

They are working on it.

quixot1c avatar Mar 05 '23 23:03 quixot1c

There are two major issues with Invoke that put it behind A1111 right now and this (and the lack of extension support in general) is one of them. Extension support in general is badly needed.

Void2258 avatar Mar 08 '23 20:03 Void2258

With Diffusers 0.14.0, ControlNet is included in diffusers by default.

So it should be easy-ish to include it? I don't know how the internals work, but yeah. It would probably require an update to the web ui as well. Or maybe just load the various checkpoints into the model dropdown.

So there's some design that needs to happen, but still.

Elec0 avatar Mar 13 '23 03:03 Elec0

love Invoke AI, looking forward to the ControlNet features supported / included. Thank you guys~

shruru avatar Mar 25 '23 04:03 shruru

Controlnet 1.1 has been released, and it is significantly better than the previous version, cnet 1.0. I am eagerly wait for the controlnet and batch img2img generation features to become available so that I can switch from using the A1111 webui to using invokeai.

Eagle07-Sudo avatar Apr 21 '23 01:04 Eagle07-Sudo

I'm very much looking forward to this being available in InvokeAI. I'm new here, but it's been fantastic to use, and this would add another level of control to form generations on top of img2img.

ymgenesis avatar Jun 20 '23 10:06 ymgenesis