Depth Library for ControlNet in Automatic1111! ![rw-book-cover](https://i.ytimg.com/vi/Oqf-93TpykI/maxresdefault.jpg) ## Metadata - Author: [[Nerdy Rodent]] - Full Title: Depth Library for ControlNet in Automatic1111! - Category: #articles - Document Note: 1. What other types of images can be added to the depth Library? 2. What other features of the Depth Library extension can be used to customize images? 3. What other applications are there for the Depth Library extension? This document outlines how to use the Depth Library extension for ControlNet in Automatic1111 to generate custom depth maps for hands. It explains how to install the extension manually, how to use the library of depth maps and controls, and how to use the extension with inpainting. With this extension, users can create their own depth maps and modify existing ones to get the desired hand shape. - Document Tags: [[ai art]] - Summary: Ever wanted to have a really easy way to generate awesome looking hands from a really easy, pre-made library of hands? Well, this Depth Library extension for the Automatic1111 webui is probably something you'll be interested in! And it doesn't just lend a hand - you can add your own depth maps to the library as well, making this an extension you won't want to miss! == Links! == * Depth Library - https://github.com/jexom/sd-webui-depth-lib * Automatic1111 Web UI - https://github.com/AUTOMATIC1111/stable-diffusion-webui * INCREDIBLE! ControlNet for Stable Diffusion (SMALL files!) - https://youtu.be/YephV6ptxeQ * ControlNet Extension - https://github.com/Mikubill/sd-webui-controlnet * Original ControlNet - https://github.com/lllyasviel/ControlNet * How do I create an animated SD avatar? - https://youtu.be/Z7TLukqckR0 * Installing Anaconda for MS Windows Beginners - https://youtu.be/OjOn0Q_U8cY * Stable Diffusion Playlist! - https://youtube.com/playlist?list=PLjC8P1vEncQDVOC1GgkT3chdyTSs0f9Z * Interested in addin... - URL: https://www.youtube.com/watch?v=Oqf-93TpykI&ab_channel=NerdyRodent what is a really easy way to fix handsin your stable diffusion generatedimages how about having a library ofhands that is just ready to go as ithappens you can add your own depth mapstoo allowing you to generate anythingyou like and it's all thanks to thisdepth Library extension for control netin automatic 1111. at the moment youwill have to install the extensionmanually by going over to the extensionsTab and then install from URL paste theURL click install and then reload the UI you'll then have a depth Library tab upat the top links are of course down inthe descriptionsay you've generated an image of awaving woman in text to image and hereshe is all lovely and oh my that isn'tquite the hand I want is it let's headover to that depth map Library thisextension gives us and see if we can fixthis up as you can see here we have alibrary of depth maps and some controls you can also add your own depth maps ifyou have any let's take a quick look atthis extension there in the mapsdirectory so in your stable diffusiondirectory you've got extensions and thenthis extension and in there you've gotMaps as you can see it's got all thehands so if you just add your own depthmaps into there then they'll appear inyour library the first thing to do hereat the moment is set the width andheight manually I want this to match mytext to image size exactly so I'm goingto set this to 704 by 704 once I've done that I can simply add it as a backgroundimage and there she is with her lovelyhand there is a waving hand in thebottom row there which looks perfect forme if I select this waving hand it willappear in the selected box there youwill also notice you can drag or uploadany image you want once it's in thatlittle box click add and it will appearon the big box on the right there arelots and lots of blue controls there sodon't worry even though it's ratherlarge you can shrink that hand down withthese other controls you can also flip it around as well a little bit if youwant so there we go we can have it theother way too and with the top one thereyou can rotate it slightly so with alittle bit of playing with thesecontrols let's get this hand into theplace that I want itafter you've got the hand exactly whereyou want it you've got two options saveas PNG which is very useful if you wantto use it in in painting later or youcan click Send to control net and thatwill take you straight back to thetexter image tab with this depth map inthe control Net Zero your first tab over there and scroll down a little bit totake a look at this control net so we'vegot enable yes we'll have thatpreprocessor none and we'll select thedepth model because that is a depth mapnow one thing with this is that it willchange your whole image quite a lot sowhat I'm going to do instead is I'mgoing to turn the weights down very lowindeed I'm going to have it about 0.15there we go and then when I generate itwill look like this and there she isthat look the normal number of fingerson her thumb and she's waving but the rest of the image has changed a fair bitokay what can we do about that what ifwe want exactly the same image wellthat's right yes we can do this in inpainting so here is that original imagein the in painting Tab and if we scrolldown we can go back to the control netenable this drop in the PNG that wesaved we'll turn guest mode on as welland we'll also have the depth model theweight I'm going to leave at one againthis time of course the prompt I have changed to waving hand so all I need todo now is just draw the mask and we'llreplace that hand with somethingcompletely different so this time we'vegot exactly the same image but we'veonly changed the hand and as she wavesgoodbye I think she's also suggestingthat you watch this nerdy rodent videonext, Depth Library for ControlNet in Automatic1111!, Nerdy Rodent, 01gtqw7a9fxjwph18ydd1f1tft.