Spaces:
Running
Running
i need the tool to generate the video based on the prompt provided appllied on the image provided .. i need real video generation no mock data whatsoever!
b9c7268 verified | <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>VisionCraft AI - Image to Video Generator</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| </head> | |
| <body class="bg-gray-900 text-white"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-8"> | |
| <div class="text-center mb-12"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-4 bg-gradient-to-r from-cyan-400 to-indigo-500 bg-clip-text text-transparent"> | |
| VisionCraft AI | |
| </h1> | |
| <p class="text-xl text-gray-300 max-w-2xl mx-auto"> | |
| Transform your images into stunning videos with AI-powered generation. Unlimited creativity, no restrictions. | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-12"> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-2xl"> | |
| <h2 class="text-2xl font-bold mb-6 text-cyan-400">Upload Image</h2> | |
| <div class="border-2 border-dashed border-cyan-500 rounded-lg p-8 text-center mb-6 transition-all hover:bg-gray-700 cursor-pointer" id="dropZone"> | |
| <i data-feather="upload" class="w-12 h-12 mx-auto text-cyan-400 mb-4"></i> | |
| <p class="mb-2">Drag & drop your image here</p> | |
| <p class="text-gray-400 text-sm mb-4">or</p> | |
| <button class="bg-cyan-600 hover:bg-cyan-700 text-white font-bold py-2 px-6 rounded-lg transition duration-300"> | |
| Browse Files | |
| </button> | |
| <input type="file" id="fileInput" class="hidden" accept="image/*"> | |
| </div> | |
| <div id="imagePreview" class="hidden"> | |
| <img id="previewImage" src="" alt="Preview" class="rounded-lg w-full"> | |
| <button id="removeImage" class="mt-4 text-red-500 hover:text-red-400 flex items-center"> | |
| <i data-feather="trash-2" class="w-5 h-5 mr-2"></i> Remove Image | |
| </button> | |
| </div> | |
| </div> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-2xl"> | |
| <h2 class="text-2xl font-bold mb-6 text-indigo-400">Video Prompt</h2> | |
| <div class="mb-6"> | |
| <label class="block text-gray-300 mb-2">Describe your video</label> | |
| <textarea id="promptInput" class="w-full bg-gray-700 border border-gray-600 rounded-lg p-4 text-white focus:outline-none focus:ring-2 focus:ring-cyan-500" rows="5" placeholder="Example: Make the cat dance in space with colorful fireworks"></textarea> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="block text-gray-300 mb-2">Video Duration</label> | |
| <select class="w-full bg-gray-700 border border-gray-600 rounded-lg p-3 text-white focus:outline-none focus:ring-2 focus:ring-cyan-500"> | |
| <option>5 seconds</option> | |
| <option>10 seconds</option> | |
| <option>15 seconds</option> | |
| <option>30 seconds</option> | |
| </select> | |
| </div> | |
| <button id="generateBtn" class="w-full bg-gradient-to-r from-cyan-600 to-indigo-600 hover:from-cyan-700 hover:to-indigo-700 text-white font-bold py-4 px-6 rounded-lg transition duration-300 flex items-center justify-center"> | |
| <i data-feather="zap" class="w-5 h-5 mr-2"></i> Generate Video | |
| </button> | |
| </div> | |
| </div> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-2xl mb-12"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-2xl font-bold text-cyan-400">Generated Videos</h2> | |
| <div class="text-sm text-gray-400">0 videos</div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="videoGrid"> | |
| <div class="border-2 border-dashed border-gray-700 rounded-lg h-48 flex items-center justify-center text-gray-500"> | |
| <i data-feather="video" class="w-10 h-10 mr-2"></i> Your videos will appear here | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gradient-to-r from-cyan-900/30 to-indigo-900/30 rounded-xl p-8 text-center"> | |
| <h3 class="text-2xl font-bold mb-4">Powered by Real AI</h3> | |
| <p class="text-gray-300 mb-6">Using cutting‑edge Gen‑2 technology to transform images into videos.</p> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mt-8"> | |
| <div class="bg-gray-800/50 p-6 rounded-lg"> | |
| <div class="w-12 h-12 bg-cyan-600 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <span class="text-xl font-bold">1</span> | |
| </div> | |
| <h4 class="text-xl font-semibold mb-2">Upload Image</h4> | |
| <p class="text-gray-400">Provide any image you want to transform into a video</p> | |
| </div> | |
| <div class="bg-gray-800/50 p-6 rounded-lg"> | |
| <div class="w-12 h-12 bg-indigo-600 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <span class="text-xl font-bold">2</span> | |
| </div> | |
| <h4 class="text-xl font-semibold mb-2">Describe Video</h4> | |
| <p class="text-gray-400">Write a detailed prompt for your desired video outcome</p> | |
| </div> | |
| <div class="bg-gray-800/50 p-6 rounded-lg"> | |
| <div class="w-12 h-12 bg-gradient-to-r from-cyan-600 to-indigo-600 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <span class="text-xl font-bold">3</span> | |
| </div> | |
| <h4 class="text-xl font-semibold mb-2">Real AI Generation</h4> | |
| <p class="text-gray-400">Powered by RunwayML Gen‑2 to create actual videos from your image and prompt</p> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="components/api-keys.js"></script> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| </body> | |
| </html> |