ai-toolkit-trainer
Train custom LoRAs with ostris AI-Toolkit. Covers WAN 2.2/2.1 (people, styles, video motion) and Z-Image (Turbo & Base, low-VRAM image LoRAs). Use when the…
Upscale and restore video in ComfyUI. Both the quick local path (per-frame ESRGAN like 4x_foolhardy_Remacri via ImageUpscaleWithModel + 4x→2x supersample, with its temporal-flicker tradeoff) and temporal-aware super-resolution (SeedVR2, the newer FlashVSR) with the
$ npx -y skills add artokun/comfyui-mcp --skill video-upscale --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/video-upscaleContext preview
The summary Claude sees to decide when to auto-load this skill.
Upscale and restore video in ComfyUI. Both the quick local path (per-frame ESRGAN like 4x_foolhardy_Remacri via ImageUpscaleWithModel + 4x→2x supersample, with its temporal-flicker tradeoff) and temporal-aware super-resolution (SeedVR2, the newer FlashVSR) with the
name: video-upscale description: Upscale and restore video in ComfyUI. Both the quick local path (per-frame ESRGAN like 4x_foolhardy_Remacri via ImageUpscaleWithModel + 4x→2x supersample, with its temporal-flicker tradeoff) and temporal-aware super-resolution (SeedVR2, the newer FlashVSR) with the downscale-first restore pipeline; RIFE/FILM frame interpolation via the BUILT-IN ComfyUI 0.26 FrameInterpolate (rife_v4.26 in models/frame_interpolation/) or the ComfyUI-Frame-Interpolation pack; 2x/4x scaling, VRAM tiers, VHS encode. Captures the classic downscale→SeedVR2→RIFE recipe and the current 2026 recommendation. globs: - "**/*.json" - "**/packs/**"
"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")`.
---
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.
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.
(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.
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.
360p then SeedVR2'd to 1080p+ looks much better than 720p→1080p straight, because the model rebuilds rather than stretches.
low-bitrate, or AI-gen footage; skip the downscale for already-clean, high-bitrate sources where you only want more pixels.
---
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).
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.
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 b
This project is no longer maintained. ComfyUI now ships official agent and MCP tooling — Comfy Agent and Comfy MCP — built and supported by the Comfy-Org team with deeper integration than a community project can match.
Repo: artokun/comfyui-mcp
Train custom LoRAs with ostris AI-Toolkit. Covers WAN 2.2/2.1 (people, styles, video motion) and Z-Image (Turbo & Base, low-VRAM image LoRAs). Use when the…
Anime/illustration text-to-image (ANIMA 1.0, ~2B Cosmos DiT). Use for anime, manga, illustrated characters; accepts Danbooru tags + natural language;…
Train a custom anime LoRA on the ANIMA base model with Citron's local Gradio trainer (kohya sd-scripts), <6GB VRAM, character/style LoRAs; covers setup,…
Discover Civitai models with the BUILT-IN download_model action:"search_civitai" and install/generate them locally. Find a checkpoint/LoRA/embedding on…
Diagnose and fix video/image color OBJECTIVELY with the get_image (action:"analyze_color") tool (scopes/stats such as black/white points, contrast, saturation,…
Core ComfyUI knowledge covering workflow format, node types, pipeline patterns, and MCP tool usage