欢迎关注我的CSDN:https://spike.blog.csdn.net/
本文地址:https://spike.blog.csdn.net/article/details/131544508
当前 Stable Diffusion 模型使用基础的 stable-diffusion-v1-5,即 v1-5-pruned-emaonly.safetensors。
Stable Diffusion 的正向提示词是一种用来描述想要生成的图像的语言,可以通过不同的词语、符号、权重和相关性来控制生成图像的内容、风格和质量。正向提示词可以根据不同的场景和需求进行灵活的选择和组合,以达到理想的效果。
正向提示词结合反向提示词,输出的效果较好。反向提示词,如下:
NSFW,(worst quality:2),(low quality:2),(normal quality:2),lowres,normal quality,((monochrome)),((grayscale)),skin spots,acnes,skin blemishes,age spot,(ugly:1.331),(duplicate:1.331),(morbid:1.21),(mutilated:1.21),(tranny:1.331),mutated hands,(poorly drawn hands:1.5),blurry,(bad anatomy:1.21),(bad proportions:1.331),extra limbs,(disfigured:1.331),(missing arms:1.331),(extra legs:1.331),(fused fingers:1.61051),(too many dingers:1.61051),(unclear eyes:1.331),lowers,bad hands,missing fingers,extra digit,bad hands,missing fingers,(((extra arms and legs)))
1. 提示词
提示词 (Prompts):主要包括内容型提示词、标准化提示词、其他特殊要求等3个部分。
内容型提示词
- 人物及主体特征
- 服饰穿搭:white dress
- 发型发色:blonde hair(金发),long hair
- 五官特点:small eyes,big mouth
- 面部表情:smiling
- 肢体动作:stretching arms(伸展手臂)
- 场景特征
- 室内、室外:indoor, outdoor
- 大场景:forest,city,street
- 小细节:tree,bush,white flower
- 环境光照
- 白天黑夜:day,night
- 特定时段:morning,sunset
- 光环境:sunlight,bright,dark
- 天空:blue sky,starry sky(满天星)
- 补充: 画图视角
- 距离:close-up,distant
- 人物比例:full body,upper body
- 观察视角:from above,view of back
- 镜头类型:wide angle,Sony A7 III
标准化提示词
- 画质提示词
- 通用高画质:best quality,ultra-detailed,masterpiece(杰作),hires,8k
- 特定高分辨率类型:extremely detailed CG unity 8k wallpaper(超精细的8kUnity游戏CG),unreal engine rendered(虚幻引擎渲染)
- 画风提示词
- 插画风:illustration(插图),painting,paintbrush
- 二次元:anime,comic,game CG
- 写实系:photorealistic(照片级的),realistic,photograph(照片)
根据内容型提示词和标准化提示词,通用模版包括:
- 描述人物
- 描述场景
- 描述环境(时间、光照)
- 描述画幅视角
- 其他画面要素
- 高品质标准化
- 画风标准化
- 其他特殊要求
描述人物,例如:
-
nilou\(Genshin Impact\)
:nilou原神角色 -
jewelry
:珠宝 -
blue gemstone
:蓝宝石 -
earrings
:耳环 -
horns
:犄角 -
crown
:王冠 -
cyan satin strapless dress
:青色绸缎抹胸连衣裙 -
white veil
:白色面纱 -
neck ring
:项圈
(one girl:2.0),solo,nilou\(genshin Impact\),long hair,jewelry,blue gemstone,earrings,horns,crown,cyan satin strapless dress,white veil,neck ring,red hair, {green eyes},
描述场景,例如:
indoor,room,house,sofa,wooden floor,plant,flowers,trees,windows,
描述环境(时间、光照),例如:
-
dappled sunlight
:斑驳的阳光 -
light rays
:光线
day,morning,sunlight,dappled sunlight,backlight,light rays,cloudy sky,
描述画幅视角,例如:
-
depth of field
:景深
full body,wide angle shot,depth of field,
其他画面要素,例如:
-
light particles
:光子 -
fantasy
:幻想 -
wind blow
:风吹 -
maple leaf
:枫叶 -
dusty
:灰尘的
light particles,fantasy,wind blow,maple leaf,dusty,
高品质标准化,例如:
{{masterpiece}},{best quality},{highres},original,reflection,unreal engine,body shadow,artstationextremely detailed CG unity 8k wallpaper,
画风标准化,例如:
(illustration),(painting),(sketch),anime coloring,fantasy,
其他特殊要求,例如:
-
exaggerated body proportions
:夸张的身体比例 -
greasy skin
:油腻的皮肤 -
realistic and delicate facial features
:逼真而精致的面部特征 -
SFW
:safe for working
exaggerated body proportions,greasy skin,realistic and delicate facial features,SFW,
提升汇总:
(one girl:2.0),solo,nilou\(genshin Impact\),long hair,jewelry,blue gemstone,earrings,horns,crown,cyan satin strapless dress,white veil,neck ring,red hair, {green eyes},
indoor,room,house,sofa,wooden floor,plant,flowers,trees,windows,
day,morning,sunlight,dappled sunlight,backlight,light rays,cloudy sky,
full body,wide angle shot,depth of field,
light particles,fantasy,wind blow,maple leaf,dusty,
{{masterpiece}},{best quality},{highres},original,reflection,unreal engine,body shadow,artstationextremely detailed CG unity 8k wallpaper,
(illustration),(painting),(sketch),anime coloring,fantasy,
exaggerated body proportions,greasy skin,realistic and delicate facial features,SFW,
图像:
2. 内容型提示词
参数设置:
Prompts 1,即基础提示:
a girl,walking,forest,path,sun,sunshine,shining on body,
图像:
Prompts 2,即基础提示 + 人物及主体特征:
a girl,walking,forest,path,sun,sunshine,shining on body,
white dress,blonde hair,long hair,smiling,streching arms,hands up,beautiful,happy
图像:
Prompts 3,即基础提示 + 人物及主体特征 + 场景特征:
a girl,walking,forest,path,sun,sunshine,shining on body,
white dress,blonde hair,long hair,smiling,streching arms,hands up,beautiful,happy,
trees,bush,white flower,path,outdoor,
图像:
Prompt 4,即基础提示 + 人物及主体特征 + 场景特征 + 环境光照:
a girl,walking,forest,path,sun,sunshine,shining on body,
white dress,blonde hair,long hair,smiling,streching arms,hands up,beautiful,happy,
trees,bush,white flower,path,outdoor,
day,sunlight,blue sky,cloudy sky,(close-up:1.5),
图像:
3. 标准化提示词
参数设置:
Prompts 5,内容型提示词+画质:
a girl,walking,forest,path,sun,sunshine,shining on body,
white dress,blonde hair,long hair,smiling,streching arms,hands up,beautiful,happy,
trees,bush,white flower,path,outdoor,
day,sunlight,blue sky,cloudy sky,(close-up:1.5),
best quality,ultra detailed,masterpiece,hires,8k,extremely detailed CG unity 8k wallpaper,
图像:
Prompts 6,内容型提示词+画质+画风:
a girl,walking,forest,path,sun,sunshine,shining on body,
white dress,blonde hair,long hair,smiling,streching arms,hands up,beautiful,happy,
trees,bush,white flower,path,outdoor,
day,sunlight,blue sky,cloudy sky,(close-up:1.5),
best quality,ultra detailed,masterpiece,hires,8k,extremely detailed CG unity 8k wallpaper,
painting,illustration,anime,game CG,
图像:文章来源:https://www.toymoban.com/news/detail-558498.html
文章来源地址https://www.toymoban.com/news/detail-558498.html
到了这里,关于Stable Diffusion - Prompts 提示词工程框架的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!