Logo de Video Upscale

Video Upscale

Comunidade
artokun
video-upscale

Aumente a resolução e restaure vídeos no ComfyUI. Inclui tanto o caminho local rápido (ESRGAN por quadro, como 4x_foolhardy_Remacri, via ImageUpscaleWithModel + supersampling de 4x→2x, com a desvantagem de cintilação temporal) quanto a super-resolução com consciência temporal (SeedVR2 e o mais recente FlashVSR), usando o pipeline de restauração que reduz a resolução primeiro; interpolação de quadros RIFE/FILM via FrameInterpolate INTEGRADO do ComfyUI 0.26 (rife_v4.26 em models/frame_interpolation/) ou o pacote ComfyUI-Frame-Interpolation; escala de 2x/4x, níveis de VRAM e codificação VHS. Apresenta a receita clássica de reduzir a resolução→SeedVR2→RIFE e a recomendação atual para 2026.

Add to TypingMind

Visão geral

Publicado porartokun
Repositóriocomfyui-mcp
Nome da habilidadevideo-upscale
Estrelas
811
Forks
137
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por artokun no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Video Upscale no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/video-upscale
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Video Upscale em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Video Upscale automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Video Upscale não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Perguntas frequentes

O que a habilidade de IA Video Upscale faz?

Aumente a resolução e restaure vídeos no ComfyUI. Inclui tanto o caminho local rápido (ESRGAN por quadro, como 4x_foolhardy_Remacri, via ImageUpscaleWithModel + supersampling de 4x→2x, com a desvantagem de cintilação temporal) quanto a super-resolução com consciência temporal (SeedVR2 e o mais recente FlashVSR), usando o pipeline de restauração que reduz a resolução primeiro; interpolação de quadros RIFE/FILM via FrameInterpolate INTEGRADO do ComfyUI 0.26 (rife_v4.26 em models/frame_interpolation/) ou o pacote ComfyUI-Frame-Interpolation; escala de 2x/4x, níveis de VRAM e codificação VHS. A...

Por que usar Video Upscale no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Video Upscale é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Video Upscale no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/video-upscale. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Video Upscale?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Video Upscale?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Video Upscale com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Video Upscale é gratuita?

Sim. A habilidade é publicada no GitHub por artokun sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇