> ## 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.

# SeedVR2: ComfyUI 中的图像和视频放大

> 学习如何使用 SeedVR2（字节跳动 Seed 开发的一步扩散修复模型）对图像和视频进行放大

# ComfyUI SeedVR2 简介

[SeedVR2](https://iceclear.github.io/projects/seedvr2/)（arXiv:2506.05301，来自字节跳动 Seed）是一种一步式扩散视频修复模型。它通过对真实数据进行对抗训练来高保真地修复和放大图像与视频。SeedVR2 已在 ComfyUI 中原生支持（PR [#14424](https://github.com/Comfy-Org/ComfyUI/pull/14424)）。

主要功能：

* **保守放大**：在提升清晰度的同时保留原始结构和细节
* **一步推理**：单次前向传播即可完成图像和视频放大
* **多种模型规模**：提供 3B 和 7B 两个版本，支持 FP16、FP8、INT8、NVFP4 和 MXFP8 量化
* **图像与视频兼顾**：支持单张图像放大和视频分辨率增强

SeedVR2 有两种规模。[3B 模型](https://huggingface.co/ByteDance-Seed/SeedVR2-3B) 是较小的版本，显存需求较低，适合硬件资源有限的用户。[7B 模型](https://huggingface.co/ByteDance-Seed/SeedVR2-7B) 是较大的版本，能提供更高质量的结果，但需要更多显存和处理时间。两者均采用 Apache 2.0 许可证。

<Tip>
  <Tabs>
    <Tab title="便携版或手动安装用户">
      请确保你的 ComfyUI 已经更新。

      * [ComfyUI 下载](https://www.comfy.org/download)
      * [ComfyUI 更新教程](/zh/installation/update_comfyui)

      本指南里的工作流可以在 ComfyUI 的[工作流模板](/zh/interface/features/template)中找到。如果找不到，可能是 ComfyUI 没有更新。

      如果加载工作流时有节点缺失，可能原因有：

      1. 你用的不是最新开发版（nightly）。
      2. 你用的是稳定版或桌面版（没有包含最新的更新）。
      3. 启动时有些节点导入失败。
    </Tab>

    <Tab title="桌面版或云端用户">
      * 桌面版是基于 ComfyUI 稳定版本构建的，它会在有新的桌面稳定版本发布时自动更新。
      * [Cloud](https://cloud.comfy.org) 会在 ComfyUI 稳定版本发布后更新，我们会同步更新 Cloud。

      所以，如果你发现本教程中有任何核心节点缺失，那是因为对应的节点支持还在开发中没有发布正式的稳定版，请等待下一个稳定版本发布。
    </Tab>
  </Tabs>
</Tip>

## 模型安装

从 [Comfy-Org SeedVR2 仓库](https://huggingface.co/Comfy-Org/SeedVR2) 下载 SeedVR2 检查点并保存到对应的 ComfyUI 文件夹：

* [seedvr2\_3b\_fp16.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/diffusion_models/seedvr2_3b_fp16.safetensors): 3B FP16 基础模型，显存需求较低
* [seedvr2\_3b\_fp8\_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/diffusion_models/seedvr2_3b_fp8_e4m3fn.safetensors): 3B FP8 量化版，进一步降低显存占用
* [seedvr2\_3b\_int8\_convrot.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/diffusion_models/seedvr2_3b_int8_convrot.safetensors): 3B INT8 convrot 版
* [seedvr2\_7b\_fp16.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/diffusion_models/seedvr2_7b_fp16.safetensors): 7B FP16 基础模型，画质更优
* [seedvr2\_7b\_fp8\_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/diffusion_models/seedvr2_7b_fp8_e4m3fn.safetensors): 7B FP8 量化版，兼顾画质与显存
* [seedvr2\_7b\_int8\_convrot.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/diffusion_models/seedvr2_7b_int8_convrot.safetensors): 7B INT8 convrot 版
* [seedvr2\_7b\_sharp\_fp16.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/diffusion_models/seedvr2_7b_sharp_fp16.safetensors): 7B FP16 锐化版，细节更丰富
* [seedvr2\_ema\_vae\_fp16.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/vae/seedvr2_ema_vae_fp16.safetensors): VAE 检查点（所有模型变体共用）

将文件放入以下目录：

```
ComfyUI/
├── models/
│   ├── diffusion_models/
│   │   ├── seedvr2_3b_fp16.safetensors
│   │   ├── seedvr2_3b_fp8_e4m3fn.safetensors
│   │   ├── seedvr2_3b_int8_convrot.safetensors
│   │   ├── seedvr2_7b_fp16.safetensors
│   │   ├── seedvr2_7b_fp8_e4m3fn.safetensors
│   │   ├── seedvr2_7b_int8_convrot.safetensors
│   │   ├── seedvr2_7b_sharp_fp16.safetensors
│   └── vae/
│   └── seedvr2_ema_vae_fp16.safetensors
```

## 1. 图像缩放（3B INT8）

**功能说明：** 使用 SeedVR2 3B INT8 模型缩放单张图像。INT8 量化变体在质量和显存占用之间取得了良好平衡。

<Card title="下载工作流" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_seedvr2_3b_int8_upscale_image.json">
  下载 JSON 或在模板库中搜索 „SeedVR2 3B Int8: Upscale Image“
</Card>

<Card title="下载示例图像" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/watch_macro_shot.png">
  获取此工作流的示例输入图像
</Card>

![SeedVR2 3B INT8 缩放预览](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/utility_seedvr2_3b_int8_upscale_image.png)

### 1.1 运行步骤

1. 将图像放入 `ComfyUI/input/` 文件夹中，然后在 `加载图像` 节点中选择它
2. 在 SeedVR2 模型加载器中选择 `seedvr2_3b_int8_convrot.safetensors` 检查点
3. 点击 `队列` 或使用 `Ctrl(cmd) + 回车` 运行

***

## 2. 图像缩放（7B INT8）

**功能：** 使用 SeedVR2 7B INT8 模型缩放单张图像。更大的 7B 模型通过 INT8 量化提供更高质量的结果，同时高效利用 VRAM。

<Card title="下载工作流" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_seedvr2_7b_int8_upscale_image.json">
  下载 JSON，或在模板库中搜索“SeedVR2 7B Int8: Upscale Image”
</Card>

<Card title="下载示例图像" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/indoor_portrait.png">
  获取此工作流的示例输入图像
</Card>

![SeedVR2 7B INT8 缩放预览](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/utility_seedvr2_7b_int8_upscale_image.png)

### 2.1 运行步骤

1. 将图像放入 `ComfyUI/input/` 文件夹，并在“加载图像”节点中选择该图像
2. 在 SeedVR2 模型加载器中选择 `seedvr2_7b_int8_convrot.safetensors` 检查点
3. 点击“队列”或使用 `Ctrl(Cmd) + Enter` 运行

***

## 3. 视频放大（3B INT8）

**功能：** 使用 SeedVR2 3B INT8 模型对视频进行放大。该工作流在提升分辨率的同时，保持帧间的时间一致性。适用于修复老旧或损坏的素材，以及对低分辨率视频进行放大。

<Card title="下载工作流" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_seedvr2_3b_int8_upscale_video.json">
  下载 JSON，或在模板库中搜索 "SeedVR2 3B Int8: Upscale Video"
</Card>

<Card title="下载示例视频" icon="download" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/grainy_perfume_shot_crf32.mp4">
  获取该工作流的示例输入视频
</Card>

### 3.1 运行步骤

1. 将您的视频放入 `ComfyUI/input/` 文件夹，并在 `Load Video` 节点中选择它。
2. 在 SeedVR2 模型加载器中选择 `seedvr2_3b_int8_convrot.safetensors` 检查点。
3. 点击 `Queue` 或使用 `Ctrl(cmd) + Enter` 运行。

### 性能

更高的目标分辨率需要更长的处理时间。与 FP16 相比，INT8 变体提供了高效的推理，并减少了 VRAM 占用。

***

## 社区资源

* [SeedVR2 项目页面](https://iceclear.github.io/projects/seedvr2/): 官方网站
* [ByteDance SeedVR 代码库 (GitHub)](https://github.com/ByteDance-Seed/SeedVR): 原始研究代码和论文
* [Comfy-Org/SeedVR2 (HuggingFace)](https://huggingface.co/Comfy-Org/SeedVR2): ComfyUI 模型权重
* [ByteDance-Seed/SeedVR2-3B (HuggingFace)](https://huggingface.co/ByteDance-Seed/SeedVR2-3B): 原始 3B 模型权重
* [ByteDance-Seed/SeedVR2-7B (HuggingFace)](https://huggingface.co/ByteDance-Seed/SeedVR2-7B): 原始 7B 模型权重
* [论文 (arXiv)](https://arxiv.org/abs/2506.05301)
