File size: 30,830 Bytes
2a72a0f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 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 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 | <!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>视频彩铃智能创作系统</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.gradient-bg {
background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}
.tab-active {
border-bottom: 3px solid #7c3aed;
color: #7c3aed;
font-weight: 600;
}
.preview-area {
border: 2px dashed #cbd5e1;
border-radius: 0.5rem;
background-color: #f8fafc;
}
.ability-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.slider-thumb::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: #7c3aed;
cursor: pointer;
}
</style>
</head>
<body class="bg-gray-50">
<!-- 导航栏 -->
<nav class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-video text-2xl"></i>
<h1 class="text-2xl font-bold">视频彩铃智能创作系统</h1>
</div>
<div class="hidden md:flex space-x-6">
<a href="#" class="hover:text-gray-200 transition">首页</a>
<a href="#" class="hover:text-gray-200 transition">文档</a>
<a href="#" class="hover:text-gray-200 transition">案例</a>
<a href="#" class="hover:text-gray-200 transition">关于</a>
</div>
<button class="md:hidden">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
</nav>
<!-- 主体内容 -->
<main class="container mx-auto px-4 py-8">
<!-- 数据加载模块 -->
<div class="bg-white rounded-xl shadow-md p-6 mb-8">
<h2 class="text-xl font-semibold mb-4 text-gray-800">数据加载</h2>
<!-- 标签页导航 -->
<div class="border-b border-gray-200 mb-6">
<div class="flex space-x-4 overflow-x-auto">
<button class="tab-btn py-2 px-4 tab-active" data-tab="text">文本</button>
<button class="tab-btn py-2 px-4" data-tab="image">图像</button>
<button class="tab-btn py-2 px-4" data-tab="video">视频</button>
<button class="tab-btn py-2 px-4" data-tab="audio">音频</button>
</div>
</div>
<!-- 文本上传面板 -->
<div id="text-tab" class="tab-content">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<div class="mb-4">
<label class="block text-gray-700 mb-2">文本内容</label>
<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>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
<div>
<label class="block text-gray-700 mb-2">文本类型</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>普通文本</option>
<option>歌词</option>
<option>诗歌</option>
<option>广告文案</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">语言</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>中文</option>
<option>英文</option>
<option>粤语</option>
<option>日语</option>
</select>
</div>
</div>
<div class="mb-4">
<label class="block text-gray-700 mb-2">情感风格</label>
<div class="flex flex-wrap gap-2">
<button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">欢快</button>
<button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">浪漫</button>
<button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">激情</button>
<button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">温柔</button>
<button class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-purple-100 hover:text-purple-700">悲伤</button>
</div>
</div>
<div class="flex flex-wrap gap-3">
<button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition">
<i class="fas fa-upload mr-2"></i>上传文本文件
</button>
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-link mr-2"></i>从URL导入
</button>
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-book mr-2"></i>素材库调用
</button>
</div>
</div>
<div class="preview-area flex items-center justify-center p-4">
<div class="text-center text-gray-500">
<i class="fas fa-file-alt text-4xl mb-2"></i>
<p>文本预览区域</p>
</div>
</div>
</div>
</div>
<!-- 图像上传面板 -->
<div id="image-tab" class="tab-content hidden">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<div class="mb-6">
<label class="block text-gray-700 mb-2">图像上传</label>
<div class="border-2 border-dashed border-gray-300 rounded-md p-8 text-center">
<i class="fas fa-image text-4xl text-gray-400 mb-3"></i>
<p class="text-gray-500 mb-3">拖放图像文件到此处或点击上传</p>
<button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition">
<i class="fas fa-upload mr-2"></i>选择图像文件
</button>
</div>
</div>
<div class="flex flex-wrap gap-3">
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-camera mr-2"></i>拍摄照片
</button>
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-link mr-2"></i>从URL导入
</button>
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-book mr-2"></i>素材库调用
</button>
</div>
</div>
<div class="preview-area flex items-center justify-center p-4">
<div class="text-center text-gray-500">
<i class="fas fa-image text-4xl mb-2"></i>
<p>图像预览区域</p>
</div>
</div>
</div>
</div>
<!-- 视频上传面板 -->
<div id="video-tab" class="tab-content hidden">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<div class="mb-6">
<label class="block text-gray-700 mb-2">视频上传</label>
<div class="border-2 border-dashed border-gray-300 rounded-md p-8 text-center">
<i class="fas fa-video text-4xl text-gray-400 mb-3"></i>
<p class="text-gray-500 mb-3">拖放视频文件到此处或点击上传</p>
<button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition">
<i class="fas fa-upload mr-2"></i>选择视频文件
</button>
</div>
</div>
<div class="flex flex-wrap gap-3">
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-video mr-2"></i>拍摄视频
</button>
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-link mr-2"></i>从URL导入
</button>
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-book mr-2"></i>素材库调用
</button>
</div>
</div>
<div class="preview-area flex items-center justify-center p-4">
<div class="text-center text-gray-500">
<i class="fas fa-video text-4xl mb-2"></i>
<p>视频预览区域</p>
</div>
</div>
</div>
</div>
<!-- 音频上传面板 -->
<div id="audio-tab" class="tab-content hidden">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<div class="mb-6">
<label class="block text-gray-700 mb-2">音频上传</label>
<div class="border-2 border-dashed border-gray-300 rounded-md p-8 text-center">
<i class="fas fa-music text-4xl text-gray-400 mb-3"></i>
<p class="text-gray-500 mb-3">拖放音频文件到此处或点击上传</p>
<button class="px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition">
<i class="fas fa-upload mr-2"></i>选择音频文件
</button>
</div>
</div>
<div class="flex flex-wrap gap-3">
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-microphone mr-2"></i>录制音频
</button>
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-link mr-2"></i>从URL导入
</button>
<button class="px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300 transition">
<i class="fas fa-book mr-2"></i>素材库调用
</button>
</div>
</div>
<div class="preview-area flex items-center justify-center p-4">
<div class="text-center text-gray-500">
<i class="fas fa-music text-4xl mb-2"></i>
<p>音频预览区域</p>
</div>
</div>
</div>
</div>
</div>
<!-- 参数设置模块 -->
<div class="bg-white rounded-xl shadow-md p-6 mb-8">
<h2 class="text-xl font-semibold mb-6 text-gray-800">参数设置</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- 语音参数 -->
<div class="border-r border-gray-200 pr-6">
<h3 class="text-lg font-medium mb-4 text-purple-700 flex items-center">
<i class="fas fa-microphone-alt mr-2"></i>语音参数
</h3>
<div class="space-y-4">
<div>
<label class="block text-gray-700 mb-2">音色选择</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>甜美女声</option>
<option>磁性男声</option>
<option>温柔女声</option>
<option>活力男声</option>
<option>儿童音</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">语速</label>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">慢</span>
<input type="range" min="0" max="100" value="50" class="w-full slider-thumb">
<span class="text-sm text-gray-500 ml-2">快</span>
</div>
</div>
<div>
<label class="block text-gray-700 mb-2">音调</label>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">低</span>
<input type="range" min="0" max="100" value="50" class="w-full slider-thumb">
<span class="text-sm text-gray-500 ml-2">高</span>
</div>
</div>
<div>
<label class="block text-gray-700 mb-2">情绪强度</label>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">弱</span>
<input type="range" min="0" max="100" value="70" class="w-full slider-thumb">
<span class="text-sm text-gray-500 ml-2">强</span>
</div>
</div>
</div>
</div>
<!-- 视频参数 -->
<div class="border-r border-gray-200 pr-6">
<h3 class="text-lg font-medium mb-4 text-purple-700 flex items-center">
<i class="fas fa-video mr-2"></i>视频参数
</h3>
<div class="space-y-4">
<div>
<label class="block text-gray-700 mb-2">分辨率</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>720p (1280×720)</option>
<option>1080p (1920×1080)</option>
<option>2K (2560×1440)</option>
<option>4K (3840×2160)</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">帧率</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>24 fps</option>
<option>25 fps</option>
<option>30 fps</option>
<option>60 fps</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">视频风格</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>写实风格</option>
<option>卡通风格</option>
<option>水墨风格</option>
<option>赛博朋克</option>
<option>复古胶片</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">视频时长</label>
<div class="flex items-center">
<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">
<span class="text-sm text-gray-500 ml-2">秒</span>
</div>
</div>
</div>
</div>
<!-- 高级参数 -->
<div>
<h3 class="text-lg font-medium mb-4 text-purple-700 flex items-center">
<i class="fas fa-cog mr-2"></i>高级参数
</h3>
<div class="space-y-4">
<div>
<label class="block text-gray-700 mb-2">生成质量</label>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">标准</span>
<input type="range" min="0" max="100" value="80" class="w-full slider-thumb">
<span class="text-sm text-gray-500 ml-2">高质</span>
</div>
</div>
<div>
<label class="block text-gray-700 mb-2">随机种子</label>
<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="留空则随机生成">
</div>
<div>
<label class="block text-gray-700 mb-2">创意度</label>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">保守</span>
<input type="range" min="0" max="100" value="60" class="w-full slider-thumb">
<span class="text-sm text-gray-500 ml-2">创新</span>
</div>
</div>
<div>
<label class="block text-gray-700 mb-2">文本相关性</label>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">宽松</span>
<input type="range" min="0" max="100" value="75" class="w-full slider-thumb">
<span class="text-sm text-gray-500 ml-2">严格</span>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 原子能力选择模块 -->
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-xl font-semibold mb-6 text-gray-800">原子能力选择</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4">
<!-- 文本转语音 -->
<div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
<div class="flex items-center mb-3">
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
<i class="fas fa-comment-dots text-purple-600"></i>
</div>
<h3 class="font-medium">文本转语音</h3>
</div>
<p class="text-sm text-gray-600 mb-3">将输入的文本转换为自然流畅的语音输出</p>
<label class="inline-flex items-center">
<input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
<span class="ml-2 text-gray-700">启用</span>
</label>
</div>
<!-- 音色提取 -->
<div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
<div class="flex items-center mb-3">
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3">
<i class="fas fa-user-voice text-blue-600"></i>
</div>
<h3 class="font-medium">音色提取</h3>
</div>
<p class="text-sm text-gray-600 mb-3">从音频中提取特定人物的音色特征</p>
<label class="inline-flex items-center">
<input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
<span class="ml-2 text-gray-700">启用</span>
</label>
</div>
<!-- 图像生成 -->
<div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
<div class="flex items-center mb-3">
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-3">
<i class="fas fa-image text-green-600"></i>
</div>
<h3 class="font-medium">图像生成</h3>
</div>
<p class="text-sm text-gray-600 mb-3">根据文本描述生成高质量的图像内容</p>
<label class="inline-flex items-center">
<input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
<span class="ml-2 text-gray-700">启用</span>
</label>
</div>
<!-- 视频生成 -->
<div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
<div class="flex items-center mb-3">
<div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center mr-3">
<i class="fas fa-film text-red-600"></i>
</div>
<h3 class="font-medium">视频生成</h3>
</div>
<p class="text-sm text-gray-600 mb-3">基于文本或图像生成动态视频内容</p>
<label class="inline-flex items-center">
<input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
<span class="ml-2 text-gray-700">启用</span>
</label>
</div>
<!-- 歌声合成 -->
<div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
<div class="flex items-center mb-3">
<div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center mr-3">
<i class="fas fa-music text-yellow-600"></i>
</div>
<h3 class="font-medium">歌声合成</h3>
</div>
<p class="text-sm text-gray-600 mb-3">将文本歌词合成为自然流畅的歌声</p>
<label class="inline-flex items-center">
<input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
<span class="ml-2 text-gray-700">启用</span>
</label>
</div>
<!-- 跨模态对齐 -->
<div class="ability-card bg-white border border-gray-200 rounded-lg p-4 transition duration-300 cursor-pointer hover:border-purple-300">
<div class="flex items-center mb-3">
<div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
<i class="fas fa-random text-indigo-600"></i>
</div>
<h3 class="font-medium">跨模态对齐</h3>
</div>
<p class="text-sm text-gray-600 mb-3">确保文本、语音和视频内容的时间对齐</p>
<label class="inline-flex items-center">
<input type="checkbox" class="form-checkbox h-5 w-5 text-purple-600 rounded">
<span class="ml-2 text-gray-700">启用</span>
</label>
</div>
</div>
<!-- 操作按钮 -->
<div class="flex justify-end space-x-4 mt-8">
<button class="px-6 py-2 border border-gray-300 text-gray-700 rounded-md hover:bg-gray-100 transition">
<i class="fas fa-save mr-2"></i>保存配置
</button>
<button class="px-6 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 transition">
<i class="fas fa-play mr-2"></i>开始生成
</button>
</div>
</div>
</main>
<script>
// 标签页切换功能
document.querySelectorAll('.tab-btn').forEach(btn => {
btn.addEventListener('click', function() {
// 移除所有标签页的active类
document.querySelectorAll('.tab-btn').forEach(t => t.classList.remove('tab-active'));
// 给当前点击的标签页添加active类
this.classList.add('tab-active');
// 隐藏所有内容面板
document.querySelectorAll('.tab-content').forEach(content => {
content.classList.add('hidden');
});
// 显示对应的内容面板
const tabId = this.getAttribute('data-tab') + '-tab';
document.getElementById(tabId).classList.remove('hidden');
});
});
// 为能力卡片添加悬停效果
document.querySelectorAll('.ability-card').forEach(card => {
card.addEventListener('mouseenter', function() {
this.style.transform = 'translateY(-5px)';
this.style.boxShadow = '0 10px 25px -5px rgba(0, 0, 0, 0.1)';
});
card.addEventListener('mouseleave', function() {
this.style.transform = '';
this.style.boxShadow = '';
});
});
</script>
<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>
</html> |