Stable Diffusion提示词总结

几个国内可以玩的AIGC网址

堆友
鹿班
无界
哩布哩布
arthub
openart
美图秀秀

提示词基本语法

一、提示词类别

1、内容型提示词

人物及主体特征
服饰穿搭 white dress
发型发色 blonde hair,long hair
五官特征 small eye,big mouth
面部表情  smiling
肢体动作 stretching arms 

beautiful detailed eyes  美丽细致的眼睛
highly detailed skin 高度细致的皮肤
extremely delicate and beautiful girls 非常精致和美丽的女孩
场景特征
室内/室外 indoor/outdoor
大场景 forest,city,street
小细节 tree,bush,white flower

underwater (水下)
shinto shrine (神社)
环境光照
白天/黑夜 day/night
特定时段 morning/sunset
光环境 sunlight,bright,dark
天空 blue sky,starry sky

cinematic lighting (电影光)
dynamic lighting (动感光)
视线
looking at viewer 看着观众
looking at another 看另一个
looking away 斜视
looking back 回头看
looking up  仰望、仰视、抬头
画幅视角
距离 close-up,distant
人物比例 full body,upper body
观察视角 from above,view of back
镜头类型 wide angle,Sony A7 III

dynamic angle 动态角度
from above 从上方
from below 从下面
wide shot 广角镜头
Aerial View 空中摄影照片、航摄照片、鸟(俯)瞰图
主体远近的相关提示词
full body shot(全身)
cowboy shot ( 半身)
close-up shot (接近)
人物表情
blush(脸红)
wet sweat(大汗)
flying sweatdrops (飞汗 )
衣服指定
china dress 旗袍
sailor dress 水手服
school uniform 校服
sailor senshi uniform 水手服战士
姿势指定
hands on  手上的 例hands on own face, hands on feet, hands on breast
kneeling 跪着的
hand between legs 手放在两腿之间
hair flip 头发翻转
skirt flip 裙摆翻转
画风提示词
插画风 illustration,paining,painthbrush 
二次元 anime,comic,game CG 
写实系 photorealistic,realistic,photograph

sketch, one-hour drawing challenge (手绘风)

2、标准化提示词

特定高分辨率类型
extremely detailed CG unity 8K wallpaper (超精细的8K Unity游戏CG)
unreal engine rendered (虚拟引擎渲染)
画质提示词

extremely detailed CG unity 8K wallpaper (超精细的8K Unity游戏CG)
unreal engine rendered (虚拟引擎渲染)

起手式输入下述提示词,生成图片质量就会提高。

best quality, ultra-detailed, masterpiece, finely detail, highres, 8k wallpaper

画人时添加下列提示词,可大幅提升人物细节精细度。

beautiful detailed eyes
highly detailed skin
extremely delicate and beautiful girls
1 girl,(1个女孩)
detailed beautiful skin,(细致美丽的肌肤)
kind smile,(亲切的微笑)
absurdres,(夸张)
detailed-beautiful-face,(精致美丽的容颜)
petite figure,(身材娇小)
detailed skin texture,(细致的皮肤纹理)
pale skin,(白皙肌肤)
detailed hair,(细致的头发) 
random hair style,(随意发型,)
detailed eyes,(细致的眼睛)
glistening skin,(晶莹剔透肌肤)
clean face,pretty face,sexy, cool, naughty face,((twintails))

二、提示词语法

权重(优先级)增减


小括号用法
小括号代表的是1.1倍,比如Exquisite Crown(精美的皇冠),加上(Exquisite Crown)就代表皇冠这个词语的权重变成1.1倍,(((Exquisite Crown))),代表1.1×1.1×1.1,1.331倍。
中括号用法:
中括号代表的是降权,因为初始化的权重是1,用[Exquisite Crown]代表的是0.952倍。
大括号用法
大括号代表的是1.05倍,展示方式{Exquisite Crown}。
注意:一般小括号用的比较多,可以用数字表示权重,这样就不需要中括号和大括号,比如Exquisite Crown:1.331)=(((Exquisite Crown)))

案例

元素的融合:

方法一:中括号表示法
[pink|blond]long hair,beautiful girl, gothic dress, clear details, Gothic architecture interior
在这个里面的[pink|blond]long hair,用中括号将颜色隔开,渲染的时候,是一步粉红一步金色,最后出来的是调节过后的粉金色。中括号起到了混合的作用,同理,我们还可以用在服装材质、款式、背景玄幻…除了用中括号,另外还可以用and来连接,这是更细致的写法,可以用来规定某一个你想要混合的色彩的权重。
方法二:AND
pink long hair AND blond long hair,beautiful girl, gothic dress, clear details, Gothic architecture interior
方法三:
此方法被称作为元素渐变。可以通过混合两个关键词来实现更有趣效果,使用语法为“[keyword1 : keyword2: factor]”,其中factor值控制了把keyword1切换到keyword2的步骤值,是一个介于0到1之间的数字。
举个例子,输入提示词“Oil painting portrait of [Joe Biden: Donald Trump: 0.5]”,采样步数设置为30。这里指的是,第1~15步,提示词为“Oil painting portrait of Joe Biden”;第16~30步,提示词为“Oil painting portrait of Donald Trump”。解释一下,factor值决定了关键词的切换节点,设置为0.5时指的是在30*0.5 = 15步时切换。

元素的精细控制:

使用[keyword:number]方式表示
[flower:5],long blond hair, beautiful girl, gothic dress, clear details, Gothic architecture interior
[flower:5]的意思是从第5步开始画花花,直到结束,以降低画的步数来达到弱化的效果。
但是这也有个局限,在我们画画步数本来就不高的情况下,很容易画不出来,它没办法只用10步或15步给画出来的时候,往往不理你。
此外,还有一些采样会不太搭理这种写法,可以探索看看。
小黑板:
[flower:5] 代表从第5步开始直到结束
[flower::10] 代表从开始就一起画,但是画到第10步就不画了
[[flower::30]:5] 代表从第5步开始画,到30步结束
长呼一口浊气,试想一下,如果我们在画画的时候,写tag能够这样精细控制,熟练掌握各个元素出现的轻重,出来的画面能多细致。

画面的比重控制:

上面是控制某一个东西的比重,下面来扒画面的比重。
但是这是需要很长的步数来表现的,我今天用的不画那么多步,就写一下怎么表示。
比如说我们将步数设定在100,前面50步用来画人,后面50步用来画花花。
[girl:flower:0.5],这样就表示前面的50%步数是画人的,后面的用来画花,人就会画到50步就结束了;
另外一种就是直接写步数,据说可以这样用,但是我觉得并不好用,写法:[girl:flower:50],在总步数100的时候,前面50用来画人,后面的画花。
只是两种写法不一样,亲测下面的不如上面的写法好用。

元素随机选择:

这个在批量生成的时候会好用一些,一张两张的体现不出。这里用到的是大括号。
之前的tag

Long blond hair, beautiful girl, gothic dress, clear details, Gothic architecture interior

之后的tag

{Crown|Corolla|Hairpin|Bowknot},long blond hair, beautiful girl, gothic dress, clear details, Gothic architecture interior

三、书写提示词的模版

四、质量改进

升级某些元素(背景、眼睛或衣服)的质感时,可添加以下提示词:
extremely detailed /* 某些单词 */
beautiful detailed /* 某种单词 */

五、负面提示词

使用负面提示词可以筛选掉不需要的画风、要素、或错误绘画结果。

mutated hands and fingers,text,title,deformed, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, out of focus, long neck, long body

由于目前AI还不太会画手,以下为不画手提示词组合句

((poorly drawn hands)),more than 1 left hand, more than 1 right hand, short arm, (((missing arms))), bad hands,missing fingers,(extradigit),(fewer digits),mutated hands,(fused fingers),(too many fingers),sharp fingers,wrong figernails,long hand,double middle finger,index fingers together,missing indexfinger,interlocked fingers,pieck fingers,sharp fingernails,(steepled fingers),x fingers,((curled fingers)),(no finger gaps),interlocked fingers,fingers different thickness,cross fingers,poor outline,big fingers,finger growth,outline on body,outline on hair,out line on background,more than one hands,fuse arm,fuse elbow,more than two arm,more than two elbow

六、Seed 固定

使用固定的Seed号,再添加提示词,可以在原图上进行进一步修改(如上色,改变视角等)

参考链接:
https://blog.csdn.net/FL1623863129/article/details/130922349
http://www.dtmao.cc/Android/75280.html
https://mubu.com/doc/_2As4DSE4m

版权声明:本文为博主作者:肥钛狼原创文章,版权归属原作者,如果侵权,请联系我们删除!

原文链接:https://blog.csdn.net/weixin_43665351/article/details/131322944

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
乘风的头像乘风管理团队
上一篇 2024年1月6日
下一篇 2024年1月6日

相关推荐