CONVERT ANY IMAGE TO LINEART Using ControlNet! SO INCREDIBLY COOL!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everybody and did you know you can easily convert an image into its line art version inside stable diffusion very very easily and here's how to do it so first you're simply going to generate a random image so here's mine it looks really really good but now if I want to convert that same image into a line on version here's how to do it so first you're gonna send this image to the image to image Tab and here you're gonna replace that image with a white background so just click on the x button upload a white image that you either created yourself or that you found on Google it doesn't really matter as long as it's white then you're gonna scroll down you're going to choose the same width and height of your previous image so in my case it was 608 by 768 then you're gonna increase the noisy strength to sulfill next 0.95 or more then inside control net you're going to upload the image that you want to convert into a line on version so in my case it was this one then here you're gonna choose the Kini preprocessor and the candy model and of course don't forget to enable the control net and then finally in the prompt you're gonna replace your prompt by a line drawing line art Line work and this prompt will be in the description down below so you can just copy and paste it and then finally you can click on generate and this is the final result a very beautiful line art drawing of our base image and if you decide that there isn't enough details in the drawing here's what you can do if you want a little bit more details in the line art in control net you can increase the guidance start a little bit to something like 0.5 the higher this value the more details it will capture in the line or an image so for example with only 0.05 if I click on generate it gives me something like this which if you compare to the previous one this is the previous one and this is the one with 0.05 as you can see there is now a little bit more details and again if you want even more details you can increase this value even further then also don't forget that the more you increase this value the more gray your image will be for example this is 0 for the guidance start this is the image with 0.05 this is with 0.09 and this is with 0.2 so as you can see we have more details but at the same time we're also losing a little bit of contrast and of course if you want to have more details of the your image you can use this special impacting trick so for this you're going to click on Central extras choose the language source of scanner click generate then you're gonna send it to impaint You're Gonna choose your brush and then you're gonna input an area that you want to change then you're going to select only masked choose a high resolution so something above 768 by 768 select allow the noisic strength to Sophie like a 0.2 and then click generate and this is the result and of course if you compare it to the previous image the face is now definitely way more detailed and of course you can use this trick with every part of our body just send it back to impaint then impact another area of our body and then click generate again and this is the final result which again if you compare to the previous line on a version it has way more details also if you feel like this image is a little too gray for you here's what you can do you're going to right click on this image then click copy then you're gonna go on website like photop.com click on new project click create then you're going to paste your image then you're going to click on new adjustment layer and choose levels and here if you play around a little bit with the sliders you can actually increase or decrease the contrast of the black line art to have only Blackline appear and nothing else two something like this for example obviously this highly depends on what you're trying to do and if for some reason you see some color other facts here and there you can just click right here on new adjustment layer and then select black and white and as you can see our image is now fully black and white and if you want to simulate for example a blue pencil sketch drawing here's what you can do here you're gonna select a blue color that you like so something like this for example then click ok then you're gonna click on new layer then click here on the gradient tool and click again to select the pen bucket tool then you're gonna click on the image to fill the entire image with blue and here on the layers you're gonna change from normal to screen and now as you can see our black and gray line art or trans turned into a beautiful blue pencil sketch drawing which you can of course adjust later using the levels adjustment layer so that's really a super cool trick so as you can see we easily went from a base image to a black and white line art image to a beautiful blue pencil sketch drawing so definitely try this out yourself it's really cool alright see you later bye
Info
Channel: Aitrepreneur
Views: 84,966
Rating: undefined out of 5
Keywords: stable diffusion, ai art, stable diffusion ai, stable diffusion tutorial, stable diffusion art, stable diffusion installation, stable diffusion Gui, ai, stable diffusion online free, stable diffusion browser, stable diffusion beta, stable diffusion ai art, controlnet stable diffusion, controlnet inpainting, multi-controlnet stable diffusion, multi-controlnet inpainting, multi-controlnet, multi-controlnet inpainting stable diffusion, lineart
Id: xlO1Av20-OY
Channel Id: undefined
Length: 4min 21sec (261 seconds)
Published: Thu Mar 09 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.