Stable Diffusion 参数介绍及用法

大模型 CheckPoint 介绍

作用:定调了作图风格,可以理解为指挥者
安装路径:models/Stable-diffusion
推荐
AnythingV5Ink_v32Ink.safetensors
cuteyukimixAdorable_midchapter2.safetensors
manmaruMix_v10.safetensors
counterfeitxl_v10.safetensors
darkjunglemix_V2InkFix.safetensors Stable Diffusion 参数介绍及用法_第1张图片

变分自编码器 VAE (Variational Auto Encoder)

作用:滤镜效果,增加饱和度之类的,类似美颜吧
安装路径:models/VAE
推荐:暂无,不咋用
Stable Diffusion 参数介绍及用法_第2张图片

Clip跳过层 (Contrastive Language Image Pre-training)

作用:就是 prompt 与生成图的关联性,数值越高关系越低,反之亦然
推荐:2-4

Prompt 提示词

内容

  • 人物表情:sexy lady, smiling, curly blonde hair, big eyes
  • 服装:black suit, jeans, dress
  • 场景和环境:Universe,Galaxy,Mars,rainy day
  • 镜头:wide shot,close up,full body,portrait
  • 灯光:Cinimatic lighting, studio lighting, Neon light, high contrast, (best illumination, an extremely delicate and beautiful), (cinematic light), colorful, hyper detail, dramatic light, intricate details
  • 风格:Pixel art, surrealism, cartoon, cyberpunk
  • 质量:masterpiece, best quality, ultra-detailed, best shadow

格式

基本

词组+短句,使用英文逗号分开,核心内容推荐使用 短句

比重

括号法则,麻烦,不用,哈哈哈
数字法则,写法简单

(xxxx: 1.5)= xxxx 权重= 1 x 1.5倍
(xxxx: 0.7)= xxxx 权重= 1 x 0.7倍
推荐:尽量保持在 0.5 - 1.6 之间

融合

AND

cat AND tiger

[ tag1:tag2 ]

[cat|girl]
交替算法,13579 步渲染t cat,246810 步渲染 girl
Stable Diffusion 参数介绍及用法_第3张图片

渐变 [tag1:tag2:x]

[moon:sun:5] 前面 5 步画 moon,剩下的步数画 sun
Stable Diffusion 参数介绍及用法_第4张图片

反向提示词

常用

(worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans,extra fingers,fewer fingers,strange fingers,bad hand (low quality, worst quality:1.4), (bad_prompt:0.8), (monochrome), bad anatomy,DeepNegative,(fat:1.2), looking away,tilted head, {Multiple people},bad anatomy,bad hands, text, error, missing fingers,extra digit, fewer digits, cropped,jpeg artifacts,signature, watermark, username,blurry,bad feet,cropped,poorly drawn hands,poorly drawn face,mutation,deformed,extra limbs,extra arms,extra legs,malformed limbs,fused fingers,too many fingers,long neck,cross-eyed,mutated hands,polar lowres,bad body,bad proportions,gross proportions,error,missing arms,missing legs, extra leg, extra foot,

采样方法 (sampling method)

当前直接采用 DPM++ 2M Karras 就好了,其他大多过时了

参数介绍及设置

  • 采样步数(Sampling steps): 调高的画,画得更精细。一般在 20-40 之间
  • CFG Scale: 数值越高越贴近提示词,但是 AI 想象力就降低。一般在 7-12 之间
  • denoising scale: 重绘幅度,越高的画,原画偏离度越大
  • 随机种子:设定某个特定值时,风格就会和seed相似

你可能感兴趣的:(AI,绘画,stable,diffusion)