Using ControlNet Depth to generate pngs with transparency? #323
Replies: 4 comments
-
Yes it's possible but sounds like it's outside the scope of this extension and even stable diffusion in general. Would have to be its own extension or gradio tool. |
Beta Was this translation helpful? Give feedback.
-
i would recommend https://github.com/thygate/stable-diffusion-webui-depthmap-script EDIT: i just read the title, transparency AFAIK isnt possible, currently there is no layer for that |
Beta Was this translation helpful? Give feedback.
-
Not sure if this is what you mean... This is easy to implement and works really well with hed/canny. Not so much with normals though. Edit: My project is here in case you'd like to try it. It needs A1111 and sd-webui-controlnet installed to use. And a lot of the info on the itch.io page is outdated. The source code is included in the download: https://kfs334.itch.io/prompt-crafter-organizer Edit: Works with blender too now. Only takes one click in blender to convert a scene to a ControlNet object with transparency. |
Beta Was this translation helpful? Give feedback.
-
I've been playing with settings and I am unable to graft in the fifth finger I need for the image. The image is clipart so I don't know how much that effects things. It always comes out 4 fingers...or a mangled mess. |
Beta Was this translation helpful? Give feedback.
-
Not sure how feasible it would be, but could a function be implemented that would use the depth map(or any other controlnet feature) to extract a foreground object and save a png without putting it back into a full image?
Beta Was this translation helpful? Give feedback.
All reactions