快速入门Stable Diffusion 安装需求以及使用介绍
来源:哔哩哔哩 | 2023-07-05 11:42:31

市面上ai绘画软件我也试用过不下十款了,但是最终最强的,泛用性好的还是Stable Diffusion和Midjourney,他们两个对比之下有什么优缺点呢?

Midjourney是要付费的,30美金一个月约等于216块钱,只有15小时快速出图时间,对一部人来说是一比不小的开支

安装推荐配置与性能测试


(相关资料图)

注意事项

·1.安装路径尽量不要有中文安装路径,即你放置stable DiffusionWebUI的文件夹及它所属的文件夹,任何一层文件夹里有中文都会导致一些路径索引的过程报错

文件夹放在较空的盘AI绘画需要下载并运用大量模型文件模型数量多了以后是很占地方的,尽量不要将其堆积在C盘之类的系统盘

图形浏览器是出图的浏览记录

标签器只能识别大概的关键词内容,描述的不准确的地方自己再修改一下

c站需要魔法

大模型位置          lora模型(小模型)都在这里管理

接下来是示例  

正面关键词:roblit, robot, girl running, holding gun, smoke, explosion, (battlefield:), (running:), HDR (High Dynamic Range), Ray Tracing, NVIDIA RTX, Super-Resolution, Unreal 5, Subsurface Scattering, PBR Texturing, Post-Processing, Anisotropic Filtering, Depth-Of-Field ,Maximum Clarity And Sharpness, Multi-Layered Textures, Albedo And Specular Maps, Surface Shading, Accurate Simulation Of Light-Material Interaction, Octane Render, Two-Tone Lighting, Low ISO, White Balance, Rule Of Thirds, Wide Aperture, 8K RAW, Efficient Sub-Pixel, Sub-Pixel Convolution, (Luminescent Particles:), Masterpiece, Best Quality, Extremely Detailed CG, Unity 8k Wallpaper, 3D, Cinematic Lighting, Lens Flare夫负面:ng_deepnegative_v1_75t,nsfw,(nudity)(nude),badhandv4,buttoned clothes(worst quality:2), (low quality:2), (normal quality:2), lowres,(spots on skin), bad anatomy, bad hands,floating sword, floating katana, katana attached to body, sword attached to body, extra hands, extra limbs, normal quality, ((monochrome)), ((grayscale))(watermark),deformed feet, bottom text

迭代步数35     采样方法:DPM++ 2M Karras   提示词引导:  种子 3182522677  放大算法R-ESRGAN 4x+

开启面部修复 高清修复  重绘幅度  分辨率520x768        

这就是我们得到的结果了

同样的办法,关键词:A girl walking in a city street, high rise, mechanical city, cyberpunk, raining, facing the audience, wearing fashion, jackets

一个女孩走在城市的街道上,高楼大厦,机械城市,赛博朋克,下雨,面对观众,穿着时尚,夹克衫

负面词: (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)),

最糕的质量:2,低质量:2,正常质量:2,低分辨率,正常质量,单色,灰度。

局部重绘:发送到图生图,再发送到局部重绘,使用上一次的关键词和种子

如果想改背景和不想改人脸就涂抹一下,充当蒙版,选择重绘非蒙版内容

如果只想改脸就选择重绘蒙版内容

如果只想换背景人物和衣服都不变,就把整个人物涂抹一下,重非蒙版内容

万金油关键词:

正面提示词后添加:

(Masterpiece: 1,2), best quality, masterpiece, high definition, original, extremely detailed wallpaper, soft light

负面提示词后添加:

NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:), (duplicate:), (morbid:), (mutilated:), (tranny:), mutated hands, (poorly drawn hands:), blurry, (bad anatomy:), (bad proportions:), extra limbs, (disfigured:), (missing arms:), (extra legs:), (fused fingers:), (too many fingers:), (unclear eyes:), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),

之后根据自己积累的经验,熟悉应用插件,手绘修改不合理的地方就行了

ai绘画的最大的问题就是画不好手,脚趾,这些复杂结构

精彩推荐