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/03/ConditioningAverage.md.

条件平均(ConditioningAverage)

ConditioningAveragemodel/conditioning/transform角色:条件修饰★ 常用节点

ConditioningAverage 节点用于根据指定权重混合两组不同的条件(如文本提示),生成介于两者之间的新条件向量。通过调整权重参数,您可以灵活控制每组条件对最终结果的影响程度。该功能特别适用于提示插值、风格融合等高级应用场景。 如下图所示,通过调整 conditioning_to 的强度,您可以输出介于两个条件之间的结果。

参数

参数类型默认 / 范围说明
conditioning_toCONDITIONING · 条件—(连线输入)被叠加/替换的条件。
conditioning_fromCONDITIONING · 条件—(连线输入)提供内容的条件。
conditioning_to_strengthFLOAT0.0 ~ 1.0,步长 0.01文本/图像编码后的条件张量。

输出

输出类型说明
条件CONDITIONING条件

怎么接

  • 上游:CLIPTextEncode / 条件节点
  • 下游:KSampler.positive / negative
  • 接线:上游接 CLIPTextEncode 出来的条件,输出继续接 KSampler 的 positive/negative;多个条件修饰可以串联,后面的会覆盖或叠加前面的区域/强度设置。

使用案例

属于「条件修饰」类节点,向下游提供条件,最终进采样器的 positive 或 negative。从 conditioning_to、conditioning_from、conditioning_to_strength(1.0) 开始填就能跑起来。典型接法:CLIPTextEncode → 本节点 → KSampler.positive。输出类型是 CONDITIONING,只能接同类型的输入端口,颜色对不上就是接错了。

端口与连线示意

ConditioningAverage 端口与连线示意

同类节点

条件合并 · 条件连接 · 条件采样区域 · 条件遮罩 · 设置条件时间 · ConditioningMultiply · 条件采样区域(系数) · 调节设置区域百分比视频 · 条件采样区域强度 · 条件零化