> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-chore-sync-comfy-api-v2-spec-b886298.mintlify.site/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)

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

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

      1. 你用的不是最新版（每夜版）。
      2. 启动时有些节点导入失败。
    </Tab>

    <Tab title="云端用户">
      * [Cloud](https://cloud.comfy.org) 会在 ComfyUI 稳定版本发布后更新。

      所以，如果你发现本文档中有任何核心节点缺失，可能是因为新核心节点尚未在最新稳定版中发布。请等待下一个稳定版发布。
    </Tab>
  </Tabs>
</Tip>

## Model Installation

Download the SeedVR2 checkpoint(s) from the [Comfy-Org SeedVR2 repository](https://huggingface.co/Comfy-Org/SeedVR2) and save them to the corresponding ComfyUI folder:

* [seedvr2\_3b\_fp16.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/blob/main/diffusion_models/seedvr2_3b_fp16.safetensors): 3B FP16 base model, lower VRAM requirement
* [seedvr2\_3b\_fp8\_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/blob/main/diffusion_models/seedvr2_3b_fp8_e4m3fn.safetensors): 3B FP8 quantized, further reduced VRAM
* [seedvr2\_3b\_int8\_convrot.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/blob/main/diffusion_models/seedvr2_3b_int8_convrot.safetensors): 3B INT8 with convrot
* [seedvr2\_7b\_fp16.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/blob/main/diffusion_models/seedvr2_7b_fp16.safetensors): 7B FP16 base model, higher quality
* [seedvr2\_7b\_fp8\_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/blob/main/diffusion_models/seedvr2_7b_fp8_e4m3fn.safetensors): 7B FP8 quantized, balance of quality and VRAM
* [seedvr2\_7b\_int8\_convrot.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/blob/main/diffusion_models/seedvr2_7b_int8_convrot.safetensors): 7B INT8 with convrot
* [seedvr2\_7b\_sharp\_fp16.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/blob/main/diffusion_models/seedvr2_7b_sharp_fp16.safetensors): 7B FP16 sharp variant for enhanced detail
* [seedvr2\_ema\_vae\_fp16.safetensors](https://huggingface.co/Comfy-Org/SeedVR2/blob/main/vae/seedvr2_ema_vae_fp16.safetensors): VAE checkpoint (shared across all model variants)

Place the files in the following directories:

```
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
```

## 示例工作流

<h3 id="utility_seedvr2_3b_int8_upscale_image">
  SeedVR2 3B Int8：缩放图像
</h3>

使用 SeedVR2 3B Int8 对图像进行缩放，这是一个基于 diffusion 的单步视频恢复模型，可生成高质量结果，并具有更好的时间一致性。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/utility_seedvr2_3b_int8_upscale_image-1.webp" alt="SeedVR2 3B Int8 缩放图像工作流预览" />

<CardGroup cols={2}>
  <Card title="在 Comfy Cloud 上运行" icon="cloud" href="https://cloud.comfy.org/?template=utility_seedvr2_3b_int8_upscale_image&utm_source=docs&utm_medium=referral&utm_campaign=seedvr2">
    在 Comfy Cloud 中打开
  </Card>

  <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>
</CardGroup>

**输入材料**

将此文件上传到对应的 `LoadImage` 节点：

<CardGroup cols={2}>
  <Card title="watch_macro_shot.png" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/watch_macro_shot.png">
    `LoadImage` 节点 1 · `watch_macro_shot.png`
  </Card>
</CardGroup>

**示例输出**

<div style={{display: 'grid', gridTemplateColumns: 'repeat(2, minmax(0, 1fr))', gap: '1rem', alignItems: 'start'}}>
  <img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/watch_macro_shot.png" alt="输入图像" style={{width: '100%', height: 'auto', objectFit: 'contain'}} />

  <img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/utility_seedvr2_3b_int8_upscale_image.png" alt="SeedVR2 3B Int8 缩放示例输出" style={{width: '100%', height: 'auto', objectFit: 'contain'}} />
</div>

### 1.1 运行步骤

1. 将你的图像放入 `ComfyUI/input/` 文件夹，并在 `Load Image` 节点中选择它。
2. 在 SeedVR2 模型加载器中选择 `seedvr2_3b_int8_convrot.safetensors` checkpoint。
3. 点击 `Queue`，或使用 `Ctrl(cmd) + Enter` 来运行。

<h3 id="utility_seedvr2_7b_int8_upscale_image">
  SeedVR2 7B Int8：缩放图像
</h3>

使用 SeedVR2 7B Int8 缩放图像，这是一个一步扩散模型，通过对抗性训练和自适应窗口注意力提升分辨率。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/utility_seedvr2_7b_int8_upscale_image-1.webp" alt="SeedVR2 7B Int8 缩放图像工作流预览" />

<CardGroup cols={2}>
  <Card title="在 Comfy Cloud 上运行" icon="cloud" href="https://cloud.comfy.org/?template=utility_seedvr2_7b_int8_upscale_image&utm_source=docs&utm_medium=referral&utm_campaign=seedvr2">
    在 Comfy Cloud 中打开
  </Card>

  <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：缩放图像"
  </Card>
</CardGroup>

**输入素材**

将此文件上传到对应的 `LoadImage` 节点：

<CardGroup cols={2}>
  <Card title="indoor_portrait.png" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/indoor_portrait.png">
    `LoadImage` 节点 1 · `indoor_portrait.png`
  </Card>
</CardGroup>

**示例输出**

<div style={{display: 'grid', gridTemplateColumns: 'repeat(2, minmax(0, 1fr))', gap: '1rem', alignItems: 'start'}}>
  <img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/indoor_portrait.png" alt="输入图像" style={{width: '100%', height: 'auto', objectFit: 'contain'}} />

  <img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/utility_seedvr2_7b_int8_upscale_image.png" alt="SeedVR2 7B Int8 缩放示例输出" style={{width: '100%', height: 'auto', objectFit: 'contain'}} />
</div>

### 2.1 运行步骤

1. 将图像放入 `ComfyUI/input/` 文件夹，并在 `Load Image` 节点中选择它
2. 在 SeedVR2 模型加载器中选择 `seedvr2_7b_int8_convrot.safetensors` checkpoint
3. 点击 `Queue` 或使用 `Ctrl(cmd) + Enter` 运行

<h3 id="utility_seedvr2_3b_int8_upscale_video">
  SeedVR2 3B Int8: Upscale 视频
</h3>

使用 SeedVR2 3B Int8 对视频画面进行 Upscale 与修复。这是一种单步 diffusion 模型，可在提升分辨率的同时保持帧间的时间一致性。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/utility_seedvr2_3b_int8_upscale_video-1.webp" alt="SeedVR2 3B Int8 Upscale 视频工作流预览" />

<CardGroup cols={2}>
  <Card title="在 Comfy Cloud 上运行" icon="cloud" href="https://cloud.comfy.org/?template=utility_seedvr2_3b_int8_upscale_video&utm_source=docs&utm_medium=referral&utm_campaign=seedvr2">
    在 Comfy Cloud 中打开
  </Card>

  <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>
</CardGroup>

**输入素材**

将此文件上传到对应的 `LoadVideo` 节点：

<CardGroup cols={2}>
  <Card title="grainy_perfume_shot_crf32.mp4" icon="download" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/grainy_perfume_shot_crf32.mp4">
    `LoadVideo` 节点 73 · `grainy_perfume_shot_crf32.mp4`
  </Card>
</CardGroup>

**示例输出**

<div style={{display: 'grid', gridTemplateColumns: 'repeat(2, minmax(0, 1fr))', gap: '1rem', alignItems: 'start'}}>
  <video controls style={{width: '100%', height: 'auto'}}>
    <source src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/grainy_perfume_shot_crf32.mp4" type="video/mp4" />
  </video>

  <video controls style={{width: '100%', height: 'auto'}}>
    <source src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/utility_seedvr2_3b_int8_upscale_video.mp4" type="video/mp4" />
  </video>
</div>

### 3.1 运行步骤

1. 将你的视频放入 `ComfyUI/input/` 文件夹，然后在 `加载视频` 节点中选择它
2. 在 SeedVR2 模型加载器中选择 `seedvr2_3b_int8_convrot.safetensors` checkpoint
3. 点击 `队列`，或使用 `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)
