Official Topaz · 视频高清增强 (T8 EXP)
Topaz enhancement inside ComfyUI — and why it writes a lossless master, not an MP4
- topaz_runtime
- source_video
- enhanced_video
- source_video
- saved_path
- report_json
Despite living in the audio-centric T8 pack, this node never touches your sound. It enhances picture through Topaz's official tvai_up filter, and it then goes out of its way to prove your audio came through untouched - packet count, decoded PCM, start offset, the lot.
That's the reason to care. Community upscalers like SeedVR2 and FlashVSR are excellent and free, and one corpus post even reports dropping a Topaz subscription in favour of an open node. What they don't give you is Topaz's delivery hygiene: this node emits a lossless MOV or MKV master, then verifies the frame timeline, the audio packets and the decoded PCM rather than just checking the file exists.
How it works
It needs topaz_runtime - the handle from the environment node, not a path you type here. It takes source_video as a VIDEO input (from a real file: if you cropped or trimmed in the graph, save that first, because the node works on the file), runs tvai_up out-of-process, and writes the master.
Container choice is driven by your audio. Videos with AAC get PNG48 lossless MOV, other supported tracks get FFV1 MKV, and the audio is never transcoded. That's a fix for a real bug class: MP4 AAC padding metadata getting lost when you remux to MKV, which is the kind of thing that shows up as a half-frame of silence at the front of your clip.
model_id is the definitions filename without .json - iris-3, not "Iris". scale is 1x (same size, enhancement only), 2x or 4x, and it does not change frame rate; frame interpolation is a different family of models and isn't this node's job. vram_fraction (0.8) is the share of VRAM the external engine may use, not your total. parameters_json defaults to {} and otherwise takes only what your chosen model and version genuinely support - {"noise":0.3,"details":0.5} is the author's example, and an unsupported key will fail rather than being ignored.
The optional size_mode lets you go off-scale: keep the default scale, or switch to target_dimensions and fill target_width/target_height (even numbers, 32–8192, same aspect ratio, 1–4x). Then scale is ignored. Handy when you want a specific delivery size out of a 1024×512 source.
Outputs: enhanced_video, source_video passed through, saved_path, and report_json.
What's actually verified, and what isn't
Verified: an Iris2x public-node run took 1024×512 to 2048×1024, 72 frames at 24fps, with all 96 original audio packets, the AAC padding, the decoded PCM and the audio/video start offset preserved. A 24-second test hit 2048×1024, 576 frames, 752 audio packets, same story. Also useful: 1x on a 1024×512/72-frame MP4 produced 95 packets with PCM and relative timing intact.
Not verified: that it looks better. Human review accepted character 2x, custom 1.5x, game 2x and a 24-second 2x as "normal/acceptable", but the author's summary is that different enhancement methods give you different skin and texture character and none is universally best. Same with 4x - if the environment report says the candidate weights are missing for that scale on your model, the node will not fake it, and there's no independent community testing of this node to fall back on.
One trap worth stating: if your render is an H3 clip with generated dialogue, do an A/B before you trust the audio integrity checks to mean the mouths still line up. The checks prove the samples survived, not that the picture did the right thing. And bear in mind the special low-resolution safety pass: cropping, HUD text and heavy upscales are where you should look for texture smearing.
Install
Manager → search MiniMax H3 Audio T8, or:
cd ComfyUI/custom_nodes
git clone https://github.com/T8mars/comfyui-minimax-h3-audio-T8.git minimax-h3-audio-T8
Restart fully. Then install and licence Topaz Video yourself - the pack contains no program, model weights or licence files, downloads nothing, and doesn't accept any agreement on your behalf. Wire MiniMaxH3TopazEnvironmentEXPT8 → this node → a save/preview node.
Inputs (27)
| Name | Type | Default | Description |
|---|---|---|---|
| topaz_runtime | T8_OFFICIAL_TOPAZ_RUNTIME | — | |
| source_video | VIDEO | — | |
| model_id | COMBO | iris-3 | iris-3 Iris:真人脸、低清人像;prob-4 Proteus:通用且参数最全;rhea-1 Rhea:中等质量细节恢复;nyx-3/nxf-1/nxl-1 Nyx:强降噪;ahq-12/amq-13/alq-13 Artemis:分别用于高/中/低质量素材;thf-4 Theia Fidelity:偏忠实;thd-3 Theia Detail:偏细节;ghq-5 Gaia HQ:高质量实拍/CG;gcg-5 Gaia CG:CG、锯齿和摩尔纹;ganim-1 Gaia Animation:动画。当前正式定义中Gaia Animation通常仅2x、Nyx Fast/XL仅1x、Nyx通常为1x/2x;其他常用模型通常有1x/2x/4x。不同安装版本以环境报告为准,不存在的倍率不是漏下载。 |
| scale | COMBO | 2x | 不改变帧率;需在正式 Topaz 中准备对应倍率的权重。 |
| vram_fraction | FLOAT | 0.800.1–1 | Topaz可使用的显存比例,不是启动门槛。默认0.80;显存紧张可试0.60。 |
| parameters_json | STRING | {} | 仅供精确覆盖独立控件或未来参数;普通用户不要填写。 |
| size_modeopt | COMBO | scale | scale 使用上方倍率。target_dimensions 使用下方宽高,忽略倍率;需保持原比例、1至4倍,不裁剪或拉伸。 |
| target_widthopt | INT | 00–8192 | 仅自定义尺寸模式生效;填写32至8192之间的偶数。 |
| target_heightopt | INT | 00–8192 | 仅自定义尺寸模式生效;宽高须同时填写并保持原视频比例。 |
| output_directoryopt | STRING | 可选母版输出目录。留空写入ComfyUI/output/MiniMaxH3-Topaz;磁盘不足时可填写另一个本地目录。 | |
| custom_model_idopt | STRING | 仅用于列表中尚未收录的新正式模型ID;填写后覆盖model_id。 | |
| output_profileopt | COMBO | delivery_h264 | 默认delivery_h264自动接收常见8/10/16-bit SDR并统一输出8-bit H.264,无需按原片位深选择。Main10和lossless_master只供明确需要保留位深或审计的高级用户。HDR仍需先转为SDR。节点已直接保存,不要再接SaveVideo。 |
| parameter_modeopt | COMBO | model_defaults | model_defaults使用模型默认;auto_estimate让Topaz抽帧估计;manual使用下方独立参数。 |
| auto_estimate_framesopt | INT | 81–100 | 仅auto_estimate生效;默认8较稳定,复杂长片可试12至20,越多启动越慢。 |
| prebluropt | FLOAT | 0.00-1–1 | 负值偏抗锯齿/摩尔纹,正值偏去模糊;例如-0.20或+0.20。仅manual生效。 |
| noiseopt | FLOAT | 0.50-1–1 | 例如0.20轻度、0.45中度;过高会蜡化皮肤。仅manual生效。 |
| detailsopt | FLOAT | 0.50-1–1 | 例如0.25自然、0.50较强;过高可能生成假纹理。仅manual生效。 |
| haloopt | FLOAT | 0.50-1–1 | 例如0.20轻度、0.50用于明显边缘光晕;过高会损失边缘。仅manual生效。 |
| sharpenopt | FLOAT | 0.50-1–1 | 内部映射Topaz blur参数;例如0.15轻锐、0.35较锐。仅manual生效。 |
| compressionopt | FLOAT | 0.50-1–1 | 例如0.25轻度网压、0.55明显块效应。仅manual生效。 |
| add_noiseopt | FLOAT | 0.0000–0.1 | 默认0;例如0.01可帮助过度平滑素材保留纹理。仅manual生效。 |
| grainopt | FLOAT | 0.000–1 | 默认0;例如0.10轻颗粒、0.20明显胶片感。仅manual生效。 |
| grain_sizeopt | FLOAT | 0.00–5 | 仅输出颗粒大于0时有意义;1.0细颗粒,2.0较粗。 |
| keep_coloropt | BOOLEAN | true | 默认true;关闭只建议用于色彩对比测试。 |
| input_blendopt | FLOAT | 0.000–1 | 0=完全增强,1=完全原片;0.10至0.20可减弱过度锐化或蜡感。 |
| engine_instancesopt | INT | 00–3 | 0最稳。1在本机60帧仅由11.5秒降到10.5秒,收益小但占用更多显存;16GB卡不建议更高。 |
| gpu_device_indexopt | INT | 00–15 | 单卡保持0;多卡时选择正式Topaz所使用的GPU序号。 |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| enhanced_video | VIDEO | — |
| source_video | VIDEO | — |
| saved_path | STRING | — |
| report_json | STRING | — |