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/04/LatentInterpolate.md.

Latent插值(LatentInterpolate)

LatentInterpolatemodel/latent/advanced角色:潜空间处理★ 常用节点

LatentInterpolate 节点旨在根据指定比例对两组潜在样本进行插值,融合两组样本的特征,生成一组新的中间潜在样本。

参数

参数类型默认 / 范围说明
samples1LATENT · 潜空间—(连线输入)第一路 latent。
samples2LATENT · 潜空间—(连线输入)第二路 latent。
ratioFLOAT0.0 ~ 1.0,步长 0.01—

输出

输出类型说明
LATENTLATENT潜空间

怎么接

  • 上游:EmptyLatentImage / VAEEncode / KSampler
  • 下游:VAEDecode / 下一段采样
  • 接线:接在 EmptyLatentImage / VAEEncode / 上一次采样之后,输出接着进 KSampler 或 VAEDecode;潜空间操作比像素空间快得多,放大和拼接优先在这一层做。

使用案例

属于「潜空间处理」类节点,向下游提供潜空间数据,通常进采样器或解码器。从 samples1、samples2、ratio(1.0) 开始填就能跑起来。典型接法:EmptyLatentImage → 本节点 → VAEDecode。输出类型是 LATENT,只能接同类型的输入端口,颜色对不上就是接错了。

端口与连线示意

LatentInterpolate 端口与连线示意

同类节点

Latent相加 · Latent相乘 · Latent相减 · Latent批处理随机种行为 · 潜在空间拼接 · 潜在空间切割 · Latent切割