{"id":11501,"date":"2024-05-28T10:00:58","date_gmt":"2024-05-28T02:00:58","guid":{"rendered":"https:\/\/www.1ai.net\/?p=11501"},"modified":"2024-05-28T10:00:58","modified_gmt":"2024-05-28T02:00:58","slug":"stable-diffusion%e6%95%99%e7%a8%8b%ef%bc%8cai%e7%bb%98%e7%94%bb%e7%94%9f%e6%88%90%e5%85%a8%e5%a5%97%e5%8f%a4%e9%a3%8e%e5%86%99%e7%9c%9f","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/11501.html","title":{"rendered":"Stable Diffusion tutorial, AI painting generates a complete set of ancient style photos"},"content":{"rendered":"<section>\n<p data-track=\"1\" data-pm-slice=\"0 0 []\">Phoenix crown and bridal robe, spring breeze face, ten miles of red makeup will not disappoint you.<a href=\"https:\/\/www.1ai.net\/en\/tag\/lora%e6%a8%a1%e5%9e%8b\" title=\"[SEE ARTICLES WITH [LORA MODEL] LABELS]\" target=\"_blank\" >LoRa Model<\/a>There is a LORA named after the Phoenix Crown and the Phoenix Burial Cap. In the LORA model of the LiblibAI website SDXL, the number of visits and downloads is still very high in the ancient style series. Today we will use this LORA model and combine it with the InstantID plug-in to see how to implement AI<a href=\"https:\/\/www.1ai.net\/en\/tag\/%e8%89%ba%e6%9c%af%e5%86%99%e7%9c%9f\" title=\"[Sees articles with labels]\" target=\"_blank\" >Art Photo<\/a>.<\/p>\n<p data-track=\"2\"><strong>1. Chinese style | Hanfu | Phoenix crown and bridal robe SDXL<\/strong><\/p>\n<p data-track=\"3\"><strong>Model download address<\/strong><\/p>\n<blockquote class=\"pgc-blockquote-abstract\">\n<p data-track=\"4\">LiblibAI:https:\/\/www.liblib.art\/modelinfo<\/p>\n<p data-track=\"5\">\/1b34e7914de04a849fbc8aa1a8358b50<\/p>\n<\/blockquote>\n<p data-track=\"6\">The author provides instructions on how to use the LORA model<\/p>\n<p data-track=\"7\">(1) Trigger word: QIEMANCN, weight value: 0.6-0.8<\/p>\n<p data-track=\"8\">(2) Related prompt words: Chinese style, Hanfu;<\/p>\n<p data-track=\"9\">(3) Recommended large model: Basic model SDXL 1.0<\/p>\n<p data-track=\"10\">(4) CLIP skip layer: 1<\/p>\n<p data-track=\"11\">(5) Output size: 1024*1280<\/p>\n<p data-track=\"12\">Let\u2019s first take a look at the output effect of this LORA model.<\/p>\n<blockquote class=\"pgc-blockquote-abstract\">\n<p data-track=\"13\"><strong>Prompt<\/strong>\uff1aHigh quality,masterpiece,rich details,realistic photography,8k,high-definition image quality,<\/p>\n<p data-track=\"14\">QIEMANCN,a photo of woman with a red and gold dress,hanfu,chinese style,grand spectacle,wide viewing angle,high definition,big scene,snowscape,plum blossom,looking at the camera,<\/p>\n<\/blockquote>\n<blockquote class=\"pgc-blockquote-abstract\">\n<p data-track=\"15\"><strong>Prompt word<\/strong>: High quality, masterpiece, rich details, realistic photography, 8k, HD quality,<\/p>\n<p data-track=\"16\">QIEMANCN, photo of a woman, red and gold clothes, Hanfu, Chinese style, spectacular, wide viewing angle, high definition, large scene, snow scene, plum blossoms, looking at the camera,<\/p>\n<\/blockquote>\n<p data-track=\"17\"><strong>Reverse prompt words:<\/strong><\/p>\n<blockquote class=\"pgc-blockquote-abstract\">\n<p data-track=\"18\">easynegative,ng_deepnegative_v1_75t,(worst quality:2),(low quality:2),(normal quality:2),lowres,bad anatomy,bad hands,normal quality,((monochrome)),((grayscale)),(( watermark)),<\/p>\n<\/blockquote>\n<p data-track=\"19\">Related parameter settings:<\/p>\n<ul>\n<li data-track=\"20\">Large Model: LEOSAM HelloWorld New World | SDXL Realistic Large Model<\/li>\n<li data-track=\"21\">Sampler: DPM++2M Karras<\/li>\n<li data-track=\"22\">Sampling iteration number: 30<\/li>\n<li data-track=\"23\">Image width and height: 1024*1024<\/li>\n<li data-track=\"24\">Prompt word guidance coefficient (CFG): 7<\/li>\n<li data-track=\"25\">LORA: The weight is set to 0.8<\/li>\n<li data-track=\"28\">The effect of generating pictures is as follows.<\/li>\n<\/ul>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11502\" title=\"get-660\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-660.jpg\" alt=\"get-660\" width=\"1080\" height=\"1080\" \/><\/div>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11506\" title=\"get-664\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-664.jpg\" alt=\"get-664\" width=\"1080\" height=\"1080\" \/><\/div>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11503\" title=\"get-661\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-661.jpg\" alt=\"get-661\" width=\"1080\" height=\"1080\" \/><\/div>\n<p data-track=\"34\">About the LORA model testing experience<\/p>\n<p data-track=\"35\">(1) The human face is prone to distortion. The author has also consulted fellow Taoists on the official website for a good solution.<\/p>\n<p data-track=\"36\">(2) The hand problem is quite serious. Of course, this problem is difficult to handle with general models.<\/p>\n<p data-track=\"37\">(3) The phoenix crown on the head seems too simple and not grand enough.<\/p>\n<p data-track=\"38\">(4) The recommended LORA model is the SDXL1.0 standard model. It is better to try the LEOSAM HelloWorld realistic large model.<\/p>\n<p data-track=\"39\"><strong>2. How to create a plug-in face-changing function using InstantID<\/strong><\/p>\n<p data-track=\"40\"><strong>[Step 1]: Selection of large model<\/strong><\/p>\n<p data-track=\"41\">We use LEOSAM HelloWorld|SDXL photorealistic large model<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11504\" title=\"get-662\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-662.jpg\" alt=\"get-662\" width=\"703\" height=\"78\" \/><\/div>\n<p data-track=\"42\"><strong>\u3010Step 2\u3011\uff1aWriting prompt words<\/strong><\/p>\n<p data-track=\"43\"><strong>Positive prompt words:<\/strong><\/p>\n<blockquote class=\"pgc-blockquote-abstract\">\n<p data-track=\"44\">Prompt: High quality, masterpiece, rich details, realistic photography, 8k, high-definition image quality,<\/p>\n<p data-track=\"45\">QIEMANCN,a photo of woman with a red and gold dress,hanfu,chinese style,grand spectacle,wide viewing angle,high definition,big scene,snowscape,plum blossom,looking at the camera, ,<\/p>\n<\/blockquote>\n<p data-track=\"46\">Related parameter settings of Wensheng diagram<\/p>\n<ul>\n<li data-track=\"47\">Sampler: DPM++2M Karras<\/li>\n<li data-track=\"48\">Sampling iteration number: 30<\/li>\n<li data-track=\"49\">Image width and height: It is recommended to set it to around 1024.<\/li>\n<li data-track=\"50\">Prompt word guidance coefficient (CFG): 3<\/li>\n<\/ul>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11505\" title=\"get-663\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-663.jpg\" alt=\"get-663\" width=\"883\" height=\"346\" \/><\/div>\n<p data-track=\"51\"><strong>\u3010Step 3\u3011ControlNet plug-in InstantID model setting<\/strong><\/p>\n<p data-track=\"52\">Two ControlNet units are required here.<\/p>\n<p data-track=\"53\"><strong>ControlNet Unit 0: Upload original image of a real person<\/strong><\/p>\n<p data-track=\"54\">Here we use photos of Fairy Sister to generate AI artistic photos.<\/p>\n<p data-track=\"55\">Note that the image here should be around 1024 in size.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11507\" title=\"get-665\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-665.jpg\" alt=\"get-665\" width=\"859\" height=\"994\" \/><\/div>\n<p data-track=\"56\">The relevant parameter settings are as follows:<\/p>\n<ul>\n<li data-track=\"57\">Control type: Select \"Instant_ID\"<\/li>\n<li data-track=\"58\">Preprocessor: instant_id_face_embedding<\/li>\n<li data-track=\"59\">Model: ip-adpter_instanid_sdxl<\/li>\n<li data-track=\"60\">Control weight: 1<\/li>\n<\/ul>\n<p data-track=\"62\"><strong>ControlNet unit 1: Upload face positioning photo<\/strong><\/p>\n<p data-track=\"63\">Upload any photo, its role is to control the final image of the character&#039;s face position. We can do the same as the first picture.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11509\" title=\"get-667\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-667.jpg\" alt=\"get-667\" width=\"858\" height=\"994\" \/><\/div>\n<p data-track=\"64\">The relevant parameter settings are as follows:<\/p>\n<ul>\n<li data-track=\"65\">Control type: Select \"Instant_ID\"<\/li>\n<li data-track=\"66\">Preprocessor: instant_id_face_keypoints<\/li>\n<li data-track=\"67\">Model: control_instant_id_sdxl<\/li>\n<li data-track=\"68\">Control weight: 0.45<\/li>\n<\/ul>\n<p data-track=\"69\"><strong>\u3010Step 4\u3011Image generation<\/strong><\/p>\n<p data-track=\"70\">Click the [Generate] button and let\u2019s take a look at the final generated image effect.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11511\" title=\"get-669\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-669.jpg\" alt=\"get-669\" width=\"1080\" height=\"1080\" \/><\/div>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11510\" title=\"get-668\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-668.jpg\" alt=\"get-668\" width=\"1080\" height=\"1080\" \/><\/div>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11508\" title=\"get-666\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-666.jpg\" alt=\"get-666\" width=\"1080\" height=\"1080\" \/><\/div>\n<p data-track=\"71\"><strong>3. Change the character&#039;s posture<\/strong><\/p>\n<p data-track=\"72\">We can change the action posture of the character through ControlNet unit 1. Just replace the character image uploaded by ControlNet unit 1. If the effect is not obvious, the image of ControlNet unit 0 and ControlNet unit 1 remain the same.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11512\" title=\"get-670\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-670.jpg\" alt=\"get-670\" width=\"867\" height=\"994\" \/><\/div>\n<p data-track=\"73\">The generated image effect is as follows.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11513\" title=\"get-671\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-671.jpg\" alt=\"get-671\" width=\"1080\" height=\"1080\" \/><\/div>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11514\" title=\"get-672\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-672.jpg\" alt=\"get-672\" width=\"1080\" height=\"1080\" \/><\/div>\n<p data-track=\"74\">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=\"75\">The model is placed in the network disk, and those who are interested can take it!<\/p>\n<p data-track=\"76\">Network disk link: https:\/\/pan.quark.cn\/s\/b3df771404e2<\/p>\n<\/section>","protected":false},"excerpt":{"rendered":"<p>Feng Guan Xiapi Spring Wind Face, Ten Miles of Red Makeup. In the SDXL ancient wind LORA model, there is a named Feng Guan Xiapi named LORA, in the LiblibAI website SDXL LORA model, the number of visits and downloads downloads in the ancient wind series is still very front. Today we will take this LORA model, combined with InstantID plug-in to see how to realize AI art portraits. I. National style | Hanfu | Feng Guan Xiapi SDXL model download address LiblibAI: https:\/\/www.liblib.art\/modelinfo \/1b34e7914de04a849fbc8aa1a8358b50 The author gives on the use of this LORA model related to say<\/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":[2272,491,2805,198,2271],"collection":[],"class_list":{"0":"post-11501","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-jiaocheng","7":"category-baike","8":"tag-ai","10":"tag-lora","11":"tag-stable-diffusion","12":"tag-2271"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/11501","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=11501"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/11501\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=11501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=11501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=11501"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=11501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}