> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-partner-nodes-consolidate.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SeedVR2Preprocess - ComfyUI Built-in Node Documentation

> 此节点通过将调整大小后的图像或视频填充到模型期望的形状，为 SeedVR2 模型做好准备。

此节点通过将调整大小后的图像或视频填充到模型期望的形状，为 SeedVR2 模型做好准备。它在处理过程中丢弃 Alpha 通道；配套的 Post-Process SeedVR2 Output 节点稍后从原始的调整大小图像中恢复该通道。像素值被限制在 0-1 范围内，高度和宽度填充为 16 的倍数，帧数在需要时通过重复最后一帧进行填充。

## 输入

| Parameter        | Description   | Data Type | Required | Range |
| ---------------- | ------------- | --------- | -------- | ----- |
| `resized_images` | 要处理的调整大小后的图像。 | IMAGE     | 是        | -     |

注意：输入可以是单帧、帧序列或视频批次。如果其通道数超过 3，则丢弃 Alpha 通道，仅保留 RGB。输入的较短边必须至少为 2 像素。空间填充使用黑色（值 0）填充，有效帧数遵循 4n+1 模式（1、5、9、13、...）。

## 输出

| Output Name | Description      | Data Type |
| ----------- | ---------------- | --------- |
| `images`    | 用于 VAE 编码的填充后图像。 | IMAGE     |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SeedVR2Preprocess/zh.md)

***

**Source fingerprint (SHA-256):** `f4fa433d299feba40696f27ff365c59988e5102112f09536724b5db5b09416bb`
