Spaces:
Runtime error
Runtime error
James Zhou
commited on
Commit
Β·
860b27a
1
Parent(s):
1339b5b
[add] readme
Browse files
README.md
CHANGED
@@ -1,12 +1,458 @@
|
|
1 |
---
|
2 |
title: HunyuanVideo Foley
|
3 |
-
emoji:
|
4 |
colorFrom: blue
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
sdk_version: 5.43.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
|
|
|
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
title: HunyuanVideo Foley
|
3 |
+
emoji: π¬
|
4 |
colorFrom: blue
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
sdk_version: 5.43.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
+
models:
|
11 |
+
- tencent/HunyuanVideo-Foley
|
12 |
---
|
13 |
|
14 |
+
<div align="center">
|
15 |
+
|
16 |
+
<h1>π¬ HunyuanVideo-Foley </h1>
|
17 |
+
|
18 |
+
<h3>Multimodal Diffusion with Representation Alignment for High-Fidelity Foley Audio Generation</h3>
|
19 |
+
|
20 |
+
<p align="center">
|
21 |
+
<strong>Professional-grade AI sound effect generation for video content creators</strong>
|
22 |
+
</p>
|
23 |
+
|
24 |
+
<div align="center" style="margin: 20px 0;">
|
25 |
+
|
26 |
+
[](https://szczesnys.github.io/hunyuanvideo-foley)
|
27 |
+
[](https://github.com/Tencent-Hunyuan/HunyuanVideo-Foley)
|
28 |
+
[](https://arxiv.org/abs/2508.16930)
|
29 |
+
[](https://huggingface.co/tencent/HunyuanVideo-Foley)
|
30 |
+
|
31 |
+
</div>
|
32 |
+
|
33 |
+
</div>
|
34 |
+
|
35 |
+
---
|
36 |
+
|
37 |
+
<div align="center">
|
38 |
+
|
39 |
+
### π₯ **Authors**
|
40 |
+
|
41 |
+
<div style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 20px; border-radius: 15px; margin: 20px 0;">
|
42 |
+
|
43 |
+
**Sizhe Shan**<sup>1,2*</sup> β’ **Qiulin Li**<sup>1,3*</sup> β’ **Yutao Cui**<sup>1</sup> β’ **Miles Yang**<sup>1</sup> β’ **Yuehai Wang**<sup>2</sup> β’ **Qun Yang**<sup>3</sup> β’ **Jin Zhou**<sup>1β </sup> β’ **Zhao Zhong**<sup>1</sup>
|
44 |
+
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<div style="margin-top: 15px; font-size: 14px; color: #666;">
|
48 |
+
|
49 |
+
π’ <sup>1</sup>**Tencent Hunyuan** β’ π <sup>2</sup>**Zhejiang University** β’ βοΈ <sup>3</sup>**Nanjing University of Aeronautics and Astronautics**
|
50 |
+
|
51 |
+
*Equal contribution β’ β Project lead
|
52 |
+
|
53 |
+
</div>
|
54 |
+
|
55 |
+
</div>
|
56 |
+
|
57 |
+
|
58 |
+
---
|
59 |
+
|
60 |
+
<!-- ## π₯ **Demo & Showcase** -->
|
61 |
+
<!-- -->
|
62 |
+
<!-- <div align="center"> -->
|
63 |
+
<!-- -->
|
64 |
+
<!-- > **Experience the magic of AI-generated Foley audio in perfect sync with video content!** -->
|
65 |
+
<!-- -->
|
66 |
+
<!-- <div style="border: 3px solid #4A90E2; border-radius: 15px; padding: 10px; margin: 20px 0; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);"> -->
|
67 |
+
<!-- -->
|
68 |
+
<!-- <video src="https://github.com/user-attachments/assets/087a4b59-8b22-4b7a-bac3-8f5d5a9972fe" width="80%" controls style="border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.1);"> </video> -->
|
69 |
+
<!-- -->
|
70 |
+
<!-- <p><em>π¬ Watch how HunyuanVideo-Foley generates immersive sound effects synchronized with video content</em></p> -->
|
71 |
+
<!-- -->
|
72 |
+
<!-- </div> -->
|
73 |
+
|
74 |
+
### β¨ **Key Highlights**
|
75 |
+
|
76 |
+
<table align="center" style="border: none; margin: 20px 0;">
|
77 |
+
<tr>
|
78 |
+
<td align="center" width="33%">
|
79 |
+
|
80 |
+
π **Multi-scenario Sync**
|
81 |
+
High-quality audio synchronized with complex video scenes
|
82 |
+
|
83 |
+
</td>
|
84 |
+
<td align="center" width="33%">
|
85 |
+
|
86 |
+
π§ **Multi-modal Balance**
|
87 |
+
Perfect harmony between visual and textual information
|
88 |
+
|
89 |
+
</td>
|
90 |
+
<td align="center" width="33%">
|
91 |
+
|
92 |
+
π΅ **48kHz Hi-Fi Output**
|
93 |
+
Professional-grade audio generation with crystal clarity
|
94 |
+
|
95 |
+
</td>
|
96 |
+
</tr>
|
97 |
+
</table>
|
98 |
+
|
99 |
+
</div>
|
100 |
+
|
101 |
+
---
|
102 |
+
|
103 |
+
## π **Abstract**
|
104 |
+
|
105 |
+
<div align="center" style="background: linear-gradient(135deg, #ffeef8 0%, #f0f8ff 100%); padding: 30px; border-radius: 20px; margin: 20px 0; border-left: 5px solid #ff6b9d;">
|
106 |
+
|
107 |
+
**π Tencent Hunyuan** proudly open-sources **HunyuanVideo-Foley** - an end-to-end video sound effect generation model!
|
108 |
+
|
109 |
+
*A professional-grade AI tool specifically designed for video content creators, widely applicable to diverse scenarios including short video creation, film production, advertising creativity, and game development.*
|
110 |
+
|
111 |
+
</div>
|
112 |
+
|
113 |
+
### π― **Core Highlights**
|
114 |
+
|
115 |
+
<div style="display: grid; grid-template-columns: 1fr; gap: 15px; margin: 20px 0;">
|
116 |
+
|
117 |
+
<div style="border-left: 4px solid #4CAF50; padding: 15px; background: #f8f9fa; border-radius: 8px;">
|
118 |
+
|
119 |
+
**π¬ Multi-scenario Audio-Visual Synchronization**
|
120 |
+
Supports generating high-quality audio that is synchronized and semantically aligned with complex video scenes, enhancing realism and immersive experience for film/TV and gaming applications.
|
121 |
+
|
122 |
+
</div>
|
123 |
+
|
124 |
+
<div style="border-left: 4px solid #2196F3; padding: 15px; background: #f8f9fa; border-radius: 8px;">
|
125 |
+
|
126 |
+
**βοΈ Multi-modal Semantic Balance**
|
127 |
+
Intelligently balances visual and textual information analysis, comprehensively orchestrates sound effect elements, avoids one-sided generation, and meets personalized dubbing requirements.
|
128 |
+
|
129 |
+
</div>
|
130 |
+
|
131 |
+
<div style="border-left: 4px solid #FF9800; padding: 15px; background: #f8f9fa; border-radius: 8px;">
|
132 |
+
|
133 |
+
**π΅ High-fidelity Audio Output**
|
134 |
+
Self-developed 48kHz audio VAE perfectly reconstructs sound effects, music, and vocals, achieving professional-grade audio generation quality.
|
135 |
+
|
136 |
+
</div>
|
137 |
+
|
138 |
+
</div>
|
139 |
+
|
140 |
+
<div align="center" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px; border-radius: 15px; margin: 20px 0;">
|
141 |
+
|
142 |
+
**π SOTA Performance Achieved**
|
143 |
+
|
144 |
+
*HunyuanVideo-Foley comprehensively leads the field across multiple evaluation benchmarks, achieving new state-of-the-art levels in audio fidelity, visual-semantic alignment, temporal alignment, and distribution matching - surpassing all open-source solutions!*
|
145 |
+
|
146 |
+
</div>
|
147 |
+
|
148 |
+
<div align="center">
|
149 |
+
|
150 |
+

|
151 |
+
*π Performance comparison across different evaluation metrics - HunyuanVideo-Foley leads in all categories*
|
152 |
+
|
153 |
+
</div>
|
154 |
+
|
155 |
+
---
|
156 |
+
|
157 |
+
## π§ **Technical Architecture**
|
158 |
+
|
159 |
+
### π **Data Pipeline Design**
|
160 |
+
|
161 |
+
<div align="center" style="margin: 20px 0;">
|
162 |
+
|
163 |
+

|
164 |
+
*π Comprehensive data processing pipeline for high-quality text-video-audio datasets*
|
165 |
+
|
166 |
+
</div>
|
167 |
+
|
168 |
+
<div style="background: #f8f9fa; padding: 20px; border-radius: 10px; border-left: 4px solid #17a2b8; margin: 20px 0;">
|
169 |
+
|
170 |
+
The **TV2A (Text-Video-to-Audio)** task presents a complex multimodal generation challenge requiring large-scale, high-quality datasets. Our comprehensive data pipeline systematically identifies and excludes unsuitable content to produce robust and generalizable audio generation capabilities.
|
171 |
+
|
172 |
+
</div>
|
173 |
+
|
174 |
+
### ποΈ **Model Architecture**
|
175 |
+
|
176 |
+
<div align="center" style="margin: 20px 0;">
|
177 |
+
|
178 |
+

|
179 |
+
*π§ HunyuanVideo-Foley hybrid architecture with multimodal and unimodal transformer blocks*
|
180 |
+
|
181 |
+
</div>
|
182 |
+
|
183 |
+
<div style="background: #f8f9fa; padding: 20px; border-radius: 10px; border-left: 4px solid #28a745; margin: 20px 0;">
|
184 |
+
|
185 |
+
**HunyuanVideo-Foley** employs a sophisticated hybrid architecture:
|
186 |
+
|
187 |
+
- **π Multimodal Transformer Blocks**: Process visual-audio streams simultaneously
|
188 |
+
- **π΅ Unimodal Transformer Blocks**: Focus on audio stream refinement
|
189 |
+
- **ποΈ Visual Encoding**: Pre-trained encoder extracts visual features from video frames
|
190 |
+
- **π Text Processing**: Semantic features extracted via pre-trained text encoder
|
191 |
+
- **π§ Audio Encoding**: Latent representations with Gaussian noise perturbation
|
192 |
+
- **β° Temporal Alignment**: Synchformer-based frame-level synchronization with gated modulation
|
193 |
+
|
194 |
+
</div>
|
195 |
+
|
196 |
+
---
|
197 |
+
|
198 |
+
## π **Performance Benchmarks**
|
199 |
+
|
200 |
+
### π¬ **MovieGen-Audio-Bench Results**
|
201 |
+
|
202 |
+
<div align="center">
|
203 |
+
|
204 |
+
> *Objective and Subjective evaluation results demonstrating superior performance across all metrics*
|
205 |
+
|
206 |
+
</div>
|
207 |
+
|
208 |
+
<div style="overflow-x: auto; margin: 20px 0;">
|
209 |
+
|
210 |
+
| π **Method** | **PQ** β | **PC** β | **CE** β | **CU** β | **IB** β | **DeSync** β | **CLAP** β | **MOS-Q** β | **MOS-S** β | **MOS-T** β |
|
211 |
+
|:-------------:|:--------:|:--------:|:--------:|:--------:|:--------:|:-------------:|:-----------:|:------------:|:------------:|:------------:|
|
212 |
+
| FoleyGrafter | 6.27 | 2.72 | 3.34 | 5.68 | 0.17 | 1.29 | 0.14 | 3.36Β±0.78 | 3.54Β±0.88 | 3.46Β±0.95 |
|
213 |
+
| V-AURA | 5.82 | 4.30 | 3.63 | 5.11 | 0.23 | 1.38 | 0.14 | 2.55Β±0.97 | 2.60Β±1.20 | 2.70Β±1.37 |
|
214 |
+
| Frieren | 5.71 | 2.81 | 3.47 | 5.31 | 0.18 | 1.39 | 0.16 | 2.92Β±0.95 | 2.76Β±1.20 | 2.94Β±1.26 |
|
215 |
+
| MMAudio | 6.17 | 2.84 | 3.59 | 5.62 | 0.27 | 0.80 | 0.35 | 3.58Β±0.84 | 3.63Β±1.00 | 3.47Β±1.03 |
|
216 |
+
| ThinkSound | 6.04 | 3.73 | 3.81 | 5.59 | 0.18 | 0.91 | 0.20 | 3.20Β±0.97 | 3.01Β±1.04 | 3.02Β±1.08 |
|
217 |
+
| **π₯ HiFi-Foley (ours)** | **π’ 6.59** | **π’ 2.74** | **π’ 3.88** | **π’ 6.13** | **π’ 0.35** | **π’ 0.74** | **π’ 0.33** | **π’ 4.14Β±0.68** | **π’ 4.12Β±0.77** | **π’ 4.15Β±0.75** |
|
218 |
+
|
219 |
+
</div>
|
220 |
+
|
221 |
+
|
222 |
+
### π― **Kling-Audio-Eval Results**
|
223 |
+
|
224 |
+
<div align="center">
|
225 |
+
|
226 |
+
> *Comprehensive objective evaluation showcasing state-of-the-art performance*
|
227 |
+
|
228 |
+
</div>
|
229 |
+
|
230 |
+
<div style="overflow-x: auto; margin: 20px 0;">
|
231 |
+
|
232 |
+
| π **Method** | **FD_PANNs** β | **FD_PASST** β | **KL** β | **IS** β | **PQ** β | **PC** β | **CE** β | **CU** β | **IB** β | **DeSync** β | **CLAP** β |
|
233 |
+
|:-------------:|:--------------:|:--------------:|:--------:|:--------:|:--------:|:--------:|:--------:|:--------:|:--------:|:-------------:|:-----------:|
|
234 |
+
| FoleyGrafter | 22.30 | 322.63 | 2.47 | 7.08 | 6.05 | 2.91 | 3.28 | 5.44 | 0.22 | 1.23 | 0.22 |
|
235 |
+
| V-AURA | 33.15 | 474.56 | 3.24 | 5.80 | 5.69 | 3.98 | 3.13 | 4.83 | 0.25 | 0.86 | 0.13 |
|
236 |
+
| Frieren | 16.86 | 293.57 | 2.95 | 7.32 | 5.72 | 2.55 | 2.88 | 5.10 | 0.21 | 0.86 | 0.16 |
|
237 |
+
| MMAudio | 9.01 | 205.85 | 2.17 | 9.59 | 5.94 | 2.91 | 3.30 | 5.39 | 0.30 | 0.56 | 0.27 |
|
238 |
+
| ThinkSound | 9.92 | 228.68 | 2.39 | 6.86 | 5.78 | 3.23 | 3.12 | 5.11 | 0.22 | 0.67 | 0.22 |
|
239 |
+
| **π₯ HiFi-Foley (ours)** | **π’ 6.07** | **π’ 202.12** | **π’ 1.89** | **π’ 8.30** | **π’ 6.12** | **π’ 2.76** | **π’ 3.22** | **π’ 5.53** | **π’ 0.38** | **π’ 0.54** | **π’ 0.24** |
|
240 |
+
|
241 |
+
</div>
|
242 |
+
|
243 |
+
<div align="center" style="background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%); color: white; padding: 15px; border-radius: 10px; margin: 20px 0;">
|
244 |
+
|
245 |
+
**π Outstanding Results!** HunyuanVideo-Foley achieves the best scores across **ALL** evaluation metrics, demonstrating significant improvements in audio quality, synchronization, and semantic alignment.
|
246 |
+
|
247 |
+
</div>
|
248 |
+
|
249 |
+
|
250 |
+
|
251 |
+
---
|
252 |
+
|
253 |
+
## π **Quick Start**
|
254 |
+
|
255 |
+
### π¦ **Installation**
|
256 |
+
|
257 |
+
<div style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px; border-radius: 15px; margin: 20px 0;">
|
258 |
+
|
259 |
+
**π§ System Requirements**
|
260 |
+
- **CUDA**: 12.4 or 11.8 recommended
|
261 |
+
- **Python**: 3.8+
|
262 |
+
- **OS**: Linux (primary support)
|
263 |
+
|
264 |
+
</div>
|
265 |
+
|
266 |
+
#### **Step 1: Clone Repository**
|
267 |
+
|
268 |
+
```bash
|
269 |
+
# π₯ Clone the repository
|
270 |
+
git clone https://github.com/Tencent-Hunyuan/HunyuanVideo-Foley
|
271 |
+
cd HunyuanVideo-Foley
|
272 |
+
```
|
273 |
+
|
274 |
+
#### **Step 2: Environment Setup**
|
275 |
+
|
276 |
+
<div style="background: #fff3cd; padding: 15px; border-radius: 8px; border-left: 4px solid #ffc107; margin: 10px 0;">
|
277 |
+
|
278 |
+
π‘ **Tip**: We recommend using [Conda](https://docs.anaconda.com/free/miniconda/index.html) for Python environment management.
|
279 |
+
|
280 |
+
</div>
|
281 |
+
|
282 |
+
```bash
|
283 |
+
# π§ Install dependencies
|
284 |
+
pip install -r requirements.txt
|
285 |
+
```
|
286 |
+
|
287 |
+
#### **Step 3: Download Pretrained Models**
|
288 |
+
|
289 |
+
<div style="background: #d1ecf1; padding: 15px; border-radius: 8px; border-left: 4px solid #17a2b8; margin: 10px 0;">
|
290 |
+
|
291 |
+
π **Download Model weights from Huggingface**
|
292 |
+
```bash
|
293 |
+
# using git-lfs
|
294 |
+
git clone https://huggingface.co/tencent/HunyuanVideo-Foley
|
295 |
+
|
296 |
+
# using huggingface-cli
|
297 |
+
huggingface-cli download tencent/HunyuanVideo-Foley
|
298 |
+
```
|
299 |
+
|
300 |
+
</div>
|
301 |
+
|
302 |
+
|
303 |
+
---
|
304 |
+
|
305 |
+
## π» **Usage**
|
306 |
+
|
307 |
+
### π¬ **Single Video Generation**
|
308 |
+
|
309 |
+
<div style="background: #e8f5e8; padding: 15px; border-radius: 8px; border-left: 4px solid #28a745; margin: 10px 0;">
|
310 |
+
|
311 |
+
Generate Foley audio for a single video file with text description:
|
312 |
+
|
313 |
+
</div>
|
314 |
+
|
315 |
+
```bash
|
316 |
+
python3 infer.py \
|
317 |
+
--model_path PRETRAINED_MODEL_PATH_DIR \
|
318 |
+
--config_path ./configs/hunyuanvideo-foley-xxl.yaml \
|
319 |
+
--single_video video_path \
|
320 |
+
--single_prompt "audio description" \
|
321 |
+
--output_dir OUTPUT_DIR
|
322 |
+
```
|
323 |
+
|
324 |
+
### π **Batch Processing**
|
325 |
+
|
326 |
+
<div style="background: #fff3e0; padding: 15px; border-radius: 8px; border-left: 4px solid #ff9800; margin: 10px 0;">
|
327 |
+
|
328 |
+
Process multiple videos using a CSV file with video paths and descriptions:
|
329 |
+
|
330 |
+
</div>
|
331 |
+
|
332 |
+
```bash
|
333 |
+
python3 infer.py \
|
334 |
+
--model_path PRETRAINED_MODEL_PATH_DIR \
|
335 |
+
--config_path ./configs/hunyuanvideo-foley-xxl.yaml \
|
336 |
+
--csv_path assets/test.csv \
|
337 |
+
--output_dir OUTPUT_DIR
|
338 |
+
```
|
339 |
+
|
340 |
+
### π **Interactive Web Interface**
|
341 |
+
|
342 |
+
<div style="background: #f3e5f5; padding: 15px; border-radius: 8px; border-left: 4px solid #9c27b0; margin: 10px 0;">
|
343 |
+
|
344 |
+
Launch a user-friendly Gradio web interface for easy interaction:
|
345 |
+
|
346 |
+
</div>
|
347 |
+
|
348 |
+
```bash
|
349 |
+
export HIFI_FOLEY_MODEL_PATH=PRETRAINED_MODEL_PATH_DIR
|
350 |
+
python3 gradio_app.py
|
351 |
+
```
|
352 |
+
|
353 |
+
<div align="center" style="margin: 20px 0;">
|
354 |
+
|
355 |
+
*π Then open your browser and navigate to the provided local URL to start generating Foley audio!*
|
356 |
+
|
357 |
+
</div>
|
358 |
+
|
359 |
+
---
|
360 |
+
|
361 |
+
## π **Citation**
|
362 |
+
|
363 |
+
<div style="background: #f8f9fa; padding: 20px; border-radius: 10px; border-left: 4px solid #6c757d; margin: 20px 0;">
|
364 |
+
|
365 |
+
If you find **HunyuanVideo-Foley** useful for your research, please consider citing our paper:
|
366 |
+
|
367 |
+
</div>
|
368 |
+
|
369 |
+
```bibtex
|
370 |
+
@misc{shan2025hunyuanvideofoleymultimodaldiffusionrepresentation,
|
371 |
+
title={HunyuanVideo-Foley: Multimodal Diffusion with Representation Alignment for High-Fidelity Foley Audio Generation},
|
372 |
+
author={Sizhe Shan and Qiulin Li and Yutao Cui and Miles Yang and Yuehai Wang and Qun Yang and Jin Zhou and Zhao Zhong},
|
373 |
+
year={2025},
|
374 |
+
eprint={2508.16930},
|
375 |
+
archivePrefix={arXiv},
|
376 |
+
primaryClass={eess.AS},
|
377 |
+
url={https://arxiv.org/abs/2508.16930},
|
378 |
+
}
|
379 |
+
```
|
380 |
+
|
381 |
+
---
|
382 |
+
|
383 |
+
## π **Acknowledgements**
|
384 |
+
|
385 |
+
<div align="center">
|
386 |
+
|
387 |
+
**We extend our heartfelt gratitude to the open-source community!**
|
388 |
+
|
389 |
+
</div>
|
390 |
+
|
391 |
+
<table align="center" style="width: 100%; border: none; margin: 20px 0;">
|
392 |
+
<tr>
|
393 |
+
<td align="center" style="width: 33%; padding: 10px; vertical-align: top;">
|
394 |
+
|
395 |
+
π¨ **[Stable Diffusion 3](https://huggingface.co/stabilityai/stable-diffusion-3-medium)**
|
396 |
+
*Foundation diffusion models*
|
397 |
+
|
398 |
+
</td>
|
399 |
+
<td align="center" style="width: 33%; padding: 10px; vertical-align: top;">
|
400 |
+
|
401 |
+
β‘ **[FLUX](https://github.com/black-forest-labs/flux)**
|
402 |
+
*Advanced generation techniques*
|
403 |
+
|
404 |
+
</td>
|
405 |
+
<td align="center" style="width: 33%; padding: 10px; vertical-align: top;">
|
406 |
+
|
407 |
+
π΅ **[MMAudio](https://github.com/hkchengrex/MMAudio)**
|
408 |
+
*Multimodal audio generation*
|
409 |
+
|
410 |
+
</td>
|
411 |
+
</tr>
|
412 |
+
<tr>
|
413 |
+
<td align="center" style="width: 33%; padding: 10px; vertical-align: top;">
|
414 |
+
|
415 |
+
π€ **[HuggingFace](https://huggingface.co)**
|
416 |
+
*Platform & diffusers library*
|
417 |
+
|
418 |
+
</td>
|
419 |
+
<td align="center" style="width: 33%; padding: 10px; vertical-align: top;">
|
420 |
+
|
421 |
+
ποΈ **[DAC](https://github.com/descriptinc/descript-audio-codec)**
|
422 |
+
*High-Fidelity Audio Compression*
|
423 |
+
|
424 |
+
</td>
|
425 |
+
<td align="center" style="width: 33%; padding: 10px; vertical-align: top;">
|
426 |
+
|
427 |
+
π **[Synchformer](https://github.com/v-iashin/Synchformer)**
|
428 |
+
*Audio-Visual Synchronization*
|
429 |
+
|
430 |
+
</td>
|
431 |
+
</tr>
|
432 |
+
</table>
|
433 |
+
|
434 |
+
<div align="center" style="background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%); color: white; padding: 20px; border-radius: 15px; margin: 20px 0;">
|
435 |
+
|
436 |
+
**π Special thanks to all researchers and developers who contribute to the advancement of AI-generated audio and multimodal learning!**
|
437 |
+
|
438 |
+
</div>
|
439 |
+
|
440 |
+
|
441 |
+
---
|
442 |
+
|
443 |
+
<div align="center" style="margin: 30px 0;">
|
444 |
+
|
445 |
+
### π **Connect with Us**
|
446 |
+
|
447 |
+
[](https://github.com/Tencent-Hunyuan)
|
448 |
+
[](https://twitter.com/TencentHunyuan)
|
449 |
+
[](https://hunyuan.tencent.com/)
|
450 |
+
|
451 |
+
<p style="color: #666; margin-top: 15px; font-size: 14px;">
|
452 |
+
|
453 |
+
Β© 2025 Tencent Hunyuan. All rights reserved. | Made with β€οΈ for the AI community
|
454 |
+
|
455 |
+
</p>
|
456 |
+
|
457 |
+
</div>
|
458 |
+
|