AICG3D H3 成片高清二采放大
The H3 Final Film Upscaler
- final_sequence
- video
- saved_file
- upscale_report
"AICG3D H3 成片高清二采放大" is the upscale problem for video, which is the third and least settled of the three upscaling jobs: not more pixels, not more detail, but more pixels that agree with their neighbours frame after frame. The node's answer is the video version of hi-res fix - take the finished film, enlarge it in latent space with an H3-specific 3D upscaler, then run a low-denoise diffusion pass so the enlargement gets real detail baked in instead of stretched pixels.
The "Packed" in the class name is literal: it takes one input wire. The final_sequence packet from 最终合成 already carries the finished video, the H3 model bundle, and the sampler/sigmas that made it, so there is nothing to re-wire and nothing to mis-wire.
How it goes about it
Your film probably doesn't fit in one H3 temporal window, so the node plans windows. max_window_frames defaults to 362 - about 15 seconds at 24fps - and consecutive windows share window_overlap_frames of context. Here's the part worth understanding: those shared frames are context only. Each window keeps its own middle section and the cut is placed at the midpoint of the overlap. No cross-fade blending, deliberately - blending two independently-sampled windows is how you get ghosted faces at 15-second intervals. The node then checks that all the kept frames add up to exactly the input frame count, and refuses to write the file if they don't.
Inside each window: frames → H3 video latent → 3D latent upscale with the H3 latent upscaler model → resample at low denoise (default er_sde / beta, 4 steps, second_pass_denoise 0.3) → decode. Then optional repair, then optional RelayVSR, then a per-frame luminance lock back to the untouched source frames (lock_source_exposure), which stops window-by-window exposure drift.
Audio never enters any of this. The window files are video-only, they get concatenated, and your original audio is stream-copied back in with -c:a copy. Bit-identical, not re-encoded, not re-generated.
The fields that matter
final_sequence- the 成片数据 output of 最终合成. One wire.second_pass- on: latent upscale plus the low-denoise resample. Off: only whatever repair engine you picked runs.latent_upscale_model- required whensecond_passis on. If the dropdown shows a(place models in: …)placeholder, you have no upscaler installed and the node will stop you rather than silently doing nothing.upscale_mode+upscale_scale- 1.5x is the sane default for 720p→1080p-ish; or set an explicit target withtarget_width/target_height; or 仅采样修复 to add detail without changing size.second_pass_denoise- the author recommends 0.28–0.35 and they're right. Push it up and the sampler starts rewriting faces; that's the whole ballgame.repair_engine- 关闭 by default.SeedVR2 视频修复is the one with actual restoration chops;RTX VSR 超分is fast and closer to a good interpolator;VOSR2 单帧修复treats frames independently and will flicker on motion.lock_source_exposure- leave it on.refiner_lora- one LoRA, fixed strength 1.0, applied only to the second-pass model. Nice if you have a "clean detail" style LoRA you trust.
Outputs: video, saved_file, and upscale_report - a one-line summary of windows, what was on, and whether the audio bypassed processing.
Install and the model files
Same pack install as everything else: Manager → search AICG3D, or git clone https://github.com/JGRFW/comfyui-AICG3D into custom_nodes and restart, then Ctrl+F5.
ComfyUI/models/latent_upscale_models/minimax_h3_latent_upscaler_3d_fp16_V2.safetensors
ComfyUI/models/SEEDVR2/seedvr2_ema_3b_fp8_e4m3fn.safetensors # only for SeedVR2
ComfyUI/models/diffusion_models/RelayVSR/… # only for RelayVSR
ComfyUI/models/vae/RelayVSR/… # must match x2/x4
imageio-ffmpeg is genuinely required here - the node shells out to FFmpeg for window concat and audio muxing. Install it into ComfyUI's Python:
python -m pip install imageio-ffmpeg
Where people get burned
- Empty upscaler dropdown. The node raises "请选择 H3 Latent 3D 放大器模型" and beginners read it as a broken install. It means the folder is empty. Drop the H3 latent upscaler checkpoint in and restart.
- Everything switched off. If
second_passis off,repair_engineis 关闭 andrelay_vsr_enabledis false, the legacy node errors that the film "不会有任何处理". The one-node 高清成片 variant instead just returns the assembled film unchanged - which is friendlier behaviour but can make you think the upscale silently failed. - Repair engine missing its plugin. You'll get an error naming the absent node and package:
ComfyUI-SeedVR2_VideoUpscaler,comfyui_nvidia_rtx_nodes(needs an actual RTX card andnvvfx), orComfyUI-VOSR2. Set it back to 关闭 and the H3 second pass works fine on its own. - RelayVSR placeholder text.
(未找到 RelayVSR 放大模型)means no models. Also: an x2 model needs the x2 Flash VAE and x4 needs x4 - mixing them is a crash, not a quality issue. - VRAM. SeedVR2 at ULTRA on a long film is where the honest OOM reputation comes from. Turn on
tiled_sampling, droprepair_batch_size, setrepair_blocks_to_swapto 8–24, leavecleanup_after_runat 卸载模型.
Budget real time for this one. It's the slowest node in the pack by a wide margin, and it's the last thing that runs before you have something watchable.
Inputs (44)
| Name | Type | Default | Description |
|---|---|---|---|
| final_sequence | MINIMAX_H3_FINAL_SEQUENCE | 接「最终合成」的「成片数据」输出。 | |
| filename_prefix | STRING | video/MiniMax_H3_Final_HD | — |
| second_pass | BOOLEAN | true | 开:H3 Latent 3D 放大后,再做低降噪 H3 二次采样。关:只运行下方超分/修复引擎。 |
| refiner_lora | COMBO | none | 可选。只给整片 H3 二采模型叠加一个精修 LoRA,固定强度 1.0;关闭二采时不会加载或应用。选择「无」表示不叠加。 |
| show_advanced_settings | BOOLEAN | false | 关闭时只显示常用二采参数;打开后才显示设备、分块、修复、预览和清理等高级设置。 |
| latent_upscale_model | COMBO | 1 options: (place models in: /tmp/ComfyUI/models/latent_upscale_models) | |
| upscale_mode | COMBO | 按倍数放大 | 按倍数:720P 可乘 1.5;目标分辨率:直接指定 1920×1088;仅采样修复:不改尺寸,只继续低降噪二采。 |
| upscale_scale | FLOAT | 1.501–4 | — |
| target_width | INT | 192064–16384 | — |
| target_height | INT | 108864–16384 | — |
| upscale_device | COMBO | cuda | 2 options: cuda, cpu |
| upscale_precision | COMBO | fp16 | 3 options: fp16, fp32, bf16 |
| sampler_name | COMBO | er_sde | 44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38 |
| scheduler | COMBO | beta | 9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3 |
| steps | INT | 41–10000 | H3 二采步数;推荐 4~6 步。 |
| second_pass_denoise | FLOAT | 0.300.05–0.6 | H3 二采重画力度;推荐 0.28~0.35。值越低越保留一采原片,曝光和人物越稳定。 |
| second_pass_seed | INT | 00–18446744073709550000 | 整片固定一个种子;0 = 本次运行随机一次,所有窗口共用该种子。 |
| tiled_sampling | COMBO | 关 | 2 options: 关, 开 |
| tile_width | INT | 51232–16384 | — |
| tile_height | INT | 51232–16384 | — |
| tile_overlap | INT | 12832–16384 | — |
| tile_fade | INT | 320–16384 | — |
| repair_engine | COMBO | 关闭(仅 H3 二采) | 在 H3 二采之后做真实画质修复/超分;插件或模型缺失时会明确提示,默认关闭不报错。 |
| repair_model | COMBO | 自动选择 | 1 options: 自动选择 |
| repair_scale | FLOAT | 1.001–4 | 1.0 = 只修画质不继续放大;需要额外超分再设 1.5 / 2.0。 |
| repair_batch_size | INT | 51–129 | — |
| repair_temporal_overlap | INT | 20–16 | — |
| repair_color_correction | COMBO | lab | 6 options: lab, wavelet, wavelet_adaptive, hsv, adain, none |
| repair_quality | COMBO | ULTRA | 4 options: ULTRA, HIGH, MEDIUM, LOW |
| repair_device | COMBO | cuda | 2 options: cuda, cpu |
| repair_blocks_to_swap | INT | 00–36 | — |
| repair_offload_device | COMBO | cpu | 2 options: cpu, none |
| repair_vae_tiling | BOOLEAN | true | — |
| lock_source_exposure | BOOLEAN | true | 把每帧最终亮度锁定到未处理成片的对应帧,消除分窗二采造成的忽明忽暗;不改变原音轨。 |
| max_window_frames | INT | 36239–1200 | 单次 H3 时间窗口最大帧数。362 帧约 15 秒;更长的成片自动分窗。 |
| window_overlap_frames | INT | 240–120 | 分窗时前后窗口共享的上下文帧数。共享帧只用于上下文,不会混合到成片。 |
| sample_preview | COMBO | 关 | 2 options: 关, 开 |
| preview_interval | INT | 11–1000 | — |
| cleanup_after_run | COMBO | 卸载模型 | 3 options: 卸载模型, 释放缓存, 不处理 |
| relay_vsr_enabled | BOOLEAN | false | 打开后在整片时间窗口内追加 RelayVSR 放大。它与 H3 二采、画质修复相互独立;关闭时不加载 RelayVSR 模型。 |
| relay_vsr_model | COMBO | (未找到 RelayVSR 放大模型) | 选择 RelayVSR 放大模型。模型放在 models/diffusion_models/RelayVSR/;x2 模型必须搭配 x2 Flash VAE,x4 同理。 |
| relay_vsr_vae | COMBO | (未找到 RelayVSR Flash VAE) | 选择 RelayVSR Flash VAE。必须和放大模型同为 x2 或 x4;VAE 放在 models/vae/RelayVSR/。 |
| relay_vsr_detail | FLOAT | 0.500–1 | RelayVSR Flash 解码细节强度;0.5 与参考工作流一致。 |
| relay_lock_source_exposure | BOOLEAN | true | 把 RelayVSR 每帧亮度锁回处理前画面,避免整片超分后曝光漂移。 |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | — |
| saved_file | STRING | — |
| upscale_report | STRING | — |