NJU-Jet commited on
Commit
2a72a0f
·
verified ·
1 Parent(s): 2cb5bc9

实现一个“视频彩铃智能创作系统”的推理界面,整体风格采用清新简洁的设计,顶部为渐变紫蓝色导航栏,包含系统名称与功能导航(如首页、文档、案例、关于),主体区域以卡片式布局分为三大模块:数据加载、参数设置和原子能力选择。在数据加载部分,用户可通过标签页上传或输入文本、图像、视频和音频,支持文件上传、拍摄、URL导入与素材库调用,并配有预览区域;文本输入还可选择文本类型、语言、情感风格等。在参数设置部分,界面分为三栏,左侧为语音参数,支持音色选择、语速、音调与情绪强度调节;中间为视频参数,支持设置分辨率、帧率、风格和视频时长;右侧为高级参数,涵盖生成质量、随机种子、创意度与文本相关性调节。原子能力选择部分以九宫格卡片方式展示功能组件,包括文本转语音、音色提取、图像生成、视频生成、歌声合成、跨模态对齐等,用户可灵活勾选所需功能,底部提供“保存配置”和“开始生成”按钮,整体界面简洁直观、模块清晰,适用于智能视频内容创作场景。修改如下:(1)全用中文,禁止用英文,标题为视频彩铃智能创作系统;(2)上传部分对于文本、图像、视频、音频应该是不同的,比如上传图像时不应该有文本输入;(3)原子能力部分只展示前6个,每一个都应该有非常美观匹配的图标 - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +534 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Mgai
3
- emoji: 📉
4
- colorFrom: green
5
- colorTo: red
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: mgai
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: gray
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,534 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>视频彩铃智能创作系统</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
12
+ }
13
+ .tab-active {
14
+ border-bottom: 3px solid #7c3aed;
15
+ color: #7c3aed;
16
+ font-weight: 600;
17
+ }
18
+ .preview-area {
19
+ border: 2px dashed #cbd5e1;
20
+ border-radius: 0.5rem;
21
+ background-color: #f8fafc;
22
+ }
23
+ .ability-card:hover {
24
+ transform: translateY(-5px);
25
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
26
+ }
27
+ .slider-thumb::-webkit-slider-thumb {
28
+ -webkit-appearance: none;
29
+ appearance: none;
30
+ width: 20px;
31
+ height: 20px;
32
+ border-radius: 50%;
33
+ background: #7c3aed;
34
+ cursor: pointer;
35
+ }
36
+ </style>
37
+ </head>
38
+ <body class="bg-gray-50">
39
+ <!-- 导航栏 -->
40
+ <nav class="gradient-bg text-white shadow-lg">
41
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
42
+ <div class="flex items-center space-x-2">
43
+ <i class="fas fa-video text-2xl"></i>
44
+ <h1 class="text-2xl font-bold">视频彩铃智能创作系统</h1>
45
+ </div>
46
+ <div class="hidden md:flex space-x-6">
47
+ <a href="#" class="hover:text-gray-200 transition">首页</a>
48
+ <a href="#" class="hover:text-gray-200 transition">文档</a>
49
+ <a href="#" class="hover:text-gray-200 transition">案例</a>
50
+ <a href="#" class="hover:text-gray-200 transition">关于</a>
51
+ </div>
52
+ <button class="md:hidden">
53
+ <i class="fas fa-bars text-2xl"></i>
54
+ </button>
55
+ </div>
56
+ </nav>
57
+
58
+ <!-- 主体内容 -->
59
+ <main class="container mx-auto px-4 py-8">
60
+ <!-- 数据加载模块 -->
61
+ <div class="bg-white rounded-xl shadow-md p-6 mb-8">
62
+ <h2 class="text-xl font-semibold mb-4 text-gray-800">数据加载</h2>
63
+
64
+ <!-- 标签页导航 -->
65
+ <div class="border-b border-gray-200 mb-6">
66
+ <div class="flex space-x-4 overflow-x-auto">
67
+ <button class="tab-btn py-2 px-4 tab-active" data-tab="text">文本</button>
68
+ <button class="tab-btn py-2 px-4" data-tab="image">图像</button>
69
+ <button class="tab-btn py-2 px-4" data-tab="video">视频</button>
70
+ <button class="tab-btn py-2 px-4" data-tab="audio">音频</button>
71
+ </div>
72
+ </div>
73
+
74
+ <!-- 文本上传面板 -->
75
+ <div id="text-tab" class="tab-content">
76
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
77
+ <div>
78
+ <div class="mb-4">
79
+ <label class="block text-gray-700 mb-2">文本内容</label>
80
+ <textarea class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500" rows="5" placeholder="请输入或粘贴您的文本内容..."></textarea>
81
+ </div>
82
+
83
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
84
+ <div>
85
+ <label class="block text-gray-700 mb-2">文本类型</label>
86
+ <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
87
+ <option>普通文本</option>
88
+ <option>歌词</option>
89
+ <option>诗歌</option>
90
+ <option>广告文案</option>
91
+ </select>
92
+ </div>
93
+ <div>
94
+ <label class="block text-gray-700 mb-2">语言</label>
95
+ <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
96
+ <option>中文</option>
97
+ <option>英文</option>
98
+ <option>粤语</option>
99
+ <option>日语</option>
100
+ </select>
101
+ </div>
102
+ </div>
103
+
104
+ <div class="mb-4">
105
+ <label class="block text-gray-700 mb-2">情感风格</label>
106
+ <div class="flex flex-wrap gap-2">
107
+ <button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">欢快</button>
108
+ <button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">浪漫</button>
109
+ <button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">激情</button>
110
+ <button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">温柔</button>
111
+ <button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">悲伤</button>
112
+ </div>
113
+ </div>
114
+
115
+ <div class="flex flex-wrap gap-3">
116
+ <button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition">
117
+ <i class="fas fa-upload mr-2"></i>上传文本文件
118
+ </button>
119
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
120
+ <i class="fas fa-link mr-2"></i>从URL导入
121
+ </button>
122
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
123
+ <i class="fas fa-book mr-2"></i>素材库调用
124
+ </button>
125
+ </div>
126
+ </div>
127
+
128
+ <div class="preview-area flex items-center justify-center p-4">
129
+ <div class="text-center text-gray-500">
130
+ <i class="fas fa-file-alt text-4xl mb-2"></i>
131
+ <p>文本预览区域</p>
132
+ </div>
133
+ </div>
134
+ </div>
135
+ </div>
136
+
137
+ <!-- 图像上传面板 -->
138
+ <div id="image-tab" class="tab-content hidden">
139
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
140
+ <div>
141
+ <div class="mb-6">
142
+ <label class="block text-gray-700 mb-2">图像上传</label>
143
+ <div class="border-2 border-dashed border-gray-300 rounded-md p-8 text-center">
144
+ <i class="fas fa-image text-4xl text-gray-400 mb-3"></i>
145
+ <p class="text-gray-500 mb-3">拖放图像文件到此处或点击上传</p>
146
+ <button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition">
147
+ <i class="fas fa-upload mr-2"></i>选择图像文件
148
+ </button>
149
+ </div>
150
+ </div>
151
+
152
+ <div class="flex flex-wrap gap-3">
153
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
154
+ <i class="fas fa-camera mr-2"></i>拍摄照片
155
+ </button>
156
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
157
+ <i class="fas fa-link mr-2"></i>从URL导入
158
+ </button>
159
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
160
+ <i class="fas fa-book mr-2"></i>素材库调用
161
+ </button>
162
+ </div>
163
+ </div>
164
+
165
+ <div class="preview-area flex items-center justify-center p-4">
166
+ <div class="text-center text-gray-500">
167
+ <i class="fas fa-image text-4xl mb-2"></i>
168
+ <p>图像预览区域</p>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ </div>
173
+
174
+ <!-- 视频上传面板 -->
175
+ <div id="video-tab" class="tab-content hidden">
176
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
177
+ <div>
178
+ <div class="mb-6">
179
+ <label class="block text-gray-700 mb-2">视频上传</label>
180
+ <div class="border-2 border-dashed border-gray-300 rounded-md p-8 text-center">
181
+ <i class="fas fa-video text-4xl text-gray-400 mb-3"></i>
182
+ <p class="text-gray-500 mb-3">拖放视频文件到此处或点击上传</p>
183
+ <button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition">
184
+ <i class="fas fa-upload mr-2"></i>选择视频文件
185
+ </button>
186
+ </div>
187
+ </div>
188
+
189
+ <div class="flex flex-wrap gap-3">
190
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
191
+ <i class="fas fa-video mr-2"></i>拍摄视频
192
+ </button>
193
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
194
+ <i class="fas fa-link mr-2"></i>从URL导入
195
+ </button>
196
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
197
+ <i class="fas fa-book mr-2"></i>素材库调用
198
+ </button>
199
+ </div>
200
+ </div>
201
+
202
+ <div class="preview-area flex items-center justify-center p-4">
203
+ <div class="text-center text-gray-500">
204
+ <i class="fas fa-video text-4xl mb-2"></i>
205
+ <p>视频预览区域</p>
206
+ </div>
207
+ </div>
208
+ </div>
209
+ </div>
210
+
211
+ <!-- 音频上传面板 -->
212
+ <div id="audio-tab" class="tab-content hidden">
213
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
214
+ <div>
215
+ <div class="mb-6">
216
+ <label class="block text-gray-700 mb-2">音频上传</label>
217
+ <div class="border-2 border-dashed border-gray-300 rounded-md p-8 text-center">
218
+ <i class="fas fa-music text-4xl text-gray-400 mb-3"></i>
219
+ <p class="text-gray-500 mb-3">拖放音频文件到此处或点击上传</p>
220
+ <button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition">
221
+ <i class="fas fa-upload mr-2"></i>选择音频文件
222
+ </button>
223
+ </div>
224
+ </div>
225
+
226
+ <div class="flex flex-wrap gap-3">
227
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
228
+ <i class="fas fa-microphone mr-2"></i>录制音频
229
+ </button>
230
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
231
+ <i class="fas fa-link mr-2"></i>从URL导入
232
+ </button>
233
+ <button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
234
+ <i class="fas fa-book mr-2"></i>素材库调用
235
+ </button>
236
+ </div>
237
+ </div>
238
+
239
+ <div class="preview-area flex items-center justify-center p-4">
240
+ <div class="text-center text-gray-500">
241
+ <i class="fas fa-music text-4xl mb-2"></i>
242
+ <p>音频预览区域</p>
243
+ </div>
244
+ </div>
245
+ </div>
246
+ </div>
247
+ </div>
248
+
249
+ <!-- 参数设置模块 -->
250
+ <div class="bg-white rounded-xl shadow-md p-6 mb-8">
251
+ <h2 class="text-xl font-semibold mb-6 text-gray-800">参数设置</h2>
252
+
253
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
254
+ <!-- 语音参数 -->
255
+ <div class="border-r border-gray-200 pr-6">
256
+ <h3 class="text-lg font-medium mb-4 text-purple-700 flex items-center">
257
+ <i class="fas fa-microphone-alt mr-2"></i>语音参数
258
+ </h3>
259
+
260
+ <div class="space-y-4">
261
+ <div>
262
+ <label class="block text-gray-700 mb-2">音色选择</label>
263
+ <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
264
+ <option>甜美女声</option>
265
+ <option>磁性男声</option>
266
+ <option>温柔女声</option>
267
+ <option>活力男声</option>
268
+ <option>儿童音</option>
269
+ </select>
270
+ </div>
271
+
272
+ <div>
273
+ <label class="block text-gray-700 mb-2">语速</label>
274
+ <div class="flex items-center">
275
+ <span class="text-sm text-gray-500 mr-2">慢</span>
276
+ <input type="range" min="0" max="100" value="50" class="w-full slider-thumb">
277
+ <span class="text-sm text-gray-500 ml-2">快</span>
278
+ </div>
279
+ </div>
280
+
281
+ <div>
282
+ <label class="block text-gray-700 mb-2">音调</label>
283
+ <div class="flex items-center">
284
+ <span class="text-sm text-gray-500 mr-2">低</span>
285
+ <input type="range" min="0" max="100" value="50" class="w-full slider-thumb">
286
+ <span class="text-sm text-gray-500 ml-2">高</span>
287
+ </div>
288
+ </div>
289
+
290
+ <div>
291
+ <label class="block text-gray-700 mb-2">情绪强度</label>
292
+ <div class="flex items-center">
293
+ <span class="text-sm text-gray-500 mr-2">弱</span>
294
+ <input type="range" min="0" max="100" value="70" class="w-full slider-thumb">
295
+ <span class="text-sm text-gray-500 ml-2">强</span>
296
+ </div>
297
+ </div>
298
+ </div>
299
+ </div>
300
+
301
+ <!-- 视频参数 -->
302
+ <div class="border-r border-gray-200 pr-6">
303
+ <h3 class="text-lg font-medium mb-4 text-purple-700 flex items-center">
304
+ <i class="fas fa-video mr-2"></i>视频参数
305
+ </h3>
306
+
307
+ <div class="space-y-4">
308
+ <div>
309
+ <label class="block text-gray-700 mb-2">分辨率</label>
310
+ <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
311
+ <option>720p (1280×720)</option>
312
+ <option>1080p (1920×1080)</option>
313
+ <option>2K (2560×1440)</option>
314
+ <option>4K (3840×2160)</option>
315
+ </select>
316
+ </div>
317
+
318
+ <div>
319
+ <label class="block text-gray-700 mb-2">帧率</label>
320
+ <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
321
+ <option>24 fps</option>
322
+ <option>25 fps</option>
323
+ <option>30 fps</option>
324
+ <option>60 fps</option>
325
+ </select>
326
+ </div>
327
+
328
+ <div>
329
+ <label class="block text-gray-700 mb-2">视频风格</label>
330
+ <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
331
+ <option>写实风格</option>
332
+ <option>卡通风格</option>
333
+ <option>水墨风格</option>
334
+ <option>赛博朋克</option>
335
+ <option>复古胶片</option>
336
+ </select>
337
+ </div>
338
+
339
+ <div>
340
+ <label class="block text-gray-700 mb-2">视频时长</label>
341
+ <div class="flex items-center">
342
+ <input type="number" min="5" max="60" value="15" class="w-20 px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
343
+ <span class="text-sm text-gray-500 ml-2">秒</span>
344
+ </div>
345
+ </div>
346
+ </div>
347
+ </div>
348
+
349
+ <!-- 高级参数 -->
350
+ <div>
351
+ <h3 class="text-lg font-medium mb-4 text-purple-700 flex items-center">
352
+ <i class="fas fa-cog mr-2"></i>高级参数
353
+ </h3>
354
+
355
+ <div class="space-y-4">
356
+ <div>
357
+ <label class="block text-gray-700 mb-2">生成质量</label>
358
+ <div class="flex items-center">
359
+ <span class="text-sm text-gray-500 mr-2">标准</span>
360
+ <input type="range" min="0" max="100" value="80" class="w-full slider-thumb">
361
+ <span class="text-sm text-gray-500 ml-2">高质</span>
362
+ </div>
363
+ </div>
364
+
365
+ <div>
366
+ <label class="block text-gray-700 mb-2">随机种子</label>
367
+ <input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500" placeholder="留空则随机生成">
368
+ </div>
369
+
370
+ <div>
371
+ <label class="block text-gray-700 mb-2">创意度</label>
372
+ <div class="flex items-center">
373
+ <span class="text-sm text-gray-500 mr-2">保守</span>
374
+ <input type="range" min="0" max="100" value="60" class="w-full slider-thumb">
375
+ <span class="text-sm text-gray-500 ml-2">创新</span>
376
+ </div>
377
+ </div>
378
+
379
+ <div>
380
+ <label class="block text-gray-700 mb-2">文本相关性</label>
381
+ <div class="flex items-center">
382
+ <span class="text-sm text-gray-500 mr-2">宽松</span>
383
+ <input type="range" min="0" max="100" value="75" class="w-full slider-thumb">
384
+ <span class="text-sm text-gray-500 ml-2">严格</span>
385
+ </div>
386
+ </div>
387
+ </div>
388
+ </div>
389
+ </div>
390
+ </div>
391
+
392
+ <!-- 原子能力选择模块 -->
393
+ <div class="bg-white rounded-xl shadow-md p-6">
394
+ <h2 class="text-xl font-semibold mb-6 text-gray-800">原子能力选择</h2>
395
+
396
+ <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4">
397
+ <!-- 文本转语音 -->
398
+ <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
399
+ <div class="flex items-center mb-3">
400
+ <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
401
+ <i class="fas fa-comment-dots text-purple-600"></i>
402
+ </div>
403
+ <h3 class="font-medium">文本转语音</h3>
404
+ </div>
405
+ <p class="text-sm text-gray-600 mb-3">将输入的文本转换为自然流畅的语音输出</p>
406
+ <label class="inline-flex items-center">
407
+ <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
408
+ <span class="ml-2 text-gray-700">启用</span>
409
+ </label>
410
+ </div>
411
+
412
+ <!-- 音色提取 -->
413
+ <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
414
+ <div class="flex items-center mb-3">
415
+ <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3">
416
+ <i class="fas fa-user-voice text-blue-600"></i>
417
+ </div>
418
+ <h3 class="font-medium">音色提取</h3>
419
+ </div>
420
+ <p class="text-sm text-gray-600 mb-3">从音频中提取特定人物的音色特征</p>
421
+ <label class="inline-flex items-center">
422
+ <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
423
+ <span class="ml-2 text-gray-700">启用</span>
424
+ </label>
425
+ </div>
426
+
427
+ <!-- 图像生成 -->
428
+ <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
429
+ <div class="flex items-center mb-3">
430
+ <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-3">
431
+ <i class="fas fa-image text-green-600"></i>
432
+ </div>
433
+ <h3 class="font-medium">图像生成</h3>
434
+ </div>
435
+ <p class="text-sm text-gray-600 mb-3">根据文本描述生成高质量的图像内容</p>
436
+ <label class="inline-flex items-center">
437
+ <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
438
+ <span class="ml-2 text-gray-700">启用</span>
439
+ </label>
440
+ </div>
441
+
442
+ <!-- 视频生成 -->
443
+ <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
444
+ <div class="flex items-center mb-3">
445
+ <div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center mr-3">
446
+ <i class="fas fa-film text-red-600"></i>
447
+ </div>
448
+ <h3 class="font-medium">视频生成</h3>
449
+ </div>
450
+ <p class="text-sm text-gray-600 mb-3">基于文本或图像生成动态视频内容</p>
451
+ <label class="inline-flex items-center">
452
+ <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
453
+ <span class="ml-2 text-gray-700">启用</span>
454
+ </label>
455
+ </div>
456
+
457
+ <!-- 歌声合成 -->
458
+ <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
459
+ <div class="flex items-center mb-3">
460
+ <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center mr-3">
461
+ <i class="fas fa-music text-yellow-600"></i>
462
+ </div>
463
+ <h3 class="font-medium">歌声合成</h3>
464
+ </div>
465
+ <p class="text-sm text-gray-600 mb-3">将文本歌词合成为自然流畅的歌声</p>
466
+ <label class="inline-flex items-center">
467
+ <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
468
+ <span class="ml-2 text-gray-700">启用</span>
469
+ </label>
470
+ </div>
471
+
472
+ <!-- 跨模态对齐 -->
473
+ <div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
474
+ <div class="flex items-center mb-3">
475
+ <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
476
+ <i class="fas fa-random text-indigo-600"></i>
477
+ </div>
478
+ <h3 class="font-medium">跨模态对齐</h3>
479
+ </div>
480
+ <p class="text-sm text-gray-600 mb-3">确保文本、语音和视频内容的时间对齐</p>
481
+ <label class="inline-flex items-center">
482
+ <input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
483
+ <span class="ml-2 text-gray-700">启用</span>
484
+ </label>
485
+ </div>
486
+ </div>
487
+
488
+ <!-- 操作按钮 -->
489
+ <div class="flex justify-end space-x-4 mt-8">
490
+ <button class="px-6 py-2 border border-gray-300 text-gray-700 rounded-md hover:bg-gray-100 transition">
491
+ <i class="fas fa-save mr-2"></i>保存配置
492
+ </button>
493
+ <button class="px-6 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition">
494
+ <i class="fas fa-play mr-2"></i>开始生成
495
+ </button>
496
+ </div>
497
+ </div>
498
+ </main>
499
+
500
+ <script>
501
+ // 标签页切换功能
502
+ document.querySelectorAll('.tab-btn').forEach(btn => {
503
+ btn.addEventListener('click', function() {
504
+ // 移除所有标签页的active类
505
+ document.querySelectorAll('.tab-btn').forEach(t => t.classList.remove('tab-active'));
506
+ // 给当前点击的标签页添加active类
507
+ this.classList.add('tab-active');
508
+
509
+ // 隐藏所有内容面板
510
+ document.querySelectorAll('.tab-content').forEach(content => {
511
+ content.classList.add('hidden');
512
+ });
513
+
514
+ // 显示对应的内容面板
515
+ const tabId = this.getAttribute('data-tab') + '-tab';
516
+ document.getElementById(tabId).classList.remove('hidden');
517
+ });
518
+ });
519
+
520
+ // 为能���卡片添加悬停效果
521
+ document.querySelectorAll('.ability-card').forEach(card => {
522
+ card.addEventListener('mouseenter', function() {
523
+ this.style.transform = 'translateY(-5px)';
524
+ this.style.boxShadow = '0 10px 25px -5px rgba(0, 0, 0, 0.1)';
525
+ });
526
+
527
+ card.addEventListener('mouseleave', function() {
528
+ this.style.transform = '';
529
+ this.style.boxShadow = '';
530
+ });
531
+ });
532
+ </script>
533
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=NJU-Jet/mgai" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
534
+ </html>