AICG3D H3 成片高清二采放大(旧版兼容)
The Old H3 Final Upscaler Still Works, and It Takes Your Own Sampler
- video
- h3_bundle
- model
- sampler
- sigmas
- video
- saved_file
- upscale_report
"AICG3D H3 成片高清二采放大(旧版兼容)" - that parenthetical is doing real work. This is the original final-pass upscaler, kept alive so old workflows still open, and it's the one variant that will accept any video plus an H3 bundle and let you plug in your own sampler and sigmas. Two wires instead of one, more control, slightly more rope to hang yourself with.
Reach for it when you're opening an older AICG3D workflow, when you want to upscale a video that didn't come out of this pack, or when you'd rather drive the second pass with an external sampler - a 4-step distilled sampler and its matching sigmas, say - instead of the node's internal sampler/scheduler/steps/denoise.
Same engine, different door
Everything the assembled film goes through is shared with the newer node. Frames are planned into temporal windows - max_window_frames default 362, roughly 15 seconds at 24fps - with window_overlap_frames shared between neighbours as context only. Each window keeps its middle and the seam lands at the midpoint of the overlap, so adjacent windows never get blended into each other. Then per window: encode to an H3 video latent, 3D latent upscale with the H3 latent upscaler, resample at low denoise, decode, optional repair engine (SeedVR2 / RTX VSR / VOSR2), optional RelayVSR, then per-frame luminance locked back to the source frames so window-to-window exposure doesn't wobble.
Two things it does that the packed version can't. It takes a plain VIDEO, so you can point it at a film that didn't come out of 最终合成 - including one imported from elsewhere - as long as you also give it an h3_bundle from the pack's loader. And it exposes model, sampler and sigmas as optional inputs. Leave model unconnected and it pulls the FL2VA model out of the bundle for you; connect sigmas and the sampler/scheduler/steps/denoise fields stop being the story, because steps follow the sigma schedule.
Audio, again, is untouched: window files are video-only, then the source audio is stream-copied back with -c:a copy. Your original mix comes out bit-identical.
Inputs and outputs
Required: video (the assembled film - the tooltip is explicit that it must be all segments already stitched), h3_bundle from MiniMax H3 Aicg 加载器, and filename_prefix.
Then the settings you'd actually change: second_pass (on = latent upscale + low-denoise resample), latent_upscale_model (required if second_pass is on), upscale_mode with upscale_scale (1.5x is the sane pick for a 720p HD pass), target_width / target_height if you want an exact size, and second_pass_denoise - 0.28–0.35, per the author, and going higher is how you lose a face. repair_engine sits at 关闭 by default; lock_source_exposure stays on; relay_vsr_enabled adds the separate RelayVSR stage with its own model/VAE pair that must match on x2 or x4.
Optional wiring: model, sampler, sigmas.
Outputs: video, saved_file, upscale_report. No packet - if you want a chainable film object for further HD stages, that's the newer 成片数据 handoff.
Install and models
cd ComfyUI/custom_nodes
git clone https://github.com/JGRFW/comfyui-AICG3D
# restart ComfyUI, then Ctrl+F5 - the pack versions its frontend assets
Manager will also find it under AICG3D, 短剧工作台 or MiniMax H3. Hard dependencies are zero on purpose (the root requirements.txt is empty since v1.1.26, after Manager kept stalling on installs at startup). This node is not zero-dependency in practice:
python -m pip install imageio-ffmpeg # into ComfyUI's python, not system python
And the latent upscaler checkpoint. The code registers models/latent_upscale_models itself and scans it; the pack's own tests reference minimax_h3_latent_upscaler_3d_fp16.safetensors (V1) and minimax_h3_latent_upscaler_3d_fp16_V2.safetensors (V2, the one the pack prefers elsewhere):
ComfyUI/models/latent_upscale_models/minimax_h3_latent_upscaler_3d_fp16_V2.safetensors
Where people get burned
- You grabbed the wrong node. Four final-stage nodes in one pack, three of them named 最终合成 or 成片高清. If your source is a
final_sequencepacket, you want 成片高清二采放大; if it's the last segment, you want 高清成片; if it's a bareVIDEO, this is the one. - "请把 MiniMax H3 Aicg 加载器的 h3_bundle 接到成片高清节点" - the bundle input is genuinely required even when you've connected
modelyourself. It's not decorative; the VAE and audio handling come from it. - Placeholder in the upscaler dropdown. Text starting with
(place models in: …)plus a hard stop means the folder is empty. Every symptom downstream (soft output, "nothing happened") traces back to this about half the time. - All three processing switches off. With
second_passoff,repair_engine关闭 and RelayVSR off, this node refuses outright rather than passing the film through untouched. Different behaviour from 高清成片, which politely returns the unprocessed film. - External sampler surprises. Connect
sigmasand your step count comes from the schedule, not fromsteps. People then report "it ignored my 20 steps" - it didn't, you overrode it. - SeedVR2 at ULTRA on a long film. This is where the OOM reputation is earned.
repair_batch_sizedown,repair_blocks_to_swap8–24,repair_offload_deviceoncpu,tiled_samplingon. - Language and licence. Node text and error strings are Chinese - this pack is Chinese-first, and machine translation of the README is fine. Separately, H3's open weights exclude the US, EU, UK and South Korea from their licensed territory; if you're in one of those regions, none of these nodes are the tool you should be using.
Inputs (46)
| Name | Type | Default | Description |
|---|---|---|---|
| video | VIDEO | 接「最终合成视频」的 video 输出;必须是全部段落已经拼好的整片。 | |
| h3_bundle | MINIMAX_H3_BUNDLE | 接 MiniMax H3 Aicg 加载器的 h3_bundle,用于 H3 Latent 二采。 | |
| filename_prefix | STRING | video/MiniMax_H3_Final_HD | — |
| second_pass | BOOLEAN | true | 开:H3 Latent 3D 放大后,再做低降噪 H3 二次采样。关:只运行下方超分/修复引擎。 |
| 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 每帧亮度锁回处理前画面,避免整片超分后曝光漂移。 |
| modelopt | MODEL | 可选。建议接加载器的 model 输出;不接时从 h3_bundle 自动加载。 | |
| sampleropt | SAMPLER | — | |
| sigmasopt | SIGMAS | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | — |
| saved_file | STRING | — |
| upscale_report | STRING | — |