您现在的位置是:首页 >技术交流 >Stable-Diffusion 通過骨架分析插件ControlNet 來製作超有意境的圖片网站首页技术交流

Stable-Diffusion 通過骨架分析插件ControlNet 來製作超有意境的圖片

北纬32.6 2023-05-14 00:00:02
简介Stable-Diffusion 通過骨架分析插件ControlNet 來製作超有意境的圖片

A.開始前的準備工作,你需要先安裝必備的環境

  1. 安裝 Python 3.10.6,  “Add Python to PATH”
  2. 安裝 git.

B.正式開始安裝的步驟:

1.下載 Stable-Diffusion-webui 【鏈接地址】  Github開源項目,【中文語言包】  (注意:大陸用戶請掛梯子,否則打不開

2.安裝擴展 :https://github.com/Mikubill/sd-webui-controlnet.git

3.下載ControlNet模型【鏈接】選擇裡面的 control_sd15_openpose.pth,下載後放入./stable-diffusion-webui/extensions/sd-webui-controlnet/models 文件夾下

4.重啟進入 WebUi 選擇 ControlNet模型

5.載入訓練好的模型:stablydiffuseds_26  也就是模型:StablyDiffused’s Aesthetic Mix 【點擊下載】

6.載入圖片進行骨架分析,並輸入下面的正負關鍵詞:

正面關鍵詞:

4 girls,4 girls on the beach,back to the sea,White dress,beautiful white gauze skirt,bikini,intricate,elegant,highly detailed,digita painting,concept art,summer lights,queen,sunset,orange sky,pink nightgown,simple background,soft light<lora:dalcefopainting_Lora300:1>

負關鍵詞:

nude,naked,hands,cartoon,thick strokes,((disfigured)),((bad art)),((deformed)),((poorly drawn)),((extra limbs)),((close up)),((b&w)),weird colors,blurry,complex

關鍵詞大家可以根據自己的需要進行修改,最後生成即可

C.當然還有更多的好玩的玩法,比如這個國風模型:【點擊下載】模型 和 【提示詞

正面提示詞:

1girl, beautiful, realistic

負提示詞:

(((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres, bad anatomy, bad hands, text, error, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly,pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,bad anatomy,bad proportions,malformed limbs,extra limbs,cloned face,disfigured,gross proportions, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs,username,blurry,bad feet

比如還有這個模型:SamDoesArts (Sam Yang) Style LoRA

模型下載

提示詞:

正面

sam yang, (dreamlikeart, redshift style, analog style:1.1), (copeseethemald style:0.5), (thepit bimbo, glossy), sexy, bimbo,portrait, 1girl, solo, ([Nina Dobrev|Emma Stone]:1.1), closeup, extreme closeup, looking at viewer, symmetric, centered, pantsuit, business suit, elegant suit, white crop top shirt, shinny skin, oily skin, subsurface skin scattering, shiny skin, choker, earrings, eyelashes, eyeshadow, lips, lipstick, jewelry, makeup, nose, parted lips, navel, beautiful detailed blue eyes, redhead, realistic, photo-realistic, well-lit face, glowing face, face focus, see-through, (night:1.2), dark, scary, dark city, alley, chased, danger, worried, afraid, stressed, building, street lights, detailed background, [(dust particle paint explosion:1.2)::0.11], (secret:0.8), <lora:samdoesartsSamYang_offsetRightFilesize:0.65>

反面:

lowres, low quality, doll, bad anatomy, poorly drawn, ugly, maiden, virgin, malformed, deformed, masculine, manly, black skin, asian, blurry, out of focus, freckles, skin defects, skin marks, long neck, anime, highlights, shadows,

還有這個模型也不錯:dalcefoV3Painting_dalcefoV3Painting 【模型下載

正提示詞

slora:dalcefoPainting_LoRA300:1>dalcefo realistic,painting,portrait of a girl,full-body shot,collar,tattoo,luminous design,pastel colours,ink drips,autumn lights,sharp face,blue eyes,sharp eyes

負提示詞:

cartoon,3d,((disfigured)),((bad art)),((deformed)),((poorly draw)),((extra limbs)),((close up)),((b&w)),weird colors,blurry,(worst quality,low quality:1.4),(more than 2 nipples:1-331),(missing arms:1-331),(extra
legs:1.331),(fused fingers:1.61051),(too many fingers:1.61051),(mutilated:1.21),mutated hands,(poorly drawn hands:1.331),(unclear eyes:1.331),lowers,bad hands,missing fingers,bad hands

风语者!平时喜欢研究各种技术,目前在从事后端开发工作,热爱生活、热爱工作。