下载仓库
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
下载Stable Diffusion模型
Stable Diffusion模型下载地址: https://civitai.com/
把下载好的文件CKPT文件放入文件夹:stable-diffusion-webui/models/Stable-diffusion
Lora模型的使用
chilloutmix_NiPrunedFp32Fix.safetensors 放入目录stable-diffusion-webui\models\Stable-diffusion
japaneseDollLikeness_v10.safetensors
koreanDollLikeness_v15.safetensors
taiwanDollLikeness_v10.safetensors 放入目录 stable-diffusion-webui\models\Lora
针对AMD
git clone https://github.com/lshqqytiger/stable-diffusion-webui-directml && cd stable-diffusion-webui-directml && git submodule init && git submodule update 如果您有 4-6gb vram,请尝试将这些标志添加到 webui-user.bat 中,如下所示: COMMANDLINE_ARGS=--opt-sub-quad-attention --lowvram --disable-nan-check 对于许多 AMD gpus,您必须添加 --precision full --no-half 到webui-user.shCOMMANDLINE_ARGS=中 以避免出现黑色方块或崩溃。
汉化
安装说明
通过WebUI拓展进行安装
1.打开stable diffusion webui,进入”Extensions”选项卡
2.点击”Install from URL”,注意”URL for extension’s git repository”下方的输入框
3.粘贴或输入本Git仓库地址https://github.com/VinsonLaro/stable-diffusion-webui-chinese
4.点击下方的黄色按钮”Install”即可完成安装,然后重启WebUI(点击”Install from URL”左方的”Installed”,然后点击黄色按钮”Apply and restart UI”网页下方的”Reload UI”完成重启)
5.点击”Settings”,左侧点击”User interface”界面,在界面里最下方的”Localization (requires restart)“,选择”Chinese-All”或者”Chinese-English”
6.点击界面最上方的黄色按钮”Apply settings”,再点击右侧的”Reload UI”即可完成汉化
安装 ADDITIONAL NETWORKS
选择 Extension - Available - 点击 Load From - 搜索 kohya(kohya-ss Additional Networks script, models)- install
最后点击 Apply and restart UI
prompt
nikon RAW photo,8 k,Fujifilm XT3,masterpiece, best quality, realistic, photorealistic,ultra detailed,extremely detailed face, solo,1girl, dudou,sitting on a window seat in a pale pink dudou, looking out at the city lights at night with a dreamy expression on her face irene1, , <lora:irene_v70:1> <lora:dudou:.5>
(((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