{"id":18030,"date":"2024-08-15T10:35:43","date_gmt":"2024-08-15T02:35:43","guid":{"rendered":"https:\/\/www.1ai.net\/?p=18030"},"modified":"2024-08-15T10:35:43","modified_gmt":"2024-08-15T02:35:43","slug":"ai%e7%bb%98%e7%94%bb%e6%95%99%e7%a8%8b%ef%bc%8c%e7%94%a8stable-diffusion%e4%b8%80%e5%88%86%e9%92%9f%e6%95%99%e4%bc%9a%e4%bd%a0%e5%ae%9e%e7%8e%b0%e5%9b%be%e7%89%87%e8%bd%ac%e7%bb%98%e6%8f%92%e7%94%bb","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/18030.html","title":{"rendered":"AI painting tutorial, use Stable Diffusion to teach you how to turn pictures into illustrations in one minute"},"content":{"rendered":"<div data-block=\"true\" data-editor=\"wyh\" data-offset-key=\"5l2t2-0-0\">\n<div class=\"public-DraftStyleDefault-block public-DraftStyleDefault-ltr\" data-offset-key=\"5l2t2-0-0\">\n<p>I have shared with you the relevant production methods of line drawing transfer before. I will continue to share new practices about line drawing transfer in the future. Today we will start to share another kind of picture transfer: illustration transfer.<\/p>\n<p><strong>1. How to convert pictures into illustrations<\/strong><\/p>\n<p><strong>[Step 1]: Selection of large model<\/strong><\/p>\n<p>It is recommended to use: Vientiane Furnace | Anything V5\/V3.<\/p>\n<p>Model download address (you can also get the network disk address at the end of the article)<\/p>\n<blockquote>\n<ul>\n<li><strong>LiblibAI<\/strong>:https:\/\/www.liblib.art\/modelinfo\/1f26c86ea6a8442c856359abf10febf1<\/li>\n<\/ul>\n<\/blockquote>\n<p><strong>\u3010Step 2\u3011\uff1aWriting prompt words<\/strong><\/p>\n<p><strong>Positive prompt word format: flat illustration, sdh, + picture information<\/strong><\/p>\n<p>Here, sdh is the trigger word of loar that will be used later. The image information can be inferred through the WD1.4 tagger tag.<\/p>\n<p><strong>Positive prompt words<\/strong><\/p>\n<blockquote>\n<ul>\n<li><strong>Prompt<\/strong>\uff1aflat illustration,sdh,no humans,cloud,sky,scenery,<\/li>\n<li>outdoors,building,day,blue sky,city,cityscape,lamppost,cloudy sky,skyscraper,road,<\/li>\n<li><strong>Prompt word<\/strong>: Flat illustration, no people, clouds, sky, landscape, outdoor, building, daytime,<\/li>\n<li>blue sky, city, cityscape, lamp posts, cloudy sky, skyscrapers, roads,<\/li>\n<\/ul>\n<\/blockquote>\n<p><strong>Reverse prompt word<\/strong><\/p>\n<blockquote>\n<ul>\n<li>(worst quality:2),(low quality:2),(normal quality:2),lowres,watermark,ng_deepnegative_v1_75t EasyNegative badhandv4,<\/li>\n<\/ul>\n<\/blockquote>\n<p>Related parameter settings<\/p>\n<ul>\n<li>Sampler: Euler a<\/li>\n<li>Sampling iteration number: 30<\/li>\n<li>Image width and height: 512*768 (1024*1024) (keep the same as the original image to be transferred)<\/li>\n<li>Prompt word guidance coefficient (CFG): 7<\/li>\n<\/ul>\n<p><strong>\u3010Step 3\u3011\uff1aSetting up the Loar model<\/strong><\/p>\n<p><strong>Here we are using loar, a flat illustration.<\/strong><\/p>\n<p><strong>loar1: Flat Illustration V1.0<\/strong><\/p>\n<blockquote>\n<ul>\n<li><strong>LiblibAI<\/strong>: https:\/\/www.liblib.art\/modelinfo\/76dcb8b59d814960b0244849f2747a15<\/li>\n<\/ul>\n<\/blockquote>\n<p>Trigger word: sdh. Weight is set to 0.8<\/p>\n<p><strong>[Step 4]: ControlNet settings<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18031\" title=\"bd39b99dj00si8myf002ad000u000m6m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/bd39b99dj00si8myf002ad000u000m6m.jpg\" alt=\"bd39b99dj00si8myf002ad000u000m6m\" width=\"1080\" height=\"798\" \/><\/p>\n<p>The relevant parameter settings are as follows:<\/p>\n<ul>\n<li>Control type: Select \"Tile\/Blur\" (separate\/fuzzy)<\/li>\n<li>Preprocessor: tile_resample (block resampling)<\/li>\n<li>Model: control_v11f1e_sd15_tile<\/li>\n<li>Control weight: 0.65<\/li>\n<\/ul>\n<p><strong>\u3010Step 5\u3011Image generation<\/strong><\/p>\n<p>Click the [Generate] button and let\u2019s take a look at the final generated image effect.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18032\" title=\"4caf9bc0j00si8myf002nd000sg00sgm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/4caf9bc0j00si8myf002nd000sg00sgm.jpg\" alt=\"4caf9bc0j00si8myf002nd000sg00sgm\" width=\"1024\" height=\"1024\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18033\" title=\"761e41dej00si8myf0037d000sg00sgm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/761e41dej00si8myf0037d000sg00sgm.jpg\" alt=\"761e41dej00si8myf0037d000sg00sgm\" width=\"1024\" height=\"1024\" \/><\/p>\n<p><strong>2. Experience of converting real-life pictures to illustrations<\/strong><\/p>\n<p>Using the above production method, let\u2019s take a look at the effect of converting real-life pictures into illustrations.<\/p>\n<p>Keep other parameter settings unchanged and modify the positive prompt words.<\/p>\n<blockquote>\n<ul>\n<li><strong>Prompt<\/strong>\uff1aflat illustration,sdh,1 girl,clean white background,<\/li>\n<li><strong>Prompt word<\/strong>: Flat illustration, 1 girl, clean white background<\/li>\n<\/ul>\n<\/blockquote>\n<p>Let&#039;s take a look at the generated image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18034\" title=\"ac19de46j00si8myf0013d000e800lcm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/ac19de46j00si8myf0013d000e800lcm.jpg\" alt=\"ac19de46j00si8myf0013d000e800lcm\" width=\"512\" height=\"768\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18035\" title=\"ba6e8ff0j00si8myf001kd000e800lcm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/08\/ba6e8ff0j00si8myf001kd000e800lcm.jpg\" alt=\"ba6e8ff0j00si8myf001kd000e800lcm\" width=\"512\" height=\"768\" \/><\/p>\n<p><strong>3. Related instructions<\/strong><\/p>\n<p>(1) When converting real-life photos to illustrations, the mouths of the characters in the real-life photos are closed, but the mouths of the generated illustrations are open.<\/p>\n<p>(2) The controller here uses the tile model, which makes the image-to-line drawing look brighter in color. I have also tried using line models such as lineart and canny, but the results were not particularly good. Interested friends can try it out for themselves.<\/p>\n<p>(3) The effect of converting pictures to illustrations mainly depends on the selection of large models and LORA models. We will continue to try other styles in the future. If you have a good implementation plan, you can leave a message or add WeChat to communicate.<\/p>\n<p>Okay, that\u2019s all for today\u2019s sharing. I hope that what I shared today will be helpful to you.<\/p>\n<p>The model is placed in the network disk, and those who are interested can take it!<\/p>\n<p>https:\/\/pan.quark.cn\/s\/b3df771404e2<\/p>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Previously and you have shared the production methods related to line drawing transfer, about line drawing transfer subsequent new practice will continue to share haha. Today we start to share another kind of picture transfer: illustration transfer. I. Picture to illustration production method \u3010Step 1\u3011: the choice of a large model Here we recommend the use of: Wanxiang melting pot | Anything V5\/V3. Model download address (the end of the net disk address can also be obtained) LiblibAI: https:\/\/www.liblib.art\/modelinfo\/ 1f26c86ea6a8442c856359abf10febf1 \u3010Step 2\u3011\uff1aWriting of cue word Positive cue word format: flat illustration,sdh, +\u00a0<\/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,2328,197,198],"collection":[262],"class_list":{"0":"post-18030","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-jiaocheng","7":"category-baike","8":"tag-ai","10":"tag-stable-diffusion","12":"collection-stablediffusion"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/18030","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=18030"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/18030\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=18030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=18030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=18030"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=18030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}