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

Feature Request: Allow multiple ControlNet passes #103

Open
glasshandfilms opened this issue May 10, 2023 · 8 comments
Open

Feature Request: Allow multiple ControlNet passes #103

glasshandfilms opened this issue May 10, 2023 · 8 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@glasshandfilms
Copy link

Describe the feature you'd like to see:

I would love to see multiple ControlNet models being used for renderings. For example using canny, depth, and hed to keep images more consistent.

Additional information

No response

@benrugg
Copy link
Owner

benrugg commented May 10, 2023

You can currently choose any model you have installed. Are you asking for something different?

@benrugg benrugg added the question Further information is requested label May 10, 2023
@glasshandfilms
Copy link
Author

I apologize! I should have been more specific. Do you think it's possible to add more controlNet models? Similar to what you can do in the web UI? Attached is a screenshot of the webUI. That way I can run all of them at once.

I appreciate your work and support on this amazing tool!

Screenshot 2023-05-10 191114

@benrugg
Copy link
Owner

benrugg commented May 11, 2023

Oh, you know what... I didn't realize this was a possibility. Just to clarify, does it run the same image and prompt through multiple passes, or does it produced multiple outputs?

@luoq24
Copy link

luoq24 commented May 12, 2023

Oh, you know what... I didn't realize this was a possibility. Just to clarify, does it run the same image and prompt through multiple passes, or does it produced multiple outputs?

in webui, It only produced 1 output.
and at each pass, you can set different control-image, weight
for example:
pass1: using canny-model, a canny image, weight = 0.5
pass2: using depth-model, a depth map image, weight = 0.3
pass3: using segment-model, a segment image, weight = 1.0

@glasshandfilms
Copy link
Author

Oh, you know what... I didn't realize this was a possibility. Just to clarify, does it run the same image and prompt through multiple passes, or does it produced multiple outputs?

in webui, It only produced 1 output. and at each pass, you can set different control-image, weight for example: pass1: using canny-model, a canny image, weight = 0.5 pass2: using depth-model, a depth map image, weight = 0.3 pass3: using segment-model, a segment image, weight = 1.0

Perfect explanation! thank you :)

Do you think there is a possibility for this @benrugg ? Very curious to gain further control over animated sequences!

@benrugg
Copy link
Owner

benrugg commented May 12, 2023

Yes, thank you for that explanation, @luoq24. I think the Automatic1111 api has support for two ControlNet passes (possibly more), so I think it's doable. I don't have time to implement this right now, but if anyone wants to do it, please submit a PR!

@benrugg benrugg changed the title Multiple ControlNet Feature Request: Allow multiple ControlNet passes May 12, 2023
@benrugg benrugg added enhancement New feature or request help wanted Extra attention is needed and removed question Further information is requested labels May 12, 2023
@tom-malaeasy
Copy link

(thinking about video) multiple controlnet passes could be a game changer. Maybe we can manipulate process more like Stable Warp Fusion does.
Another feature that can control concistency could be mix the weight of actual blender input and "new image from last ai image"
Think about of a simple cube and an orbit camera. Generating images (manualy) from the last ai render, we gain ditails for every frame but we lost orbit camera position. If you can tcontrol the camera position and the last ai render you get best of both world!
thanks @benrugg for this! very stable and versatile weapon in generative war!

@benrugg
Copy link
Owner

benrugg commented Aug 17, 2023

@tom-malaeasy good call - thanks for pointing out those use-cases. That always helps me in understanding how to best build new features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants