Video Upscale 标志

Video Upscale

社区
artokun
video-upscale

在 ComfyUI 中放大和修复视频。介绍快速本地处理流程(逐帧使用 ESRGAN,例如通过 ImageUpscaleWithModel 使用 4x_foolhardy_Remacri,再进行 4x→2x 超采样,并说明其时序闪烁方面的取舍),以及具备时序感知能力的超分辨率方法(SeedVR2、较新的 FlashVSR)和先缩小再修复的流程;还涵盖通过内置的 ComfyUI 0.26 FrameInterpolate(models/frame_interpolation/ 中的 rife_v4.26)或 ComfyUI-Frame-Interpolation 插件包进行 RIFE/FILM 帧插值、2x/4x 缩放、VRAM 档位和 VHS 编码。包含经典的缩小→SeedVR2→RIFE 配方,以及截至 2026 年的当前建议。

Add to TypingMind

概览

发布者artokun
代码仓库comfyui-mcp
技能名称video-upscale
星标数
811
复刻数
137
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 artokun 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Video Upscale AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/video-upscale
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/artokun/comfyui-mcp.git /tmp/comfyui-mcp
mkdir -p .claude/skills
cp -r /tmp/comfyui-mcp/plugin/skills/video-upscale .claude/skills/video-upscale
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Video Upscale,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Video Upscale。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Video Upscale 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Video Upscaling & Restoration

Overview

"Upscaling video" in ComfyUI splits into three jobs, and the quality win comes from doing them in the right order:

  1. Spatial restore + upscale. A temporal-aware model that increases resolution AND cleans compression blocks, blur, and AI-gen mush while keeping frames consistent over time. This is the part a plain image upscaler (ESRGAN, UltimateSDUpscale per-frame) does badly. Per-frame upscalers flicker because each frame is sharpened independently. Use a video model.
  2. Frame interpolation (VFI). Synthesize in-between frames to raise fps (e.g. 24→48/60) for smooth motion. Do this after the spatial pass.
  3. Encode. Mux frames (plus original audio) back to an MP4.

The two leading temporal restorers in 2026 are SeedVR2 (diffusion-transformer restorer, the proven workhorse) and FlashVSR (newer one-step streaming VSR, faster). Frame interpolation is RIFE (or FILM) via ComfyUI-Frame-Interpolation.

Verification note: every node/pack/model name below was confirmed against the GitHub repos and the ComfyUI registry / Manager as of June 2026. Where a name is approximate or version-dependent it is flagged. Do not substitute a node you can't confirm is installed. Check with install_custom_node (action: "list") / create_workflow (action:"node_info").


⭐ Recommended current pipeline (2026)

Downscale → SeedVR2 (temporal restore+upscale) → RIFE (interpolate) → VHS encode. This modernizes the user's classic recipe (below) with the current SeedVR2 node pack and is the path to ship by default. FlashVSR is the faster alternative for the restore stage (see "FlashVSR" section). Swap it in when speed matters more than absolute fidelity.

Node-graph sketch

LoadVideo  ─► GetVideoComponents ─► (IMAGE frames, audio, fps)
                       │
                       ▼
        ImageScaleBy / ImageScale   ◄── DOWNSCALE first (e.g. 0.5×) — clean,
                       │                  small input for the restorer
                       ▼
        SeedVR2 Video Upscaler  ◄── DiT model + VAE + (block swap) + (tiling)
           ├─ "SeedVR2 (Down)Load DiT Model"
           ├─ "SeedVR2 (Down)Load VAE Model"
           └─ ["SeedVR2 Torch Compile Settings"]  (optional speedup)
                       │  (restored, high-res frames)
                       ▼
        RIFE VFI (4.0 - 4.9)   ◄── multiplier 2 (e.g. 24→48 fps)
                       │
                       ▼
        CreateVideo (fps = source × multiplier) ─► SaveVideo
        — or — VHS_VideoCombine (carries audio passthrough)

LoadVideo / GetVideoComponents / CreateVideo / SaveVideo are core ComfyUI video nodes (same ones the official comfy.org SeedVR2 template uses). VHS_LoadVideo / VHS_VideoCombine come from ComfyUI-VideoHelperSuite (installed) and are preferred for the final encode because they pass the original audio through.

Why downscale FIRST (the load-bearing trick)

  • The restorer wants a clean low-res input, not a big dirty one. SeedVR2 (and FlashVSR) regenerate detail. Feeding them a small frame forces the model to synthesize sharp detail rather than faithfully magnifying existing compression artifacts and noise. Downscaling first averages away block noise, so the restorer hallucinates clean, coherent texture.
  • VRAM and speed headroom. Cost scales with input pixels × frames. Halving each dimension is ~4× fewer pixels per frame, which buys you a larger temporal batch (the thing that kills flicker, see below) and a bigger target multiple.
  • It turns "upscale" into "restore-and-upscale." A 720p source downscaled to 360p then SeedVR2'd to 1080p+ looks much better than 720p→1080p straight, because the model rebuilds rather than stretches.
  • Rule of thumb: downscale to 0.5× (or to a ~360 to 480p short side) for messy, low-bitrate, or AI-gen footage; skip the downscale for already-clean, high-bitrate sources where you only want more pixels.

Quick local path (no downloads) — per-frame ESRGAN + built-in RIFE

When the user wants a fast result on what's already installed (no SeedVR2 / FlashVSR multi-GB download), use the ESRGAN upscale models most setups already have. Check first with list_local_models (common ones: 4x_foolhardy_Remacri, the best for realistic footage/water/skin, and 4x-ClearRealityV1 for clean/sharp).

  • Upscale: ImageUpscaleWithModel with a 4× ESRGAN model, then ImageScale back down to a clean 2× (a 4×→2× supersample). That downscale-after step is the single biggest quality lever here. It averages out per-frame noise.
  • Interpolate: the built-in FrameInterpolate with RIFE v4.26 (see the Frame-interpolation section; no custom node on 0.26+).

Tradeoff: flicker. ESRGAN upscalers are per-frame (no temporal awareness), so they can shimmer or flicker on video, most visible on water and fine detail. The 4×→2× supersample mitigates it; if it still shimmers, that's the signal to switch the upscale stage to a temporal model (SeedVR2 / FlashVSR below), which is the real fix. So: per-frame ESRGAN = quick and local; SeedVR2 = flicker-free and best. Order is unchanged: upscale the real frames first, then interpolate.

This is the right default for a "do it now, locally" request; reach for the temporal restorers below when quality (or zero flicker) matters more than turnaround.


SeedVR2 (recommended restore stage)

Pack: ComfyUI-SeedVR2_VideoUpscaler (author numz), GitHub numz/ComfyUI-SeedVR2_VideoUpscaler, installable via ComfyUI-Manager / registry by that name. Install with panel_install_node or apply_manifest.

Node classes (4):

NodeRole
SeedVR2 (Down)Load DiT Modelloads the diffusion-transformer restorer (auto-downloads on first use)
SeedVR2 (Down)Load VAE Modelloads ema_vae_fp16.safetensors
SeedVR2 Torch Compile Settingsoptional — torch.compile for speed
SeedVR2 Video Upscalerthe main node: takes frames + DiT + VAE → restored frames

Models (auto-download to models/SEEDVR2/; 3B = lighter, 7B = best quality):

FileTier
seedvr2_ema_3b_fp16.safetensors3B full precision
seedvr2_ema_3b_fp8_e4m3fn.safetensors3B fp8 (mid VRAM)
seedvr2_ema_3b-Q4_K_M.gguf / -Q8_0.gguf3B GGUF (low VRAM)
seedvr2_ema_7b_fp16.safetensors7B full quality
seedvr2_ema_7b_fp8_e4m3fn_mixed_block35_fp16.safetensors7B fp8
seedvr2_ema_7b-Q4_K_M.gguf (+ _sharp variants)7B GGUF
ema_vae_fp16.safetensorsshared VAE

Key params on "SeedVR2 Video Upscaler":

ParamMeaning / recommended
resolutiontarget SHORT edge in pixels (not a ratio). Default 1080. Set the short side of your output (e.g. 1080 for 1080p-class).
batch_sizeframes processed together. Must be 4n+1 (1, 5, 9, 13, 17, 21…). Higher = less temporal flicker but more VRAM. 5 is the default; push to 13–45 if VRAM allows for smoother results.
seeddefault 42; fixed for reproducibility
blocks_to_swap0–32 (3B) / 0–36 (7B). >0 offloads transformer blocks to CPU to cut VRAM (slower). Use max (32/36) on 8 GB.
VAE tilingenable + set encode/decode tile size to fit the VAE step in low VRAM

3B vs 7B: start with 3B fp8. It's the speed/quality sweet spot for most footage. Move to 7B only when you need maximum reconstruction on faces/text and have the VRAM (or use the 7B GGUF + block swap).


FlashVSR (newer SOTA — faster restore stage)

Pack: ComfyUI-FlashVSR (author 1038lab), GitHub 1038lab/ComfyUI-FlashVSR, built on FlashVSR V1.1 (one-step diffusion + locality-constrained sparse attention + tiny conditional decoder). Manager name ComfyUI-FlashVSR. Models auto-download from HF 1038lab/FlashVSR to models/FlashVSR/ on first run.

Note: several community forks exist (smthemex/ComfyUI_FlashVSR, lihaoyun6/ComfyUI-FlashVSR_Ultra_Fast, naxci1/ComfyUI-FlashVSR_Stable). The 1038lab pack is the cleanest two-node implementation; pick a fork only if you need its specific VRAM tricks.

Node classes: FlashVSR ⚡ (preset: Fast / Balanced / High Quality) and FlashVSR Advanced ⚡ (model_version = Tiny / Tiny Long / Full, enable_tiling, speed_optimization, quality_boost, sageattention). Supports 2x and 4x (4x recommended). Needs ≥21 input frames. Variants: Full (best, heavy VRAM), Tiny (fast), Tiny Long (low VRAM). SageAttention adds ~20 to 30% speed.

When to prefer FlashVSR over SeedVR2: real-time, long clips, or speed-critical jobs, or when SeedVR2 is too slow on your hardware. Prefer SeedVR2 when you want the strongest restoration of badly-degraded footage and can spend the time.


Frame interpolation (VFI)

Built-in (ComfyUI 0.26+) — PREFER this, no custom node needed

Current ComfyUI ships a core frame interpolator, nodes FrameInterpolationModelLoader + FrameInterpolate (RIFE/FILM), so on 0.26+ you do NOT install a custom node. It auto-detects checkpoints dropped in models/frame_interpolation/ (that folder is empty by default, which is why the model dropdown looks blank). Core-compatible weights live at HF Comfy-Org/frame_interpolation (under a frame_interpolation/ subpath):

File~SizeUse
rife_v4.26.safetensors22 MBRIFE, newest/most accurate — default for smooth small-motion fps-doubling
film_net_fp16.safetensors66 MBFILM — large-motion gaps

Drop a file into models/frame_interpolation/ and restart so the dropdown populates (ComfyUI caches model lists). download_model may not target that folder; pull it directly into models/frame_interpolation/. Check what's there with list_local_models / the core node's dropdown before installing anything.

Custom node (more methods / pre-0.26 ComfyUI)

Pack: ComfyUI-Frame-Interpolation (author Fannovel16), GitHub Fannovel16/ComfyUI-Frame-Interpolation. Manager-installable by that name. Reach for it only when you need methods the core node lacks (GMFSS, STMFNet, FLAVR, IFRNet…) or you're on a ComfyUI older than 0.26.

Primary node: RIFE VFI (4.0 - 4.9)

ParamMeaning / recommended
ckpt_nameRIFE weights rife40…rife49. rife47 / rife49 are the recommended ones.
multiplierinteger fps multiple. multiplier = target_fps / source_fps (24→48 = 2; 24→96 = 4). Use 2 for the standard "double the smoothness" pass.
clear_cache_after_n_frameslower it (e.g. 10) if you OOM on long clips
fast_modeno effect from RIFE 4.5+ (contextnet removed) — leave default
ensembleslightly higher quality, slower

After interpolation, set the encode node's fps to source_fps × multiplier so playback speed is unchanged (only smoother).

Alternatives in the same pack: FILM VFI (Google FILM, strong on large motion, heavier), plus GMFSS Fortuna VFI, STMFNet VFI/FLAVR VFI (these last two need ≥4 input frames), IFRNet, M2M, AMT, etc. There is no "GIMM-VFI" node in this pack. If a workflow asks for GIMM-VFI it's a separate custom node; verify it's installed before citing it. Default to RIFE; reach for FILM when RIFE smears fast motion.

About "RIFE 56"

The user's "RIFE 56" is shorthand, not a RIFE model version. RIFE in this pack tops out at 4.9 (rife49). It almost certainly means RIFE targeting ~56 fps (i.e. a multiplier chosen so the output lands near 56 fps, e.g. 24 fps × 2 ≈ 48, or a ~2.3× target), or a RIFE-resample node that takes a target fps directly. Map it to RIFE VFI (4.0 - 4.9), ckpt rife47/rife49, multiplier = round(56 / source_fps) (multiplier 2 from 24/25/30 fps). Confirm the intended output fps with the user rather than chasing a non-existent "RIFE 56" model.


2x vs 4x

  • 2x is the safest default; it pairs with the downscale-first trick (downscale 0.5×, then 2x back recovers original size but restored). Lower VRAM, fewer artifacts.
  • 4x is for small sources or when you need a big jump; FlashVSR's recommended factor. Costs ~4× the pixels, so expect VAE tiling / block swap.
  • With SeedVR2 you don't pick a literal "2x/4x"; you set the target short-edge resolution and the effective factor falls out of input vs target size.

VRAM tiers

VRAMSeedVR2FlashVSRInterp / encode
8 GB or less3B GGUF Q4_K_M + blocks_to_swap = max + VAE tiling; small batch (1–5)Tiny Long + enable_tilingRIFE multiplier 2; low clear_cache_after_n_frames; encode in chunks
12–16 GB3B/7B fp8 + some block swap or VAE tiling; batch 5–13Tiny or Full + tilingRIFE 2–4×; ensemble off
24 GB+7B fp16 (or 3B fp16), no offload; batch 13–45 for max temporal stabilityFull at 4xRIFE 2–4× + ensemble; FILM if needed

General: downscale first to buy a bigger batch; always clear_vram before switching model families; reduce frame/batch counts first when you OOM.


Gotchas

  • Temporal flicker is the #1 video-upscale failure. Cause: per-frame (non-temporal) upscaling or too-small a SeedVR2 batch_size. Fix: use a temporal model (SeedVR2/FlashVSR), raise batch_size (next 4n+1 up), and don't downscale so hard the model has nothing to lock onto frame-to-frame.
  • Frame-count constraints: SeedVR2 batch_size must be 4n+1; FlashVSR needs ≥21 frames; STMFNet/FLAVR interp need ≥4 frames. A clip shorter than the batch/min will error or degrade.
  • Color shift / brightness drift after restore is common with diffusion restorers. Mitigate: don't over-downscale; if it persists, do a color-match pass against the source (e.g. an essentials/ImageBlend-style match) before encode, and check pixel format (yuv420p) at encode.
  • Audio passthrough: core SaveVideo/CreateVideo drop audio. Use VHS_VideoCombine (VideoHelperSuite) and feed it the audio from GetVideoComponents / VHS_LoadVideo to keep the original track.
  • fps after interpolation: set the encoder fps to source_fps × multiplier, not the source fps, or the video plays in slow motion.
  • ffmpeg is required for muxing (same as the LTX skill): if CreateVideo / SaveVideo / VHS_VideoCombine error with "ffmpeg could not be found", run <comfy-venv>/python -m pip install imageio-ffmpeg and reboot.
  • Models auto-download on first run for SeedVR2 and FlashVSR. The first generation stalls while it pulls multi-GB weights; that's expected.
  • Order matters: restore/upscale BEFORE interpolation. Interpolating first then upscaling doubles the restorer's workload and can lock in interpolation smear.

Classic baseline (the user's proven recipe)

The user's older, battle-tested pipeline, still solid, is:

DOWNSCALE the video first → SeedVR2 → RIFE ("RIFE 56").

That is exactly the structure the recommended 2026 pipeline above preserves: downscale-first to give the restorer clean input and VRAM headroom, SeedVR2 for the temporal restore/upscale, RIFE for the fps bump. The only modernizations:

  • Use the current ComfyUI-SeedVR2_VideoUpscaler node pack (4-node: DiT loader + VAE loader + [torch compile] + upscaler) with the 3B fp8 model as the default and batch_size raised for temporal stability.
  • Read "RIFE 56" as RIFE targeting ~56 fps (a multiplier, typically 2 from 24/25/30 fps), using rife47/rife49, not a literal model version.
  • Consider FlashVSR as a faster drop-in for the SeedVR2 stage when speed matters more than maximum fidelity.

Packs

No dedicated video-upscale installer pack ships yet. To build one (see the installer-packs skill), the manifest's custom_nodes[] should pull numz/ComfyUI-SeedVR2_VideoUpscaler, Fannovel16/ComfyUI-Frame-Interpolation, and Kosinkadink/ComfyUI-VideoHelperSuite (already installed), optionally 1038lab/ComfyUI-FlashVSR. SeedVR2 and FlashVSR weights auto-download on first run, so models[] can be left light; record that in pack.yaml. Install nodes ad-hoc with panel_install_node or apply a manifest with apply_manifest. Offer to contribute a finished pack upstream (github.com/artokun/comfyui-mcp).

Sources

  • Official: none found.
  • Empirical: sampler values, wiring, and prompt notes from working graphs in packs/ and observed renders; not a vendor prompting guide.

常见问题

Video Upscale AI 技能有什么作用?

在 ComfyUI 中放大和修复视频。介绍快速本地处理流程(逐帧使用 ESRGAN,例如通过 ImageUpscaleWithModel 使用 4x_foolhardy_Remacri,再进行 4x→2x 超采样,并说明其时序闪烁方面的取舍),以及具备时序感知能力的超分辨率方法(SeedVR2、较新的 FlashVSR)和先缩小再修复的流程;还涵盖通过内置的 ComfyUI 0.26 FrameInterpolate(models/frame_interpolation/ 中的 rife_v4.26)或 ComfyUI-Frame-Interpolation 插件包进行 RIFE/FILM 帧插值、2x/4x 缩放、VRAM 档位和 VHS 编码。包含经典的缩小→SeedVR2→RIFE 配方,以及截至 2026 年的当前建议。

为什么在 TypingMind 中使用 Video Upscale?

因为您只需安装一次,就能搭配任何模型使用。Video Upscale 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Video Upscale?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/video-upscale。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Video Upscale?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Video Upscale 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Video Upscale 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Video Upscale AI 技能免费吗?

是的。artokun 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇