SD web UI 全稱 Stable Diffusion web UI,是本次要搭配 !After Detailer 擴充功能的 AI 繪圖工具。這款擴充功能可以在每次生成後使用指定模型偵測圖中指定部位,像是臉部、手部或全身等,接著再依照一些局部重繪的參數進行再加強,最終達成全自動生成及修補的目的,對於時常眼神不對、表情崩壞要手動至圖生圖局部重繪處理的人來說,可說是省時省力的神器!千萬不要錯過這個實用的擴充了!
🔗 !After Detailer:https://github.com/Bing-su/adetailer
▲ 打開 Stable Diffusion web UI 切到「擴充功能」頁面,選「從網址安裝」,將擴充功能完整的 git 網址(即 https://github.com/Bing-su/adetailer.git )輸入進去再點「安裝」按鈕,安裝完畢可以在 stable-diffusion-webui\extensions\ 路徑下看到名為 adetailer 的資料夾。
▲ 切到「已安裝」,可以看到「adetailer」已經安裝,未來可以在此檢查更新。點「更新並重新啟動使用者介面」,這樣就成功啟用該擴充功能囉!
▲ 接著可以在 AI 繪圖介面下找到「After Detailer」區塊,跟 ControlNet 一樣,它也能使用多個模型進行處理,預設最多兩個,您可以到設定再修改這個預設值,一般來說選擇偵測模型,接著填入重繪提詞及反向提詞,啟用打勾後就能使用了!
▲ 偵測模型很多可以選,所有模型都適用於真人,而動漫、卡通等 2D 人物則是避開 mediapipe 系列模型就行了!
▲ 此區塊對應的就是圖生圖的局部重繪,重繪強度之類的設定就是在這邊調整,開發者有提供功能對應截圖可以給大家參考。
所有示範生成都是偵測臉部,大家可以注意臉部及眼神的變化。(很細微,需要仔細觀察)
示範生成(一)
提詞:masterpiece, (best quality:1.3), Amazing, beautiful detailed eyes, 1girl, solo, finely detail,depth_of_field, extremely detailed CG unity 8k wallpaper, long hair, blue eyes, outdoors, blonde hair, star (sky), starry sky, sky, skirt, chibi, scenery, bangs, japanese clothes, blush, looking at viewer, blue skirt
重繪提詞:留空(代表使用提詞)
參數:Steps: 80, Sampler: UniPC, CFG scale: 7, Size: 512x768, Model: AnythingV5V3_v5RE
示範生成(二)
提詞:masterpiece, (best quality:1.3), Amazing, beautiful detailed eyes, 2girl, finely detail,depth_of_field, extremely detailed CG unity 8k wallpaper, (gotou hitori:1.2), __posture__, (upper_body), (arms_behind_back), cube hair ornament, (hair ornament), pink hair, skirt, blue eyes, long hair, jacket, track jacket, pleated skirt, pink jacket, bangs, hair between eyes, long sleeves, petals, sky, black skirt, blush, grey skirt, cowboy shot, very long hair, breasts, outdoors, day, cloud, blue sky, nature, __looking__, __expression__. <lora:goto_hitori:0.95:MIDD>
重繪提詞:(best quality:1.3), (beautiful detailed eyes:1.3)
參數:Steps: 80, Sampler: UniPC, CFG scale: 7, Size: 512x768, Model: AnythingV5V3_v5RE
LoRA 模型來源:萌芽二次元
示範生成(三)
提詞:masterpiece, (best quality:1.3), Amazing, beautiful detailed eyes, 2girl, finely detail,depth_of_field, extremely detailed CG unity 8k wallpaper, __posture__, (upper_body), (arms_behind_back), red hair, skirt, school uniform, red bow, bow, sailor collar, white sailor collar, pleated skirt, bangs, yellow eyes, long sleeves, black skirt, long hair, shirt, hair between eyes, brown cardigan, cardigan, white shirt, serafuku, collared shirt, feet out of frame, outdoors, cloud, sky, __looking__, __expression__. <lora:kita_ikuyo_202303:0.8:MIDD>
重繪提詞:(best quality:1.3), (beautiful detailed eyes:1.3)
參數:Steps: 80, Sampler: UniPC, CFG scale: 7, Size: 512x768, Model: AnythingV5V3_v5RE
LoRA 模型來源:萌芽二次元
以上僅供參考,歡迎大家到萌芽論壇分享相關資訊喔!
留言區 / Comments
萌芽論壇