{"id":21942,"date":"2024-10-24T11:01:40","date_gmt":"2024-10-24T03:01:40","guid":{"rendered":"https:\/\/www.1ai.net\/?p=21942"},"modified":"2024-10-24T11:01:40","modified_gmt":"2024-10-24T03:01:40","slug":"%e3%80%90ai%e7%bb%98%e7%94%bb%e3%80%91stabel-diffusion%e5%85%a5%e9%97%a8%e6%95%99%e7%a8%8b%ef%bc%8csd%e7%bb%98%e5%9b%be%e5%9f%ba%e7%a1%80%e5%ae%9e%e4%be%8b%e8%ae%b2%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/21942.html","title":{"rendered":"AI Drawing] Stabel Diffusion Tutorial, SD Drawing Basics Examples"},"content":{"rendered":"<p>In the past few days, a couple of students from the AI exchange group have written me privately to say they want to learn more about the<a href=\"https:\/\/www.1ai.net\/en\/tag\/sd%e7%bb%98%e5%9b%be\" title=\"[SEE ARTICLES WITH [SD DRAWING] LABELS]\" target=\"_blank\" >SD Mapping<\/a>(SD is software)<a href=\"https:\/\/www.1ai.net\/en\/tag\/stabel-diffusion\" title=\"_Other Organiser\" target=\"_blank\" >Stabel Diffusion<\/a>It is an acronym for a very powerful<a href=\"https:\/\/www.1ai.net\/en\/tag\/ai%e7%bb%98%e7%94%bb%e5%b7%a5%e5%85%b7\" title=\"[SEES ARTICLES WITH LABELS]\" target=\"_blank\" >AI painting tools<\/a>), because I rarely talk about SD drawing before, and after reading other people's information about SD drawing, I was surprised to find that I didn't know how to get started when I opened the SD interface, or what the parameters did or how to set them.<\/p>\n<p>So, today's article will take an example to give SD mapping newbies some introduction to SD basics, SD interface. Since SD runs on a local computer, there are requirements for computer performance and graphics card:<\/p>\n<p>Key points of computer configuration: graphics card, memory, hard disk, CPU, operating system.<\/p>\n<p>Graphics card: N card (Nvidia Nvida independent graphics card) preferred, efficiency far beyond the set of graphics\/AMD\/Intel graphics card and CPU rendering, the minimum of 10 series to start with, the experience of a good sense of the 40 series, the minimum of 4G memory, 6G and qualification, on the top of the ceiling; Memory: a minimum of 8G, 16G and qualification, on the top of the ceiling; Hard disk: the best available space has a 500G towards the top of the solid-state is the best.<\/p>\n<p>System Requirements: Supports Win10\/Win11\/macOS (Apple Silicon only, Intel version of the Mac can not call Radeon graphics) and Linux systems, Apple version of the SD is compatible with a smaller number of plug-ins, the functionality is not as good as Windows and Linux computers.<\/p>\n<p>And for the average person who is not a professional draftsman and just uses AI drawing to make money on projects, investing tens of thousands of dollars in a computer dedicated to SD drawing is not necessary. Because doing projects is not about drawing a lot of diagrams every day like professional diagrammers do.<\/p>\n<p>So what can I do if I want to use SD to draw again? You can use online SD mapping sites, such as MileBlade.com. So, today I'm going to use the Mile High Mile High website as an example to explain it to you:<\/p>\n<p><strong>I. Some basic concepts of SD:<\/strong><\/p>\n<p>The biggest difference between SD (Stabel Diffusion) and MJ (Midjourney) is that to draw with SD, you first need to select a large model (Checkpoint) in order to draw, and if you want to further draw a more detailed or distinctive picture, you also need a LoRA model.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21943\" title=\"9a4a0417j00sluavc002td000tw00wlp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/9a4a0417j00sluavc002td000tw00wlp.jpg\" alt=\"9a4a0417j00sluavc002td000tw00wlp\" width=\"1076\" height=\"1173\" \/><\/p>\n<p><strong>1. CHECKPOINT<\/strong><\/p>\n<p>This is the big model necessary for SD drawing, also called the base model, without the big model can't make the drawing. When you open SD drawing, the first thing is to choose the big model, which determines the style type of your final drawing.<\/p>\n<p>In the drawing interface of Mile High Mile High, click \"CHECKPOINT\", there will be a default model and your own model:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21944\" title=\"d0e57d0bj00sluavm001bd000d400l5p\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/d0e57d0bj00sluavm001bd000d400l5p.jpg\" alt=\"d0e57d0bj00sluavm001bd000d400l5p\" width=\"472\" height=\"761\" \/><\/p>\n<p>So how do you add the model you want?<\/p>\n<p>\u25cf If you have downloaded a large model elsewhere, you can post it to the Mile High website by clicking on the \"Publish\" - \"Models\" button at the top of the page.<\/p>\n<p>\u25cf Join large models posted by others:<\/p>\n<p>Open the homepage, click \"Filter\" on the right side of \"Models\", and select \"Checkpoint\":<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21945\" title=\"5c9e5ab2j00sluavv001fd000no00bhp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/5c9e5ab2j00sluavv001fd000no00bhp.jpg\" alt=\"5c9e5ab2j00sluavv001fd000no00bhp\" width=\"852\" height=\"413\" \/><\/p>\n<p>Then pick the model you need.<\/p>\n<p>Or if you need a certain type of large model, such as anime, illustration, landscape, etc., you can directly click on the category to filter out the related large models, and then pick the model you need.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21946\" title=\"eea1e8ffj00sluaw3000jd000ns004zp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/eea1e8ffj00sluaw3000jd000ns004zp.jpg\" alt=\"eea1e8ffj00sluaw3000jd000ns004zp\" width=\"856\" height=\"179\" \/><\/p>\n<p>Click on the large model of your choice, e.g. I need \"Children's Illustration\", click on it and go to the details page.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21947\" title=\"10179783j00sluawe0032d000u000hvp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/10179783j00sluawe0032d000u000hvp.jpg\" alt=\"10179783j00sluawe0032d000u000hvp\" width=\"1080\" height=\"643\" \/><\/p>\n<p>Click\"<strong>Join the model library<\/strong>\"so that the large model can be placed on the drawing page, with a click on \"Checkpoint\", and you can choose it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21948\" title=\"a49526eaj00sluawl000nd000fb0092p\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/a49526eaj00sluawl000nd000fb0092p.jpg\" alt=\"a49526eaj00sluawl000nd000fb0092p\" width=\"551\" height=\"326\" \/><\/p>\n<p><strong>2. LoRA model.<\/strong><\/p>\n<p>This model is not a mandatory model. It is just a model to further adjust the picture effect on the basis of the big model, also called fine-tuning model. In addition, LoRA model is not limited to one, you can use multiple LoRA models together.<\/p>\n<p>LoRA model can be trained by yourself, if you are interested, there is a special training tutorial in Mile High Mile High website, you can check it to learn.<\/p>\n<p>Where do I add the LoRA model in the drawing page? :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21949\" title=\"2790f28fj00sluawr000md000u00096p\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/2790f28fj00sluawr000md000u00096p.jpg\" alt=\"2790f28fj00sluawr000md000u00096p\" width=\"1080\" height=\"330\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21951\" title=\"22ac0b2cj00sluawx0026d000u000gtp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/22ac0b2cj00sluawx0026d000u000gtp.jpg\" alt=\"22ac0b2cj00sluawx0026d000u000gtp\" width=\"1080\" height=\"605\" \/><\/p>\n<p>Adding an uploaded LoRA model to \"My Model Library\" is the same as adding to a big model, and it's not shown here\u3002<\/p>\n<p><strong>3. Other parameter parsing:<\/strong><\/p>\n<p><strong>(1), Vincennes chart:<\/strong><\/p>\n<p>Get SD to generate images by entering prompt words. (English prompt words are required)<\/p>\n<p><strong>(2), Figure Born Figure.<\/strong><\/p>\n<p>On top of the existing textual instructions, let Al better understand your needs by providing - a reference picture.<\/p>\n<p><strong>(3) Prompt.<\/strong><\/p>\n<p>YOU WANT A DETAILED DESCRIPTION OF THE FIGURE. (E.G. BLACK LONG HAIR, AROUND 20 YEARS OLD, FEMALE, WEARING A WHITE TIGHT-CUT, SHORT-CUT T-SHIRT, LIGHT-BLUE TIGHT SKIRT, HIGH-HEEL BLACK SANDALS, WALK WITH WIND, FACE-TO-FACE, BACKGROUND TO SEASIDE)<\/p>\n<p><strong>(4) Negative Prompt.<\/strong><\/p>\n<p>Describe the elements you do not want to appear in the picture. (e.g. \"Ugly,\" \"bad hand\", \"bad foot\" \"little eye\" etc.)<\/p>\n<p><strong>(5) Sampler method.<\/strong><\/p>\n<p>You can choose the sampler, which refers to the different algorithms used in Al's painting. Among them, Euler a is the basic sampler with high universality of effect; DPM++2M Karras sampling method is recommended for faster and better quality; other sampling methods are based on the recommendation of the author's detail page of the model.<\/p>\n<p><strong>(6), the number of iteration steps (Sampling Steps):<\/strong><\/p>\n<p>Al is required to perform a series of addition and denoising processes while processing the image, and the number of iteration steps indicates the number of times Al simulates the iterative denoising. It is recommended that between 20-30 steps is optimal. The smaller the number of iteration steps, the faster the speed, the lower the quality; on the contrary, the higher the number of steps, the slower the speed, but the higher the quality. 40 steps or more to improve the limited.<\/p>\n<p><strong>(7) High Resolution Restoration.<\/strong><\/p>\n<p>After setting a lower aspect ratio for image output, adding the HD Repair option further optimizes the image quality. It is essentially the equivalent of doing the graph-to-graph operation again.<\/p>\n<p><strong>(8), redrawing amplitude (Denoising):<\/strong><\/p>\n<p>Low redraw range means correcting the original image. The higher the redraw magnitude, the more it changes the enlarged image. 0 will not change the original image, 0.3 or less will slightly correct the image based on the original image, more than 0.7 will change the original image greatly, 1 will get a completely different image.<\/p>\n<p><strong>(9), Width and Height.<\/strong><\/p>\n<p>Resolution adjustment, it is generally recommended to set it around 1024, not too high or too low.<\/p>\n<p><strong>(10), Number of pictures.<\/strong><\/p>\n<p>Since Al has some instability, you need to try several times to reach a satisfactory result. So, generating multiple pictures can be a good way for us to choose. In Mile High website, you need to upgrade to a paid member to select more than 4 pictures.<\/p>\n<p><strong>(11) Number of elevated word leads.<\/strong><\/p>\n<p>The higher the value, the more faithful the image generated by Al will be to your cue word. Generally, 7-12 is a safe range of values, the default is 7. Too large or too small a value may lead to abnormal results.<\/p>\n<p><strong>(12) Random Seed.<\/strong><\/p>\n<p>Clicking on the dice icon means that the picture is randomly generated. Clicking on the green loop arrow continues the creation based on the last generated picture.<\/p>\n<p><strong>II. Example of drawing a picture with SD<\/strong><\/p>\n<p>WE'RE GOING TO USE THE QUOTE, \"BLACK LONG HAIR, AROUND 20 YEARS OLD, FEMALE, WEARING A WHITE TIGHT BUTTON T-SHIRT, A LIGHT BLUE TIGHT SKIRT, HIGH HEELS, BLACK SANDALS, WALKING WITH THE WIND, ALL OVER THE FACE, WITH THE BACKGROUND OF THE SEA\" AS AN EXAMPLE OF HOW TO DRAW YOUR FIRST PICTURE WITH SD (A BILHI NET):<\/p>\n<p>The step-by-step demonstration is as follows (the LoRA model is not selected for this example):<\/p>\n<p><strong>1. Open the website: https:\/\/www.liblib.art\/<\/strong><\/p>\n<p>After registering and logging in, click on \"<strong>Online Graphics (Web UI)<\/strong>\", to access the plotting page.<\/p>\n<p><strong>2. Selection of Large Models.<\/strong><\/p>\n<p>CLICK ON THE BIG MODEL SELECTION BOX BELOW THE CHECKPOINT TO CHOOSE THE BIG MODEL, FOR EXAMPLE, HERE, I CHOOSE THE \"MALE ORANGE WRITING\" MODEL:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21950\" title=\"0ac04e13j00sluax6000id000d3008zp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/0ac04e13j00sluax6000id000d3008zp.jpg\" alt=\"0ac04e13j00sluax6000id000d3008zp\" width=\"471\" height=\"323\" \/><\/p>\n<p><strong>3. Enter the prompt word.<\/strong><\/p>\n<p>Click on the \" Textchart \" to paste the hint in the text box. Click on \"Translation into English\" (if the hint was originally in English, no point here):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21952\" title=\"33ba2b65j00sluaxc000kd000kz0066p\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/33ba2b65j00sluaxc000kd000kz0066p.jpg\" alt=\"33ba2b65j00sluaxc000kd000kz0066p\" width=\"755\" height=\"222\" \/><\/p>\n<p><strong>4. Enter the negative cue word:<\/strong><\/p>\n<p>Just select Default.<\/p>\n<p><strong>5. Select the sampling method and set the number of iteration steps.<\/strong><\/p>\n<p>By default, the method uses \"Euler a\" and the number of iteration steps is set to 25.<\/p>\n<p><strong>6\u3001Set the size of the picture<\/strong><\/p>\n<p>What I need is a vertical picture (9:16), so the width is 576 and the altitude is 1024. Because 576 resolution is too low, the \"high resolution fix\" and \"magnification algorithms\" defaults are to be ticked; the \"redrawn range\" is 0.25; and the \"magnification factor\" is 2:<\/p>\n<p><strong>7, set the number of images generated<\/strong><\/p>\n<p>I set it to 2 sheets.<\/p>\n<p><strong>8. Setting the cue word guidance coefficient and the number of random seeds<\/strong><\/p>\n<p>The default is sufficient, if you need to focus on the prompt word, you can set the value larger.<\/p>\n<p><strong>9\u3001Starting to generate a map<\/strong><\/p>\n<p>Click on the top right of the page to start with a graph, and the platform will generate pictures for us\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21953\" title=\"ff9d915fj00sluaxl000id000g2006lp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/ff9d915fj00sluaxl000id000g2006lp.jpg\" alt=\"ff9d915fj00sluaxl000id000g2006lp\" width=\"578\" height=\"237\" \/><\/p>\n<p>The generated images are as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21954\" title=\"3812bd8aj00sluaxu003yd000u001ebp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/10\/3812bd8aj00sluaxu003yd000u001ebp.jpg\" alt=\"3812bd8aj00sluaxu003yd000u001ebp\" width=\"1080\" height=\"1811\" \/><\/p>\n<p>Isn't the generated image not bad? Did you learn it?<\/p>","protected":false},"excerpt":{"rendered":"<p>In the past few days, there are several AI exchange group students private letter I said that I want to understand the SD drawing (SD is the software Stabel Diffusion short, which is a very powerful AI drawing tool), because I will rarely talk about SD drawing before, and after reading other people's related SD drawing information, open the SD interface surprisingly found that I do not know how to start, and I do not know the parameters have what and how to set them. So, today's article will be an example to give SD drawing novice SD basics, some of the introduction of the SD interface it. As SD runs on the local computer, the performance of the computer and the graphics card is required: computer configuration key points: graphics card, memory, hard disk, CPU, operating system. Graphics card: N card (Nvidia Nvida discrete graphics card)<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149,144],"tags":[504,4728,4727],"collection":[262],"class_list":["post-21942","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-ai","tag-sd","tag-stabel-diffusion","collection-stablediffusion"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/21942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=21942"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/21942\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=21942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=21942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=21942"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=21942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}