Spaces:
Running
Running
Download index.html from Tamizin2121/script2text: direct link, hf CLI and curl.
- Browser
- Download file 53.3 kB
-
https://huggingface.co/spaces/Tamizin2121/script2text/resolve/main/index.html
- Command line
-
hf download hf://spaces/Tamizin2121/script2text/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Tamizin2121/script2text/resolve/main/index.html
53.3 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| <title>Script2Video AI | Transform Scripts into Engaging 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"> | |
| <style> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #6e8efb, #a777e3); | |
| } | |
| .script-editor { | |
| min-height: 300px; | |
| border: 2px dashed #a777e3; | |
| transition: all 0.3s ease; | |
| } | |
| .script-editor:focus { | |
| border: 2px solid #6e8efb; | |
| box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2); | |
| } | |
| .video-preview { | |
| aspect-ratio: 9/16; | |
| background: linear-gradient(45deg, #f3f4f6, #e5e7eb); | |
| } | |
| .animate-pulse-slow { | |
| animation: pulse 3s infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { | |
| opacity: 1; | |
| } | |
| 50% { | |
| opacity: 0.5; | |
| } | |
| } | |
| .tab-active { | |
| border-bottom: 3px solid #6e8efb; | |
| color: #6e8efb; | |
| font-weight: 600; | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans bg-gray-50"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-sm"> | |
| <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-purple-600 text-2xl mr-2"></i> | |
| <span class="text-xl font-bold text-gray-900">Script2Video AI</span> | |
| </div> | |
| </div> | |
| <div class="hidden sm:ml-6 sm:flex sm:items-center mobile-menu"> | |
| <a href="#features" class="px-3 py-2 text-sm font-medium text-gray-700 hover:text-purple-600">Features</a> | |
| <a href="#pricing" class="px-3 py-2 text-sm font-medium text-gray-700 hover:text-purple-600">Pricing</a> | |
| <a href="#how-it-works" class="px-3 py-2 text-sm font-medium text-gray-700 hover:text-purple-600">How It Works</a> | |
| <button class="ml-4 px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500"> | |
| Sign Up Free | |
| </button> | |
| </div> | |
| <div class="-mr-2 flex items-center sm:hidden"> | |
| <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-purple-500"> | |
| <span class="sr-only">Open main menu</span> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <div class="gradient-bg text-white"> | |
| <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8 text-center"> | |
| <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl"> | |
| Transform Your Scripts Into Engaging Videos | |
| </h1> | |
| <p class="mt-6 max-w-3xl mx-auto text-xl"> | |
| AI-powered video creation platform that turns your scripts into professional animated videos with voiceovers, perfect for TikTok, Facebook, and YouTube. | |
| </p> | |
| <div class="mt-10 flex justify-center"> | |
| <div class="rounded-md shadow"> | |
| <a href="#generator" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-purple-600 bg-white hover:bg-gray-50 md:py-4 md:text-lg md:px-10"> | |
| Try It Now - Free | |
| </a> | |
| </div> | |
| <div class="ml-3 rounded-md shadow"> | |
| <a href="#demo" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-purple-800 bg-opacity-60 hover:bg-opacity-70 md:py-4 md:text-lg md:px-10"> | |
| Watch Demo | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Features Section --> | |
| <div id="features" class="py-12 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="lg:text-center"> | |
| <h2 class="text-base text-purple-600 font-semibold tracking-wide uppercase">Features</h2> | |
| <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl"> | |
| Everything you need to create viral videos | |
| </p> | |
| </div> | |
| <div class="mt-10"> | |
| <div class="grid grid-cols-1 gap-6 sm:gap-8 md:grid-cols-2 lg:grid-cols-3"> | |
| <div class="bg-gray-50 p-6 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-purple-500 rounded-md p-3"> | |
| <i class="fas fa-robot text-white text-xl"></i> | |
| </div> | |
| <div class="ml-5"> | |
| <h3 class="text-lg font-medium text-gray-900">AI-Powered Animation</h3> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-base text-gray-500"> | |
| Our advanced AI generates 2D/3D animated characters with lip-sync and natural movements based on your script. | |
| </p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-purple-500 rounded-md p-3"> | |
| <i class="fas fa-microphone-alt text-white text-xl"></i> | |
| </div> | |
| <div class="ml-5"> | |
| <h3 class="text-lg font-medium text-gray-900">Realistic Voiceovers</h3> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-base text-gray-500"> | |
| Choose from 50+ natural-sounding voices in multiple languages with perfect lip-sync to your characters. | |
| </p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-purple-500 rounded-md p-3"> | |
| <i class="fas fa-film text-white text-xl"></i> | |
| </div> | |
| <div class="ml-5"> | |
| <h3 class="text-lg font-medium text-gray-900">Long Video Support</h3> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-base text-gray-500"> | |
| Create videos from 30 seconds to 30+ minutes by intelligently breaking scripts into scenes and stitching them together. | |
| </p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-purple-500 rounded-md p-3"> | |
| <i class="fas fa-mobile-alt text-white text-xl"></i> | |
| </div> | |
| <div class="ml-5"> | |
| <h3 class="text-lg font-medium text-gray-900">Platform Optimization</h3> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-base text-gray-500"> | |
| Export videos in perfect formats for TikTok (9:16), YouTube/Facebook (16:9), and Instagram (1:1). | |
| </p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-purple-500 rounded-md p-3"> | |
| <i class="fas fa-palette text-white text-xl"></i> | |
| </div> | |
| <div class="ml-5"> | |
| <h3 class="text-lg font-medium text-gray-900">Multiple Styles</h3> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-base text-gray-500"> | |
| Choose from 2D Cartoon, 3D Simple, or Minimal Motion Graphics styles to match your brand. | |
| </p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-purple-500 rounded-md p-3"> | |
| <i class="fas fa-cloud text-white text-xl"></i> | |
| </div> | |
| <div class="ml-5"> | |
| <h3 class="text-lg font-medium text-gray-900">Cloud Storage</h3> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-base text-gray-500"> | |
| All your generated videos are stored securely in the cloud with easy access from any device. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- How It Works Section --> | |
| <div id="how-it-works" class="py-12 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="lg:text-center"> | |
| <h2 class="text-base text-purple-600 font-semibold tracking-wide uppercase">Process</h2> | |
| <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl"> | |
| From script to video in 5 simple steps | |
| </p> | |
| </div> | |
| <div class="mt-10"> | |
| <div class="relative"> | |
| <div class="absolute left-1/2 -ml-1 h-full w-0.5 bg-purple-200"></div> | |
| <div class="relative mb-12"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 w-12 h-12 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-lg"> | |
| 1 | |
| </div> | |
| <div class="ml-6"> | |
| <h3 class="text-lg font-medium text-gray-900">Paste Your Script</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| Simply paste or type your script into our editor. You can format it with basic markdown for emphasis. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="relative mb-12"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 w-12 h-12 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-lg"> | |
| 2 | |
| </div> | |
| <div class="ml-6"> | |
| <h3 class="text-lg font-medium text-gray-900">Choose Style & Voice</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| Select from our animation styles (2D, 3D, Motion Graphics) and pick a voice that matches your content. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="relative mb-12"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 w-12 h-12 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-lg"> | |
| 3 | |
| </div> | |
| <div class="ml-6"> | |
| <h3 class="text-lg font-medium text-gray-900">AI Scene Breakdown</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| Our AI analyzes your script and breaks it into logical scenes with appropriate backgrounds and characters. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="relative mb-12"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 w-12 h-12 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-lg"> | |
| 4 | |
| </div> | |
| <div class="ml-6"> | |
| <h3 class="text-lg font-medium text-gray-900">Video Generation</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| The system generates voiceovers, animates characters, syncs lip movements, and composes the final video. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="relative"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 w-12 h-12 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-lg"> | |
| 5 | |
| </div> | |
| <div class="ml-6"> | |
| <h3 class="text-lg font-medium text-gray-900">Download & Share</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| Download your video in multiple formats or share directly to social platforms with optimized settings. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Video Generator Section --> | |
| <div id="generator" class="py-12 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center"> | |
| <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl"> | |
| Create Your Video Now | |
| </h2> | |
| <p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto"> | |
| Paste your script below and watch it come to life with AI animation. | |
| </p> | |
| </div> | |
| <div class="mt-10 bg-gray-50 rounded-xl shadow-lg overflow-hidden"> | |
| <div class="flex border-b border-gray-200"> | |
| <button class="px-6 py-4 text-sm font-medium tab-active"> | |
| <i class="fas fa-edit mr-2"></i> Script Editor | |
| </button> | |
| <button class="px-6 py-4 text-sm font-medium text-gray-500 hover:text-purple-600"> | |
| <i class="fas fa-cog mr-2"></i> Settings | |
| </button> | |
| <button class="px-6 py-4 text-sm font-medium text-gray-500 hover:text-purple-600"> | |
| <i class="fas fa-images mr-2"></i> Media Library | |
| </button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6 p-4 sm:p-6"> | |
| <!-- Script Editor Column --> | |
| <div> | |
| <div class="mb-4"> | |
| <label for="video-title" class="block text-sm font-medium text-gray-700">Video Title</label> | |
| <input type="text" id="video-title" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 p-2 border"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700">Script Content</label> | |
| <div class="mt-1"> | |
| <textarea id="script-content" class="script-editor block w-full rounded-md p-4" placeholder="Paste your script here... Our AI will analyze it and create a video with animated characters, voiceover, and scenes. | |
| Example: | |
| --- | |
| [Scene: A sunny park with trees and a bench] | |
| [Narrator]: Welcome to our tutorial on creating amazing videos with AI! | |
| [Character: Young woman sitting on bench, smiling] | |
| [Character speaks]: With Script2Video AI, you can turn any script into a professional animated video in minutes. | |
| ---"></textarea> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-2 gap-4 mb-4"> | |
| <div> | |
| <label for="animation-style" class="block text-sm font-medium text-gray-700">Animation Style</label> | |
| <select id="animation-style" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 p-2 border"> | |
| <option>2D Cartoon</option> | |
| <option>3D Simple</option> | |
| <option>Minimal Motion Graphics</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label for="voice-style" class="block text-sm font-medium text-gray-700">Voice Style</label> | |
| <select id="voice-style" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 p-2 border"> | |
| <option>Male - Friendly</option> | |
| <option>Female - Professional</option> | |
| <option>Male - Energetic</option> | |
| <option>Female - Calm</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="flex justify-between"> | |
| <button class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| <i class="fas fa-save mr-2"></i> Save Draft | |
| </button> | |
| <button id="generate-btn" class="px-6 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500"> | |
| <i class="fas fa-magic mr-2"></i> Generate Video | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Video Preview Column --> | |
| <div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700">Video Preview</label> | |
| <div class="mt-1 video-preview rounded-lg flex items-center justify-center relative overflow-hidden"> | |
| <div id="preview-placeholder" class="text-center p-6"> | |
| <i class="fas fa-video text-gray-400 text-5xl mb-4"></i> | |
| <h3 class="text-lg font-medium text-gray-900">Your video will appear here</h3> | |
| <p class="mt-1 text-sm text-gray-500">After generation, you can preview and edit the video before downloading.</p> | |
| </div> | |
| <div id="generating-indicator" class="hidden absolute inset-0 bg-black bg-opacity-70 flex items-center justify-center flex-col text-white"> | |
| <div class="animate-spin rounded-full h-12 w-12 border-b-2 border-white mb-4"></div> | |
| <p class="text-lg font-medium">Generating your video...</p> | |
| <p class="text-sm mt-1">This may take a few minutes depending on length</p> | |
| </div> | |
| <video id="video-result" class="hidden w-full h-full object-cover" controls></video> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-2 gap-4 mb-4"> | |
| <div> | |
| <label for="aspect-ratio" class="block text-sm font-medium text-gray-700">Aspect Ratio</label> | |
| <select id="aspect-ratio" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 p-2 border"> | |
| <option value="9:16">TikTok/Reels (9:16)</option> | |
| <option value="16:9">YouTube/Facebook (16:9)</option> | |
| <option value="1:1">Instagram (1:1)</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label for="video-quality" class="block text-sm font-medium text-gray-700">Quality</label> | |
| <select id="video-quality" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 p-2 border"> | |
| <option>720p (Free)</option> | |
| <option>1080p (Pro)</option> | |
| <option>4K (Enterprise)</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="flex justify-between"> | |
| <button id="download-btn" class="hidden px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-green-600 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500"> | |
| <i class="fas fa-download mr-2"></i> Download MP4 | |
| </button> | |
| <div class="flex space-x-2"> | |
| <button id="tiktok-btn" class="hidden px-3 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| <i class="fab fa-tiktok mr-2"></i> TikTok | |
| </button> | |
| <button id="facebook-btn" class="hidden px-3 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| <i class="fab fa-facebook mr-2"></i> Facebook | |
| </button> | |
| <button id="youtube-btn" class="hidden px-3 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| <i class="fab fa-youtube mr-2"></i> YouTube | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Pricing Section --> | |
| <div id="pricing" class="py-12 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="sm:flex sm:flex-col sm:align-center"> | |
| <h2 class="text-3xl font-extrabold text-gray-900 text-center">Simple, transparent pricing</h2> | |
| <p class="mt-5 text-xl text-gray-500 text-center">Start for free, upgrade when you need more.</p> | |
| <div class="relative mt-6 bg-white rounded-lg shadow-lg overflow-hidden"> | |
| <div class="grid grid-cols-1 md:grid-cols-3"> | |
| <div class="border-b md:border-b-0 md:border-r border-gray-200"> | |
| <div class="p-6"> | |
| <h3 class="text-lg font-medium leading-6 text-gray-900">Free</h3> | |
| <p class="mt-4"> | |
| <span class="text-4xl font-extrabold text-gray-900">$0</span> | |
| <span class="text-base font-medium text-gray-500">/month</span> | |
| </p> | |
| <p class="mt-4 text-sm text-gray-500"> | |
| Perfect for trying out the platform | |
| </p> | |
| <div class="mt-6"> | |
| <ul class="space-y-4"> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">Up to 2 minute videos</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">720p resolution</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">Basic animation styles</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">5 voice options</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-times-circle text-gray-300"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500 line-through">Watermark-free</p> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mt-8"> | |
| <button class="w-full px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-gray-400 hover:bg-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"> | |
| Current plan | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-b md:border-b-0 md:border-r border-gray-200"> | |
| <div class="p-6"> | |
| <div class="flex justify-between"> | |
| <h3 class="text-lg font-medium leading-6 text-gray-900">Pro</h3> | |
| <span class="inline-flex items-center px-3 py-1 rounded-full text-xs font-medium bg-purple-100 text-purple-800"> | |
| Most Popular | |
| </span> | |
| </div> | |
| <p class="mt-4"> | |
| <span class="text-4xl font-extrabold text-gray-900">$29</span> | |
| <span class="text-base font-medium text-gray-500">/month</span> | |
| </p> | |
| <p class="mt-4 text-sm text-gray-500"> | |
| For content creators and small businesses | |
| </p> | |
| <div class="mt-6"> | |
| <ul class="space-y-4"> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">Up to 10 minute videos</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">1080p resolution</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">All animation styles</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">20+ voice options</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">No watermark</p> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mt-8"> | |
| <button class="w-full px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500"> | |
| Upgrade to Pro | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="p-6"> | |
| <h3 class="text-lg font-medium leading-6 text-gray-900">Enterprise</h3> | |
| <p class="mt-4"> | |
| <span class="text-4xl font-extrabold text-gray-900">$99</span> | |
| <span class="text-base font-medium text-gray-500">/month</span> | |
| </p> | |
| <p class="mt-4 text-sm text-gray-500"> | |
| For agencies and high-volume creators | |
| </p> | |
| <div class="mt-6"> | |
| <ul class="space-y-4"> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">Unlimited video length</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">4K resolution</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">Priority generation</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">All voice options</p> | |
| </li> | |
| <li class="flex items-start"> | |
| <div class="flex-shrink-0"> | |
| <i class="fas fa-check-circle text-green-500"></i> | |
| </div> | |
| <p class="ml-3 text-base text-gray-500">Custom branding</p> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mt-8"> | |
| <button class="w-full px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-gray-800 hover:bg-gray-900 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"> | |
| Contact Sales | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Testimonials --> | |
| <div class="py-12 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="lg:text-center"> | |
| <h2 class="text-base text-purple-600 font-semibold tracking-wide uppercase">Testimonials</h2> | |
| <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl"> | |
| Loved by content creators worldwide | |
| </p> | |
| </div> | |
| <div class="mt-10 grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-3"> | |
| <div class="bg-gray-50 p-6 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <img class="h-12 w-12 rounded-full" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-lg font-medium text-gray-900">Sarah Johnson</div> | |
| <div class="text-purple-600">@sarahcreates</div> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-base text-gray-500"> | |
| "Script2Video AI has completely transformed my content creation process. I can now produce 3-4 high-quality animated videos per day instead of just 1 per week!" | |
| </p> | |
| </div> | |
| <div class="mt-4 flex"> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <img class="h-12 w-12 rounded-full" src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-lg font-medium text-gray-900">Michael Chen</div> | |
| <div class="text-purple-600">@michaelchenedu</div> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-base text-gray-500"> | |
| "As an educator, I need to create engaging content quickly. The AI voice sync and animation quality are so good that my students think I have a professional production team!" | |
| </p> | |
| </div> | |
| <div class="mt-4 flex"> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <img class="h-12 w-12 rounded-full" src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-lg font-medium text-gray-900">David Rodriguez</div> | |
| <div class="text-purple-600">@davidmarketing</div> | |
| </div> | |
| </div> | |
| <div class="mt-4"> | |
| <p class="text-base text-gray-500"> | |
| "Our marketing agency has saved thousands on video production costs. The ability to create long-form videos with consistent quality across scenes is a game-changer." | |
| </p> | |
| </div> | |
| <div class="mt-4 flex"> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- CTA Section --> | |
| <div class="gradient-bg"> | |
| <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8 lg:py-24"> | |
| <div class="text-center"> | |
| <h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl"> | |
| Ready to transform your scripts into videos? | |
| </h2> | |
| <p class="mt-3 max-w-3xl mx-auto text-xl text-purple-100"> | |
| Join thousands of creators who are saving time and money with AI-powered video creation. | |
| </p> | |
| <div class="mt-8 flex justify-center"> | |
| <div class="inline-flex rounded-md shadow"> | |
| <a href="#generator" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-purple-600 bg-white hover:bg-gray-50"> | |
| Start Creating - It's Free | |
| </a> | |
| </div> | |
| <div class="ml-3 inline-flex"> | |
| <a href="#demo" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-purple-800 bg-opacity-60 hover:bg-opacity-70"> | |
| <i class="fas fa-play-circle mr-2"></i> Watch Demo | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800"> | |
| <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Product</h3> | |
| <ul class="mt-4 space-y-4"> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Features</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Pricing</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Templates</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Integrations</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Resources</h3> | |
| <ul class="mt-4 space-y-4"> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Documentation</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Tutorials</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Blog</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Community</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Company</h3> | |
| <ul class="mt-4 space-y-4"> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">About</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Careers</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Press</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Legal</h3> | |
| <ul class="mt-4 space-y-4"> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Privacy</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Terms</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Cookie Policy</a></li> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">GDPR</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="mt-8 border-t border-gray-700 pt-8 md:flex md:items-center md:justify-between"> | |
| <div class="flex space-x-6 md:order-2"> | |
| <a href="#" class="text-gray-400 hover:text-gray-300"> | |
| <span class="sr-only">Facebook</span> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-gray-300"> | |
| <span class="sr-only">Instagram</span> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-gray-300"> | |
| <span class="sr-only">Twitter</span> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-gray-300"> | |
| <span class="sr-only">YouTube</span> | |
| <i class="fab fa-youtube"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-gray-300"> | |
| <span class="sr-only">TikTok</span> | |
| <i class="fab fa-tiktok"></i> | |
| </a> | |
| </div> | |
| <p class="mt-8 text-base text-gray-400 md:mt-0 md:order-1"> | |
| © 2023 Script2Video AI. All rights reserved. | |
| </p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script> | |
| <script> | |
| // Configuration | |
| const API_BASE_URL = 'https://api.openai.com/v1'; | |
| const API_KEY = 'YOUR_OPENAI_API_KEY'; // Replace with your actual API key | |
| // DOM Elements | |
| const generateBtn = document.getElementById('generate-btn'); | |
| const scriptContent = document.getElementById('script-content'); | |
| const previewPlaceholder = document.getElementById('preview-placeholder'); | |
| const generatingIndicator = document.getElementById('generating-indicator'); | |
| const videoResult = document.getElementById('video-result'); | |
| const downloadBtn = document.getElementById('download-btn'); | |
| // Generate video function | |
| async function generateVideo() { | |
| const content = scriptContent.value.trim(); | |
| if (!content) { | |
| alert('Please enter a script to generate a video'); | |
| return; | |
| } | |
| // Show loading state | |
| previewPlaceholder.classList.add('hidden'); | |
| generatingIndicator.classList.remove('hidden'); | |
| generateBtn.disabled = true; | |
| generateBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Generating...'; | |
| try { | |
| // Step 1: Generate images from script using DALL·E | |
| const imagePrompts = await breakScriptIntoScenes(content); | |
| const imageUrls = await generateImages(imagePrompts); | |
| // Step 2: Generate voiceover using text-to-speech | |
| const audioUrl = await generateVoiceover(content); | |
| // Step 3: Combine images and audio into video (simplified for demo) | |
| // In a real app, you'd use a backend service like FFmpeg | |
| const videoUrl = await combineMedia(imageUrls, audioUrl); | |
| // Display result | |
| generatingIndicator.classList.add('hidden'); | |
| videoResult.classList.remove('hidden'); | |
| videoResult.src = videoUrl; | |
| videoResult.load(); | |
| // Enable download | |
| downloadBtn.classList.remove('hidden'); | |
| downloadBtn.onclick = () => downloadVideo(videoUrl); | |
| } catch (error) { | |
| console.error('Error generating video:', error); | |
| alert('Error generating video. Please try again.'); | |
| } finally { | |
| generateBtn.disabled = false; | |
| generateBtn.innerHTML = '<i class="fas fa-magic mr-2"></i> Generate Video'; | |
| } | |
| } | |
| // Helper functions | |
| async function breakScriptIntoScenes(script) { | |
| // This would use GPT to break script into scenes with prompts | |
| // Simplified for demo - just return the whole script as one scene | |
| return [script]; | |
| } | |
| async function generateImages(prompts) { | |
| const config = { | |
| headers: { | |
| 'Authorization': `Bearer ${API_KEY}`, | |
| 'Content-Type': 'application/json' | |
| } | |
| }; | |
| const responses = []; | |
| for (const prompt of prompts) { | |
| const data = { | |
| prompt: `Create an illustration for: ${prompt}`, | |
| n: 1, | |
| size: "1024x1024" | |
| }; | |
| const response = await axios.post(`${API_BASE_URL}/images/generations`, data, config); | |
| responses.push(response.data.data[0].url); | |
| } | |
| return responses; | |
| } | |
| async function generateVoiceover(text) { | |
| // This would use text-to-speech API | |
| // For demo, we'll use a placeholder | |
| return "https://example.com/voiceover.mp3"; | |
| } | |
| async function combineMedia(imageUrls, audioUrl) { | |
| // In a real app, this would use a backend service with FFmpeg | |
| // For demo, we'll return a placeholder video | |
| return "https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4"; | |
| } | |
| function downloadVideo(url) { | |
| const a = document.createElement('a'); | |
| a.href = url; | |
| a.download = 'generated-video.mp4'; | |
| document.body.appendChild(a); | |
| a.click(); | |
| document.body.removeChild(a); | |
| } | |
| // Event listeners | |
| generateBtn.addEventListener('click', generateVideo); | |
| // Mobile menu toggle (for responsive design) | |
| document.querySelector('.sm\\:hidden button').addEventListener('click', function() { | |
| const menu = document.querySelector('.sm\\:hidden + .sm\\:flex'); | |
| menu.classList.toggle('hidden'); | |
| }); | |
| </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=Tamizin2121/script2text" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |