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

# VSRDecode - ComfyUI Built-in Node Documentation

> VSR Decode 使用 RelayVSR Flash 解码器，将来自 RelayVSR Conditioning 的关键帧 latent 重新还原成完整视频。

VSR Decode 使用 RelayVSR Flash 解码器，将来自 RelayVSR Conditioning 的关键帧 latent 重新还原成完整视频。解码器会在你输入的低质量帧的双三次（bicubic）放大结果之上叠加自身细节，放大倍率取决于解码器的 x2 或 x4 倍率。帧数保持不变。

## 输入

| 参数 | 描述 | 数据类型 | 必需 | 范围 |
| - | - | - | - | - |
| `vae` | RelayVSR Flash 解码器，需通过 Load VAE 加载：`relayvsr_flash_vae_x2_fp32.safetensors` 或 `relayvsr_flash_vae_x4_fp32.safetensors`。文件的元数据决定放大倍率，因此必须与模型匹配。 | VAE | 是 | N/A |
| `samples` | 采样器返回的 latent，每个关键帧对应一帧。 | LATENT | 是 | N/A |
| `images` | 与传给 RelayVSR Conditioning 的同一段低质量视频。 | IMAGE | 是 | N/A |
| `detail` | 在双三次放大结果之上保留多少解码器细节：1 表示完整的模型输出，0 表示纯粹的双三次放大结果。（默认：1.0） | FLOAT | 是 | 0.0 - 1.0（步长：0.01） |

## 输出

| 输出名称 | 描述 | 数据类型 |
| - | - | - |
| `images` | 每一帧都已还原的放大视频。 | IMAGE |

## 备注

* 请将同一段低质量视频传给两个节点。解码器会逐帧读取该视频，因此长度或分辨率不匹配会导致结果错误或损坏。
* 降低 `detail` 会弱化还原出的细节，使输出更接近纯粹的双三次放大结果，这在噪点非常严重的源素材上可能有帮助。

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

***

**Source fingerprint (SHA-256):** `946ac04bc9f205fd6d1088554caaa16238086e570f212e747b166e3fb0d9b3c5`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.