Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +378 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: sungsolo-img2vid
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,378 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>NSFW Image to Video Generator | Unlimited Length | Face Consistency</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.gradient-bg {
|
| 11 |
+
background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7e22ce 100%);
|
| 12 |
+
}
|
| 13 |
+
.preview-container {
|
| 14 |
+
aspect-ratio: 16/9;
|
| 15 |
+
background-color: #1f2937;
|
| 16 |
+
}
|
| 17 |
+
.model-card:hover {
|
| 18 |
+
transform: translateY(-5px);
|
| 19 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 20 |
+
}
|
| 21 |
+
.face-consistency-meter {
|
| 22 |
+
background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
|
| 23 |
+
}
|
| 24 |
+
.progress-bar {
|
| 25 |
+
background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 50%, #f43f5e 100%);
|
| 26 |
+
}
|
| 27 |
+
.nsfw-badge {
|
| 28 |
+
animation: pulse 2s infinite;
|
| 29 |
+
}
|
| 30 |
+
@keyframes pulse {
|
| 31 |
+
0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
|
| 32 |
+
70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
|
| 33 |
+
100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
|
| 34 |
+
}
|
| 35 |
+
</style>
|
| 36 |
+
</head>
|
| 37 |
+
<body class="bg-gray-900 text-gray-100 min-h-screen">
|
| 38 |
+
<header class="gradient-bg py-6 px-4 shadow-xl">
|
| 39 |
+
<div class="container mx-auto flex justify-between items-center">
|
| 40 |
+
<div class="flex items-center space-x-2">
|
| 41 |
+
<i class="fas fa-film text-2xl text-pink-500"></i>
|
| 42 |
+
<h1 class="text-2xl font-bold">NSFW VideoGen</h1>
|
| 43 |
+
</div>
|
| 44 |
+
<div class="flex items-center space-x-4">
|
| 45 |
+
<span class="nsfw-badge bg-red-500 text-white px-3 py-1 rounded-full text-sm font-bold">18+</span>
|
| 46 |
+
<button class="bg-pink-600 hover:bg-pink-700 px-4 py-2 rounded-lg font-medium transition">
|
| 47 |
+
<i class="fas fa-user mr-2"></i>Login
|
| 48 |
+
</button>
|
| 49 |
+
</div>
|
| 50 |
+
</div>
|
| 51 |
+
</header>
|
| 52 |
+
|
| 53 |
+
<main class="container mx-auto px-4 py-8">
|
| 54 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 55 |
+
<!-- Left Column - Upload and Settings -->
|
| 56 |
+
<div class="lg:col-span-1 space-y-6">
|
| 57 |
+
<div class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 58 |
+
<h2 class="text-xl font-bold mb-4 flex items-center">
|
| 59 |
+
<i class="fas fa-image mr-2 text-purple-400"></i> Source Image
|
| 60 |
+
</h2>
|
| 61 |
+
<div class="border-2 border-dashed border-gray-600 rounded-lg p-8 text-center cursor-pointer hover:border-purple-500 transition">
|
| 62 |
+
<i class="fas fa-cloud-upload-alt text-4xl text-gray-400 mb-2"></i>
|
| 63 |
+
<p class="text-gray-400">Drag & drop your NSFW image</p>
|
| 64 |
+
<p class="text-sm text-gray-500 mt-2">or click to browse</p>
|
| 65 |
+
<input type="file" id="image-upload" class="hidden" accept="image/*">
|
| 66 |
+
</div>
|
| 67 |
+
<div class="mt-4">
|
| 68 |
+
<div class="flex justify-between items-center mb-2">
|
| 69 |
+
<span class="text-sm font-medium">Face Detection</span>
|
| 70 |
+
<span class="text-sm font-bold text-green-400">Detected</span>
|
| 71 |
+
</div>
|
| 72 |
+
<div class="w-full bg-gray-700 rounded-full h-2.5">
|
| 73 |
+
<div class="face-consistency-meter h-2.5 rounded-full" style="width: 95%"></div>
|
| 74 |
+
</div>
|
| 75 |
+
<p class="text-xs text-gray-400 mt-1">High face consistency guaranteed</p>
|
| 76 |
+
</div>
|
| 77 |
+
</div>
|
| 78 |
+
|
| 79 |
+
<div class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 80 |
+
<h2 class="text-xl font-bold mb-4 flex items-center">
|
| 81 |
+
<i class="fas fa-sliders-h mr-2 text-purple-400"></i> Generation Settings
|
| 82 |
+
</h2>
|
| 83 |
+
<div class="space-y-4">
|
| 84 |
+
<div>
|
| 85 |
+
<label class="block text-sm font-medium mb-1">Video Duration</label>
|
| 86 |
+
<div class="flex items-center space-x-2">
|
| 87 |
+
<input type="range" min="1" max="120" value="30" class="w-full h-2 bg-gray-700 rounded-lg appearance-none cursor-pointer">
|
| 88 |
+
<span class="text-sm font-medium w-16 text-center">30 sec</span>
|
| 89 |
+
</div>
|
| 90 |
+
<p class="text-xs text-gray-400 mt-1">Unlimited length supported</p>
|
| 91 |
+
</div>
|
| 92 |
+
|
| 93 |
+
<div>
|
| 94 |
+
<label class="block text-sm font-medium mb-1">Motion Intensity</label>
|
| 95 |
+
<div class="flex items-center space-x-2">
|
| 96 |
+
<input type="range" min="1" max="10" value="5" class="w-full h-2 bg-gray-700 rounded-lg appearance-none cursor-pointer">
|
| 97 |
+
<span class="text-sm font-medium w-16 text-center">Medium</span>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
|
| 101 |
+
<div>
|
| 102 |
+
<label class="block text-sm font-medium mb-1">Face Consistency</label>
|
| 103 |
+
<select class="w-full bg-gray-700 border border-gray-600 rounded-lg px-3 py-2 text-sm">
|
| 104 |
+
<option>Ultra High (Recommended)</option>
|
| 105 |
+
<option>High</option>
|
| 106 |
+
<option>Medium</option>
|
| 107 |
+
</select>
|
| 108 |
+
<p class="text-xs text-gray-400 mt-1">Prevents face distortion and blur</p>
|
| 109 |
+
</div>
|
| 110 |
+
|
| 111 |
+
<div>
|
| 112 |
+
<label class="block text-sm font-medium mb-1">Output Resolution</label>
|
| 113 |
+
<select class="w-full bg-gray-700 border border-gray-600 rounded-lg px-3 py-2 text-sm">
|
| 114 |
+
<option>4K Ultra HD</option>
|
| 115 |
+
<option selected>1080p Full HD</option>
|
| 116 |
+
<option>720p HD</option>
|
| 117 |
+
<option>480p SD</option>
|
| 118 |
+
</select>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
<button id="generate-btn" class="w-full bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 text-white font-bold py-3 px-4 rounded-lg shadow-lg transition-all transform hover:scale-105 flex items-center justify-center">
|
| 124 |
+
<i class="fas fa-magic mr-2"></i> Generate Video
|
| 125 |
+
</button>
|
| 126 |
+
</div>
|
| 127 |
+
|
| 128 |
+
<!-- Middle Column - Preview -->
|
| 129 |
+
<div class="lg:col-span-2 space-y-6">
|
| 130 |
+
<div class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 131 |
+
<div class="flex justify-between items-center mb-4">
|
| 132 |
+
<h2 class="text-xl font-bold flex items-center">
|
| 133 |
+
<i class="fas fa-play-circle mr-2 text-purple-400"></i> Video Preview
|
| 134 |
+
</h2>
|
| 135 |
+
<div class="flex space-x-2">
|
| 136 |
+
<button class="bg-gray-700 hover:bg-gray-600 p-2 rounded-lg">
|
| 137 |
+
<i class="fas fa-expand"></i>
|
| 138 |
+
</button>
|
| 139 |
+
<button class="bg-gray-700 hover:bg-gray-600 p-2 rounded-lg">
|
| 140 |
+
<i class="fas fa-download"></i>
|
| 141 |
+
</button>
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
<div class="preview-container rounded-lg overflow-hidden relative flex items-center justify-center">
|
| 145 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
| 146 |
+
<i class="fas fa-image text-5xl text-gray-600"></i>
|
| 147 |
+
<p class="ml-4 text-gray-500">Upload an image to see preview</p>
|
| 148 |
+
</div>
|
| 149 |
+
<div id="preview-video" class="hidden w-full h-full"></div>
|
| 150 |
+
</div>
|
| 151 |
+
<div class="mt-4">
|
| 152 |
+
<div class="flex justify-between items-center mb-1">
|
| 153 |
+
<span class="text-sm font-medium">Generation Progress</span>
|
| 154 |
+
<span class="text-sm font-medium">0%</span>
|
| 155 |
+
</div>
|
| 156 |
+
<div class="w-full bg-gray-700 rounded-full h-2.5">
|
| 157 |
+
<div class="progress-bar h-2.5 rounded-full" style="width: 0%"></div>
|
| 158 |
+
</div>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
|
| 162 |
+
<div class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 163 |
+
<h2 class="text-xl font-bold mb-4 flex items-center">
|
| 164 |
+
<i class="fas fa-microchip mr-2 text-purple-400"></i> Available Models
|
| 165 |
+
</h2>
|
| 166 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 167 |
+
<!-- Model Cards -->
|
| 168 |
+
<div class="model-card bg-gray-700 p-4 rounded-lg border border-gray-600 transition cursor-pointer hover:border-purple-500">
|
| 169 |
+
<div class="flex items-start">
|
| 170 |
+
<div class="bg-purple-900 p-2 rounded-lg mr-3">
|
| 171 |
+
<i class="fas fa-robot text-purple-300"></i>
|
| 172 |
+
</div>
|
| 173 |
+
<div>
|
| 174 |
+
<h3 class="font-bold">AnimateDiff NSFW</h3>
|
| 175 |
+
<p class="text-sm text-gray-400">Best for natural movements</p>
|
| 176 |
+
<div class="flex items-center mt-2">
|
| 177 |
+
<span class="text-xs bg-green-900 text-green-300 px-2 py-1 rounded mr-2">Face Stable</span>
|
| 178 |
+
<span class="text-xs bg-blue-900 text-blue-300 px-2 py-1 rounded">Unlimited Length</span>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
|
| 184 |
+
<div class="model-card bg-gray-700 p-4 rounded-lg border border-gray-600 transition cursor-pointer hover:border-pink-500">
|
| 185 |
+
<div class="flex items-start">
|
| 186 |
+
<div class="bg-pink-900 p-2 rounded-lg mr-3">
|
| 187 |
+
<i class="fas fa-fire text-pink-300"></i>
|
| 188 |
+
</div>
|
| 189 |
+
<div>
|
| 190 |
+
<h3 class="font-bold">DeepMotion X</h3>
|
| 191 |
+
<p class="text-sm text-gray-400">High intensity movements</p>
|
| 192 |
+
<div class="flex items-center mt-2">
|
| 193 |
+
<span class="text-xs bg-green-900 text-green-300 px-2 py-1 rounded mr-2">Face Stable</span>
|
| 194 |
+
<span class="text-xs bg-blue-900 text-blue-300 px-2 py-1 rounded">Unlimited Length</span>
|
| 195 |
+
</div>
|
| 196 |
+
</div>
|
| 197 |
+
</div>
|
| 198 |
+
</div>
|
| 199 |
+
|
| 200 |
+
<div class="model-card bg-gray-700 p-4 rounded-lg border border-gray-600 transition cursor-pointer hover:border-yellow-500">
|
| 201 |
+
<div class="flex items-start">
|
| 202 |
+
<div class="bg-yellow-900 p-2 rounded-lg mr-3">
|
| 203 |
+
<i class="fas fa-bolt text-yellow-300"></i>
|
| 204 |
+
</div>
|
| 205 |
+
<div>
|
| 206 |
+
<h3 class="font-bold">RealMotion Pro</h3>
|
| 207 |
+
<p class="text-sm text-gray-400">Cinematic quality output</p>
|
| 208 |
+
<div class="flex items-center mt-2">
|
| 209 |
+
<span class="text-xs bg-green-900 text-green-300 px-2 py-1 rounded mr-2">Face Stable</span>
|
| 210 |
+
<span class="text-xs bg-blue-900 text-blue-300 px-2 py-1 rounded">Unlimited Length</span>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
</div>
|
| 214 |
+
</div>
|
| 215 |
+
|
| 216 |
+
<div class="model-card bg-gray-700 p-4 rounded-lg border border-gray-600 transition cursor-pointer hover:border-red-500">
|
| 217 |
+
<div class="flex items-start">
|
| 218 |
+
<div class="bg-red-900 p-2 rounded-lg mr-3">
|
| 219 |
+
<i class="fas fa-heart text-red-300"></i>
|
| 220 |
+
</div>
|
| 221 |
+
<div>
|
| 222 |
+
<h3 class="font-bold">EroMotion V2</h3>
|
| 223 |
+
<p class="text-sm text-gray-400">Specialized for NSFW content</p>
|
| 224 |
+
<div class="flex items-center mt-2">
|
| 225 |
+
<span class="text-xs bg-green-900 text-green-300 px-2 py-1 rounded mr-2">Face Stable</span>
|
| 226 |
+
<span class="text-xs bg-blue-900 text-blue-300 px-2 py-1 rounded">Unlimited Length</span>
|
| 227 |
+
</div>
|
| 228 |
+
</div>
|
| 229 |
+
</div>
|
| 230 |
+
</div>
|
| 231 |
+
</div>
|
| 232 |
+
</div>
|
| 233 |
+
|
| 234 |
+
<div class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 235 |
+
<h2 class="text-xl font-bold mb-4 flex items-center">
|
| 236 |
+
<i class="fas fa-info-circle mr-2 text-purple-400"></i> About Our Technology
|
| 237 |
+
</h2>
|
| 238 |
+
<div class="space-y-3 text-gray-300">
|
| 239 |
+
<p>Our advanced NSFW video generation platform uses state-of-the-art AI models to transform your images into high-quality videos with:</p>
|
| 240 |
+
<ul class="list-disc pl-5 space-y-2">
|
| 241 |
+
<li><span class="font-medium">Unlimited video length</span> - No arbitrary time restrictions</li>
|
| 242 |
+
<li><span class="font-medium">Perfect face consistency</span> - No blurring or distortion</li>
|
| 243 |
+
<li><span class="font-medium">Multiple model support</span> - Choose the best style for your content</li>
|
| 244 |
+
<li><span class="font-medium">No API keys needed</span> - Instant access to all features</li>
|
| 245 |
+
<li><span class="font-medium">4K resolution support</span> - Crystal clear output</li>
|
| 246 |
+
</ul>
|
| 247 |
+
<p class="pt-2 text-sm text-gray-400">All processing happens securely in our cloud infrastructure with no limits on creativity.</p>
|
| 248 |
+
</div>
|
| 249 |
+
</div>
|
| 250 |
+
</div>
|
| 251 |
+
</div>
|
| 252 |
+
</main>
|
| 253 |
+
|
| 254 |
+
<footer class="bg-gray-800 py-6 mt-12">
|
| 255 |
+
<div class="container mx-auto px-4">
|
| 256 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 257 |
+
<div class="flex items-center space-x-4 mb-4 md:mb-0">
|
| 258 |
+
<i class="fas fa-film text-2xl text-pink-500"></i>
|
| 259 |
+
<span class="font-bold">NSFW VideoGen</span>
|
| 260 |
+
</div>
|
| 261 |
+
<div class="flex space-x-6">
|
| 262 |
+
<a href="#" class="hover:text-purple-400 transition">Terms</a>
|
| 263 |
+
<a href="#" class="hover:text-purple-400 transition">Privacy</a>
|
| 264 |
+
<a href="#" class="hover:text-purple-400 transition">Contact</a>
|
| 265 |
+
<a href="#" class="hover:text-purple-400 transition">API</a>
|
| 266 |
+
</div>
|
| 267 |
+
<div class="mt-4 md:mt-0">
|
| 268 |
+
<p class="text-sm text-gray-400">© 2023 NSFW VideoGen. All rights reserved.</p>
|
| 269 |
+
</div>
|
| 270 |
+
</div>
|
| 271 |
+
<div class="mt-6 text-center text-xs text-gray-500">
|
| 272 |
+
<p>This service is intended for adults only. By using this service you confirm you are 18+ years old.</p>
|
| 273 |
+
</div>
|
| 274 |
+
</div>
|
| 275 |
+
</footer>
|
| 276 |
+
|
| 277 |
+
<script>
|
| 278 |
+
// Simulate image upload
|
| 279 |
+
document.querySelector('.border-dashed').addEventListener('click', function() {
|
| 280 |
+
document.getElementById('image-upload').click();
|
| 281 |
+
});
|
| 282 |
+
|
| 283 |
+
document.getElementById('image-upload').addEventListener('change', function(e) {
|
| 284 |
+
if (e.target.files.length > 0) {
|
| 285 |
+
const file = e.target.files[0];
|
| 286 |
+
const reader = new FileReader();
|
| 287 |
+
|
| 288 |
+
reader.onload = function(event) {
|
| 289 |
+
const previewContainer = document.querySelector('.preview-container');
|
| 290 |
+
previewContainer.innerHTML = `
|
| 291 |
+
<img src="${event.target.result}" class="w-full h-full object-contain" alt="Uploaded preview">
|
| 292 |
+
<div class="absolute bottom-4 left-4 bg-black bg-opacity-70 text-white px-3 py-1 rounded-lg text-sm">
|
| 293 |
+
Ready for video generation
|
| 294 |
+
</div>
|
| 295 |
+
`;
|
| 296 |
+
};
|
| 297 |
+
|
| 298 |
+
reader.readAsDataURL(file);
|
| 299 |
+
}
|
| 300 |
+
});
|
| 301 |
+
|
| 302 |
+
// Simulate generation process
|
| 303 |
+
document.getElementById('generate-btn').addEventListener('click', function() {
|
| 304 |
+
const btn = this;
|
| 305 |
+
const progressBar = document.querySelector('.progress-bar');
|
| 306 |
+
const progressText = document.querySelector('.progress-bar + .flex span:last-child');
|
| 307 |
+
|
| 308 |
+
// Disable button during generation
|
| 309 |
+
btn.disabled = true;
|
| 310 |
+
btn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Generating...';
|
| 311 |
+
|
| 312 |
+
// Simulate progress
|
| 313 |
+
let progress = 0;
|
| 314 |
+
const interval = setInterval(() => {
|
| 315 |
+
progress += Math.random() * 5;
|
| 316 |
+
if (progress > 100) progress = 100;
|
| 317 |
+
|
| 318 |
+
progressBar.style.width = `${progress}%`;
|
| 319 |
+
progressText.textContent = `${Math.round(progress)}%`;
|
| 320 |
+
|
| 321 |
+
if (progress >= 100) {
|
| 322 |
+
clearInterval(interval);
|
| 323 |
+
setTimeout(() => {
|
| 324 |
+
// Show completion
|
| 325 |
+
btn.disabled = false;
|
| 326 |
+
btn.innerHTML = '<i class="fas fa-check mr-2"></i> Generation Complete!';
|
| 327 |
+
|
| 328 |
+
// Simulate showing a video (in a real app this would be the actual video)
|
| 329 |
+
const previewContainer = document.querySelector('.preview-container');
|
| 330 |
+
previewContainer.innerHTML = `
|
| 331 |
+
<div class="relative w-full h-full">
|
| 332 |
+
<video controls autoplay loop class="w-full h-full">
|
| 333 |
+
<source src="#" type="video/mp4">
|
| 334 |
+
</video>
|
| 335 |
+
<div class="absolute bottom-4 left-4 bg-black bg-opacity-70 text-white px-3 py-1 rounded-lg text-sm">
|
| 336 |
+
Your generated video (simulated)
|
| 337 |
+
</div>
|
| 338 |
+
</div>
|
| 339 |
+
`;
|
| 340 |
+
|
| 341 |
+
// Reset button after 5 seconds
|
| 342 |
+
setTimeout(() => {
|
| 343 |
+
btn.innerHTML = '<i class="fas fa-magic mr-2"></i> Generate Video';
|
| 344 |
+
}, 5000);
|
| 345 |
+
}, 500);
|
| 346 |
+
}
|
| 347 |
+
}, 300);
|
| 348 |
+
});
|
| 349 |
+
|
| 350 |
+
// Model selection
|
| 351 |
+
document.querySelectorAll('.model-card').forEach(card => {
|
| 352 |
+
card.addEventListener('click', function() {
|
| 353 |
+
// Remove all active classes first
|
| 354 |
+
document.querySelectorAll('.model-card').forEach(c => {
|
| 355 |
+
c.classList.remove('border-purple-500', 'border-pink-500', 'border-yellow-500', 'border-red-500');
|
| 356 |
+
c.classList.add('border-gray-600');
|
| 357 |
+
});
|
| 358 |
+
|
| 359 |
+
// Add active class to clicked card
|
| 360 |
+
const colors = {
|
| 361 |
+
'hover:border-purple-500': 'border-purple-500',
|
| 362 |
+
'hover:border-pink-500': 'border-pink-500',
|
| 363 |
+
'hover:border-yellow-500': 'border-yellow-500',
|
| 364 |
+
'hover:border-red-500': 'border-red-500'
|
| 365 |
+
};
|
| 366 |
+
|
| 367 |
+
for (const [hoverClass, activeClass] of Object.entries(colors)) {
|
| 368 |
+
if (this.classList.contains(hoverClass)) {
|
| 369 |
+
this.classList.remove('border-gray-600');
|
| 370 |
+
this.classList.add(activeClass);
|
| 371 |
+
break;
|
| 372 |
+
}
|
| 373 |
+
}
|
| 374 |
+
});
|
| 375 |
+
});
|
| 376 |
+
</script>
|
| 377 |
+
<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=SungSolo/sungsolo-img2vid" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 378 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
develop Nsfw image to video generator that has no time limits in creation of video and with consistent face in video without blur, distortion of face. the video generator should support all the video generation models without API key input.
|