{"id":11623,"date":"2024-05-29T10:32:49","date_gmt":"2024-05-29T02:32:49","guid":{"rendered":"https:\/\/www.1ai.net\/?p=11623"},"modified":"2024-05-29T10:33:07","modified_gmt":"2024-05-29T02:33:07","slug":"stable-diffusion-ai%e6%96%b0%e6%89%8b%e6%95%99%e7%a8%8b-%ef%bc%8c%e6%95%99%e4%bd%a0%e6%8a%8a%e7%85%a7%e7%89%87%e5%8f%98%e6%88%90%e5%8a%a8%e6%bc%ab%e9%a3%8e%e6%a0%bc","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/11623.html","title":{"rendered":"Stable Diffusion AI beginner tutorial, teach you to turn photos into anime style"},"content":{"rendered":"<p data-pm-slice=\"0 0 []\">Today I will share an operation to change a photo into anime style. It is mainly for personal notes. You can take a look at it if you need it. The model and lora address used will be given at the end of the article. Without further ado, let\u2019s get to the practical stuff.<\/p>\n<p data-track=\"247\"><strong>tool<\/strong><\/p>\n<p data-track=\"248\">The AI tool used this time is<a href=\"https:\/\/www.1ai.net\/en\/tag\/stable-diffusion\" title=\"_Other Organiser\" target=\"_blank\" >Stable Diffusion<\/a>The plug-ins involve [WD 1.4 tagger] and [controlnet], and the models mainly use two-dimensional models and anime-style lora.<\/p>\n<p data-track=\"249\"><strong>Effect display<\/strong><\/p>\n<p data-track=\"250\"><strong>Original image<\/strong><\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11625\" title=\"get-705\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-705.jpg\" alt=\"get-705\" width=\"800\" height=\"1400\" \/><\/div>\n<p data-track=\"251\">Anime style transfer graph<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11629\" title=\"get-709\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-709.jpg\" alt=\"get-709\" width=\"800\" height=\"1400\" \/><\/div>\n<p data-track=\"252\">This kind of raw picture has been redrawn, so it is impossible to be exactly the same. There will be some differences, but the overall picture will not change too much, except for the style.<\/p>\n<p data-track=\"253\"><strong>Detailed explanation of the drawing process<\/strong><\/p>\n<p data-track=\"254\">1. Open sd and make sure [WD 1.4 tagger] and [controlnet] are installed as shown below<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11626\" title=\"get-706\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-706.jpg\" alt=\"get-706\" width=\"1080\" height=\"497\" \/><\/div>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11627\" title=\"get-707\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-707.jpg\" alt=\"get-707\" width=\"850\" height=\"712\" \/><\/div>\n<p data-track=\"255\">controlnet is under sd<\/p>\n<p data-track=\"256\">2. First, determine the large model of the graphic design to be used. We are converting realism into two-dimensional animation, so choose a large two-dimensional model for the model. You can go to lib or sushi. I will give the link below. No ladder is required, haha.<\/p>\n<p data-track=\"257\">I used [Outline Color Outline Painting Phoenix] The link is as follows: https:\/\/www.liblib.art\/modelinfo\/33857095e4b34627a7ab01f68908e6bd<\/p>\n<p data-track=\"258\"><strong>Officially launched<\/strong><\/p>\n<p data-track=\"259\">1. Tag reverse deduction means using [WD 1.4 Tag Maker] to obtain the corresponding tags for your images.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11628\" title=\"get-708\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-708.jpg\" alt=\"get-708\" width=\"1080\" height=\"466\" \/><\/div>\n<p data-track=\"260\">The specific process is [select wd1.4-&gt;upload the picture to be reversed-&gt;select the reversed model (I use WD14 moat tagger v2)-&gt;click the &lt;Reverse Image&gt; button-&gt;get the reversed tag-&gt;send to the raw image] OK, the first step is done.<\/p>\n<p data-track=\"261\">2. Set in the image<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11630\" title=\"get-710\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-710.jpg\" alt=\"get-710\" width=\"1080\" height=\"263\" \/><\/div>\n<p data-track=\"262\">As shown in the figure, the model selects the above large model. The keywords are mainly inferred. A lora is also used. The link is as follows: https:\/\/www.liblib.art\/modelinfo\/b6e5fd5851324c608cf1e77e1b51a811. Go download it yourself.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11631\" title=\"get-711\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-711.jpg\" alt=\"get-711\" width=\"892\" height=\"739\" \/><\/div>\n<p data-track=\"263\">Upload the original image to be redrawn<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11632\" title=\"get-712\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-712.jpg\" alt=\"get-712\" width=\"911\" height=\"788\" \/><\/div>\n<p data-track=\"264\">Select [DPM++ 2M SDE Karras] for the sampling method, click the yellow [triangle ruler] to automatically set the image size, and set the [redraw amplitude] to between 0.4 and 0.5.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11633\" title=\"get-713\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-713.jpg\" alt=\"get-713\" width=\"904\" height=\"438\" \/><\/div>\n<p data-track=\"265\">Set [controlnet] to enable; perfect pixel mode; select [Tile\/Blur] for control type. This mainly divides the image into blocks, renders each block, and then composes a large image; set [Control weight] to 0.5; set [Guided intervention timing] to 0.5; [Control mode] balanced, ok, the settings are complete.<\/p>\n<p data-track=\"266\">Click Generate to display<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11634\" title=\"get-714\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-714.jpg\" alt=\"get-714\" width=\"1080\" height=\"1473\" \/><\/div>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11635\" title=\"get-715\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-715.jpg\" alt=\"get-715\" width=\"1080\" height=\"1106\" \/><\/div>\n<p data-track=\"267\">The style is still very obvious. You can also try other models, not necessarily the ones I mentioned, haha.<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Today share a photo into anime style operation, mainly personal notes, you need to look at, the end of the article will give the use of models and lora address, words do not say, on the dry goods. Tools The use of AI tools is Stable Diffusion, plug-ins involved [WD 1.4 tagger] and [controlnet], the model is mainly the use of secondary models and anime style lora. Effect Show Original Anime style conversion map This map raw map itself has a repainted component, so it is not possible to be exactly the same, there will be a slight discrepancy, but the overall will not change! But the overall will not change too much, in addition to the style. Figure out the process details 1, open the sd sure to install the [WD 1.4 labeler] and [controlnet] the following chart<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149,144],"tags":[185,197,198],"collection":[262],"class_list":{"0":"post-11623","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-jiaocheng","7":"category-baike","8":"tag-lora","9":"tag-stable-diffusion","11":"collection-stablediffusion"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/11623","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=11623"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/11623\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=11623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=11623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=11623"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=11623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}