Spaces:
Running
Running
undefined - Initial Deployment
Browse files- README.md +7 -5
- index.html +609 -19
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: n5fw
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: red
|
5 |
+
colorTo: red
|
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,609 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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>ArtStudio Pro - Advanced Creative Generator</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 |
+
<script>
|
10 |
+
tailwind.config = {
|
11 |
+
theme: {
|
12 |
+
extend: {
|
13 |
+
colors: {
|
14 |
+
primary: '#6d28d9',
|
15 |
+
dark: '#1e1b4b',
|
16 |
+
light: '#f5f3ff',
|
17 |
+
},
|
18 |
+
boxShadow: {
|
19 |
+
'creative': '0 10px 25px -5px rgba(109, 40, 217, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.05)',
|
20 |
+
'glow': '0 0 15px rgba(109, 40, 217, 0.6)'
|
21 |
+
}
|
22 |
+
}
|
23 |
+
}
|
24 |
+
}
|
25 |
+
</script>
|
26 |
+
<style>
|
27 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
28 |
+
|
29 |
+
body {
|
30 |
+
font-family: 'Poppins', sans-serif;
|
31 |
+
background: #0f172a;
|
32 |
+
color: #e2e8f0;
|
33 |
+
min-height: 100vh;
|
34 |
+
}
|
35 |
+
|
36 |
+
.creative-gradient {
|
37 |
+
background: linear-gradient(135deg, #1e1b4b 0%, #6d28d9 100%);
|
38 |
+
}
|
39 |
+
|
40 |
+
.grid-bg {
|
41 |
+
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><rect fill="rgba(109,40,217,0.07)" x="0" y="0" width="100" height="100"/><path d="M0 0 L50 50 L100 0" stroke="rgba(94,78,203,0.15)" stroke-width="0.5"/></svg>');
|
42 |
+
background-size: 50px 50px;
|
43 |
+
}
|
44 |
+
|
45 |
+
.card-hover:hover {
|
46 |
+
transform: translateY(-5px);
|
47 |
+
transition: all 0.3s ease;
|
48 |
+
box-shadow: 0 15px 30px -5px rgba(109, 40, 217, 0.35), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
|
49 |
+
}
|
50 |
+
|
51 |
+
.glow-text {
|
52 |
+
text-shadow: 0 0 8px rgba(167, 139, 250, 0.7);
|
53 |
+
}
|
54 |
+
|
55 |
+
.loading-spinner {
|
56 |
+
animation: spin 1s linear infinite;
|
57 |
+
}
|
58 |
+
|
59 |
+
@keyframes spin {
|
60 |
+
100% {
|
61 |
+
transform: rotate(360deg);
|
62 |
+
}
|
63 |
+
}
|
64 |
+
|
65 |
+
.image-placeholder {
|
66 |
+
background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
|
67 |
+
position: relative;
|
68 |
+
overflow: hidden;
|
69 |
+
}
|
70 |
+
|
71 |
+
.image-placeholder::before {
|
72 |
+
content: "";
|
73 |
+
position: absolute;
|
74 |
+
top: -50%;
|
75 |
+
left: -50%;
|
76 |
+
right: -50%;
|
77 |
+
bottom: -50%;
|
78 |
+
background: linear-gradient(rgba(255,255,255,0.05) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
|
79 |
+
transform: rotate(45deg);
|
80 |
+
animation: shimmer 2.5s infinite linear;
|
81 |
+
}
|
82 |
+
|
83 |
+
@keyframes shimmer {
|
84 |
+
0% { transform: translateX(-100%) rotate(45deg); }
|
85 |
+
100% { transform: translateX(100%) rotate(45deg); }
|
86 |
+
}
|
87 |
+
|
88 |
+
.content-warning {
|
89 |
+
position: relative;
|
90 |
+
}
|
91 |
+
|
92 |
+
.content-warning::before {
|
93 |
+
content: "";
|
94 |
+
position: absolute;
|
95 |
+
inset: -10px;
|
96 |
+
border-radius: 12px;
|
97 |
+
padding: 2px;
|
98 |
+
background: linear-gradient(45deg, #ec4899, #a855f7, #ec4899);
|
99 |
+
-webkit-mask:
|
100 |
+
linear-gradient(#fff 0 0) content-box,
|
101 |
+
linear-gradient(#fff 0 0);
|
102 |
+
-webkit-mask-composite: xor;
|
103 |
+
mask-composite: exclude;
|
104 |
+
z-index: -1;
|
105 |
+
}
|
106 |
+
</style>
|
107 |
+
</head>
|
108 |
+
<body class="grid-bg">
|
109 |
+
<!-- Navigation Bar -->
|
110 |
+
<nav class="py-4 px-6 border-b border-gray-800">
|
111 |
+
<div class="max-w-7xl mx-auto flex justify-between items-center">
|
112 |
+
<div class="flex items-center space-x-2">
|
113 |
+
<div class="bg-gradient-to-r from-indigo-500 to-purple-600 text-white w-10 h-10 rounded-lg flex items-center justify-center">
|
114 |
+
<i class="fas fa-paint-brush text-xl"></i>
|
115 |
+
</div>
|
116 |
+
<div class="text-xl font-bold bg-gradient-to-r from-purple-400 to-indigo-300 bg-clip-text text-transparent">ArtStudio Pro</div>
|
117 |
+
</div>
|
118 |
+
|
119 |
+
<div class="flex space-x-6">
|
120 |
+
<a href="#" class="hover:text-purple-300 font-medium"><i class="fas fa-home mr-2"></i>Home</a>
|
121 |
+
<a href="#" class="hover:text-purple-300 font-medium"><i class="fas fa-history mr-2"></i>History</a>
|
122 |
+
<a href="#" class="hover:text-purple-300 font-medium"><i class="fas fa-images mr-2"></i>Gallery</a>
|
123 |
+
<a href="#" class="hover:text-purple-300 font-medium"><i class="fas fa-cog mr-2"></i>Settings</a>
|
124 |
+
</div>
|
125 |
+
|
126 |
+
<div class="flex items-center space-x-4">
|
127 |
+
<button class="bg-purple-600 hover:bg-purple-700 px-4 py-2 rounded-lg flex items-center">
|
128 |
+
<i class="fas fa-crown mr-2"></i> Upgrade
|
129 |
+
</button>
|
130 |
+
<div class="relative">
|
131 |
+
<div class="bg-gradient-to-r from-purple-500 to-pink-500 text-white w-8 h-8 rounded-full flex items-center justify-center">U</div>
|
132 |
+
<div class="absolute bottom-0 right-0 bg-green-500 w-3 h-3 rounded-full border-2 border-gray-900"></div>
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
</nav>
|
137 |
+
|
138 |
+
<!-- Main Content -->
|
139 |
+
<main class="max-w-7xl mx-auto py-10 px-4">
|
140 |
+
<div class="flex flex-col items-center mb-10">
|
141 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-2 glow-text">Advanced Creative Generator</h1>
|
142 |
+
<p class="text-gray-400 max-w-2xl text-center">Harness cutting-edge AI technology to generate stunning visual concepts</p>
|
143 |
+
|
144 |
+
<div class="mt-8 flex flex-wrap justify-center gap-4">
|
145 |
+
<div class="flex items-center bg-gray-800 py-1 px-3 rounded-full">
|
146 |
+
<div class="w-3 h-3 bg-green-500 rounded-full mr-2"></div>
|
147 |
+
<span class="text-gray-300">100+ Styles</span>
|
148 |
+
</div>
|
149 |
+
<div class="flex items-center bg-gray-800 py-1 px-3 rounded-full">
|
150 |
+
<div class="w-3 h-3 bg-blue-500 rounded-full mr-2"></div>
|
151 |
+
<span class="text-gray-300">Hyper-Realism</span>
|
152 |
+
</div>
|
153 |
+
<div class="flex items-center bg-gray-800 py-1 px-3 rounded-full">
|
154 |
+
<div class="w-3 h-3 bg-purple-500 rounded-full mr-2"></div>
|
155 |
+
<span class="text-gray-300">4K Resolution</span>
|
156 |
+
</div>
|
157 |
+
</div>
|
158 |
+
</div>
|
159 |
+
|
160 |
+
<div class="grid lg:grid-cols-3 gap-8">
|
161 |
+
<!-- Generator Controls Panel -->
|
162 |
+
<div class="lg:col-span-2">
|
163 |
+
<div class="bg-gray-900 rounded-2xl p-6 shadow-creative">
|
164 |
+
<h2 class="text-2xl font-semibold mb-6 text-purple-300">Generator Panel</h2>
|
165 |
+
|
166 |
+
<div class="mb-6">
|
167 |
+
<label class="block text-gray-400 mb-2">Creative Prompt</label>
|
168 |
+
<textarea
|
169 |
+
id="prompt-input"
|
170 |
+
class="w-full bg-gray-800 border border-gray-700 rounded-lg p-4 text-gray-300 focus:outline-none focus:ring-2 focus:ring-purple-600 focus:border-transparent"
|
171 |
+
rows="4"
|
172 |
+
placeholder="Describe the artistic concept you'd like to create..."
|
173 |
+
>A mystical forest with glowing flora at twilight</textarea>
|
174 |
+
<p class="text-xs text-gray-500 mt-2">Detailed prompts create better results</p>
|
175 |
+
</div>
|
176 |
+
|
177 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
|
178 |
+
<div>
|
179 |
+
<label class="block text-gray-400 mb-2">Art Style</label>
|
180 |
+
<select class="w-full bg-gray-800 border border-gray-700 rounded-lg p-3 text-gray-300 focus:outline-none focus:ring-2 focus:ring-purple-600">
|
181 |
+
<option>Hyperrealism</option>
|
182 |
+
<option selected>Fantasy Illustration</option>
|
183 |
+
<option>Oil Painting</option>
|
184 |
+
<option>Sci-Fi Concept Art</option>
|
185 |
+
<option>Anime Style</option>
|
186 |
+
<option>Digital Watercolor</option>
|
187 |
+
<option>Retro Futurism</option>
|
188 |
+
<option>Psychedelic Art</option>
|
189 |
+
</select>
|
190 |
+
</div>
|
191 |
+
|
192 |
+
<div>
|
193 |
+
<label class="block text-gray-400 mb-2">Resolution Scale</label>
|
194 |
+
<select class="w-full bg-gray-800 border border-gray-700 rounded-lg p-3 text-gray-300 focus:outline-none focus:ring-2 focus:ring-purple-600">
|
195 |
+
<option>512x512</option>
|
196 |
+
<option selected>768x768</option>
|
197 |
+
<option>1024x1024</option>
|
198 |
+
<option>Ultra HD (4K)</option>
|
199 |
+
</select>
|
200 |
+
</div>
|
201 |
+
|
202 |
+
<div>
|
203 |
+
<label class="block text-gray-400 mb-2">Creativity Level</label>
|
204 |
+
<div class="relative pt-1">
|
205 |
+
<div class="flex mb-2">
|
206 |
+
<div class="w-full">
|
207 |
+
<input type="range" min="0" max="100" value="75" class="w-full h-2 bg-gray-700 rounded-lg appearance-none cursor-pointer accent-purple-500">
|
208 |
+
</div>
|
209 |
+
</div>
|
210 |
+
<div class="flex text-xs text-gray-500 justify-between">
|
211 |
+
<span>Less Creative</span>
|
212 |
+
<span>More Creative</span>
|
213 |
+
</div>
|
214 |
+
</div>
|
215 |
+
</div>
|
216 |
+
|
217 |
+
<div>
|
218 |
+
<label class="block text-gray-400 mb-2">Detail Quality</label>
|
219 |
+
<div class="flex space-x-2">
|
220 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg flex-1">Low</button>
|
221 |
+
<button class="bg-purple-600 px-3 py-2 rounded-lg flex-1">Medium</button>
|
222 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg flex-1">High</button>
|
223 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg">
|
224 |
+
<i class="fas fa-bolt"></i>
|
225 |
+
</button>
|
226 |
+
</div>
|
227 |
+
</div>
|
228 |
+
|
229 |
+
<div class="md:col-span-2">
|
230 |
+
<label class="block text-gray-400 mb-2">Filters & Enhancements</label>
|
231 |
+
<div class="flex flex-wrap gap-2">
|
232 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg">Add Lighting Effects</button>
|
233 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg">Atmosphere</button>
|
234 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg">Texture Overlay</button>
|
235 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg">Depth Enhancement</button>
|
236 |
+
</div>
|
237 |
+
</div>
|
238 |
+
</div>
|
239 |
+
|
240 |
+
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
|
241 |
+
<button id="generate-btn" class="hover:shadow-glow flex-1 bg-gradient-to-r from-purple-600 to-indigo-700 hover:from-purple-700 hover:to-indigo-800 px-6 py-4 rounded-xl flex items-center justify-center text-lg font-medium">
|
242 |
+
<i class="fas fa-wand-magic-sparkles mr-3"></i> Generate Concept
|
243 |
+
</button>
|
244 |
+
|
245 |
+
<button class="hover:shadow-glow bg-gray-800 hover:bg-gray-700 px-6 py-4 rounded-xl flex items-center justify-center">
|
246 |
+
<i class="fas fa-play-circle mr-2"></i> Advanced Parameters
|
247 |
+
</button>
|
248 |
+
</div>
|
249 |
+
|
250 |
+
<div class="mt-6 border-t border-gray-800 pt-6">
|
251 |
+
<h3 class="text-lg font-medium mb-3">Recent Styles</h3>
|
252 |
+
<div class="flex gap-3 overflow-x-auto pb-4">
|
253 |
+
<div class="bg-gray-800 border border-gray-700 rounded-xl py-2 px-3 cursor-pointer hover:border-purple-500">
|
254 |
+
<div class="bg-gray-700 w-16 h-16 rounded-lg mb-2"></div>
|
255 |
+
<span class="text-sm">Cyberpunk</span>
|
256 |
+
</div>
|
257 |
+
<div class="bg-gray-800 border border-gray-700 rounded-xl py-2 px-3 cursor-pointer hover:border-purple-500">
|
258 |
+
<div class="bg-gray-700 w-16 h-16 rounded-lg mb-2"></div>
|
259 |
+
<span class="text-sm">Steampunk</span>
|
260 |
+
</div>
|
261 |
+
<div class="bg-gray-800 border border-gray-700 rounded-xl py-2 px-3 cursor-pointer hover:border-purple-500">
|
262 |
+
<div class="bg-gray-700 w-16 h-16 rounded-lg mb-2"></div>
|
263 |
+
<span class="text-sm">Anime</span>
|
264 |
+
</div>
|
265 |
+
<div class="bg-gray-800 border border-gray-700 rounded-xl py-2 px-3 cursor-pointer hover:border-purple-500">
|
266 |
+
<div class="bg-gray-700 w-16 h-16 rounded-lg mb-2"></div>
|
267 |
+
<span class="text-sm">Oil Painting</span>
|
268 |
+
</div>
|
269 |
+
<div class="bg-gray-800 border border-gray-700 rounded-xl py-2 px-3 cursor-pointer hover:border-purple-500">
|
270 |
+
<div class="bg-gray-700 w-16 h-16 rounded-lg mb-2"></div>
|
271 |
+
<span class="text-sm">Pixel Art</span>
|
272 |
+
</div>
|
273 |
+
<div class="bg-gray-800 border border-gray-700 rounded-xl py-2 px-3 cursor-pointer hover:border-purple-500">
|
274 |
+
<div class="bg-gray-700 w-16 h-16 rounded-lg mb-2"></div>
|
275 |
+
<span class="text-sm">Watercolor</span>
|
276 |
+
</div>
|
277 |
+
</div>
|
278 |
+
</div>
|
279 |
+
</div>
|
280 |
+
</div>
|
281 |
+
|
282 |
+
<!-- Output Preview Panel -->
|
283 |
+
<div class="lg:col-span-1">
|
284 |
+
<div class="bg-gray-900 rounded-2xl p-6 shadow-creative sticky top-8">
|
285 |
+
<h2 class="text-2xl font-semibold mb-6 text-purple-300">Preview</h2>
|
286 |
+
|
287 |
+
<div class="content-warning mb-6 rounded-lg overflow-hidden">
|
288 |
+
<div class="bg-gradient-to-br from-gray-900 to-gray-800 p-5">
|
289 |
+
<div class="flex items-center mb-4">
|
290 |
+
<div class="bg-gradient-to-r from-yellow-500 to-red-500 text-white w-10 h-10 rounded-lg flex items-center justify-center mr-3">
|
291 |
+
<i class="fas fa-exclamation-triangle"></i>
|
292 |
+
</div>
|
293 |
+
<div>
|
294 |
+
<h3 class="font-medium text-lg">Content Advisory</h3>
|
295 |
+
<p class="text-sm text-gray-400">Generated concepts may contain artistic depictions for mature audiences</p>
|
296 |
+
</div>
|
297 |
+
</div>
|
298 |
+
<button class="bg-gradient-to-r from-purple-600 to-indigo-700 text-white w-full py-3 rounded-lg hover:shadow-glow">
|
299 |
+
Confirm Age Verification
|
300 |
+
</button>
|
301 |
+
</div>
|
302 |
+
</div>
|
303 |
+
|
304 |
+
<div id="image-container" class="image-placeholder mb-4 rounded-xl overflow-hidden" style="aspect-ratio: 1/1;">
|
305 |
+
<div class="absolute inset-0 flex items-center justify-center pointer-events-none">
|
306 |
+
<div class="text-center p-4 md:p-8">
|
307 |
+
<div class="bg-gray-800 text-purple-300 w-16 h-16 rounded-full mb-4 flex items-center justify-center mx-auto">
|
308 |
+
<i class="fas fa-camera-retro text-2xl"></i>
|
309 |
+
</div>
|
310 |
+
<p class="text-gray-400 max-w-xs mx-auto">Your creative concept will appear here</p>
|
311 |
+
</div>
|
312 |
+
</div>
|
313 |
+
</div>
|
314 |
+
|
315 |
+
<div id="generation-info" class="hidden">
|
316 |
+
<div class="mb-4">
|
317 |
+
<div class="flex justify-between mb-1">
|
318 |
+
<span class="text-gray-400">Generation Progress</span>
|
319 |
+
<span class="text-purple-300" id="progress-text">76%</span>
|
320 |
+
</div>
|
321 |
+
<div class="w-full bg-gray-800 h-2 rounded-full overflow-hidden">
|
322 |
+
<div id="progress-bar" class="bg-gradient-to-r from-indigo-500 to-purple-600 h-full rounded-full" style="width: 76%"></div>
|
323 |
+
</div>
|
324 |
+
</div>
|
325 |
+
|
326 |
+
<div class="grid grid-cols-2 gap-4 mb-4">
|
327 |
+
<div class="bg-gray-800 rounded-lg p-3">
|
328 |
+
<div class="text-gray-400 text-sm mb-1">Time Remaining</div>
|
329 |
+
<div class="font-medium text-purple-300" id="time-remaining">3.2s</div>
|
330 |
+
</div>
|
331 |
+
<div class="bg-gray-800 rounded-lg p-3">
|
332 |
+
<div class="text-gray-400 text-sm mb-1">Variant Accuracy</div>
|
333 |
+
<div class="font-medium text-purple-300" id="accuracy">89%</div>
|
334 |
+
</div>
|
335 |
+
</div>
|
336 |
+
</div>
|
337 |
+
|
338 |
+
<div id="output-controls" class="hidden">
|
339 |
+
<div class="mb-4">
|
340 |
+
<h3 class="font-medium mb-2">Adjustments</h3>
|
341 |
+
<div class="flex flex-wrap gap-2">
|
342 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg flex items-center">
|
343 |
+
<i class="fas fa-magic mr-1"></i>
|
344 |
+
Enhance
|
345 |
+
</button>
|
346 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg flex items-center">
|
347 |
+
<i class="fas fa-eraser mr-1"></i>
|
348 |
+
Refine
|
349 |
+
</button>
|
350 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg flex items-center">
|
351 |
+
<i class="fas fa-palette mr-1"></i>
|
352 |
+
Colorize
|
353 |
+
</button>
|
354 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg flex items-center">
|
355 |
+
<i class="fas fa-expand mr-1"></i>
|
356 |
+
Upscale
|
357 |
+
</button>
|
358 |
+
<button class="bg-gray-800 hover:bg-gray-700 px-3 py-2 rounded-lg flex items-center">
|
359 |
+
<i class="fas fa-plus-circle mr-1"></i>
|
360 |
+
Variations
|
361 |
+
</button>
|
362 |
+
</div>
|
363 |
+
</div>
|
364 |
+
|
365 |
+
<div class="bg-gradient-to-r from-purple-700 to-indigo-800 rounded-lg overflow-hidden">
|
366 |
+
<div class="p-3 flex justify-between items-center">
|
367 |
+
<div>
|
368 |
+
<div class="font-medium">Download Options</div>
|
369 |
+
<div class="text-sm text-purple-200">PNG | JPG | WebP</div>
|
370 |
+
</div>
|
371 |
+
<button class="flex items-center bg-black/30 hover:bg-black/40 px-4 py-2 rounded-lg transition">
|
372 |
+
<i class="fas fa-download mr-2"></i> Download
|
373 |
+
</button>
|
374 |
+
</div>
|
375 |
+
</div>
|
376 |
+
</div>
|
377 |
+
|
378 |
+
<div id="generation-stats" class="mt-6 border-t border-gray-800 pt-6 text-sm">
|
379 |
+
<div class="grid grid-cols-2 gap-4">
|
380 |
+
<div class="bg-gray-800/50 rounded-lg p-3">
|
381 |
+
<div class="text-gray-400">Generations Today</div>
|
382 |
+
<div class="text-xl text-purple-300">8/20</div>
|
383 |
+
</div>
|
384 |
+
<div class="bg-gray-800/50 rounded-lg p-3">
|
385 |
+
<div class="text-gray-400">Remaining Resolution</div>
|
386 |
+
<div class="text-xl text-purple-300">1440px</div>
|
387 |
+
</div>
|
388 |
+
</div>
|
389 |
+
<div class="mt-4">
|
390 |
+
<div class="flex justify-between mb-1">
|
391 |
+
<span class="text-gray-400">Daily Credit Allocation</span>
|
392 |
+
<span class="text-purple-300">258kB</span>
|
393 |
+
</div>
|
394 |
+
<div class="w-full bg-gray-800 h-2 rounded-full overflow-hidden">
|
395 |
+
<div class="bg-gradient-to-r from-indigo-500 to-purple-600 h-full rounded-full" style="width: 30%"></div>
|
396 |
+
</div>
|
397 |
+
</div>
|
398 |
+
</div>
|
399 |
+
</div>
|
400 |
+
</div>
|
401 |
+
</div>
|
402 |
+
|
403 |
+
<!-- Community Gallery -->
|
404 |
+
<div class="mt-12">
|
405 |
+
<div class="flex justify-between items-center mb-6">
|
406 |
+
<h2 class="text-3xl font-bold">Community Creations</h2>
|
407 |
+
<button class="flex items-center text-purple-300 hover:text-purple-400">
|
408 |
+
Explore Gallery <i class="fas fa-arrow-right ml-2"></i>
|
409 |
+
</button>
|
410 |
+
</div>
|
411 |
+
|
412 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
|
413 |
+
<div class="card-hover bg-gray-900 rounded-2xl overflow-hidden shadow-creative">
|
414 |
+
<div class="image-placeholder aspect-square"></div>
|
415 |
+
<div class="p-4">
|
416 |
+
<h3 class="font-medium">Dreaming in Neon</h3>
|
417 |
+
<div class="flex items-center mt-2 text-xs text-gray-500">
|
418 |
+
<div class="bg-gray-700 rounded-full w-5 h-5 mr-1"></div>
|
419 |
+
@creative_soul • Fantasy
|
420 |
+
</div>
|
421 |
+
</div>
|
422 |
+
</div>
|
423 |
+
<div class="card-hover bg-gray-900 rounded-2xl overflow-hidden shadow-creative">
|
424 |
+
<div class="image-placeholder aspect-square"></div>
|
425 |
+
<div class="p-4">
|
426 |
+
<h3 class="font-medium">Oceanic Reverie</h3>
|
427 |
+
<div class="flex items-center mt-2 text-xs text-gray-500">
|
428 |
+
<div class="bg-gray-700 rounded-full w-5 h-5 mr-1"></div>
|
429 |
+
@digital_da_vinci • Abstract
|
430 |
+
</div>
|
431 |
+
</div>
|
432 |
+
</div>
|
433 |
+
<div class="card-hover bg-gray-900 rounded-2xl overflow-hidden shadow-creative">
|
434 |
+
<div class="image-placeholder aspect-square"></div>
|
435 |
+
<div class="p-4">
|
436 |
+
<h3 class="font-medium">Lost Cosmonaut</h3>
|
437 |
+
<div class="flex items-center mt-2 text-xs text-gray-500">
|
438 |
+
<div class="bg-gray-700 rounded-full w-5 h-5 mr-1"></div>
|
439 |
+
@space_artist • Sci-Fi
|
440 |
+
</div>
|
441 |
+
</div>
|
442 |
+
</div>
|
443 |
+
<div class="card-hover bg-gray-900 rounded-2xl overflow-hidden shadow-creative">
|
444 |
+
<div class="image-placeholder aspect-square"></div>
|
445 |
+
<div class="p-4">
|
446 |
+
<h3 class="font-medium">Midnight Obsession</h3>
|
447 |
+
<div class="flex items-center mt-2 text-xs text-gray-500">
|
448 |
+
<div class="bg-gray-700 rounded-full w-5 h-5 mr-1"></div>
|
449 |
+
@dark_creator • Gothic
|
450 |
+
</div>
|
451 |
+
</div>
|
452 |
+
</div>
|
453 |
+
</div>
|
454 |
+
</div>
|
455 |
+
</main>
|
456 |
+
|
457 |
+
<!-- Footer -->
|
458 |
+
<footer class="mt-20 py-10 px-6 bg-gray-900/70 border-t border-gray-800">
|
459 |
+
<div class="max-w-7xl mx-auto">
|
460 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
461 |
+
<div class="mb-6 md:mb-0">
|
462 |
+
<div class="text-xl font-bold flex items-center">
|
463 |
+
<i class="fas fa-paint-brush text-purple-500 mr-2"></i>
|
464 |
+
ArtStudio Pro
|
465 |
+
</div>
|
466 |
+
<div class="mt-2 text-gray-500 max-w-md">
|
467 |
+
Advanced creative technology for artistic expression. This simulation supports fictional artistic generation.
|
468 |
+
</div>
|
469 |
+
</div>
|
470 |
+
|
471 |
+
<div class="flex space-x-4">
|
472 |
+
<button class="bg-gray-800 hover:bg-gray-700 w-10 h-10 rounded-lg flex items-center justify-center">
|
473 |
+
<i class="fab fa-twitter"></i>
|
474 |
+
</button>
|
475 |
+
<button class="bg-gray-800 hover:bg-gray-700 w-10 h-10 rounded-lg flex items-center justify-center">
|
476 |
+
<i class="fab fa-discord"></i>
|
477 |
+
</button>
|
478 |
+
<button class="bg-gray-800 hover:bg-gray-700 w-10 h-10 rounded-lg flex items-center justify-center">
|
479 |
+
<i class="fab fa-github"></i>
|
480 |
+
</button>
|
481 |
+
<button class="bg-gray-800 hover:bg-gray-700 w-10 h-10 rounded-lg flex items-center justify-center">
|
482 |
+
<i class="fab fa-patreon"></i>
|
483 |
+
</button>
|
484 |
+
</div>
|
485 |
+
</div>
|
486 |
+
|
487 |
+
<div class="mt-10 pt-8 border-t border-gray-800 flex flex-col md:flex-row justify-between">
|
488 |
+
<div class="text-gray-500 text-sm">
|
489 |
+
Copyright © 2023 ArtStudio Pro. All artwork simulations displayed are fictional representations.
|
490 |
+
</div>
|
491 |
+
|
492 |
+
<div class="mt-4 md:mt-0">
|
493 |
+
<div class="flex flex-wrap gap-4 text-sm text-gray-500">
|
494 |
+
<a href="#" class="hover:text-gray-300">Privacy Policy</a>
|
495 |
+
<a href="#" class="hover:text-gray-300">Terms of Service</a>
|
496 |
+
<a href="#" class="hover:text-gray-300">Content Policy</a>
|
497 |
+
<a href="#" class="hover:text-gray-300">Support</a>
|
498 |
+
<a href="#" class="hover:text-gray-300">FAQ</a>
|
499 |
+
</div>
|
500 |
+
</div>
|
501 |
+
</div>
|
502 |
+
</div>
|
503 |
+
</footer>
|
504 |
+
|
505 |
+
<script>
|
506 |
+
// Simulate generation process
|
507 |
+
document.getElementById('generate-btn').addEventListener('click', function() {
|
508 |
+
const btn = this;
|
509 |
+
const prompt = document.getElementById('prompt-input').value;
|
510 |
+
const imageContainer = document.getElementById('image-container');
|
511 |
+
const generationInfo = document.getElementById('generation-info');
|
512 |
+
const generationStats = document.getElementById('generation-stats');
|
513 |
+
const outputControls = document.getElementById('output-controls');
|
514 |
+
|
515 |
+
// Reset states
|
516 |
+
generationStats.classList.add('hidden');
|
517 |
+
outputControls.classList.add('hidden');
|
518 |
+
|
519 |
+
// Update button state
|
520 |
+
btn.innerHTML = '<div class="loading-spinner mr-2"><i class="fas fa-spinner"></i></div> Generating...';
|
521 |
+
btn.disabled = true;
|
522 |
+
|
523 |
+
// Show generation progress
|
524 |
+
generationInfo.classList.remove('hidden');
|
525 |
+
|
526 |
+
// Animation variables
|
527 |
+
let progress = 0;
|
528 |
+
let interval;
|
529 |
+
|
530 |
+
if (prompt.trim() === '') {
|
531 |
+
alert('Please enter a creative prompt first!');
|
532 |
+
return;
|
533 |
+
}
|
534 |
+
|
535 |
+
// Simulate API call with loading animation
|
536 |
+
interval = setInterval(() => {
|
537 |
+
progress += Math.random() * 15;
|
538 |
+
if (progress > 100) progress = 100;
|
539 |
+
|
540 |
+
document.getElementById('progress-bar').style.width = `${progress}%`;
|
541 |
+
document.getElementById('progress-text').innerText = `${Math.floor(progress)}%`;
|
542 |
+
document.getElementById('time-remaining').innerText = `${(5 - progress/20).toFixed(1)}s`;
|
543 |
+
document.getElementById('accuracy').innerText = `${Math.min(40 + Math.floor(progress/1.66), 98)}%`;
|
544 |
+
|
545 |
+
// When generation completes
|
546 |
+
if (progress >= 100) {
|
547 |
+
clearInterval(interval);
|
548 |
+
|
549 |
+
setTimeout(() => {
|
550 |
+
// Reset button
|
551 |
+
btn.innerHTML = '<i class="fas fa-wand-magic-sparkles mr-3"></i> Generate Concept';
|
552 |
+
btn.disabled = false;
|
553 |
+
|
554 |
+
// Hide progress, show result
|
555 |
+
generationInfo.classList.add('hidden');
|
556 |
+
|
557 |
+
// Animate result appearance
|
558 |
+
imageContainer.innerHTML = `
|
559 |
+
<div class="relative w-full h-full">
|
560 |
+
<div class="image-placeholder w-full h-full rounded-lg"></div>
|
561 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent flex items-end p-4">
|
562 |
+
<div class="bg-black/60 backdrop-blur-sm rounded-lg p-3">
|
563 |
+
<div class="font-medium">Generated Concept Preview</div>
|
564 |
+
<div class="text-sm text-gray-300 mt-1">${truncatePrompt(prompt)}</div>
|
565 |
+
</div>
|
566 |
+
</div>
|
567 |
+
</div>
|
568 |
+
`;
|
569 |
+
|
570 |
+
// Show controls
|
571 |
+
setTimeout(() => {
|
572 |
+
outputControls.classList.remove('hidden');
|
573 |
+
generationStats.classList.remove('hidden');
|
574 |
+
}, 300);
|
575 |
+
|
576 |
+
// Play sound effect
|
577 |
+
const audio = new Audio('https://assets.mixkit.co/active_storage/sfx/311/311-preview.mp3');
|
578 |
+
audio.play();
|
579 |
+
}, 500);
|
580 |
+
}
|
581 |
+
}, 200);
|
582 |
+
});
|
583 |
+
|
584 |
+
function truncatePrompt(text, maxLength = 50) {
|
585 |
+
return text.length > maxLength ? text.substring(0, maxLength) + '...' : text;
|
586 |
+
}
|
587 |
+
|
588 |
+
// Add interactive animations to color panel
|
589 |
+
document.querySelectorAll('.card-hover').forEach(el => {
|
590 |
+
el.addEventListener('mousemove', (e) => {
|
591 |
+
const rect = el.getBoundingClientRect();
|
592 |
+
const x = (e.clientX - rect.left) / rect.width;
|
593 |
+
const y = (e.clientY - rect.top) / rect.height;
|
594 |
+
|
595 |
+
const shadowX = (x - 0.5) * 20;
|
596 |
+
const shadowY = (y - 0.5) * 10;
|
597 |
+
|
598 |
+
el.style.boxShadow = `${-shadowX}px ${-shadowY}px 30px rgba(109,40,217,0.3), 0 10px 25px -5px rgba(109, 40, 217, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.05)`;
|
599 |
+
el.style.transform = `perspective(800px) rotateX(${shadowY * 1.5}deg) rotateY(${shadowX * 1.5}deg) scale(1.02)`;
|
600 |
+
});
|
601 |
+
|
602 |
+
el.addEventListener('mouseleave', () => {
|
603 |
+
el.style.boxShadow = '';
|
604 |
+
el.style.transform = '';
|
605 |
+
});
|
606 |
+
});
|
607 |
+
</script>
|
608 |
+
<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=ezelhan959/n5fw" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
609 |
+
</html>
|