Download index.html from MarcRyan/avg: direct link, hf CLI and curl.
- Browser
- Download file 41.1 kB
-
https://huggingface.co/spaces/MarcRyan/avg/resolve/main/index.html
- Command line
-
hf download hf://spaces/MarcRyan/avg/index.html
-
curl -L -o index.html https://huggingface.co/spaces/MarcRyan/avg/resolve/main/index.html
41.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AI Video Generator | Transform Text to Stunning Videos</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"> | |
| <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"> | |
| <style> | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.5; } | |
| } | |
| .animate-pulse { | |
| animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; | |
| } | |
| .video-container { | |
| aspect-ratio: 16/9; | |
| } | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #6366F1, #8B5CF6); | |
| } | |
| .gradient-text { | |
| background: linear-gradient(90deg, #6366F1, #8B5CF6); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .glass-effect { | |
| background: rgba(255, 255, 255, 0.08); | |
| backdrop-filter: blur(10px); | |
| -webkit-backdrop-filter: blur(10px); | |
| } | |
| .feature-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .scroll-hidden::-webkit-scrollbar { | |
| display: none; | |
| } | |
| .ai-processing { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .ai-processing::after { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: linear-gradient( | |
| -45deg, | |
| rgba(255, 255, 255, 0.1) 25%, | |
| transparent 25%, | |
| transparent 50%, | |
| rgba(255, 255, 255, 0.1) 50%, | |
| rgba(255, 255, 255, 0.1) 75%, | |
| transparent 75%, | |
| transparent | |
| ); | |
| background-size: 50px 50px; | |
| animation: move 2s linear infinite; | |
| } | |
| @keyframes move { | |
| 0% { | |
| background-position: 0 0; | |
| } | |
| 100% { | |
| background-position: 50px 50px; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-sm sticky top-0 z-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <i class="fas fa-video text-indigo-600 text-2xl mr-2"></i> | |
| <span class="text-xl font-bold text-gray-900">AI Video<span class="gradient-text">Gen</span></span> | |
| </div> | |
| </div> | |
| <div class="hidden md:ml-6 md:flex md:items-center md:space-x-8"> | |
| <a href="#" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Features</a> | |
| <a href="#" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Examples</a> | |
| <a href="#" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Pricing</a> | |
| <a href="#" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Blog</a> | |
| </div> | |
| <div class="flex items-center"> | |
| <a href="#" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium hidden md:block">Sign In</a> | |
| <button class="gradient-bg text-white px-4 py-2 rounded-md text-sm font-medium hover:opacity-90 transition">Get Started</button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <div class="relative overflow-hidden"> | |
| <div class="max-w-7xl mx-auto"> | |
| <div class="relative z-10 pb-20 pt-10 sm:pt-24 lg:pt-32 px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center max-w-3xl mx-auto"> | |
| <h1 class="text-4xl md:text-5xl lg:text-6xl font-bold text-gray-900 mb-6"> | |
| Transform Your <span class="gradient-text">Ideas</span> Into <br>Stunning Videos | |
| </h1> | |
| <p class="mt-6 text-xl text-gray-600 max-w-2xl mx-auto"> | |
| Our AI-powered platform creates professional videos from simple text prompts in minutes. No design skills needed. | |
| </p> | |
| <div class="mt-10"> | |
| <a href="#generator" class="gradient-bg text-white px-8 py-4 rounded-lg text-lg font-semibold hover:opacity-90 transition inline-flex items-center"> | |
| Try It Now <i class="fas fa-arrow-right ml-2"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="relative"> | |
| <div class="absolute inset-0 flex items-center justify-center"> | |
| <div class="w-full h-full bg-gradient-to-b from-indigo-50 to-transparent"></div> | |
| </div> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="relative rounded-2xl shadow-2xl overflow-hidden glass-effect max-w-4xl mx-auto"> | |
| <video autoplay loop muted playsinline class="w-full"> | |
| <source src="https://assets.mixkit.co/videos/preview/mixkit-woman-holding-a-video-camera-while-filming-a-forest-39749-large.mp4" type="video/mp4"> | |
| </video> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Generator Section --> | |
| <div id="generator" class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Create Your AI Video</h2> | |
| <p class="text-lg text-gray-600 max-w-2xl mx-auto"> | |
| Just describe what you want to see, and our AI will generate a unique video for you. | |
| </p> | |
| </div> | |
| <div class="flex flex-col lg:flex-row gap-8"> | |
| <!-- Input Section --> | |
| <div class="w-full lg:w-1/2"> | |
| <div class="bg-gray-50 rounded-2xl shadow-lg p-6 h-full border border-gray-200"> | |
| <div class="flex items-center mb-6"> | |
| <div class="flex-shrink-0 flex items-center justify-center h-10 w-10 rounded-full bg-indigo-100 text-indigo-600"> | |
| <i class="fas fa-pencil-alt"></i> | |
| </div> | |
| <h3 class="ml-4 text-lg font-medium text-gray-900">Video Details</h3> | |
| </div> | |
| <div class="mb-6"> | |
| <label for="prompt" class="block text-sm font-medium text-gray-700 mb-2">Describe your video in detail</label> | |
| <textarea | |
| id="prompt" | |
| rows="5" | |
| class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 text-gray-700 placeholder-gray-400" | |
| placeholder="Example: A futuristic cityscape at night with flying cars, neon lights reflecting on wet streets, cyberpunk style..."></textarea> | |
| <p class="mt-1 text-sm text-gray-500">The more detailed your description, the better the results.</p> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Video Style</label> | |
| <div class="flex overflow-x-auto pb-2 scroll-hidden"> | |
| <div class="flex space-x-3"> | |
| <button data-style="realistic" class="style-btn px-4 py-2 rounded-lg border border-gray-300 hover:bg-gray-100 active:bg-gray-200 transition whitespace-nowrap flex items-center"> | |
| <i class="fas fa-film mr-2 text-indigo-600"></i> Realistic | |
| </button> | |
| <button data-style="artistic" class="style-btn px-4 py-2 rounded-lg border border-gray-300 hover:bg-gray-100 active:bg-gray-200 transition whitespace-nowrap flex items-center"> | |
| <i class="fas fa-paint-brush mr-2 text-indigo-600"></i> Artistic | |
| </button> | |
| <button data-style="fantasy" class="style-btn px-4 py-2 rounded-lg border border-gray-300 hover:bg-gray-100 active:bg-gray-200 transition whitespace-nowrap flex items-center"> | |
| <i class="fas fa-magic mr-2 text-indigo-600"></i> Fantasy | |
| </button> | |
| <button data-style="cinematic" class="style-btn px-4 py-2 rounded-lg border border-gray-300 hover:bg-gray-100 active:bg-gray-200 transition whitespace-nowrap flex items-center"> | |
| <i class="fas fa-video mr-2 text-indigo-600"></i> Cinematic | |
| </button> | |
| <button data-style="futuristic" class="style-btn px-4 py-2 rounded-lg border border-gray-300 hover:bg-gray-100 active:bg-gray-200 transition whitespace-nowrap flex items-center"> | |
| <i class="fas fa-robot mr-2 text-indigo-600"></i> Futuristic | |
| </button> | |
| <button data-style="watercolor" class="style-btn px-4 py-2 rounded-lg border border-gray-300 hover:bg-gray-100 active:bg-gray-200 transition whitespace-nowrap flex items-center"> | |
| <i class="fas fa-water mr-2 text-indigo-600"></i> Watercolor | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Duration</label> | |
| <select id="duration" class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 text-gray-700"> | |
| <option value="5">5 seconds</option> | |
| <option value="10" selected>10 seconds</option> | |
| <option value="15">15 seconds</option> | |
| <option value="30">30 seconds</option> | |
| <option value="60">1 minute</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Aspect Ratio</label> | |
| <select id="aspectRatio" class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 text-gray-700"> | |
| <option value="16:9" selected>16:9 (Widescreen)</option> | |
| <option value="9:16">9:16 (Vertical)</option> | |
| <option value="1:1">1:1 (Square)</option> | |
| <option value="4:5">4:5 (Portrait)</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Background Music</label> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="musicToggle" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded"> | |
| <label for="musicToggle" class="ml-2 block text-sm text-gray-700">Add royalty-free background music</label> | |
| </div> | |
| </div> | |
| <button id="generateBtn" class="w-full gradient-bg text-white font-bold py-3 px-6 rounded-lg hover:opacity-90 transition flex items-center justify-center mt-4"> | |
| <i class="fas fa-play-circle mr-2"></i> Generate Video | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Output Section --> | |
| <div class="w-full lg:w-1/2"> | |
| <div class="bg-gray-50 rounded-2xl shadow-lg p-6 h-full border border-gray-200"> | |
| <div class="flex items-center mb-6"> | |
| <div class="flex-shrink-0 flex items-center justify-center h-10 w-10 rounded-full bg-indigo-100 text-indigo-600"> | |
| <i class="fas fa-video"></i> | |
| </div> | |
| <h3 class="ml-4 text-lg font-medium text-gray-900">Your AI Video</h3> | |
| </div> | |
| <div id="videoPlaceholder" class="video-container bg-gray-100 rounded-xl flex items-center justify-center mb-4 border-2 border-dashed border-gray-300"> | |
| <div class="text-center p-8"> | |
| <i class="fas fa-video text-5xl text-gray-400 mb-4"></i> | |
| <h4 class="text-lg font-medium text-gray-700 mb-2">Your video will appear here</h4> | |
| <p class="text-gray-500 max-w-md mx-auto">Describe your vision above and click "Generate Video" to create your masterpiece</p> | |
| </div> | |
| </div> | |
| <div id="videoLoading" class="video-container bg-gray-100 rounded-xl mb-4 hidden flex items-center justify-center ai-processing"> | |
| <div class="text-center p-8 relative z-10"> | |
| <div class="animate-pulse flex space-x-4 mb-6 justify-center"> | |
| <div class="rounded-full bg-indigo-500 h-10 w-10"></div> | |
| <div class="rounded-full bg-indigo-400 h-10 w-10"></div> | |
| <div class="rounded-full bg-indigo-300 h-10 w-10"></div> | |
| </div> | |
| <h4 class="text-lg font-medium text-gray-700 mb-2">Generating your video...</h4> | |
| <p id="processingStep" class="text-gray-600 mb-2">Analyzing your prompt</p> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5 mt-4 max-w-md mx-auto"> | |
| <div id="progressBar" class="bg-indigo-600 h-2.5 rounded-full" style="width: 0%"></div> | |
| </div> | |
| <p class="text-sm text-gray-500 mt-2">Processing: <span id="progressText">0%</span> complete</p> | |
| </div> | |
| </div> | |
| <div id="videoResult" class="hidden"> | |
| <div class="video-container rounded-xl overflow-hidden mb-4 bg-black"> | |
| <video id="generatedVideo" controls class="w-full h-full object-cover"></video> | |
| </div> | |
| <div class="mb-4"> | |
| <h4 class="text-md font-medium text-gray-900 mb-2">Video Details</h4> | |
| <div id="videoDetails" class="text-sm text-gray-600 bg-gray-100 p-3 rounded-lg"></div> | |
| </div> | |
| <div class="flex flex-col sm:flex-row gap-3"> | |
| <button id="downloadBtn" class="flex-1 gradient-bg text-white font-medium py-3 px-4 rounded-lg hover:opacity-90 transition flex items-center justify-center"> | |
| <i class="fas fa-download mr-2"></i> Download HD | |
| </button> | |
| <button id="shareBtn" class="flex-1 bg-white text-indigo-600 font-medium py-3 px-4 rounded-lg border border-indigo-600 hover:bg-indigo-50 transition flex items-center justify-center"> | |
| <i class="fas fa-share-alt mr-2"></i> Share | |
| </button> | |
| <button id="newVideoBtn" class="flex-1 bg-white text-gray-700 font-medium py-3 px-4 rounded-lg border border-gray-300 hover:bg-gray-50 transition flex items-center justify-center"> | |
| <i class="fas fa-redo mr-2"></i> Create Another | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Features Section --> | |
| <div class="py-16 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Powerful Features</h2> | |
| <p class="text-lg text-gray-600 max-w-2xl mx-auto"> | |
| Everything you need to create professional videos without the complexity | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <div class="feature-card bg-white p-8 rounded-xl shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100 text-indigo-600 mb-4"> | |
| <i class="fas fa-bolt text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-medium text-gray-900 mb-2">Lightning Fast Generation</h3> | |
| <p class="text-gray-600">Create videos in minutes, not hours. Our AI works at incredible speed to deliver your content when you need it.</p> | |
| </div> | |
| <div class="feature-card bg-white p-8 rounded-xl shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100 text-indigo-600 mb-4"> | |
| <i class="fas fa-palette text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-medium text-gray-900 mb-2">Multiple Styles</h3> | |
| <p class="text-gray-600">From realistic to artistic, choose from dozens of visual styles to match your brand and message.</p> | |
| </div> | |
| <div class="feature-card bg-white p-8 rounded-xl shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100 text-indigo-600 mb-4"> | |
| <i class="fas fa-music text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-medium text-gray-900 mb-2">Royalty-Free Music</h3> | |
| <p class="text-gray-600">Enhance your videos with our library of professional background tracks, all cleared for commercial use.</p> | |
| </div> | |
| <div class="feature-card bg-white p-8 rounded-xl shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100 text-indigo-600 mb-4"> | |
| <i class="fas fa-language text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-medium text-gray-900 mb-2">Multi-Language Support</h3> | |
| <p class="text-gray-600">Create videos in dozens of languages with perfect lip-sync and natural sounding voiceovers.</p> | |
| </div> | |
| <div class="feature-card bg-white p-8 rounded-xl shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100 text-indigo-600 mb-4"> | |
| <i class="fas fa-expand text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-medium text-gray-900 mb-2">All Aspect Ratios</h3> | |
| <p class="text-gray-600">Optimize for any platform - widescreen, square, vertical, or custom dimensions for your needs.</p> | |
| </div> | |
| <div class="feature-card bg-white p-8 rounded-xl shadow-md hover:shadow-lg transition duration-300"> | |
| <div class="flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100 text-indigo-600 mb-4"> | |
| <i class="fas fa-user-edit text-xl"></i> | |
| </div> | |
| <h3 class="text-lg font-medium text-gray-900 mb-2">Easy Customization</h3> | |
| <p class="text-gray-600">Fine-tune your videos with simple controls for colors, text, pacing and more to get exactly what you want.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Examples Section --> | |
| <div class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Example Videos</h2> | |
| <p class="text-lg text-gray-600 max-w-2xl mx-auto"> | |
| See what our AI can create from simple text prompts | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="example-video bg-gray-50 rounded-xl overflow-hidden shadow-md hover:shadow-lg transition duration-300 cursor-pointer"> | |
| <div class="video-container bg-gray-200 relative"> | |
| <video class="w-full h-full object-cover" muted loop> | |
| <source src="https://assets.mixkit.co/videos/preview/mixkit-waves-in-the-water-1164-large.mp4" type="video/mp4"> | |
| </video> | |
| <div class="absolute inset-0 flex items-center justify-center"> | |
| <button class="bg-white bg-opacity-80 rounded-full p-3 text-indigo-600 hover:bg-opacity-100 transition"> | |
| <i class="fas fa-play text-lg"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-lg font-medium text-gray-900 mb-2">"Peaceful ocean waves at sunset"</h3> | |
| <p class="text-gray-600 text-sm">Realistic style, 10 seconds</p> | |
| </div> | |
| </div> | |
| <div class="example-video bg-gray-50 rounded-xl overflow-hidden shadow-md hover:shadow-lg transition duration-300 cursor-pointer"> | |
| <div class="video-container bg-gray-200 relative"> | |
| <video class="w-full h-full object-cover" muted loop> | |
| <source src="https://assets.mixkit.co/videos/preview/mixkit-futuristic-interface-2965-large.mp4" type="video/mp4"> | |
| </video> | |
| <div class="absolute inset-0 flex items-center justify-center"> | |
| <button class="bg-white bg-opacity-80 rounded-full p-3 text-indigo-600 hover:bg-opacity-100 transition"> | |
| <i class="fas fa-play text-lg"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-lg font-medium text-gray-900 mb-2">"Futuristic tech interface with holograms"</h3> | |
| <p class="text-gray-600 text-sm">Cyberpunk style, 15 seconds</p> | |
| </div> | |
| </div> | |
| <div class="example-video bg-gray-50 rounded-xl overflow-hidden shadow-md hover:shadow-lg transition duration-300 cursor-pointer"> | |
| <div class="video-container bg-gray-200 relative"> | |
| <video class="w-full h-full object-cover" muted loop> | |
| <source src="https://assets.mixkit.co/videos/preview/mixkit-portrait-of-a-woman-in-a-park-3973-large.mp4" type="video/mp4"> | |
| </video> | |
| <div class="absolute inset-0 flex items-center justify-center"> | |
| <button class="bg-white bg-opacity-80 rounded-full p-3 text-indigo-600 hover:bg-opacity-100 transition"> | |
| <i class="fas fa-play text-lg"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-lg font-medium text-gray-900 mb-2">"Woman walking through autumn park"</h3> | |
| <p class="text-gray-600 text-sm">Cinematic style, 12 seconds</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-12 text-center"> | |
| <a href="#" class="inline-flex items-center text-indigo-600 font-medium hover:text-indigo-800 transition"> | |
| View more examples <i class="fas fa-arrow-right ml-2"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- CTA Section --> | |
| <div class="py-16 gradient-bg"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center"> | |
| <h2 class="text-3xl font-bold text-white mb-6">Ready to Create Amazing Videos?</h2> | |
| <p class="text-xl text-indigo-100 max-w-2xl mx-auto mb-8"> | |
| Join thousands of creators, marketers and businesses using AI VideoGen to save time and boost engagement. | |
| </p> | |
| <div class="flex flex-col sm:flex-row justify-center gap-4"> | |
| <a href="#generator" class="bg-white text-indigo-600 px-8 py-3 rounded-lg text-lg font-semibold hover:bg-gray-100 transition"> | |
| Try It Free | |
| </a> | |
| <a href="#" class="bg-white bg-opacity-20 text-white px-8 py-3 rounded-lg text-lg font-semibold hover:bg-opacity-30 transition"> | |
| See Pricing | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white pt-16 pb-8"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-8"> | |
| <div class="col-span-2"> | |
| <div class="flex items-center mb-4"> | |
| <i class="fas fa-video text-indigo-500 text-2xl mr-2"></i> | |
| <span class="text-xl font-bold">AI Video<span class="gradient-text">Gen</span></span> | |
| </div> | |
| <p class="text-gray-400 mb-4"> | |
| The easiest way to create professional videos with AI. No skills required, just your imagination. | |
| </p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white transition"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"> | |
| <i class="fab fa-facebook"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"> | |
| <i class="fab fa-linkedin"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"> | |
| <i class="fab fa-youtube"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-300 uppercase tracking-wider mb-4">Product</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Features</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Pricing</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Examples</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Updates</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-300 uppercase tracking-wider mb-4">Resources</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Tutorials</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Help Center</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">API Docs</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-300 uppercase tracking-wider mb-4">Company</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">About</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Press</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="mt-12 pt-8 border-t border-gray-800 flex flex-col md:flex-row justify-between items-center"> | |
| <p class="text-gray-400 text-sm"> | |
| © 2023 AI VideoGen. All rights reserved. | |
| </p> | |
| <div class="flex space-x-6 mt-4 md:mt-0"> | |
| <a href="#" class="text-gray-400 hover:text-white text-sm transition">Privacy</a> | |
| <a href="#" class="text-gray-400 hover:text-white text-sm transition">Terms</a> | |
| <a href="#" class="text-gray-400 hover:text-white text-sm transition">Cookies</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Style buttons | |
| const styleButtons = document.querySelectorAll('.style-btn'); | |
| let selectedStyle = 'realistic'; // Default style | |
| styleButtons.forEach(button => { | |
| button.addEventListener('click', function() { | |
| selectedStyle = this.dataset.style; | |
| styleButtons.forEach(btn => btn.classList.remove('bg-indigo-100', 'border-indigo-500', 'text-indigo-700')); | |
| this.classList.add('bg-indigo-100', 'border-indigo-500', 'text-indigo-700'); | |
| }); | |
| }); | |
| // Set default style button as active | |
| document.querySelector('[data-style="realistic"]').classList.add('bg-indigo-100', 'border-indigo-500', 'text-indigo-700'); | |
| // Example videos | |
| const exampleVideos = document.querySelectorAll('.example-video'); | |
| exampleVideos.forEach(video => { | |
| video.addEventListener('click', function() { | |
| const prompt = this.querySelector('h3').textContent; | |
| const styleText = this.querySelector('p').textContent.split(',')[0].replace(' style', ''); | |
| const style = styleText.toLowerCase(); | |
| document.getElementById('prompt').value = prompt.replace(/"/g, ''); | |
| // Find and click the corresponding style button | |
| const styleBtn = document.querySelector(`[data-style="${style}"]`); | |
| if (styleBtn) { | |
| styleButtons.forEach(btn => btn.classList.remove('bg-indigo-100', 'border-indigo-500', 'text-indigo-700')); | |
| styleBtn.classList.add('bg-indigo-100', 'border-indigo-500', 'text-indigo-700'); | |
| selectedStyle = style; | |
| } | |
| document.getElementById('generator').scrollIntoView({ behavior: 'smooth' }); | |
| }); | |
| }); | |
| // Generate button | |
| const generateBtn = document.getElementById('generateBtn'); | |
| const videoPlaceholder = document.getElementById('videoPlaceholder'); | |
| const videoLoading = document.getElementById('videoLoading'); | |
| const videoResult = document.getElementById('videoResult'); | |
| const generatedVideo = document.getElementById('generatedVideo'); | |
| const progressText = document.getElementById('progressText'); | |
| const progressBar = document.getElementById('progressBar'); | |
| const processingStep = document.getElementById('processingStep'); | |
| const videoDetails = document.getElementById('videoDetails'); | |
| // Sample videos for different styles | |
| const sampleVideos = { | |
| realistic: "https://assets.mixkit.co/videos/preview/mixkit-woman-holding-a-video-camera-while-filming-a-forest-39749-large.mp4", | |
| artistic: "https://assets.mixkit.co/videos/preview/mixkit-artist-painting-on-canvas-in-the-studio-3971-large.mp4", | |
| fantasy: "https://assets.mixkit.co/videos/preview/mixkit-mysterious-wizard-casting-a-spell-3972-large.mp4", | |
| cinematic: "https://assets.mixkit.co/videos/preview/mixkit-portrait-of-a-woman-in-a-park-3973-large.mp4", | |
| futuristic: "https://assets.mixkit.co/videos/preview/mixkit-futuristic-interface-2965-large.mp4", | |
| watercolor: "https://assets.mixkit.co/videos/preview/mixkit-waves-in-the-water-1164-large.mp4" | |
| }; | |
| // Processing steps | |
| const processingSteps = [ | |
| "Analyzing your prompt", | |
| "Generating storyboard", | |
| "Creating 3D models", | |
| "Rendering scenes", | |
| "Adding special effects", | |
| "Compositing final video", | |
| "Optimizing for quality", | |
| "Finalizing output" | |
| ]; | |
| generateBtn.addEventListener('click', function() { | |
| const promptInput = document.getElementById('prompt'); | |
| if (!promptInput.value.trim()) { | |
| alert('Please enter a description for your video'); | |
| return; | |
| } | |
| // Show loading state | |
| videoPlaceholder.classList.add('hidden'); | |
| videoLoading.classList.remove('hidden'); | |
| videoResult.classList.add('hidden'); | |
| // Get user selections | |
| const duration = document.getElementById('duration').value; | |
| const aspectRatio = document.getElementById('aspectRatio').value; | |
| const hasMusic = document.getElementById('musicToggle').checked; | |
| // Simulate processing steps | |
| let progress = 0; | |
| let currentStep = 0; | |
| const progressInterval = setInterval(() => { | |
| // Update progress | |
| progress += Math.random() * 8; | |
| if (progress > 100) progress = 100; | |
| const progressValue = Math.min(100, Math.floor(progress)); | |
| progressText.textContent = progressValue + '%'; | |
| progressBar.style.width = progressValue + '%'; | |
| // Update processing step text | |
| if (progressValue > currentStep * (100 / processingSteps.length)) { | |
| processingStep.textContent = processingSteps[currentStep]; | |
| currentStep++; | |
| } | |
| if (progress >= 100) { | |
| clearInterval(progressInterval); | |
| generateVideo(promptInput.value, selectedStyle, duration, aspectRatio, hasMusic); | |
| } | |
| }, 500); | |
| }); | |
| function generateVideo(prompt, style, duration, aspectRatio, hasMusic) { | |
| // In a real app, this would call an API to generate the video | |
| // For demo purposes, we'll use sample videos based on style | |
| // Simulate API delay | |
| setTimeout(() => { | |
| videoLoading.classList.add('hidden'); | |
| videoResult.classList.remove('hidden'); | |
| // Set the video source based on selected style | |
| generatedVideo.src = sampleVideos[style]; | |
| generatedVideo.load(); | |
| // Show video details | |
| const details = ` | |
| <p><strong>Prompt:</strong> ${prompt}</p> | |
| <p><strong>Style:</strong> ${style.charAt(0).toUpperCase() + style.slice(1)}</p> | |
| <p><strong>Duration:</strong> ${duration} seconds</p> | |
| <p><strong>Aspect Ratio:</strong> ${aspectRatio}</p> | |
| <p><strong>Music:</strong> ${hasMusic ? 'Yes' : 'No'}</p> | |
| `; | |
| videoDetails.innerHTML = details; | |
| // Play the video | |
| setTimeout(() => { | |
| generatedVideo.play(); | |
| }, 500); | |
| }, 1500); | |
| } | |
| // Download button | |
| document.getElementById('downloadBtn').addEventListener('click', function() { | |
| // In a real app, this would trigger a download of the generated video | |
| alert('Your video download would start now. In a real implementation, this would download the HD version of your video.'); | |
| }); | |
| // Share button | |
| document.getElementById('shareBtn').addEventListener('click', function() { | |
| // In a real app, this would open share options | |
| alert('Share options would appear here, allowing you to share your video on social media or via link.'); | |
| }); | |
| // New video button | |
| document.getElementById('newVideoBtn').addEventListener('click', function() { | |
| videoResult.classList.add('hidden'); | |
| videoPlaceholder.classList.remove('hidden'); | |
| document.getElementById('prompt').value = ''; | |
| }); | |
| }); | |
| </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=MarcRyan/avg" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |