multi-ai / ai-video.html
aking96's picture
buat Multiple AI dengan tampilan :
05cceec verified
Raw History Blame Contribute Delete
11.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Video - AI Hub</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
.gradient-bg {
background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
}
.video-preview {
background-color: #000;
}
.timeline {
height: 4px;
background-color: #e5e7eb;
}
.timeline-progress {
height: 100%;
width: 0%;
background: linear-gradient(90deg, #6e8efb 0%, #a777e3 100%);
}
</style>
</head>
<body class="bg-gray-50">
<header class="gradient-bg text-white">
<div class="container mx-auto px-6 py-8">
<nav class="flex justify-between items-center">
<a href="index.html" class="text-2xl font-bold">AI Hub</a>
<div class="hidden md:flex space-x-8">
<a href="index.html" class="hover:text-gray-200 transition-all">Home</a>
<a href="index.html#features" class="hover:text-gray-200 transition-all">Features</a>
<a href="index.html#about" class="hover:text-gray-200 transition-all">About</a>
</div>
<button class="md:hidden">
<i data-feather="menu"></i>
</button>
</nav>
<div class="mt-12 text-center pb-12">
<h1 class="text-3xl md:text-5xl font-bold mb-6" data-aos="fade-down">AI Video Creator</h1>
<p class="text-xl mb-8 max-w-2xl mx-auto" data-aos="fade-up" data-aos-delay="100">
Transform your ideas into engaging video content with AI
</p>
</div>
</div>
</header>
<section class="py-12 bg-white">
<div class="container mx-auto px-6">
<div class="max-w-4xl mx-auto">
<div class="video-preview rounded-xl mb-4 overflow-hidden relative" id="video-preview">
<div class="absolute inset-0 flex items-center justify-center">
<i data-feather="play" class="w-16 h-16 text-white opacity-70"></i>
</div>
<video src="" class="w-full" id="video-player" style="display: none;"></video>
</div>
<div class="flex items-center justify-between mb-6">
<div class="timeline flex-1 mr-4">
<div class="timeline-progress" id="timeline-progress"></div>
</div>
<span class="text-sm text-gray-600" id="time-display">0:00 / 0:00</span>
</div>
<div class="bg-gray-50 p-6 rounded-xl shadow-sm mb-12">
<h3 class="font-bold text-lg mb-4">Create Your AI Video</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Video Type</label>
<select class="w-full border border-gray-300 rounded-lg px-3 py-2">
<option>Explainer Video</option>
<option>Promotional Video</option>
<option>Social Media Clip</option>
<option>Presentation</option>
<option>Animation</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Duration</label>
<select class="w-full border border-gray-300 rounded-lg px-3 py-2">
<option>15 seconds</option>
<option>30 seconds</option>
<option>1 minute</option>
<option>2 minutes</option>
<option>5 minutes</option>
</select>
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-1">Script/Prompt</label>
<textarea class="w-full border border-gray-300 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500" rows="4" placeholder="Describe the video you want to create..."></textarea>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Style</label>
<select class="w-full border border-gray-300 rounded-lg px-3 py-2">
<option>Modern</option>
<option>Minimal</option>
<option>Corporate</option>
<option>Cartoon</option>
<option>Cinematic</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Voiceover</label>
<select class="w-full border border-gray-300 rounded-lg px-3 py-2">
<option>Male Voice</option>
<option>Female Voice</option>
<option>No Voiceover</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Music</label>
<select class="w-full border border-gray-300 rounded-lg px-3 py-2">
<option>Upbeat</option>
<option>Calm</option>
<option>Corporate</option>
<option>No Music</option>
</select>
</div>
</div>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button class="gradient-bg text-white px-8 py-3 rounded-lg font-bold hover:opacity-90 transition-all flex-1">
Generate Video
</button>
<button class="border border-purple-500 text-purple-600 px-8 py-3 rounded-lg font-bold hover:bg-purple-50 transition-all flex-1">
Upload Assets
</button>
</div>
</div>
<div class="mb-16">
<h2 class="text-2xl font-bold text-center mb-8">AI Video Examples</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="bg-gray-100 rounded-xl overflow-hidden shadow-sm" data-aos="fade-up">
<div class="relative pb-[56.25%] bg-black">
<div class="absolute inset-0 flex items-center justify-center">
<i data-feather="play" class="w-12 h-12 text-white opacity-70"></i>
</div>
</div>
<div class="p-4">
<h3 class="font-bold mb-2">Product Explainer</h3>
<p class="text-sm text-gray-600">Generated from a 200-word script in 2 minutes</p>
</div>
</div>
<div class="bg-gray-100 rounded-xl overflow-hidden shadow-sm" data-aos="fade-up" data-aos-delay="100">
<div class="relative pb-[56.25%] bg-black">
<div class="absolute inset-0 flex items-center justify-center">
<i data-feather="play" class="w-12 h-12 text-white opacity-70"></i>
</div>
</div>
<div class="p-4">
<h3 class="font-bold mb-2">Social Media Ad</h3>
<p class="text-sm text-gray-600">30-second promotional clip with AI voiceover</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="bg-gray-900 text-white py-12">
<div class="container mx-auto px-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-6 md:mb-0">
<h3 class="text-xl font-bold">AI Hub</h3>
<p class="text-gray-400 mt-2">Empowering creativity through artificial intelligence.</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition-all"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition-all"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition-all"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition-all"><i data-feather="linkedin"></i></a>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>© 2023 AI Hub. All rights reserved.</p>
</div>
</div>
</footer>
<script>
AOS.init();
feather.replace();
// Demo video player functionality
const videoPreview = document.getElementById('video-preview');
const videoPlayer = document.getElementById('video-player');
const timelineProgress = document.getElementById('timeline-progress');
const timeDisplay = document.getElementById('time-display');
videoPreview.addEventListener('click', function() {
// This would play the video in a real implementation
alert('Video playback would start here in a real implementation');
});
// Simulate timeline progress for demo
let progress = 0;
const demoInterval = setInterval(() => {
if (progress >= 100) {
clearInterval(demoInterval);
return;
}
progress += 0.5;
timelineProgress.style.width = progress + '%';
// Update time display
const currentTime = Math.floor(30 * (progress / 100));
timeDisplay.textContent = '0:' + (currentTime < 10 ? '0' + currentTime : currentTime) + ' / 0:30';
}, 100);
</script>
</body>
</html>