Stable Diffusion 常用模型的分类
Checkpoint模型Checkpoint模型通过Dreambooth训练方式获得,其显著特点是生成的图片效果出色。但由于训练全新模型,其速度通常较慢,同时生成的模型文件较大,一般在几个G左右,格式多为safetensors或ckpt。
LoRA模型LoRA是一种轻量级的模型微调方法,它基于已有的大模型进行微调,专注于输出具有固定特征的人或事物。LoRA模型在特定风格特征的生成上表现出色,训练速度快,且模型文件相对较小,通常在几十到一百多MB之间。它需要搭配大模型使用。
LoRA 的总体训练思路同 Textual Inversion 和 Hypernetwork 都是接近的(其实这一训练框架与生图框架本身就是 SD 的核心架构,各种模型训练只是在利用这一架构中各个可以微调的环节来进行某些类似插件效应的改变而已。),只是此时 loss 通过 Gradient Update 反馈的目标落在了 Diffusion Model 模块中 Q、K、V 三个矩阵本身的身上。想要了解如何训练Lora可以查看这篇文章
引用链接地址
...
Stable Diffusion 关于Instant ID和Reactor进行换脸
Instant IDInstant ID只支持xl系列算法的大模型,XL系列迭代步数20左右,提示词引导系数3~5;Turbo系列迭代步数7~9,提示词引导系数1~1.5
模型安装5个onnx配置文件存放在安装目录下的 /extensions/sd-webui-controlnet/annotator/downloads/insightface/models/antelopev2 里,2个模型文件存在安装目录下的 /extensions/sd-webui-controlnet/models 里。
使用示例第一个ControlNet必须是想要换脸的照片(在最终生成的图片中出现的人脸),第二个ControlNet必须是要换的别人的参考图。
小技巧
可先生成大图,在ps中裁剪人物头部使用Instant ID进行替换以减少生成时间,然后再ps里叠加头部位置。
Reactor插件安装界面参数
Mainimages :左侧图片为单张,右侧为批量图片Save Original:生成 ...
五音养五脏,神奇的中医音乐养生
“乐”(樂)与“药”(藥)自古,“乐”(樂)与“药”(藥)同源乐字甲骨文的形状,上部形状为结丝成弦,下部为木,就是古琴的样子。也就是说乐字自古发明之时就是指古琴发出的声音可以治病。《黄帝内经》中讲到:百病生于气而止于音,而这个音指是就是五音音乐。常听五音乐曲,能平心静气,身心和谐,改善失眠、焦虑、情绪起伏。
五音与五脏
五音
简谱
五脏
代表曲目
代表乐器
曲风
适合时间
宫
do
脾
《秋湖月夜》《十面埋伏》
鼓
醇厚悠扬,多为古埙/笙声,健脾助消化
餐后1小时
商
re
肺
《阳春白雪》《绣金匾》
锣,钟,或钹之类金属乐器
铿锵高昂,多为古筝,润肺降忧虑
15~19点
角
mi
肝
《声声慢》《胡笳十八拍》《春江花月夜》《一花一世界》
萧,笛等竹木乐器
清脆悠扬,富含生命力,箫声清肝
19~23点
徵
sol
心
《紫竹调》《百鸟朝凤》《琵琶泉》
二胡,马头琴等弦乐
明亮欢快,静心舒心
21~23点
羽
la
肾
《梅花三弄》《一人静》
古琴,古筝
风格轻柔,似行云流水,琴声养身
7~11点
自用音乐宫音入脾Your browser does ...
Stable Diffusion角色形象——把不爱拍照的自己练成"丹"
找了为数不多的十几张照片在Koyhya_ss中给自己练了个丹,尝试了各种漫画、卡通、IP形象的玩法,意外发现效果还不错。第三张反正挺搞笑的😂。
效果
[{"url":"https://pic.nanbowan.top/picturebed/65eeac8ad2f1d.png","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65eeac96b4f28.png","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65eeac9e509bb.png","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65eeacaa5f316.png","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65eeacb194430.png","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65eeb ...
Stable Diffusion 二十四节气惊蛰文字海报 附提示词
缘起惊蛰是二十四节气中唯一一个以动物昆虫习性命名的节气。《月令七十二候集解》中记载:“二月节……万物出乎震,震为雷,故曰惊蛰,是蛰虫惊而出走矣。”惊蛰又名“启蛰”,此时,天气回暖,春雷始鸣,无论“惊”还是“启”,都是描述蛰伏一冬的动物、昆虫被雷声唤醒,走出洞穴、结束冬眠的复苏景象。
效果
提示词1Spring,Landscape (Green as an Art Form, Solo Exhibition:1.5),Dew,River,Bees,Butterflies,Epic Landscape,National Geographic,Sony,Close-up,flower,Fresh Forest style e-commerce background,cinsdia,(masterpiece:1,2),best quality,masterpiece,hires,original,extremely detailed wallpaper,perfect lighting,(extremely detailed CG:1.2),
使用到的大模型和Lora
...
Stable Diffusion多彩质感图标附提示词
效果
[{"url":"https://pic.nanbowan.top/picturebed/65e9d46327e2f.jpg","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e9d483d2c12.jpg","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e9d467842e0.jpg","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e9d46d4a9db.jpg","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e9d471f2fa6.jpg","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e9d477679a6.jpg","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e9d ...
Stable Diffusion生成艺术二维码 附提示词
效果
[{"url":"https://pic.nanbowan.top/picturebed/65e2c3ce62a26.png","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e2c3e173502.png","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e2d0ec16f50.png","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e2c3eaebc99.png","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e2c3ece84c3.png","alt":""},{"url":"https://pic.nanbowan.top/picturebed/65e2c3f274b98.png","alt":""}]
undefined
提示词1multiple girls,2girl ...
Stable Diffusion抖音国风符号海报 附提示词
效果
提示词1((Simple background)),White,(Lunar New Year),((Red lantern)),(Chinese Lion),(Chinese knot),(Chinese dragon),whimsical,fantastic,Islands suspended in the air,Waterfall,magical light effect,real,(realistic),super detailed,(full detail),32k uhd,(White background,red),(high quality),best quality,<lora:CGposterrender bsw_20231003191818:0.6>,<lora:20240110-1704871613827:0.2>,<lora:guochaochahua_20230828223853:0.3>,<lora:IvoryGoldAIv2:0.3>,<lora:Chinese style relief:0. ...
Stable Diffusion人间百味无肉不欢海报 附提示词
效果图
提示词1(8K, Masterpiece:1.5),chunks of fresh meat floating in the ocean,waves formed by the texture of the meat create a pattern in the ocean,a small boat drifting on the sea. Inspired by Cornelis Anthonisz,background artwork,Microphotography,mountains,rivers,trees,meat,noodles,corn,beautiful scenery,mysterious tableau,interweaving motifs,layered composition,dreamlike surroundings,borderless,full-length shot,bright colors,high saturation,volumetric lighting,full-length shot,super sharp focus,aw ...
Stable Diffusion百岁山负空间海报 附提示词
效果
提示词1Stone, flower, tree, (Waterfall in a Cave: 1.2), (Water Flow: 1.2), creek, Forest, Nature, A dream scene, ultra hd, stunning details, amazing art, rich in details, 8k,
也可以替换部分的提示词试试
var isMobile = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
var isEncrypt = document.getElementById('hexo-blog-encrypt');
var allowMobile = true;
if (!isEncry ...
Stable Diffusion天猫LOGO 品牌符号延展 附提示词
效果图
提示词1Cyberworld,masterpiece,highest quality,white building,future technology building,the space opera,day,science fiction city,(cloud:1.2),future design,streamlined shape,(Neon Light:1.2),neon color,super detail,cyberpunk,outdoors,Full details,8k,No one,Scenery,space,real,(realistic),superdetailed,8k,scenery,building,sky,bluesky,reflection,
var isMobile = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSB ...
Stable Diffusio模型Lora搭配记录
73d9777ec1a16f412cf00ff199d7cf2a66e821ec6fa77ef78c1683afa9f14937702916cce0f3882e7e687d91e0a359f95022befd1ddf62c09a896b314ad2e57e5ee78721b869f9a572d7f1903fbffcf8ef345d0949eb753d618e47e555523e019017934b459b8b1bd54fa0be60f5d0515c273a5ba2db96aaf01ff6b1d2bfd69d7457be44465bf6f460288c407d3fb8f35bf00a81d13140011a8ecc4a75ab6ea417e9fe196befe9e271192530b1efb664dc59762c946184b12209a7191115f89f4f356a092f02b5f47186ff3159b90588de3632ad929447da7244af81bbb4ffdbcd4143d8d12f9ed4183005c230da571002a1352f8fc50bde2 ...