stable diffusion 学习记录1
如何书写提示词 Prompts
- 人物通用模版
- 通用模版描述人物
(1girl:2.0),solo,long hair,jewelry,blue gemstone, earrings, horns,crown, cyan satin strapless dress,white veilneck ringred hair{green eyes}
- 描述场景
indoor, room,house, sofa, wooden floor,plantflowerstreeswindows,
- 描述环境(时间、光照)
day, morning, sunlight,dappled sunlight, backlight,light rays, cloudy sky
- 描述画幅视角
full body, wide angle shot, depth of field
- 其他画面要素
light particles, fantasy, wind blow,maple leafdusty…(其他往后增加)
- 高品质标准化
- 画风标准化
(illustration), (painting),(sketch), anime coloring,fantasy,
- 其他特殊要求
exaggerated body proportions, greasy skin, realistic and delicate facial features,SFW
- 指令三段法
画质
主体,细节,场景
艺术效果,光线,景别等
网站分享
- openart.ai
- civitai.com
- arthub.ai :二次元多一点
- prompts.chat
- prompt.noonshot.com :MidJourney Prompt Helper
- prompthero.com :借鉴图片的prompt
- lexica.art
- huggingface.co/spaces/shi-labs/OneFormer :将图上传并进行语义分割
- pxhere.com :图片素材
- pexels.com/zh-cn/ :图片素材
- https://www.birme.net/ :调整图片大小
模型分享
- 二次元
Anything v5,counterfeit v2.5, Dreamlike Diffusion, studio ghibli style lora 宫崎骏, cetus-mix 笔触细腻,experience 科幻色彩,
- 真实
MajicMix, Deliberate,Realistic vision ,lofi
- 2.5D
Never Ending Dream,Protogen ,国风3
- 三视图Lora
CharTruner 配合 ControlNet , 可以生成比较好的三视图
- 2次元转3次元
Thai university uniform
- BrakDro系列
插件
- openpose editor
- additional networks
- depth library : 控制手
- segment anything groundingdino :图像分割,进行批量换装的时候好用,可以直接批量生成蒙版
1.先安装cython,运行 pip install cython
2.加C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx64\x64加到path那个环境变量。
controlnet-SEG 语义分割
https://github.com/Extraltodeus/depthmap2mask.git , 生成depth图插件
sd-dynamic-thresholding,提升画质
after detailer,脸部崩坏修复
controlnet-reference_only模式,据说可以保持脸部不变
工具
BooruDatasetTagManager: 训练模型打tag用的