For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /nodes/12/PerpNegGuider.md.

PerpNeg引导器(PerpNegGuider)

PerpNegGuiderexperimental角色:引导器

PerpNegGuider 节点创建了一个引导系统,用于通过垂直负向条件控制图像生成。它接收正向、负向和空条件输入,并应用专门的引导算法来引导生成过程。此节点专为实验测试而设计,可精细控制引导强度和负向缩放。

参数

参数类型默认 / 范围说明
modelMODEL · 扩散模型—(连线输入)扩散模型(UNet/DiT)。通常来自 CheckpointLoaderSimple 或 UNETLoader。
positiveCONDITIONING · 条件—(连线输入)你希望出现的内容,来自 CLIPTextEncode。
negativeCONDITIONING · 条件—(连线输入)你不希望出现的内容,CFG>1 时才生效。
empty_conditioningCONDITIONING · 条件—(连线输入)—
cfgFLOAT0.0 ~ 100.0,步长 0.1无分类器引导尺度,控制条件对生成的影响强度(默认值:8.0)
neg_scaleFLOAT0.0 ~ 100.0,步长 0.01—

输出

输出类型说明
GUIDERGUIDER引导器

怎么接

  • 上游:CheckpointLoaderSimple / UNETLoader
  • 下游:SamplerCustomAdvanced
  • 接线:把模型与条件封装成 GUIDER:MODEL 接 model、条件接 positive/negative,输出接 SamplerCustomAdvanced 的 guider,用来实现双模型、跳过 CFG 等特殊引导。

使用案例

从 model、positive、negative 开始填就能跑起来。典型接法:CheckpointLoaderSimple → 本节点 → SamplerCustomAdvanced。注意:CFG 与步数是耦合的:CFG 拉高通常要配更多步数,否则容易过曝或糊。

端口与连线示意

PerpNegGuider 端口与连线示意

实战提示

  • CFG 与步数是耦合的:CFG 拉高通常要配更多步数,否则容易过曝或糊。

同类节点

差异扩散DifferentialDiffusion · 保存LoRA · SAG自注意力引导 · Torch编译模型 · Flux KV 缓存 · FreSca · 混合Latent · 真寻太可爱了,她应该有个更好的引导功能!!(。・ω・。) · Perp-Neg(已弃用,使用PerpNegGuider) · EuleCFG++采样器