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/05/SeedVR2Preprocess.md.

预处理 SeedVR2 输入(SeedVR2Preprocess)

SeedVR2Preprocessimage/pre-processors角色:图像处理

此节点通过将调整尺寸后的图像或视频填充到 SeedVR2 模型期望的形状,为 SeedVR2 模型准备输入。像素值会被限制在 0-1 范围内,高度和宽度会填充为 16 的倍数,帧数会通过重复最后一帧进行填充,直到符合 4n+1 模式(1、5、9、13、...)。处理过程中会丢弃 alpha 通道;配套的 Post-Process SeedVR2 Output 节点稍后会从原始调整尺寸后的图像中恢复它。

参数

参数类型默认 / 范围说明
resized_imagesIMAGE · 图像—(连线输入)要处理的调整尺寸后的图像。

输出

输出类型说明
imagesIMAGE图像

怎么接

  • 上游:LoadImage / VAEDecode
  • 下游:VAEEncode / SaveImage / 下一个图像节点
  • 接线:接在 LoadImage 或 VAEDecode 之后,处理结果再交给 VAEEncode(重绘)、SaveImage(出图)或下一个图像节点;这类节点可以任意串联成处理流水线。

使用案例

属于「图像处理」类节点,向下游提供图像数据。从 resized_images 开始填就能跑起来。典型接法:LoadImage → 本节点 → VAEEncode。输出类型是 IMAGE,只能接同类型的输入端口,颜色对不上就是接错了。

端口与连线示意

SeedVR2Preprocess 端口与连线示意