{"id":17678,"date":"2024-08-10T10:19:32","date_gmt":"2024-08-10T02:19:32","guid":{"rendered":"https:\/\/www.1ai.net\/?p=17678"},"modified":"2024-08-10T10:19:32","modified_gmt":"2024-08-10T02:19:32","slug":"ai%e7%bb%98%e7%94%bb%e6%89%8b%e7%bb%98%e7%a8%bf%e5%bf%ab%e9%80%9f%e7%94%9f%e6%88%90%ef%bc%8c%e7%94%a8stable-diffusion%e5%b0%86%e5%9b%be%e7%89%87%e8%bd%ac%e6%88%90%e7%ba%bf%e7%a8%bf","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/17678.html","title":{"rendered":"AI painting hand-drawn drafts are quickly generated, and stable diffusion is used to convert images into line drafts"},"content":{"rendered":"<p data-pm-slice=\"0 0 []\">In the previous article, I shared with you how to convert line drawings of pictures into Wensheng drawings.<\/p>\n<p data-track=\"80\"><a href=\"https:\/\/www.1ai.net\/en\/17602.html\/\">Stable Diffusion [Application] [Line drawing to drawing]: Convert image to line drawing in one minute<\/a><\/p>\n<p data-track=\"81\">The conversion of image to line drawing can also be achieved by using the method of image generation. Let&#039;s first look at the effect of using the method of image generation to convert image to line drawing.<\/p>\n<p data-track=\"82\"><strong>1. How to convert pictures into line drawings<\/strong><\/p>\n<p data-track=\"83\"><strong>[Step 1] Upload the raw image with white background<\/strong><\/p>\n<p data-track=\"84\">Here we use Meitu XiuXiu to create a pure white background image. Upload this white background image in the Image Generator menu.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17679\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/get-268.jpg\" alt=\"\" width=\"1080\" height=\"502\" \/><\/div>\n<p data-track=\"85\"><strong>[Step 2]: Selection of large model<\/strong><\/p>\n<p data-track=\"86\">Recommended here: majicMIX realistic V7.<\/p>\n<p data-track=\"87\">Model download address (you can also get the network disk address at the end of the article)<\/p>\n<blockquote class=\"pgc-blockquote-abstract\">\n<p data-track=\"88\"><strong>LiblibAI<\/strong>:https:\/\/www.liblib.art\/modelinfo\/bced6d7ec1460ac7b923fc5bc95c4540<\/p>\n<\/blockquote>\n<p data-track=\"89\"><strong>Step 3:<a href=\"https:\/\/www.1ai.net\/en\/tag\/%e6%8f%90%e7%a4%ba%e8%af%8d\" title=\"[View articles tagged with [cue word]]\" target=\"_blank\" >Prompt word<\/a>Writing<\/strong><\/p>\n<p data-track=\"90\"><strong>Positive prompt words<\/strong><\/p>\n<blockquote class=\"pgc-blockquote-abstract\">\n<p data-track=\"91\"><strong>Prompt<\/strong>\uff1alineart,line drawing,sketching,blank and white,clean white background,masterpiece,best quality,fine detail,8K,UHD,wallpaper,<\/p>\n<p data-track=\"92\"><strong>Prompt word<\/strong>: line art, line drawing, sketch, blank and white, clean white background, masterpiece, best quality, fine details, 8K, UHD, wallpaper<\/p>\n<\/blockquote>\n<p data-track=\"93\"><strong>Reverse prompt word<\/strong><\/p>\n<blockquote class=\"pgc-blockquote-abstract\">\n<p data-track=\"94\">negative<\/p>\n<\/blockquote>\n<p data-track=\"95\">Related parameter settings<\/p>\n<ul>\n<li data-track=\"96\">Sampler: Euler a<\/li>\n<li data-track=\"97\">Sampling iteration number: 20<\/li>\n<li data-track=\"98\">Image width and height: 512*768 (same as the original image to be transferred)<\/li>\n<li data-track=\"99\">Prompt word guidance coefficient (CFG): 7<\/li>\n<li data-track=\"100\">Redraw amplitude: 0.75<\/li>\n<\/ul>\n<p data-track=\"101\"><strong>[Step 4]: ControlNet settings<\/strong><\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17680\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/get-269.jpg\" alt=\"\" width=\"1080\" height=\"600\" \/><\/div>\n<p data-track=\"102\">The relevant parameter settings are as follows:<\/p>\n<ul>\n<li data-track=\"103\">Control type: Select \"Lineart\"<\/li>\n<li data-track=\"104\">Preprocessor: lineart_realistic<\/li>\n<li data-track=\"105\">Model: control_v11p_sd15_lineart<\/li>\n<li data-track=\"106\">Control weight: 1<\/li>\n<\/ul>\n<p data-track=\"107\"><strong>\u3010Step 5\u3011Image generation<\/strong><\/p>\n<p data-track=\"108\">Click the [Generate] button and let\u2019s take a look at the final generated image effect.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17681\" title=\"ac19de46j00shzct60013d000e800lcm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/ac19de46j00shzct60013d000e800lcm.jpg\" alt=\"ac19de46j00shzct60013d000e800lcm\" width=\"512\" height=\"768\" \/><\/div>\n<\/td>\n<td>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17682\" title=\"0f4905c7j00shzct60013d000e800lcm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/0f4905c7j00shzct60013d000e800lcm.jpg\" alt=\"0f4905c7j00shzct60013d000e800lcm\" width=\"512\" height=\"768\" \/><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p data-track=\"109\"><strong>2. Related comparison<\/strong><\/p>\n<p data-track=\"110\">(1) The image generation method does not need to use the loar model of the line drawing type. I have tried using lora Anime Lineart\/Manga-like, and I personally feel that the effect is not very good. However, different people may have different opinions. You can refer to the following pictures for comparison.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p data-track=\"111\"><strong>No loar used<\/strong><\/p>\n<\/td>\n<td>\n<p data-track=\"112\"><strong>Use loar<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17682\" title=\"0f4905c7j00shzct60013d000e800lcm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/0f4905c7j00shzct60013d000e800lcm.jpg\" alt=\"0f4905c7j00shzct60013d000e800lcm\" width=\"512\" height=\"768\" \/><\/div>\n<\/td>\n<td>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17683\" title=\"6d8919cej00shzct6001gd000e800lcm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/6d8919cej00shzct6001gd000e800lcm.jpg\" alt=\"6d8919cej00shzct6001gd000e800lcm\" width=\"512\" height=\"768\" \/><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p data-track=\"113\">(2) According to current tests, the effect of transferring real-life pictures is relatively good. However, when transferring line drawings of architectural pictures, the lines are very thin, which makes the pictures look unclear.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17685\" title=\"30c65097j00shzct7005jd000sg00sgm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/30c65097j00shzct7005jd000sg00sgm.jpg\" alt=\"30c65097j00shzct7005jd000sg00sgm\" width=\"1024\" height=\"1024\" \/><\/div>\n<\/td>\n<td>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17684\" title=\"6970f798j00shzct70029d000sg00sgm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/6970f798j00shzct70029d000sg00sgm.jpg\" alt=\"6970f798j00shzct70029d000sg00sgm\" width=\"1024\" height=\"1024\" \/><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p data-track=\"114\">After adding the AnimeLineart\/Manga-like loar, the image clarity has improved. However, there is still room for optimization and improvement in the architectural re-drawing.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p data-track=\"115\"><strong>No loar used<\/strong><\/p>\n<\/td>\n<td>\n<p data-track=\"116\"><strong>Use loar<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17686\" title=\"b46bd549j00shzct7001zd000sg00sgm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/b46bd549j00shzct7001zd000sg00sgm.jpg\" alt=\"b46bd549j00shzct7001zd000sg00sgm\" width=\"1024\" height=\"1024\" \/><\/div>\n<\/td>\n<td>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17687\" title=\"a038b504j00shzct70033d000sg00sgm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/a038b504j00shzct70033d000sg00sgm.jpg\" alt=\"a038b504j00shzct70033d000sg00sgm\" width=\"1024\" height=\"1024\" \/><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p data-track=\"117\">(3) I personally feel that the method of realizing the picture-based drawing is better than the method of realizing the text-based drawing. The lines are clearer and simpler, and the line drawing effect is more realistic.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p data-track=\"118\"><strong>Vincent Figure<\/strong><\/p>\n<\/td>\n<td>\n<p data-track=\"119\"><strong>Figure 1<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17688\" title=\"75b373a5j00shzct6001fd000e800lcm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/75b373a5j00shzct6001fd000e800lcm.jpg\" alt=\"75b373a5j00shzct6001fd000e800lcm\" width=\"512\" height=\"768\" \/><\/div>\n<\/td>\n<td>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17682\" title=\"0f4905c7j00shzct60013d000e800lcm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/0f4905c7j00shzct60013d000e800lcm.jpg\" alt=\"0f4905c7j00shzct60013d000e800lcm\" width=\"512\" height=\"768\" \/><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p data-track=\"121\">Okay, that\u2019s all for today\u2019s sharing. I hope that what I shared today will be helpful to you.<\/p>\n<p data-track=\"122\">The model is placed in the network disk, and those who are interested can take it!<\/p>\n<p data-track=\"123\">https:\/\/pan.quark.cn\/s\/b3df771404e2<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>The previous article shared with you the way to realize the image line drawing transcription of the text born map. Stable Diffusion \u3010Application\u3011\u3010Line drawing\u3011: one minute to realize the picture to draw line drawing Picture line drawing can also be realized using the way of the graph to achieve. Let's take a look at the effect of using the graph to realize the picture to line drawing. I. Picture to line drawing production method [Step 1] Tugraphics white base image upload Here we use the beauty of the show to create a pure white background of the base image. Upload this white background image in the Tupelo function menu. Step 2: Select a large model Here we recommend the use of: majicMIX realistic MAGICMIX Realistic V7. Model download address (the end of the article can also get the address of the network disk) LiblibAI.<\/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":[491,197,198,837],"collection":[302,262],"class_list":{"0":"post-17678","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-jiaocheng","7":"category-baike","8":"tag-ai","9":"tag-stable-diffusion","11":"tag-837","12":"collection-prompt","13":"collection-stablediffusion"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/17678","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=17678"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/17678\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=17678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=17678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=17678"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=17678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}