Stable Diffusion入门使用技巧及个人实例分享--大模型及lora篇

大家好,近期使用Stable Diffusion比较多,积累整理了一些内容,得空分享给大家。如果你近期正好在关注AI绘画领域,可以看看哦。 本文比较适合已经解决了安装问题,(没有安装的在文末领取)
在寻找合适的大模型及lora,或者想找一些绘画案例给自己的创作带来一些灵感的人。文章总共2000多字,且涉及大量图片,谨慎观看哈。下面正式开始。

Stable Diffusion简介

Stable Diffusion 是由 CompVisStability AILAION 共同开发的一个文本转图像模型,它通过 LAION-5B 子集大量的 512x512 图文模型进行训练,我们只要简单的输入一段文本,Stable Diffusion 就可以迅速将其转换为图像,同样我们也可以置入图片或视频,配合文本对其进行处理。

通俗的解释:

StableDiffusion是一种基于扩散过程的图像生成模型,可以生成高质量、高分辨率的图像。它通过模拟扩散过程,将噪声图像逐渐转化为目标图像。这种模型具有较强的稳定性和可控性,可以生成具有多样化效果和良好视觉效果的图像。

基础大模型推荐

模型网址推荐:(文末领取)

C站:有预览图、提示词,非常适合新手,可以通过查找自己喜欢的图片来选择合适的模型。

最全的模型库:(文末领取)

下面推荐几个我在C站挖掘的目前最常用的几个模型:

1、好看人物插画风:

说明:

优点:画人物特别好看

建议搭配参数: 采样器:DPM++ 2M Karras 步数20

绘画示例:

1、人物角色设计:

提示词示例:((masterpiece)),((nsanely detailed)), ((intricate)),((high quality)) a little girl character, pop-art illustration style, simple,cute, 5 years old girl, full color, blue dress, blue shoes, long brown hair, blue hat, no outline, 3d

基于这个人物尝试制作一个4格漫画:

2、生成类似的背景+不同的人物:

提示词示例:((masterpiece)),((nsanely detailed)), ((HD Quality)),((exquisite face)) background: The background is a construction site, with skyscrapers under construction, feeling in 1990s shenzhen. character:There is only one 20-year-old smile asian female agent,must appear item:balloon

关于这个模型的一个小技巧:

这个模型其他都好,就是你们看我上面生成的图片人物都很精致很好看,但是就是颜色一直是灰蒙蒙的效果。多方查阅之后,找到一个方法,需要下载一个VAE,然后在设置里面勾选上即可:

如何使用:

下面是对比效果:

((masterpiece)),((best quality))The style of a natural painter includes storybook illustrations, detailed plant illustrations, andlively tableaus. The kawaii girl sitting on a half cut watermelon.

设置VAE前:

设置VAE后:

2、二次元

这个是其他地方收集的这个模型的一些使用咒语,可以参考:

暂时无法在飞书文档外展示此内容

绘画示例:

1、角色设计:

((masterpiece)),((nsanely detailed)), ((intricate)),((high quality)) a little girl character, pop-art illustration style, simple,cute, 5 years old stading girl, full color, red dress, red shoes, long brown hair, red hat, no outline, 3d

2、生成故事插画:

((masterpiece)),((nsanely detailed)), ((intricate)),Best quality,anime,Draw a little girl [Zhang Ziyi | Lin Chiling] walking in the park, wearing a beautiful red dress, she showed a surprised expression,suddenly only a cute white kitten in the grass.

((masterpiece)),((nsanely detailed)), ((intricate)),((high quality)) 5 years old standing girl, simple,cute, full color, brown hair, yellow dress, black shoes.She stands in a magical garden surrounded by colored flowers . Her big eyes were full of curiosity and surprise.

3、超真实风格

使用较多,默认真实风格,且搭配很多lora效果都不错

建议搭配参数:DPM++ SDE Karras+step20

绘画示例:

1、生成类似的背景+不同的人物:

绘画提示词:((masterpiece)),((nsanely detailed)), ((HD Quality)),((exquisite face)) background: The background is a construction site, ((skyscrapers under construction)), feeling in 1990s shenzhen china. character:There is only one asian female agent,clear face,20-year-old,smile,must appear item:(an ice cream cone)

同样的提示词,加上lora之后,表情质感确实更好一点点

4、动画:

优点:搭配泡泡玛特lora效果非常棒

建议搭配参数:采样器:Euler a+step 28

绘画示例:

提示词:(masterpiece),(best quality),(ultra-detailed), (full body:1.2), wide angle,1girl,cute, smile, open mouth, flower, outdoors, running on the grass, blurry, brown hair, blush stickers, long sleeves, bangs, black hair, pink flower, (beautiful detailed face), (beautiful detailed eyes),music, beret, blush, short hair, surrounded by balloons, blue sky and white clouds, lora:blindbox_v1_mix:1

5、悬疑风/风景/插画

这个模型一开始是想用来做悬疑小说的封面的,后来发现画简笔画、插画居然也都还行!

建议搭配参数:采样器DPM++ 2M Karras +step 20

绘画示例:

1、玄幻风、悬疑风的小说封面、插图:

提示词:gray sky,white clouds,fantasstyle,fantasy,mountains,castle,canyons,fantasy,magic,4k.

提示词:

Grand and spectacular scene, big background, small characters, a misty back, fantasy world of cultivating immortals, swords, flowing clothes,4k

2、简笔头像:

(races of monotony Line drawing),(flat illustration),minimalism,headshot, line art.

A cute cartoon girl with short hair,stick figure,headshot,bold line illustration,((in the style of Black line drawn drawing)),((traces of monotony line drawing)), clean blue background

3、插画

((masterpiece)),((nsanely detailed)), ((HD Quality)),((best quality))kawaii girl sitting on a watermelon, in the style of nature painter, ai yazawa, xiaofei yue, storybook illustrations, detailed botanical illustrations, lively tableaus

There is a watermelon on the poster, giving people a refreshing and cool feeling. Watermelon can be cut into pieces to showcase its juicy red interior, surrounded by white water droplets. The background can be light blue to enhance a cool and refreshing atmosphere

6、国风

建议搭配参数:采样器Euler a+step30

示例:

1、使用官方的这个提示词直出效果如下:

best quality, masterpiece, highres, 1girl,blush,(seductive smile:0.8),star-shaped pupils,china hanfu,hair ornament,necklace, jewelry,Beautiful face,upon_body, tyndall effect,photorealistic, dark studio, rim lighting, two tone lighting,(high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, volumetric lighting, candid, Photograph, high resolution, 4k, 8k, Bokeh

2、用lora里面的那个示例的人物的效果:

((masterpiece)),((nsanely detailed)), ((HD Quality)),((best quality))A young lovely girl, upper body shot, clear face,dressed in a beautiful traditional Hanfu. Her hair is neatly coiled into a bun, adorned with bobby pins and an elaborate tiara.

LORA简介及推荐

LoRA模型全称是:Low-Rank Adaptation of Large Language Models,通俗的可以理解为Stable-Diffusion中的一个插件,仅需要少量的数据就可以进行训练的一种模型。在生成图片时,LoRA模型会与大模型结合使用,从而实现对输出图片结果的调整。下面是我已经试验体验过的一些lora:(最后会有一组不同lora的使用效果对比)

1、适合插画/二次元adventures:

civitai.com/models/1479…

试用总结:配合deliberate不错

2、表情lora

crazy-expressions:二次元

civitai.com/models/5891…

试用总结:配合deliberate不错,出现正脸概率较大

3、墨心:

civitai.com/models/1259…

试用总结:配合deliberate不错

4、小人书·连环画 xiaorenshu

civitai.com/models/1832…

试用总结:配合deliberate不错

5、二次元漫画风

[LoCon/LoRA] Airconditioner/空调 Style

civitai.com/models/2260…

6、城市景色:

civitai.com/models/1491…

7、线条:

civitai.com/models/1993…

8、科幻:

civitai.com/models/3048…

试用总结:人物也可以加这个lora,配合deliberate不错

9、室内设计:

civitai.com/models/2811…

10、亚洲男生:(适合用sd1.5基础大模型)

civitai.com/models/1322…

11、角色设计多角度:

适合设计角色charTurnbeta:

civitai.com/models/7252…

示例:

为了对比效果,我先用基础大模型deliberate生成一个人物角色,然后搭配不同的lora看效果。

((masterpiece)),((nsanely detailed)), ((HD Quality)),((best quality))

A young lovely girl, full body shot, clear face,dressed in a beautiful traditional Hanfu. Her hair is neatly coiled into a bun, adorned with bobby pins and an elaborate tiara.

搭配不同的lora效果图参考如下:

欢迎看到最后,如果觉得还不错,欢迎点赞收藏哈。后续有空会继续发controlnet的使用技巧、提示词的使用技巧等系列文章,适合初学者观看哈!

写在最后

感兴趣的小伙伴,赠送全套AIGC学习资料,包含AI绘画、AI人工智能等前沿科技教程和软件工具,具体看这里。

AIGC技术的未来发展前景广阔,随着人工智能技术的不断发展,AIGC技术也将不断提高。未来,AIGC技术将在游戏和计算领域得到更广泛的应用,使游戏和计算系统具有更高效、更智能、更灵活的特性。同时,AIGC技术也将与人工智能技术紧密结合,在更多的领域得到广泛应用,对程序员来说影响至关重要。未来,AIGC技术将继续得到提高,同时也将与人工智能技术紧密结合,在更多的领域得到广泛应用。

在这里插入图片描述

一、AIGC所有方向的学习路线

AIGC所有方向的技术点做的整理,形成各个领域的知识点汇总,它的用处就在于,你可以按照下面的知识点去找对应的学习资源,保证自己学得较为全面。

在这里插入图片描述

在这里插入图片描述

二、AIGC必备工具

工具都帮大家整理好了,安装就可直接上手!
在这里插入图片描述

三、最新AIGC学习笔记

当我学到一定基础,有自己的理解能力的时候,会去阅读一些前辈整理的书籍或者手写的笔记资料,这些笔记详细记载了他们对一些技术点的理解,这些理解是比较独到,可以学到不一样的思路。
在这里插入图片描述
在这里插入图片描述

四、AIGC视频教程合集

观看全面零基础学习视频,看视频学习是最快捷也是最有效果的方式,跟着视频中老师的思路,从基础到深入,还是很容易入门的。

在这里插入图片描述

五、实战案例

纸上得来终觉浅,要学会跟着视频一起敲,要动手实操,才能将自己的所学运用到实际当中去,这时候可以搞点实战案例来学习。
在这里插入图片描述

  • 11
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值