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

# SeedVR2Conditioning - ComfyUI Built-in Node Documentation

> 从 VAE 潜空间构建正向和负向条件，以供 SeedVR2 模型使用。

从 VAE 潜空间构建正向和负向条件，以供 SeedVR2 模型使用。它会验证输入的潜空间和模型结构，向潜空间添加一个掩码通道，并返回两个条件输出。

## 输入

| 参数                 | 描述                                    | 数据类型   | 必需 | 范围 |
| ------------------ | ------------------------------------- | ------ | -- | -- |
| `model`            | SeedVR2 模型。                           | MODEL  | 是  | -  |
| `vae_conditioning` | 用于构建条件的 SeedVR2 VAE 潜空间（显示名称：latent）。 | LATENT | 是  | -  |

注意：`vae_conditioning` 潜空间必须是 Comfy 通道优先布局（B, C, T, H, W）的 5 维张量，其中 C 是预期的 SeedVR2 VAE 通道数。如果潜空间不是 5 维、通道数不匹配，或张量似乎采用通道置后布局，节点会抛出错误。`model` 输入必须具有预期的 SeedVR2 结构；节点会解析其内部扩散模型，并读取其正向和负向条件。在内部，节点会向潜空间追加一个常量掩码通道，并将生成的条件附加到正向和负向条件输出。

## 输出

| 输出名称       | 描述         | 数据类型         |
| ---------- | ---------- | ------------ |
| `positive` | 用于采样的正向条件。 | CONDITIONING |
| `negative` | 用于采样的负向条件。 | CONDITIONING |

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

***

**Source fingerprint (SHA-256):** `28e508bdd776e2e3f5f2f93bfc29a1a1d1c34a11dbdc7f421d197ddbfa85f0f5`
