【从0开始AI绘画】初级篇:StableDiffusion中基础模组和LoRA是什么,怎么用,以及SD基础操作教学,如何进行文生图,图生图,修图换装换背景,放大图片,中文版StableDiffusion教学。

 

这次的教学将主要讲解以下内容


1.CheckPoint和Lora是什么
换成语言系统来举例,CheckPoint决定你画出来的角色说中文/日语还是英语
而LoRA则在同样说中文的前提下,决定角色是说普通话/广东话还是少数民族语言
所以简单来说可以这样认为



2.推荐的下载CheckPoint和LoRA的网站:CiviAI
在其中搜寻“ChilloutMix”和“dolllikeness”用作练手


3.将下载好的ChilloutMix文件放到
stable-diffusion-webui\models\Stable-diffusion

4.将下载好的LoRA文件放到
stable-diffusion-webui\models\LoRA

5.文生图页面参数设置简介

正咒:

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)

反咒:
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.LoRA使用简介

点击LoRA即可把关键词加入到提示词部分,这里设置三个Lora的权重分别为0.3,0.3,0.4
出图效果

7.图生图功能简介

以这张图片为例
得到结果,然后选择第九张图片然后按“Send to Inpaint”进行修图

8.修图功能简介
参数设置如图
这里用画笔给妹子的耳朵画上蒙版,然后把关键词修改为“Star Earrings”
得到结果


9.放大功能简介
在这里可以选择等比缩放,也可以直接指定缩放后的分辨率




 


















评论