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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Conversational AI Video Generator | Multi-Person Audio-Driven Videos</title>
    <meta name="description" content="Generate realistic multi-person conversational videos from audio inputs. Support up to 2 minutes with AI-powered animation and lip-sync.">
    <meta name="keywords" content="AI video generation, conversational video, audio to video, multi-person animation">
    <meta property="og:title" content="Audio-Driven Multi-Person Conversational Video Generator">
    <meta property="og:description" content="Create professional conversational videos with AI-powered animation and lip-sync">
    <meta property="og:type" content="website">
    <meta name="twitter:card" content="summary_large_image">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/styles.css">
</head>
<body>
    <header class="header">
        <div class="container">
            <div class="header-content">
                <div class="logo">
                    <svg width="40" height="40" viewBox="0 0 40 40" fill="none">
                        <rect width="40" height="40" rx="8" fill="url(#gradient)"/>
                        <path d="M20 10C14.48 10 10 14.48 10 20C10 25.52 14.48 30 20 30C25.52 30 30 25.52 30 20C30 14.48 25.52 10 20 10ZM20 15C21.66 15 23 16.34 23 18C23 19.66 21.66 21 20 21C18.34 21 17 19.66 17 18C17 16.34 18.34 15 20 15ZM20 28C17.33 28 15.02 26.67 13.58 24.59C13.62 22.48 18 21.31 20 21.31C21.99 21.31 26.38 22.48 26.42 24.59C24.98 26.67 22.67 28 20 28Z" fill="white"/>
                        <defs>
                            <linearGradient id="gradient" x1="0" y1="0" x2="40" y2="40">
                                <stop offset="0%" stop-color="#667eea"/>
                                <stop offset="100%" stop-color="#764ba2"/>
                            </linearGradient>
                        </defs>
                    </svg>
                    <span>ConversationalAI</span>
                </div>
                <nav class="nav">
                    <a href="#features">Features</a>
                    <a href="#demo">Demo</a>
                    <a href="#pricing">Pricing</a>
                    <a href="#docs">Docs</a>
                </nav>
                <a href="https://huggingface.co/spaces/akhaliq/anycoder" class="built-with" target="_blank">Built with anycoder</a>
            </div>
        </div>
    </header>

    <main>
        <section class="hero">
            <div class="container">
                <div class="hero-content">
                    <h1 class="hero-title">Generate Conversational Videos with AI</h1>
                    <p class="hero-subtitle">Transform audio inputs into realistic multi-person conversational videos with perfect lip-sync and natural animations</p>
                    <div class="hero-stats">
                        <div class="stat">
                            <span class="stat-number">2</span>
                            <span class="stat-label">Minutes Max</span>
                        </div>
                        <div class="stat">
                            <span class="stat-number">10+</span>
                            <span class="stat-label">AI Avatars</span>
                        </div>
                        <div class="stat">
                            <span class="stat-number">95%</span>
                            <span class="stat-label">Accuracy</span>
                        </div>
                    </div>
                    <button class="cta-button" onclick="scrollToGenerator()">Start Creating</button>
                </div>
                <div class="hero-visual">
                    <div class="video-preview">
                        <div class="preview-avatars">
                            <div class="avatar avatar-1 speaking">
                                <div class="avatar-face"></div>
                            </div>
                            <div class="avatar avatar-2">
                                <div class="avatar-face"></div>
                            </div>
                        </div>
                        <div class="waveform">
                            <div class="wave-bar"></div>
                            <div class="wave-bar"></div>
                            <div class="wave-bar"></div>
                            <div class="wave-bar"></div>
                            <div class="wave-bar"></div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <section class="generator-section" id="generator">
            <div class="container">
                <h2 class="section-title">Create Your Video</h2>
                <div class="generator-container">
                    <div class="generator-sidebar">
                        <div class="step active" data-step="1">
                            <div class="step-number">1</div>
                            <div class="step-label">Setup</div>
                        </div>
                        <div class="step" data-step="2">
                            <div class="step-number">2</div>
                            <div class="step-label">Audio</div>
                        </div>
                        <div class="step" data-step="3">
                            <div class="step-number">3</div>
                            <div class="step-label">Avatars</div>
                        </div>
                        <div class="step" data-step="4">
                            <div class="step-number">4</div>
                            <div class="step-label">Generate</div>
                        </div>
                    </div>

                    <div class="generator-content">
                        <div class="step-panel active" id="step1">
                            <h3>Video Configuration</h3>
                            <div class="config-grid">
                                <div class="form-group">
                                    <label>Video Title</label>
                                    <input type="text" id="videoTitle" placeholder="Enter video title">
                                </div>
                                <div class="form-group">
                                    <label>Duration</label>
                                    <select id="duration">
                                        <option value="30">30 seconds</option>
                                        <option value="60">1 minute</option>
                                        <option value="90">1.5 minutes</option>
                                        <option value="120">2 minutes</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label>Number of Speakers</label>
                                    <select id="numSpeakers">
                                        <option value="2">2 Speakers</option>
                                        <option value="3">3 Speakers</option>
                                        <option value="4">4 Speakers</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label>Background</label>
                                    <select id="background">
                                        <option value="office">Office</option>
                                        <option value="studio">Studio</option>
                                        <option value="outdoor">Outdoor</option>
                                        <option value="cafe">Cafe</option>
                                    </select>
                                </div>
                            </div>
                            <button class="next-btn" onclick="nextStep()">Next →</button>
                        </div>

                        <div class="step-panel" id="step2">
                            <h3>Upload Audio Files</h3>
                            <div class="audio-upload-container" id="audioUploadContainer">
                                <div class="audio-upload-item" data-speaker="1">
                                    <label>Speaker 1 Audio</label>
                                    <div class="upload-zone" onclick="document.getElementById('audio1').click()">
                                        <svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                                            <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
                                            <polyline points="17 8 12 3 7 8"></polyline>
                                            <line x1="12" y1="3" x2="12" y2="15"></line>
                                        </svg>
                                        <span>Click to upload or drag & drop</span>
                                        <small>MP3, WAV, M4A (Max 120MB)</small>
                                    </div>
                                    <input type="file" id="audio1" accept="audio/*" style="display: none;" onchange="handleAudioUpload(this, 1)">
                                    <div class="audio-preview" style="display: none;">
                                        <div class="audio-info"></div>
                                    </div>
                                </div>
                                <div class="audio-upload-item" data-speaker="2">
                                    <label>Speaker 2 Audio</label>
                                    <div class="upload-zone" onclick="document.getElementById('audio2').click()">
                                        <svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                                            <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
                                            <polyline points="17 8 12 3 7 8"></polyline>
                                            <line x1="12" y1="3" x2="12" y2="15"></line>
                                        </svg>
                                        <span>Click to upload or drag & drop</span>
                                        <small>MP3, WAV, M4A (Max 120MB)</small>
                                    </div>
                                    <input type="file" id="audio2" accept="audio/*" style="display: none;" onchange="handleAudioUpload(this, 2)">
                                    <div class="audio-preview" style="display: none;">
                                        <div class="audio-info"></div>
                                    </div>
                                </div>
                            </div>
                            <div class="step-buttons">
                                <button class="prev-btn" onclick="prevStep()">← Previous</button>
                                <button class="next-btn" onclick="nextStep()">Next →</button>
                            </div>
                        </div>

                        <div class="step-panel" id="step3">
                            <h3>Select Avatars</h3>
                            <div class="avatar-selection">
                                <div class="avatar-options" id="avatarOptions">
                                    <div class="avatar-option selected" data-avatar="business-man">
                                        <div class="avatar-preview business-man"></div>
                                        <span>Business Man</span>
                                    </div>
                                    <div class="avatar-option" data-avatar="business-woman">
                                        <div class="avatar-preview business-woman"></div>
                                        <span>Business Woman</span>
                                    </div>
                                    <div class="avatar-option" data-avatar="casual-man">
                                        <div class="avatar-preview casual-man"></div>
                                        <span>Casual Man</span>
                                    </div>
                                    <div class="avatar-option" data-avatar="casual-woman">
                                        <div class="avatar-preview casual-woman"></div>
                                        <span>Casual Woman</span>
                                    </div>
                                    <div class="avatar-option" data-avatar="professor">
                                        <div class="avatar-preview professor"></div>
                                        <span>Professor</span>
                                    </div>
                                    <div class="avatar-option" data-avatar="student">
                                        <div class="avatar-preview student"></div>
                                        <span>Student</span>
                                    </div>
                                </div>
                            </div>
                            <div class="step-buttons">
                                <button class="prev-btn" onclick="prevStep()">← Previous</button>
                                <button class="next-btn" onclick="nextStep()">Next →</button>
                            </div>
                        </div>

                        <div class="step-panel" id="step4">
                            <h3>Generate Video</h3>
                            <div class="generation-summary" id="generationSummary">
                                <div class="summary-item">
                                    <label>Duration:</label>
                                    <span id="summaryDuration">1 minute</span>
                                </div>
                                <div class="summary-item">
                                    <label>Speakers:</label>
                                    <span id="summarySpeakers">2</span>
                                </div>
                                <div class="summary-item">
                                    <label>Background:</label>
                                    <span id="summaryBackground">Office</span>
                                </div>
                            </div>
                            <div class="generation-controls">
                                <div class="form-group">
                                    <label>Quality</label>
                                    <select id="quality">
                                        <option value="standard">Standard (720p)</option>
                                        <option value="high" selected>High (1080p)</option>
                                        <option value="premium">Premium (4K)</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label>Output Format</label>
                                    <select id="format">
                                        <option value="mp4">MP4</option>
                                        <option value="webm">WebM</option>
                                        <option value="mov">MOV</option>
                                    </select>
                                </div>
                            </div>
                            <button class="generate-btn" onclick="startGeneration()">
                                <span class="btn-text">Generate Video</span>
                                <span class="btn-loader" style="display: none;"></span>
                            </button>
                            <div class="step-buttons">
                                <button class="prev-btn" onclick="prevStep()">← Previous</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <section class="preview-section" id="previewSection" style="display: none;">
            <div class="container">
                <h2 class="section-title">Your Generated Video</h2>
                <div class="video-player">
                    <video id="generatedVideo" controls width="100%">
                        <source src="" type="video/mp4">
                        Your browser does not support the video tag.
                    </video>
                </div>
                <div class="video-actions">
                    <button class="action-btn download-btn" onclick="downloadVideo()">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                            <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
                            <polyline points="7 10 12 15 17 10"></polyline>
                            <line x1="12" y1="15" x2="12" y2="3"></line>
                        </svg>
                        Download
                    </button>
                    <button class="action-btn share-btn" onclick="shareVideo()">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                            <circle cx="18" cy="5" r="3"></circle>
                            <circle cx="6" cy="12" r="3"></circle>
                            <circle cx="18" cy="19" r="3"></circle>
                            <line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line>
                            <line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line>
                        </svg>
                        Share
                    </button>
                    <button class="action-btn edit-btn" onclick="resetGenerator()">
                        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                            <path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path>
                            <path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path>
                        </svg>
                        Create New
                    </button>
                </div>
            </div>
        </section>

        <section class="features" id="features">
            <div class="container">
                <h2 class="section-title">Powerful Features</h2>
                <div class="features-grid">
                    <div class="feature-card">
                        <div class="feature-icon">
                            <svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                                <polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>
                            </svg>
                        </div>
                        <h3>Perfect Lip-Sync</h3>
                        <p>Industry-leading lip-sync technology with 95% accuracy for natural speech animation</p>
                    </div>
                    <div class="feature-card">
                        <div class="feature-icon">
                            <svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                                <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
                                <circle cx="9" cy="7" r="4"></circle>
                                <path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>
                                <path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
                            </svg>
                        </div>
                        <h3>Multi-Person Support</h3>
                        <p>Generate videos with up to 4 speakers in natural conversation dynamics</p>
                    </div>
                    <div class="feature-card">
                        <div class="feature-icon">
                            <svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                                <rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect>
                                <path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path>
                            </svg>
                        </div>
                        <h3>Multiple Environments</h3>
                        <p>Choose from various backgrounds including office, studio, outdoor, and cafe settings</p>
                    </div>
                    <div class="feature-card">
                        <div class="feature-icon">
                            <svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                                <circle cx="12" cy="12" r="10"></circle>
                                <polyline points="12 6 12 12 16 14"></polyline>
                            </svg>
                        </div>
                        <h3>Fast Processing</h3>
                        <p>Generate 2-minute videos in under 5 minutes with our optimized AI pipeline</p>
                    </div>
                    <div class="feature-card">
                        <div class="feature-icon">
                            <svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                                <path d="M12 2L2 7v10c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-10-5z"></path>
                            </svg>
                        </div>
                        <h3>Privacy First</h3>
                        <p>All audio and video processing is encrypted and automatically deleted after 24 hours</p>
                    </div>
                    <div class="feature-card">
                        <div class="feature-icon">
                            <svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                                <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
                                <polyline points="14 2 14 8 20 8"></polyline>
                                <line x1="16" y1="13" x2="8" y2="13"></line>
                                <line x1="16" y1="17" x2="8" y2="17"></line>
                                <polyline points="10 9 9 9 8 9"></polyline>
                            </svg>
                        </div>
                        <h3>Export Options</h3>
                        <p>Download in MP4, WebM, or MOV formats with quality up to 4K resolution</p>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <footer class="footer">
        <div class="container">
            <div class="footer-content">
                <div class="footer-brand">
                    <div class="logo">
                        <svg width="32" height="32" viewBox="0 0 40 40" fill="none">
                            <rect width="40" height="40" rx="8" fill="url(#gradient)"/>
                            <path d="M20 10C14.48 10 10 14.48 10 20C10 25.52 14.48 30 20 30C25.52 30 30 25.52 30 20C30 14.48 25.52 10 20 10ZM20 15C21.66 15 23 16.34 23 18C23 19.66 21.66 21 20 21C18.34 21 17 19.66 17 18C17 16.34 18.34 15 20 15ZM20 28C17.33 28 15.02 26.67 13.58 24.59C13.62 22.48 18 21.31 20 21.31C21.99 21.31 26.38 22.48 26.42 24.59C24.98 26.67 22.67 28 20 28Z" fill="white"/>
                            <defs>
                                <linearGradient id="gradient" x1="0" y1="0" x2="40" y2="40">
                                    <stop offset="0%" stop-color="#667eea"/>
                                    <stop offset="100%" stop-color="#764ba2"/>
                                </linearGradient>
                            </defs>
                        </svg>
                        <span>ConversationalAI</span>
                    </div>
                    <p>Transform audio into engaging conversational videos with AI</p>
                </div>
                <div class="footer-links">
                    <div>
                        <h4>Product</h4>
                        <a href="#features">Features</a>
                        <a href="#pricing">Pricing</a>
                        <a href="#api">API</a>
                    </div>
                    <div>
                        <h4>Resources</h4>
                        <a href="#docs">Documentation</a>
                        <a href="#tutorials">Tutorials</a>
                        <a href="#blog">Blog</a>
                    </div>
                    <div>
                        <h4>Company</h4>
                        <a href="#about">About</a>
                        <a href="#contact">Contact</a>
                        <a href="#privacy">Privacy</a>
                    </div>
                </div>
            </div>
            <div class="footer-bottom">
                <p>&copy; 2024 ConversationalAI. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script src="assets/js/main.js"></script>
</body>
</html>