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/LatentUpscaleBy.md.

缩放Latent(比例)(LatentUpscaleBy)

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

LatentUpscaleBy 节点用于对图像的潜在表示进行放大。它允许调整缩放因子和放大方法,从而灵活提升潜在样本的分辨率。

参数

参数类型默认 / 范围说明
samplesLATENT · 潜空间—(连线输入)LATENT。采样器的输入/输出,需 VAE 解码才能看图。
upscale_methodCOMBOnearest-exact、bilinear、area、bicubic …共 5 项nearest-exact 最快、lanczos 最锐、bicubic 最均衡。
scale_byFLOAT0.01 ~ 8.0,步长 0.01整体缩放比例。

输出

输出类型说明
潜空间LATENT潜空间

怎么接

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

使用案例

属于「潜空间处理」类节点,向下游提供潜空间数据,通常进采样器或解码器。从 samples、upscale_method(nearest-exact、bilinear、area、bicubic …共 5 项)、scale_by(1.5) 开始填就能跑起来。典型接法:EmptyLatentImage → 本节点 → VAEDecode。输出类型是 LATENT,只能接同类型的输入端口,颜色对不上就是接错了。

端口与连线示意

LatentUpscaleBy 端口与连线示意

同类节点

空Latent图像 · 合成Latent · 合成Latent遮罩 · 缩放Latent · 加载Latent · 保存Latent · 设置Latent噪波遮罩 · VAE解码 · VAE解码(分块) · VAE编码 · VAE编码(局部重绘) · 空Latent音频