在一集由 121 段视频组成的内容中,有 57 个镜头里的人脸太小,被 MiniMax H3 弄糊了。 远处的人脸会糊成一团,即使镜头里的其他部分看起来都没问题。Pixelailabs/ComfyUI-H3-FaceFix-PixelAILabs 是一个采用 MIT 许可证的 ComfyUI 工作流,可以修复你已经生成的视频片段。它会跟踪人脸,根据角色照片以 768 px 的分辨率重绘人脸,再只将这张脸贴回原视频。原始音频保留,无需重新渲染整个视频。 内置的 H3 Face Size Fade 节点能避免修复破坏特写镜头。在 1080p 视频中,尺寸不超过 110 px 的人脸会获得完整修复,达到或超过 180 px 的人脸则保持不变,中间范围的修复强度会渐变过渡。对大尺寸人脸开启修复会增加皱纹,让人物显老,所以这个渐变机制是有意设计的。 演示采用分屏对比,左侧是 H3 原片,右侧是修复后的视频。一名黑衣女子走到石砌门口,微笑、甩头发,随后穿着棕褐色外套走进一家商店。她在远处时,左侧的人脸模糊,右侧则很清晰。接着,一名戴着鸭舌帽的年长男子骑行穿过树林,当镜头推进到面部大特写时,两侧画面一致,因为渐变机制此时已经关闭了修复。 据项目介绍,在配备 32 GB 显存的 RTX 5090 上,每处理 10 秒 1080p 视频大约需要 4 分钟。首次运行会更慢,因为 VOSR2 需要下载约 7 GB 的模型。 要试用它,你需要 ComfyUI 0.45.0 或更新版本、这个节点包、其他几个自定义节点,以及常规的 H3 模型。拖入 example_workflows/PixelAI_H3_FaceFix.json,加载你已生成的视频片段和一张清晰的人脸照片,然后运行。每次只能处理一张脸。 需要注意的是:如果你之前还没用 H3 生成过视频,需要下载的文件体积会很大,包括一个 34 GB 的扩散模型和一个 27 GB 的文本编码器;如果使用 50 系列显卡,文本编码器则为 15.7 GB。
看原文
In one 121-clip episode, 57 shots had a face so small that MiniMax H3 melted it. Far-away faces go mushy, even when the rest of the shot looks fine. Pixelailabs/ComfyUI-H3-FaceFix-PixelAILabs is an MIT-licensed ComfyUI workflow that fixes the clip you already made. It tracks the face, redraws it at 768 px from a photo of the character, and pastes only that face back in. Original audio stays. No full re-render. The included H3 Face Size Fade node is what keeps this from wrecking close-ups. On 1080p, faces at or under 110 px get the full fix, and faces at 180 px and up are left alone, with a ramp in between. Turn the fix on for a big face and it adds wrinkles and ages the person, so the fade is there on purpose. The demo is a split, H3 on the left and the fixed clip on the right. A woman in black walks up to a stone doorway, smiles, flips her hair, then steps into a shop in a tan coat. Her far face is smudged on the left and sharp on the right. Then an older man in a flat cap rides through the trees, and when the camera pushes into a tight close-up, both sides match, because the fade has already switched the fix off. About 4 minutes per 10 seconds of 1080p on a 32 GB RTX 5090, according to the project. The first run is slower while VOSR2 downloads its model, about 7 GB. To try it, you need ComfyUI 0.45.0 or newer, this node pack, a handful of other custom nodes, and the usual H3 models. Drag in example_workflows/PixelAI_H3_FaceFix.json, load your finished clip plus a clear face photo, and run. One face per pass. The catch: if you are not already generating H3 videos, the downloads are heavy, including a 34 GB diffusion model and a text encoder that is 27 GB, or 15.7 GB on a 50-series card.