首页>手册>软件使用帮助>Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧

Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧

1.下载模型

备用模型站:https://www.4b3.com

主流模型,模型被删除可以去备用站下载:

 

2.安装模型

Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图
Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图

AI绘画软件Stable Diffusion模型/Lora/VAE文件存放位置

软件安装教程 模型下载说明(下载模型后输入对应参数即可生成) 建议直接去civitai.com找模型,如果无法找到可以在幕后模型区找也可以去www.4b3.com, 下载好后放入对应的文件夹。进入127.0.0.1:7680 左上角刷新即可看到新的模型。   模型种类 大模型 大模型特指标…

3.运行

开始本地运行吧,浏览器打开http://127.0.0.1:7860,显示如下,可以看到模型也加载了,运行成功。

Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图1

Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图2
Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图2

AI绘画软件Stable Diffusion+WebUI+Chilloutmix/ControlNet模型(一键安装包)支持WIN/MAC

4.找到关键词,粘贴到提示词中

找tag关键词网站:https://tag.redsex.cc

Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图4

 

复制关键词到箭头1的位置,点击自动按钮就会自动设置模型和参数了。
Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图5


以下为高级技巧

一:参数介绍:

标准参数设置,sampler(采样方法):Euler a(k_euler_ancestral),迭代次数28,CFG:11。

设置更改:

Stop At last layers of CLIP model 改为 2

eta(noise multiplier) for ancestral samplers 改为 0.68

Eta noise seed delta 设为 31337

显存10G以下推荐勾选训练栏下的Move VAE and CLIP以节省显存。

取消勾选deepbooru按字母顺序排序

Euler(euler_ancestral)比Euler a迭代慢,增加迭代次数可达到Euler a效果。

迭代步数增加不能解决人物手脚异常增多的问题。

人脸修复没啥用,有人还会出bug,不要开。

高分辨率修复会改变画面内容,据说加了1girl权重再修复可以解决出现多人的问题。

图片大小 :人像肖像 512x768,风景画 768×512,可按比例加大或减小。生成的画面内容对图片大小也敏感,所以一般按着比例来比较靠谱。

 

使用小tips:

1. DDIM 与 Euler 适合长迭代下产生细节较好的图片,而Euler a属于短迭代与较好效果的常用折中选择。较新的sampler DPM++2S A 也有较好的效果。

2. 记得设置在图片中保存信息。

3. 出图结果为黑色一般是因为显存不足,把出图大小减小。

4. 显卡不行的情况下,想一次出多图,可以选择加大batch count,这样每一个batch结束都会保存出图。加batch size会因为集中生成图片爆显存,然后颗粒无收。

5. 想要高清细节大图,单单加迭代步数和加大图片有上限,且产出慢,大图需高显存。一般策略是中等出图,再导入到后处理界面,使用ESRGAN_4x放大器,再把GFPGAN可见度拉满。可适当调节参数或者换放大器试着玩玩。

 

 

二、AI绘画关键词

找tag关键词网站:https://tag.redsex.cc

1. 关键词构成结构

version 1:(使用Stable Diffusion时,不用写画面尺寸,此处为参考补充)

Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图6

version 2:

Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图7

 

1. 通用Tag起手式:

正向:

masterpiece, best quality, 更多画质词,画面描述

反向:

nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers,extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry,根据画面产出加不想出现的画面。nsfw(not safe for work=涩图)

2. 越靠前的Tag权重越大;比如景色Tag在前,人物就会小,相反的人物会变大或半身。

3. 生成图片的大小会影响Prompt的效果,图片越大需要的Prompt越多,不然Prompt会相互污染。

4. 在Stable Diffusion 中使用()英文括号可增加括号中Tag在画面中的权重 x1.1,[]可减小Tag权重x0.91。在NovelAi官网中,使用{}增加权重x1.05。

5. Prompt支持使用emoji,且表现力较好,可通过添加emoji达到表现效果。如😍形容表情,🖐可修手。

6.“+”  ,  “ AND”   ,  “|” 用法:

“+”和“ AND ”都是用于连接短Tag,但AND两端要加空格。"+"约等于" and "

“|” 为循环绘制符号(融合符号)

(Prompt A: w1)|(Prompt B: w2)

以上表达适用于WebUI,w1、w2为权重。AI会对A、 B两Prompt进行循环绘制。可往后无限加入Prompt。

下面通过发色来测试:

(red hair:1.1)+(yellow hair:1.25)+(green hair:1.4)
(red hair:1.1)+(yellow hair:1.25)+(green hair:1.6)
(red hair:1.3)+(yellow hair:1.25)+(green hair:1.4)
固定SEED的简单彩发测试:

Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图8

从左到右依次为

(red hair:1.2)+(yellow hair:1.4)+(green hair:1.4)

(red hair:1.2) AND (yellow hair:1.4) AND (green hair:1.4)

(red hair:1.2),(yellow hair:1.4),(green hair:1.4)

(red hair:1.2)_(yellow hair:1.4)_(green hair:1.4)

(red hair:1.2)|(yellow hair:1.4)|(green hair:1.4)

(red hair:1.2)(yellow hair:1.4)(green hair:1.4)

Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图9
(red hair:1.2) (yellow hair:1.4) (green hair:1.4) Tag中间只夹空格效果也还不错

结论:

① (Prompt A) AND  (Prompt B),DDIM采样器不支持且测试效果不太好,暂不推荐使用

② 目前来看,+号约等于“ and ”,其他用法也都可以尝试效果差不多。

 

7. 权重赋予

(Prompt A:1.5,Prompt B:1.5) 效果并不好,不如直接(Prompt A:1.5),(Prompt B:1.5),彩发可以直接(red hair:1.2),(yellow hair:1.4),(green hair:1.4)

Stable Diffusion Prompt关键词文件怎么用?附tag高级技巧插图10
8. 分布渲染

句式:

[Prompt A:Prompt B:Step]

[Prompt A::Step]

[:Prompt B:Step]

此处Step > 1时表示该组合在前多少步时做为Prompt A渲染,之后作为Prompt B渲染。Step < 1时表示迭代步数百分比。

 

Prompt格式优化:

1. 简易换行三段式表达:

第一段: 画质tag,画风tag

第二段:画面主体,主体强调,主体细节概括。(主体可以是人、事、物、景)画面核心内容

第三段:画面场景细节,或人物细节,embedding tag。画面细节内容

第二段一般提供人数,人物主要特征,主要动作(一般置于人物之前),物体主要特征,主景或景色框架等

 

2.元素同典调整版语法:

质量词→前置画风→前置镜头效果→前置光照效果→(带描述的人或物AND人或物的次要描述AND镜头效果和光照)*系数→全局光照效果→全局镜头效果→画风滤镜(embedding)

Tips: 不同模型(ckpt)对Prompt的敏感程度不同,一套完善的prompt在不同的模型中,表达效果会有差异。每个模型都有自己的特色,需根据模型特色,慢慢调试prompt组合。

关键词举例

1. 主体

volcano火山   seashore海滩      sunset日出    sunset clouds朝霞     rainforest雨林

jelly fish水母    paleontology古生物 nightsky星空  Arches National Park美国拱门公园

Singapore Flyer新加坡摩天轮       lake湖泊  mountians山峰 waterfall瀑布

flowery充满鲜花的     cottage小屋  Noctilucent cloud夜光云        a golden rice field稻田

nebula星云 sea of sand沙海 whale鲸

2. 细节修饰词

smooth平滑    sharp focus清晰聚焦 matte磨砂 elegant高雅   8k  4k  sharp锐化

the most beautiful image ever seen最美丽的画面        technique highly detailed技术性高细节

dreamatic lighting舞台灯光  beautiful美丽 post processing后期处理     Diffuse色散

picture of the day当日图照  ambient lighting环境光照    epic composition史诗般作品

ultrawide shot超广角   light effect光效  up colse portraits of近距离肖像  low angle低角度

high low高角度 atmospheric大气层粒子特效  uplight上光灯      upscalsed宏大画面

wallpaper壁纸精美   no clouds无云     raytracing reflections光线追踪 cinematic电影效果

3D matte painting3D无光绘画 volumetric lighting体积光 mood lighting氛围光

bright明亮 soft illumination全局柔光灯 soft lights局部柔光 rays of shimmering light闪光

crepuscular ray云隙光 bioluminescence生物光 bisexual lighting双性照明(冷暖反差)

split lighting高对比度侧面光masterpiece     intricate       high contract

volumetric lighting     sharp focus CG digital rendering    Ultra HD        surreal photo

finely detailed     beautiful detailed eyes depth of field

3. 画面色调

gloomy郁暗    Gothic gloomy哥特式黑暗  washed color水洗色 triadic color scheme三角形配色法

更多颜色可参考网站: (超完整颜色英语词汇大全)

4. 艺术风格和艺术家

Studio Ghibli宫崎骏绘画风格    Cyberpunk赛博朋克       Wasteland Punk废土朋克      illustration插画

trending on artsation艺术站趋势      trending on pixiv        concept art概念艺术    original原画

chinese elaborate-style painting工笔国画 realism写实主义 landscape山水画 surrealism超现实主义

subconsciousness潜意识 watercolor painting水彩画 black and white黑白

wash painting水墨画 visual impact视觉冲击 texture纹理/肌理 Ukiyoe浮世绘 Genesis创世纪

neo-realism新现实主义 post-impressionism后印象主义 portrait写实

greg rutkowski       caspar david friedrich        thomas kirikade     van Gogh

5. 渲染器

Unreal Engine

vary

其他参考:V-Ray ,Substance ,Evermotion ,Quixel Megascans ,Twinmotion ,Octane Render ,Blender ,Cinema 4D ,Corona Renderer ,Artlantis ,Enscape , maya

三、具体案例

a painting of a beyond-dimensional fantasy world,reality infused with dreams,in a screenshot from the science fiction anime file by makoto shinkai

Rainforests inside a glass house,lush trees,vines twing around the shelves,greg rutkowski and james gurney and Thomas kinkade

orbital space station,science and technology,Jonn Berkey,highly detailed,artstation

in the morning,chinese buildings on the mountains,magnificent,john Howe landscape,lake,china,dragon,clouds,farm,wlop fairy tale,light effect,dream,Greg rutkowski,artstation

great chinese palace above clouds,morning,distance waterfalls flow down the mountians,fantasy,high-definition,super wide angle,artstation

sunset and sunset clouds over the sea,james Gurney,cgsociety,vary

studio ghibli,flowery cottage,morning,green technology,Thomas kinkade,Sparth

a painting of a beyond-dimensional fantasy world,a world of under the sea,Atlantis,science fiction,uplighting,studio Ghibli,unreal engine,epic composition,CG digital render,Ultra HD,technique highly detailed,triadic color scheme

Arches National Park,under the rock,in the evening,nightsky,reality  infused with dreams,upscaled,triadic color scheme,epic composition,CG digital rendering,Studio Ghibli,unreal engine,atmospheric,omit the people

in the Singapore Flyer,in the evening,reality  infused with dreams,upscaled,triadic color scheme,epic composition,CG digital rendering,a screenshot from the science fiction anime film Detective Conan,unreal engine,atmospheric,omit the people

reality infused with dreams,the desk up side the window,in the class,a narrow beams of sunlight,CG digital rendering,a screenshot from the science fiction anime film by Studio Ghibli,unreal engine,atmospheric

a landscape painting of beautiful island,reality infused with dreams,a blue lake lay down the bottom of mountains,blue grass surounding the lake,vary,upscaled,epic composition,atmospheric,ultra HD,trending on art station,triadic color scheme,technique highly detailed,really world,studio Ghibli,CG digital rendering

a painting of a beyond-dimensional world,out space,Milkly way galaxy,unreal engine,epic composition,CG digital render,Ultra HD,technique highly detailed,triadic color scheme,by van Gogh

a painting of a beyond-dimensional fantasy world,a world of under the sea,Atlantis,science fiction,uplighting,studio Ghibli,unreal engine,epic composition,CG digital render,Ultra HD,technique highly detailed,triadic color scheme

a painting of a beyond-dimensional fantasy world,reality infused with dreams,the mountian tops were hidden beneath a veil of mist,a cherry blossom with gentle breeze,uplight,atmospheric,epic composition,unreal engine,a screenshot from science fiction anime film by makoto shinkai

in a screenshot from the science fiction anime film by makoto,sunset and sunset clouds over the sea,james Gurney,cgsociety,vary

wave,nightsky,nebula,colorful stars,animation,CG digital rendering,whale,vary,technique highly detailed,ultrawide shot,no clouds,Ultra HD

小灶——负面词Tag

disfigured, malformed, mutated, anatomical nonsense, text font ui, error, malformed hands, long neck, blurred, lowers, lowres, bad anatomy, bad proportions, bad shadow, uncoordinated body, unnatural body, fused breasts, bad breasts, huge breasts, poorly drawn breasts, extra breasts, liquid breasts, heavy breasts, missing breasts, huge haunch, huge thighs, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, fused ears, bad ears, poorly drawn ears, extra ears, liquid ears, heavy ears, missing ears, bad animal ears, poorly drawn animal ears, extra animal ears, liquid animal ears, heavy animal ears, missing animal ears, text, ui, error, missing fingers, missing limb, fused fingers, one hand with more than 5 fingers, one hand with less than 5 fingers, one hand with more than 5 digit, one hand with less than 5 digit, extra digit, fewer digits, fused digit, missing digit, bad digit, liquid digit, colorful tongue, black tongue, cropped, watermark, username, blurry, JPEG artifacts, signature, 3D, 3D game, 3D game scene, 3D character, malformed feet, extra feet, bad feet, poorly drawn feet, fused feet, missing feet, extra shoes, bad shoes, fused shoes, more than two shoes, poorly drawn shoes, bad gloves, poorly drawn gloves, fused gloves, bad cum, poorly drawn cum, fused cum, bad hairs, poorly drawn hairs, fused hairs, big muscles, ugly, bad face, fused face, poorly drawn face, cloned face, big face, long face, bad eyes, fused eyes poorly drawn eyes, extra eyes, malformed limbs, more than 2 nipples, missing nipples, different nipples, fused nipples, bad nipples, poorly drawn nipples, black nipples, colorful nipples, gross proportions. short arm, (((missing arms))), missing thighs, missing calf, missing legs, mutation, duplicate, morbid, mutilated, poorly drawn hands, more than 1 left hand, more than 1 right hand, deformed, (blurry), disfigured, missing legs, extra arms, extra thighs, more than 2 thighs, extra calf, fused calf, extra legs, bad knee, ex

中文Tag

关键词

高品质,杰作,大师之作,精致的五官刻画,精致的头发刻画,精致的眼睛刻画,凌乱头发,精致的彩色头发,动漫男主,4k画质,绚丽的光影,丁达尔效应,光晕,凌乱的发丝,幼态,华丽的场景,精致的衣服,锁链,羽毛,

Ai绘画关键词教程

1关键词杰作,质量最好,插图超精细,美丽的眼睛,非常精致的光线,精细的发光,非常精细的8KCG壁纸,薰衣草色的眼睛,粉红色的瞳孔,一个极其精致的女孩。

2关键词极其详细的CG团体,8k壁纸,最佳质量,中午,美丽的细节水,黑色长发,漂亮的细节女孩,serafuku,直视,眼球,发花,特写

3.关键词飘逸黑色长发,温柔的眼神,韩漫纯欲风,美女,氛围光,光影,细节,高质量,大师之作,史诗级,比例正确,二次元

4.头发凌乱,男生,害羞傲娇,面容精致,帅气,彩色碎光,光线追踪,光影特效,cg渲染,细腻渲染,细节,杰作,高分辨率,追踪,光照,更多细节,高质量,高度详细,光影追踪,丰富细节,特写,高分效率

男生关键词,

肌肉,硬朗,帅哥,五官精致,高分辨率,脸红,浓眉,短发,害羞表情,圆脸,圆头,二次元,纯欲,动漫男主,细致刻画衣服

二次元日漫男主,五官精致,比例正确,氛围感,高质量,丰富细节,高分辨率, HD画质,二次元男生,帅哥,五官精致,黑色头发,高分辨率,氛围,纯欲,精致脸,白色皮肤,超细腻,细节描绘,毛发细节,HD画质,少年感,动漫男主

我并没有尝试过novelai生成二次元形象,但对画画感兴趣的人一定都对二次元美图更感兴趣,所以我就扒来了一些负面词提供参考。毕竟,有谁会拒绝可爱的女孩子呢?

2 条回复 A文章作者 M管理员
  1. erdoncn

    好😁

  2. erdoncn

    好好好😁😁😁

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索
在线客服
幕后
点击下面图标和我们联系
2024-03-18 20:02:30
您好,有任何疑问请与我们联系!
您的工单我们已经收到,我们将会尽快跟您联系!
[微信号]
注:点击复制微信号并打开微信APP,添加好友后进行聊天。
取消

选择聊天工具: