1.首先我們來安裝Control Net
进入webui文件夹,然後地址栏输入CMD,回车
在打开的命令行窗口中复制粘贴以下命令然后回车
pip install opencv-python
https://github.com/Mikubill/sd-webui-controlnet
之后在已安装标签页看到“sd-webui-controlnet”就算是安装完成了,然后关闭掉SD
3.去huggingface下载CN模型,下载链接如下
https://huggingface.co/lllyasviel/ControlNet/tree/main/models
这里一共有8个模型,全部都下载下来
4.安装ControlNet模型
把8个模型全部放到以下路径:
stabel-diffusion-webui/Extensions/sd-webui-controlnet/models
5.初见ControlNet
打开Stable Diffusion,模型和关键词紧接上期视频使用“ChilloutMix”和以下正反咒
正咒
24yo, 1girl, solo,beautiful detailed girl,urban beauty, detailed face,(detailed facial features), beautiful face, masterpiece, best quality,raw photo, realistic,highlight and shadow,HDR, professional light,highres, pale skin, (full body),depth of field (dress, open slightly,tug), soft lips, (floating hair), (sexy face), (smile), (detailed eyes:1.0) ,(looking at camera:0.6), (random color bar),<lora:japaneseDollLikeness_v10:0.1> <lora:koreanDollLikenesss_v10:0.1>
反咒
paintings, sketches, ((monochrome)), ((grayscale)), (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, skin spots, acnes, skin blemishes, age spot, (outdoor:1.6), manboobs, backlight, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.331), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (more than 2 nipples:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), bad hands, missing fingers, extra digit, (futa:1.1), bad body, NG_DeepNegative_V1_75T,pubic hair, glans, nfws,porn,(small breasts),(nude,beautiful pussy,detailed pussy,shaved vagina,creampie,nipple,nipples,puffy nipples),
出图参数设置
6.Control Net参数介绍
使用的时候一定要勾选enable,建议勾选low VRAM,其他设置介绍如图
7.不同ControlNet模型的介绍项目地址链接
8.演示模型1“Openpose”
参考图1
效果图1
评论
发表评论