HunyuanCustom: A Multimodal-Driven Architecture for Customized Video Generation
HunyuanCustom提出了一种基于多模态驱动的视频生成框架,通过强调主体一致性,同时支持图像、音频、视频和文本输入,实现了灵活的视频定制生成。
更新于 2025-07-08。作者:Teng Hu、Zhentao Yu、Zhengguang Zhou、Sen Liang、Yuan Zhou、Qin Lin、Qinglin Lu。
中文摘要
定制视频生成旨在在灵活的用户定义条件下生成特定主题的视频,然而现有方法往往在身份一致性和有限的输入模式上遇到困难。在本文中,我们提出了 HunyuanCustom,一个多模态定制视频生成框架,它强调主题一致性,同时支持图像、音频、视频和文本条件。基于 HunyuanVideo,我们的模型首先通过引入基于 LLaVA 的文本-图像融合模块来处理图像-文本条件生成任务,并利用时间拼接增强图像 ID 提升模块来加强帧间身份特征的强化。为了实现音频和视频条件生成,我们进一步提出了特定模态的条件注入机制:一个通过空间交叉注意力实现层次对齐的 AudioNet 模块,以及一个通过基于 patchify 的特征对齐网络整合潜在压缩条件视频的视频驱动注入模块。在单主题和多主题场景上的大量实验表明,HunyuanCustom 在身份一致性、真实性和文本-视频对齐方面显著优于最先进的开源和闭源方法。此外,我们还验证了它在下游任务中的鲁棒性,包括音频和视频驱动的定制视频生成。我们的结果突出了多模态条件和身份保留策略在推进可控视频生成中的有效性。所有代码和模型均可在 https://hunyuancustom.github.io 获取。
英文摘要
Customized video generation aims to produce videos featuring specific subjects under flexible user-defined conditions, yet existing methods often struggle with identity consistency and limited input modalities. In this paper, we propose HunyuanCustom, a multi-modal customized video generation framework that emphasizes subject consistency while supporting image, audio, video, and text conditions. Built upon HunyuanVideo, our model first addresses the image-text conditioned generation task by introducing a text-image fusion module based on LLaVA for enhanced multi-modal understanding, along with an image ID enhancement module that leverages temporal concatenation to reinforce identity features across frames. To enable audio- and video-conditioned generation, we further propose modality-specific condition injection mechanisms: an AudioNet module that achieves hierarchical alignment via spatial cross-attention, and a video-driven injection module that integrates latent-compressed conditional video through a patchify-based feature-alignment network. Extensive experiments on single- and multi-subject scenarios demonstrate that HunyuanCustom significantly outperforms state-of-the-art open- and closed-source methods in terms of ID consistency, realism, and text-video alignment. Moreover, we validate its robustness across downstream tasks, including audio and video-driven customized video generation. Our results highlight the effectiveness of multi-modal conditioning and identity-preserving strategies in advancing controllable video generation. All the code and models are available at https://hunyuancustom.github.io.
解读
一句话总结
HunyuanCustom提出了一种基于多模态驱动的视频生成框架,通过强调主体一致性,同时支持图像、音频、视频和文本输入,实现了灵活的视频定制生成。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:现有视频生成方法在身份一致性和输入模态方面存在局限性,难以生成符合用户特定要求的视频。
- 现有方案不足:现有方法往往无法同时保持身份一致性和高质量的生成效果,且输入模态有限。
- 研究目标:提出HunyuanCustom,一种多模态视频生成框架,强调主体一致性,同时支持多种输入模态,实现高质量的视频定制生成。
问题2:论文的核心创新点是什么?
- 技术创新:引入基于LLaVA的文本-图像融合模块和图像ID增强模块,增强多模态理解和身份特征。
- 方法改进:提出音频和视频条件注入机制,如AudioNet和视频驱动注入模块,实现音频和视频驱动的视频定制生成。
- 优势:与现有方法相比,HunyuanCustom在身份一致性、真实性和文本-视频对齐方面表现更优。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在单主体和多主体场景下进行实验,与现有方法进行对比。
- 性能提升:HunyuanCustom在ID一致性、生成质量和文本-视频对齐方面均显著优于现有方法。
- 对比结果:实验结果表明,HunyuanCustom在定制视频生成方面具有优越性能。
问题4:这个研究的实际应用价值是什么?
- 应用场景:虚拟人类广告、虚拟试穿、歌唱虚拟形象和视频编辑等。
- 实施建议:结合具体应用场景,优化模型参数和数据集,以提高生成效果。
- 局限与展望:HunyuanCustom在多主体场景下的性能仍有提升空间,未来可以探索更有效的多主体交互机制。