Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- index.html +891 -547
index.html
CHANGED
|
@@ -1,614 +1,958 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html lang="
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
<style>
|
| 8 |
* {
|
| 9 |
margin: 0;
|
| 10 |
padding: 0;
|
| 11 |
box-sizing: border-box;
|
| 12 |
}
|
| 13 |
-
|
| 14 |
body {
|
| 15 |
-
font-family: '
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
min-height: 100vh;
|
| 17 |
-
display: flex;
|
| 18 |
-
justify-content: center;
|
| 19 |
-
align-items: center;
|
| 20 |
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 21 |
-
overflow: hidden;
|
| 22 |
-
position: relative;
|
| 23 |
-
}
|
| 24 |
-
|
| 25 |
-
/* Animated Background */
|
| 26 |
-
.bg-animation {
|
| 27 |
-
position: fixed;
|
| 28 |
-
width: 100%;
|
| 29 |
-
height: 100%;
|
| 30 |
-
top: 0;
|
| 31 |
-
left: 0;
|
| 32 |
-
z-index: -1;
|
| 33 |
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
|
| 34 |
-
background-size: 400% 400%;
|
| 35 |
-
animation: gradientShift 15s ease infinite;
|
| 36 |
-
}
|
| 37 |
-
|
| 38 |
-
@keyframes gradientShift {
|
| 39 |
-
0% { background-position: 0% 50%; }
|
| 40 |
-
50% { background-position: 100% 50%; }
|
| 41 |
-
100% { background-position: 0% 50%; }
|
| 42 |
-
}
|
| 43 |
-
|
| 44 |
-
/* Water Drops */
|
| 45 |
-
.water-drop {
|
| 46 |
-
position: fixed;
|
| 47 |
-
width: 4px;
|
| 48 |
-
height: 4px;
|
| 49 |
-
background: rgba(255, 255, 255, 0.8);
|
| 50 |
-
border-radius: 50%;
|
| 51 |
-
animation: fall linear infinite;
|
| 52 |
-
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
|
| 53 |
-
}
|
| 54 |
-
|
| 55 |
-
@keyframes fall {
|
| 56 |
-
to {
|
| 57 |
-
transform: translateY(100vh);
|
| 58 |
-
}
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
-
/* Mouse Trail */
|
| 62 |
-
.cursor-trail {
|
| 63 |
-
position: fixed;
|
| 64 |
-
width: 20px;
|
| 65 |
-
height: 20px;
|
| 66 |
-
border-radius: 50%;
|
| 67 |
-
background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
|
| 68 |
-
pointer-events: none;
|
| 69 |
-
z-index: 9999;
|
| 70 |
-
transition: transform 0.1s ease-out;
|
| 71 |
-
}
|
| 72 |
-
|
| 73 |
-
/* Floating Particles */
|
| 74 |
-
.particle {
|
| 75 |
-
position: fixed;
|
| 76 |
-
pointer-events: none;
|
| 77 |
-
opacity: 0.5;
|
| 78 |
-
animation: float 6s infinite ease-in-out;
|
| 79 |
}
|
| 80 |
-
|
| 81 |
-
@keyframes float {
|
| 82 |
-
0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
|
| 83 |
-
33% { transform: translateY(-30px) translateX(30px) rotate(120deg); }
|
| 84 |
-
66% { transform: translateY(30px) translateX(-30px) rotate(240deg); }
|
| 85 |
-
}
|
| 86 |
-
|
| 87 |
-
/* Main Container */
|
| 88 |
.container {
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
border-radius: 20px;
|
| 92 |
-
padding: 40px;
|
| 93 |
-
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
| 94 |
-
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 95 |
-
width: 90%;
|
| 96 |
-
max-width: 420px;
|
| 97 |
-
position: relative;
|
| 98 |
-
overflow: hidden;
|
| 99 |
-
}
|
| 100 |
-
|
| 101 |
-
.container::before {
|
| 102 |
-
content: '';
|
| 103 |
-
position: absolute;
|
| 104 |
-
top: 0;
|
| 105 |
-
left: 0;
|
| 106 |
-
right: 0;
|
| 107 |
-
height: 2px;
|
| 108 |
-
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
|
| 109 |
-
animation: shimmer 2s infinite;
|
| 110 |
-
}
|
| 111 |
-
|
| 112 |
-
@keyframes shimmer {
|
| 113 |
-
0% { transform: translateX(-100%); }
|
| 114 |
-
100% { transform: translateX(100%); }
|
| 115 |
}
|
| 116 |
-
|
| 117 |
-
/* Header */
|
| 118 |
.header {
|
| 119 |
text-align: center;
|
| 120 |
-
margin-bottom:
|
| 121 |
-
|
| 122 |
}
|
| 123 |
-
|
| 124 |
-
.magic-icon {
|
| 125 |
font-size: 48px;
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
-
|
| 130 |
-
-webkit-text-fill-color: transparent;
|
| 131 |
-
background-clip: text;
|
| 132 |
-
}
|
| 133 |
-
|
| 134 |
-
@keyframes pulse {
|
| 135 |
-
0%, 100% { transform: scale(1); }
|
| 136 |
-
50% { transform: scale(1.1); }
|
| 137 |
-
}
|
| 138 |
-
|
| 139 |
-
h1 {
|
| 140 |
-
color: white;
|
| 141 |
-
font-size: 28px;
|
| 142 |
-
margin-bottom: 10px;
|
| 143 |
-
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
| 144 |
-
}
|
| 145 |
-
|
| 146 |
-
.subtitle {
|
| 147 |
-
color: rgba(255, 255, 255, 0.8);
|
| 148 |
-
font-size: 14px;
|
| 149 |
-
}
|
| 150 |
-
|
| 151 |
-
/* Form Container */
|
| 152 |
-
.form-container {
|
| 153 |
-
position: relative;
|
| 154 |
-
min-height: 320px;
|
| 155 |
-
}
|
| 156 |
-
|
| 157 |
-
.form {
|
| 158 |
-
position: absolute;
|
| 159 |
-
width: 100%;
|
| 160 |
-
opacity: 0;
|
| 161 |
-
transform: translateX(30px);
|
| 162 |
-
transition: all 0.5s ease;
|
| 163 |
-
}
|
| 164 |
-
|
| 165 |
-
.form.active {
|
| 166 |
-
opacity: 1;
|
| 167 |
-
transform: translateX(0);
|
| 168 |
-
}
|
| 169 |
-
|
| 170 |
-
/* Input Groups */
|
| 171 |
-
.input-group {
|
| 172 |
-
margin-bottom: 20px;
|
| 173 |
-
position: relative;
|
| 174 |
-
}
|
| 175 |
-
|
| 176 |
-
.input-group input {
|
| 177 |
-
width: 100%;
|
| 178 |
-
padding: 15px 45px 15px 15px;
|
| 179 |
-
border: 2px solid rgba(255, 255, 255, 0.2);
|
| 180 |
-
border-radius: 10px;
|
| 181 |
-
background: rgba(255, 255, 255, 0.1);
|
| 182 |
-
color: white;
|
| 183 |
-
font-size: 16px;
|
| 184 |
-
transition: all 0.3s ease;
|
| 185 |
-
outline: none;
|
| 186 |
-
}
|
| 187 |
-
|
| 188 |
-
.input-group input::placeholder {
|
| 189 |
-
color: rgba(255, 255, 255, 0.6);
|
| 190 |
}
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
transform: translateY(-2px);
|
| 196 |
-
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
| 197 |
}
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
transform: translateY(-50%);
|
| 204 |
-
color: rgba(255, 255, 255, 0.6);
|
| 205 |
-
font-size: 20px;
|
| 206 |
}
|
| 207 |
-
|
| 208 |
-
/* Buttons */
|
| 209 |
.btn {
|
| 210 |
-
|
| 211 |
-
padding: 15px;
|
| 212 |
border: none;
|
| 213 |
-
border-radius:
|
| 214 |
-
font-size:
|
| 215 |
-
font-weight:
|
| 216 |
cursor: pointer;
|
| 217 |
-
transition: all 0.
|
| 218 |
-
|
| 219 |
-
overflow: hidden;
|
| 220 |
-
margin-bottom: 15px;
|
| 221 |
}
|
| 222 |
-
|
| 223 |
.btn-primary {
|
| 224 |
-
background:
|
| 225 |
-
color:
|
| 226 |
-
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
|
| 227 |
}
|
| 228 |
-
|
| 229 |
.btn-primary:hover {
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
}
|
| 233 |
-
|
| 234 |
-
.btn-primary::before {
|
| 235 |
-
content: '';
|
| 236 |
-
position: absolute;
|
| 237 |
-
top: 50%;
|
| 238 |
-
left: 50%;
|
| 239 |
-
width: 0;
|
| 240 |
-
height: 0;
|
| 241 |
-
border-radius: 50%;
|
| 242 |
-
background: rgba(255, 255, 255, 0.3);
|
| 243 |
-
transform: translate(-50%, -50%);
|
| 244 |
-
transition: width 0.6s, height 0.6s;
|
| 245 |
-
}
|
| 246 |
-
|
| 247 |
-
.btn-primary:active::before {
|
| 248 |
-
width: 300px;
|
| 249 |
-
height: 300px;
|
| 250 |
}
|
| 251 |
-
|
| 252 |
.btn-secondary {
|
| 253 |
-
background:
|
| 254 |
-
color:
|
| 255 |
-
border:
|
| 256 |
}
|
| 257 |
-
|
| 258 |
.btn-secondary:hover {
|
| 259 |
-
background:
|
| 260 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 261 |
}
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
.form-links {
|
| 265 |
-
text-align: center;
|
| 266 |
-
margin-top: 20px;
|
| 267 |
}
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
color: rgba(255, 255, 255, 0.9);
|
| 271 |
-
text-decoration: none;
|
| 272 |
-
font-size: 14px;
|
| 273 |
-
transition: all 0.3s ease;
|
| 274 |
-
display: inline-block;
|
| 275 |
-
margin: 5px;
|
| 276 |
-
padding: 5px 10px;
|
| 277 |
-
border-radius: 5px;
|
| 278 |
}
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
background: rgba(255, 255, 255, 0.1);
|
| 282 |
-
transform: translateY(-2px);
|
| 283 |
-
}
|
| 284 |
-
|
| 285 |
-
/* Success Message */
|
| 286 |
-
.success-message {
|
| 287 |
-
position: fixed;
|
| 288 |
-
top: 20px;
|
| 289 |
-
right: 20px;
|
| 290 |
-
background: linear-gradient(45deg, #00d2ff, #3a7bd5);
|
| 291 |
-
color: white;
|
| 292 |
-
padding: 15px 25px;
|
| 293 |
-
border-radius: 10px;
|
| 294 |
-
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
| 295 |
-
transform: translateX(400px);
|
| 296 |
-
transition: transform 0.5s ease;
|
| 297 |
-
z-index: 1000;
|
| 298 |
}
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
transform: translateX(0);
|
| 302 |
}
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
.header-link {
|
| 306 |
-
position: fixed;
|
| 307 |
-
top: 20px;
|
| 308 |
-
right: 20px;
|
| 309 |
-
color: white;
|
| 310 |
-
text-decoration: none;
|
| 311 |
-
font-size: 14px;
|
| 312 |
-
padding: 8px 15px;
|
| 313 |
-
background: rgba(255, 255, 255, 0.1);
|
| 314 |
-
border-radius: 20px;
|
| 315 |
-
backdrop-filter: blur(10px);
|
| 316 |
-
transition: all 0.3s ease;
|
| 317 |
-
z-index: 1000;
|
| 318 |
}
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
background: rgba(255, 255, 255, 0.2);
|
| 322 |
-
transform: translateY(-2px);
|
| 323 |
}
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
.container {
|
| 328 |
-
padding: 30px 20px;
|
| 329 |
}
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
font-size: 24px;
|
| 333 |
}
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
font-size: 40px;
|
| 337 |
}
|
| 338 |
}
|
| 339 |
-
|
| 340 |
-
/* Loading Spinner */
|
| 341 |
-
.spinner {
|
| 342 |
-
display: none;
|
| 343 |
-
width: 20px;
|
| 344 |
-
height: 20px;
|
| 345 |
-
border: 3px solid rgba(255, 255, 255, 0.3);
|
| 346 |
-
border-top-color: white;
|
| 347 |
-
border-radius: 50%;
|
| 348 |
-
animation: spin 1s linear infinite;
|
| 349 |
-
margin: 0 auto;
|
| 350 |
-
}
|
| 351 |
-
|
| 352 |
-
@keyframes spin {
|
| 353 |
-
to { transform: rotate(360deg); }
|
| 354 |
-
}
|
| 355 |
-
|
| 356 |
-
.btn.loading .btn-text {
|
| 357 |
-
display: none;
|
| 358 |
-
}
|
| 359 |
-
|
| 360 |
-
.btn.loading .spinner {
|
| 361 |
-
display: block;
|
| 362 |
-
}
|
| 363 |
</style>
|
| 364 |
</head>
|
| 365 |
<body>
|
| 366 |
-
<!-- Header Link -->
|
| 367 |
-
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="header-link">
|
| 368 |
-
Built with anycoder
|
| 369 |
-
</a>
|
| 370 |
-
|
| 371 |
-
<!-- Animated Background -->
|
| 372 |
-
<div class="bg-animation"></div>
|
| 373 |
-
|
| 374 |
-
<!-- Mouse Trail -->
|
| 375 |
-
<div class="cursor-trail"></div>
|
| 376 |
-
|
| 377 |
-
<!-- Water Drops Container -->
|
| 378 |
-
<div id="waterDrops"></div>
|
| 379 |
-
|
| 380 |
-
<!-- Floating Particles Container -->
|
| 381 |
-
<div id="particles"></div>
|
| 382 |
-
|
| 383 |
-
<!-- Success Message -->
|
| 384 |
-
<div class="success-message" id="successMessage">
|
| 385 |
-
<span id="messageText">عملیات با موفقیت انجام شد!</span>
|
| 386 |
-
</div>
|
| 387 |
-
|
| 388 |
-
<!-- Main Container -->
|
| 389 |
<div class="container">
|
| 390 |
<div class="header">
|
| 391 |
-
<
|
| 392 |
-
<
|
| 393 |
-
<p class="subtitle">به دنیای جادویی ما خوش آمدید</p>
|
| 394 |
</div>
|
| 395 |
-
|
| 396 |
-
<div class="
|
| 397 |
-
<
|
| 398 |
-
<
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
-
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
|
| 437 |
-
|
| 438 |
-
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
|
| 442 |
-
|
| 443 |
-
|
| 444 |
-
|
| 445 |
-
|
| 446 |
-
|
| 447 |
-
|
| 448 |
-
|
| 449 |
-
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 459 |
</div>
|
| 460 |
</div>
|
| 461 |
|
| 462 |
<script>
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
|
| 466 |
-
|
| 467 |
-
|
| 468 |
-
|
| 469 |
-
|
| 470 |
-
|
| 471 |
-
|
| 472 |
-
|
| 473 |
-
|
| 474 |
-
|
| 475 |
-
|
| 476 |
-
|
| 477 |
-
cursorTrail.style.left = trailX - 10 + 'px';
|
| 478 |
-
cursorTrail.style.top = trailY - 10 + 'px';
|
| 479 |
-
|
| 480 |
-
requestAnimationFrame(animateTrail);
|
| 481 |
-
}
|
| 482 |
-
animateTrail();
|
| 483 |
-
|
| 484 |
-
// Create Water Drops
|
| 485 |
-
function createWaterDrop() {
|
| 486 |
-
const drop = document.createElement('div');
|
| 487 |
-
drop.className = 'water-drop';
|
| 488 |
-
drop.style.left = Math.random() * window.innerWidth + 'px';
|
| 489 |
-
drop.style.animationDuration = Math.random() * 2 + 3 + 's';
|
| 490 |
-
drop.style.animationDelay = Math.random() * 2 + 's';
|
| 491 |
-
|
| 492 |
-
document.getElementById('waterDrops').appendChild(drop);
|
| 493 |
-
|
| 494 |
-
setTimeout(() => {
|
| 495 |
-
drop.remove();
|
| 496 |
-
}, 5000);
|
| 497 |
}
|
| 498 |
|
| 499 |
-
|
| 500 |
-
|
| 501 |
-
|
| 502 |
-
|
| 503 |
-
|
| 504 |
-
|
| 505 |
-
|
| 506 |
-
|
| 507 |
-
|
| 508 |
-
|
| 509 |
-
|
| 510 |
-
particle.style.animationDelay = Math.random() * 6 + 's';
|
| 511 |
-
|
| 512 |
-
document.getElementById('particles').appendChild(particle);
|
| 513 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 514 |
setTimeout(() => {
|
| 515 |
-
|
| 516 |
-
|
| 517 |
-
|
| 518 |
-
|
| 519 |
-
// Create particles periodically
|
| 520 |
-
for (let i = 0; i < 10; i++) {
|
| 521 |
-
setTimeout(createParticle, i * 500);
|
| 522 |
}
|
| 523 |
-
setInterval(createParticle, 2000);
|
| 524 |
|
| 525 |
-
//
|
| 526 |
-
function
|
| 527 |
-
|
|
|
|
| 528 |
|
| 529 |
-
|
| 530 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 531 |
|
| 532 |
-
|
| 533 |
-
document.getElementById('loginForm').classList.add('active');
|
| 534 |
-
} else if (formType === 'register') {
|
| 535 |
-
document.getElementById('registerForm').classList.add('active');
|
| 536 |
-
} else if (formType === 'forgot') {
|
| 537 |
-
document.getElementById('forgotForm').classList.add('active');
|
| 538 |
-
}
|
| 539 |
}
|
| 540 |
|
| 541 |
-
//
|
| 542 |
-
|
| 543 |
-
const messageEl = document.getElementById('successMessage');
|
| 544 |
-
const messageText = document.getElementById('messageText');
|
| 545 |
-
messageText.textContent = message;
|
| 546 |
-
messageEl.classList.add('show');
|
| 547 |
-
|
| 548 |
-
setTimeout(() => {
|
| 549 |
-
messageEl.classList.remove('show');
|
| 550 |
-
}, 3000);
|
| 551 |
-
}
|
| 552 |
-
|
| 553 |
-
// Form Submissions
|
| 554 |
-
document.querySelectorAll('form').forEach(form => {
|
| 555 |
-
form.addEventListener('submit', (e) => {
|
| 556 |
-
e.preventDefault();
|
| 557 |
-
|
| 558 |
-
const button = form.querySelector('.btn');
|
| 559 |
-
button.classList.add('loading');
|
| 560 |
-
|
| 561 |
-
// Simulate API call
|
| 562 |
-
setTimeout(() => {
|
| 563 |
-
button.classList.remove('loading');
|
| 564 |
-
|
| 565 |
-
if (form.id === 'loginForm') {
|
| 566 |
-
showMessage('خوش آمدید! با موفقیت وارد شدید.');
|
| 567 |
-
} else if (form.id === 'registerForm') {
|
| 568 |
-
showMessage('ثبت نام با موفقیت انجام شد!');
|
| 569 |
-
setTimeout(() => switchForm('login'), 2000);
|
| 570 |
-
} else if (form.id === 'forgotForm') {
|
| 571 |
-
showMessage('لینک بازنشانی به ایمیل شما ارسال شد.');
|
| 572 |
-
setTimeout(() => switchForm('login'), 2000);
|
| 573 |
-
}
|
| 574 |
-
|
| 575 |
-
form.reset();
|
| 576 |
-
}, 1500);
|
| 577 |
-
});
|
| 578 |
-
});
|
| 579 |
-
|
| 580 |
-
// Add input focus effects
|
| 581 |
-
document.querySelectorAll('input').forEach(input => {
|
| 582 |
-
input.addEventListener('focus', function() {
|
| 583 |
-
this.parentElement.querySelector('.input-icon').style.color = 'white';
|
| 584 |
-
this.parentElement.querySelector('.input-icon').style.transform = 'translateY(-50%) scale(1.2)';
|
| 585 |
-
});
|
| 586 |
-
|
| 587 |
-
input.addEventListener('blur', function() {
|
| 588 |
-
this.parentElement.querySelector('.input-icon').style.color = 'rgba(255, 255, 255, 0.6)';
|
| 589 |
-
this.parentElement.querySelector('.input-icon').style.transform = 'translateY(-50%) scale(1)';
|
| 590 |
-
});
|
| 591 |
-
});
|
| 592 |
-
|
| 593 |
-
// Add hover effect to container
|
| 594 |
-
const container = document.querySelector('.container');
|
| 595 |
-
container.addEventListener('mousemove', (e) => {
|
| 596 |
-
const rect = container.getBoundingClientRect();
|
| 597 |
-
const x = e.clientX - rect.left;
|
| 598 |
-
const y = e.clientY - rect.top;
|
| 599 |
-
|
| 600 |
-
const centerX = rect.width / 2;
|
| 601 |
-
const centerY = rect.height / 2;
|
| 602 |
-
|
| 603 |
-
const angleX = (y - centerY) / 30;
|
| 604 |
-
const angleY = (centerX - x) / 30;
|
| 605 |
-
|
| 606 |
-
container.style.transform = `perspective(1000px) rotateX(${angleX}deg) rotateY(${angleY}deg)`;
|
| 607 |
-
});
|
| 608 |
-
|
| 609 |
-
container.addEventListener('mouseleave', () => {
|
| 610 |
-
container.style.transform = 'perspective(1000px) rotateX(0) rotateY(0)';
|
| 611 |
-
});
|
| 612 |
</script>
|
| 613 |
</body>
|
| 614 |
</html>
|
|
|
|
| 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>ComfyUI Workflow</title>
|
| 7 |
<style>
|
| 8 |
* {
|
| 9 |
margin: 0;
|
| 10 |
padding: 0;
|
| 11 |
box-sizing: border-box;
|
| 12 |
}
|
|
|
|
| 13 |
body {
|
| 14 |
+
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
|
| 15 |
+
background-color: #000000;
|
| 16 |
+
color: #f5f5f7;
|
| 17 |
+
line-height: 1.6;
|
| 18 |
+
padding: 20px;
|
| 19 |
min-height: 100vh;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
.container {
|
| 22 |
+
max-width: 1200px;
|
| 23 |
+
margin: 0 auto;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
|
|
|
|
|
|
| 25 |
.header {
|
| 26 |
text-align: center;
|
| 27 |
+
margin-bottom: 40px;
|
| 28 |
+
padding: 40px 20px;
|
| 29 |
}
|
| 30 |
+
.header h1 {
|
|
|
|
| 31 |
font-size: 48px;
|
| 32 |
+
font-weight: 600;
|
| 33 |
+
color: #ffffff;
|
| 34 |
+
margin-bottom: 12px;
|
| 35 |
+
letter-spacing: -0.02em;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
}
|
| 37 |
+
.header p {
|
| 38 |
+
font-size: 18px;
|
| 39 |
+
color: #86868b;
|
| 40 |
+
font-weight: 400;
|
|
|
|
|
|
|
| 41 |
}
|
| 42 |
+
.controls {
|
| 43 |
+
display: flex;
|
| 44 |
+
gap: 12px;
|
| 45 |
+
margin-bottom: 24px;
|
| 46 |
+
justify-content: center;
|
|
|
|
|
|
|
|
|
|
| 47 |
}
|
|
|
|
|
|
|
| 48 |
.btn {
|
| 49 |
+
padding: 12px 24px;
|
|
|
|
| 50 |
border: none;
|
| 51 |
+
border-radius: 24px;
|
| 52 |
+
font-size: 14px;
|
| 53 |
+
font-weight: 500;
|
| 54 |
cursor: pointer;
|
| 55 |
+
transition: all 0.2s;
|
| 56 |
+
font-family: inherit;
|
|
|
|
|
|
|
| 57 |
}
|
|
|
|
| 58 |
.btn-primary {
|
| 59 |
+
background: #ffffff;
|
| 60 |
+
color: #000000;
|
|
|
|
| 61 |
}
|
|
|
|
| 62 |
.btn-primary:hover {
|
| 63 |
+
background: #f5f5f7;
|
| 64 |
+
transform: scale(0.98);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
}
|
|
|
|
| 66 |
.btn-secondary {
|
| 67 |
+
background: #1d1d1f;
|
| 68 |
+
color: #f5f5f7;
|
| 69 |
+
border: 1px solid #424245;
|
| 70 |
}
|
|
|
|
| 71 |
.btn-secondary:hover {
|
| 72 |
+
background: #2d2d2f;
|
| 73 |
+
transform: scale(0.98);
|
| 74 |
+
}
|
| 75 |
+
.json-container {
|
| 76 |
+
background-color: #1d1d1f;
|
| 77 |
+
border-radius: 16px;
|
| 78 |
+
padding: 32px;
|
| 79 |
+
overflow-x: auto;
|
| 80 |
+
border: 1px solid #424245;
|
| 81 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
| 82 |
+
}
|
| 83 |
+
pre {
|
| 84 |
+
margin: 0;
|
| 85 |
+
font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
|
| 86 |
+
font-size: 13px;
|
| 87 |
+
line-height: 1.6;
|
| 88 |
+
white-space: pre-wrap;
|
| 89 |
+
word-wrap: break-word;
|
| 90 |
}
|
| 91 |
+
.json-key {
|
| 92 |
+
color: #9cdcfe;
|
|
|
|
|
|
|
|
|
|
| 93 |
}
|
| 94 |
+
.json-string {
|
| 95 |
+
color: #ce9178;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
}
|
| 97 |
+
.json-number {
|
| 98 |
+
color: #b5cea8;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
}
|
| 100 |
+
.json-boolean {
|
| 101 |
+
color: #569cd6;
|
|
|
|
| 102 |
}
|
| 103 |
+
.json-null {
|
| 104 |
+
color: #569cd6;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
}
|
| 106 |
+
.success {
|
| 107 |
+
color: #30d158;
|
|
|
|
|
|
|
| 108 |
}
|
| 109 |
+
@media (max-width: 768px) {
|
| 110 |
+
.header h1 {
|
| 111 |
+
font-size: 32px;
|
|
|
|
|
|
|
| 112 |
}
|
| 113 |
+
.controls {
|
| 114 |
+
flex-direction: column;
|
|
|
|
| 115 |
}
|
| 116 |
+
.json-container {
|
| 117 |
+
padding: 20px;
|
|
|
|
| 118 |
}
|
| 119 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
</style>
|
| 121 |
</head>
|
| 122 |
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
<div class="container">
|
| 124 |
<div class="header">
|
| 125 |
+
<h1>ComfyUI Workflow</h1>
|
| 126 |
+
<p>View and download your workflow JSON</p>
|
|
|
|
| 127 |
</div>
|
| 128 |
+
|
| 129 |
+
<div class="controls">
|
| 130 |
+
<button class="btn btn-primary" onclick="downloadJSON()">Download JSON</button>
|
| 131 |
+
<button class="btn btn-secondary" onclick="copyToClipboard()">Copy to Clipboard</button>
|
| 132 |
+
</div>
|
| 133 |
+
|
| 134 |
+
<div class="json-container">
|
| 135 |
+
<pre id="json-content">{
|
| 136 |
+
"last_node_id": 15,
|
| 137 |
+
"last_link_id": 14,
|
| 138 |
+
"nodes": [
|
| 139 |
+
{
|
| 140 |
+
"id": 1,
|
| 141 |
+
"type": "CheckpointLoaderSimple",
|
| 142 |
+
"pos": [
|
| 143 |
+
50,
|
| 144 |
+
50
|
| 145 |
+
],
|
| 146 |
+
"size": {
|
| 147 |
+
"0": 350,
|
| 148 |
+
"1": 100
|
| 149 |
+
},
|
| 150 |
+
"flags": {},
|
| 151 |
+
"order": 0,
|
| 152 |
+
"mode": 0,
|
| 153 |
+
"outputs": [
|
| 154 |
+
{
|
| 155 |
+
"name": "MODEL",
|
| 156 |
+
"type": "MODEL",
|
| 157 |
+
"links": [
|
| 158 |
+
2
|
| 159 |
+
],
|
| 160 |
+
"shape": 3,
|
| 161 |
+
"slot_index": 0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"name": "CLIP",
|
| 165 |
+
"type": "CLIP",
|
| 166 |
+
"links": [
|
| 167 |
+
3,
|
| 168 |
+
4
|
| 169 |
+
],
|
| 170 |
+
"shape": 3,
|
| 171 |
+
"slot_index": 1
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"name": "VAE",
|
| 175 |
+
"type": "VAE",
|
| 176 |
+
"links": [
|
| 177 |
+
1
|
| 178 |
+
],
|
| 179 |
+
"shape": 3,
|
| 180 |
+
"slot_index": 2
|
| 181 |
+
}
|
| 182 |
+
],
|
| 183 |
+
"properties": {
|
| 184 |
+
"Node name for S&R": "CheckpointLoaderSimple"
|
| 185 |
+
},
|
| 186 |
+
"widgets_values": [
|
| 187 |
+
"v1-5-pruned-emaonly.safetensors"
|
| 188 |
+
]
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"id": 2,
|
| 192 |
+
"type": "CLIPTextEncode",
|
| 193 |
+
"pos": [
|
| 194 |
+
450,
|
| 195 |
+
50
|
| 196 |
+
],
|
| 197 |
+
"size": {
|
| 198 |
+
"0": 425,
|
| 199 |
+
"1": 180
|
| 200 |
+
},
|
| 201 |
+
"flags": {},
|
| 202 |
+
"order": 1,
|
| 203 |
+
"mode": 0,
|
| 204 |
+
"inputs": [
|
| 205 |
+
{
|
| 206 |
+
"name": "clip",
|
| 207 |
+
"type": "CLIP",
|
| 208 |
+
"link": 3
|
| 209 |
+
}
|
| 210 |
+
],
|
| 211 |
+
"outputs": [
|
| 212 |
+
{
|
| 213 |
+
"name": "CONDITIONING",
|
| 214 |
+
"type": "CONDITIONING",
|
| 215 |
+
"links": [
|
| 216 |
+
5
|
| 217 |
+
],
|
| 218 |
+
"shape": 3,
|
| 219 |
+
"slot_index": 0
|
| 220 |
+
}
|
| 221 |
+
],
|
| 222 |
+
"properties": {
|
| 223 |
+
"Node name for S&R": "CLIPTextEncode"
|
| 224 |
+
},
|
| 225 |
+
"widgets_values": [
|
| 226 |
+
"fantasy login page with magical water drops falling, enchanted mouse cursor with glowing trail, mystical design with three buttons: login, register, forgot password, ethereal atmosphere, bioluminescent effects, magical particles floating, fantasy UI design, crystal water drops, glowing borders, enchanted forest background"
|
| 227 |
+
]
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"id": 3,
|
| 231 |
+
"type": "CLIPTextEncode",
|
| 232 |
+
"pos": [
|
| 233 |
+
450,
|
| 234 |
+
280
|
| 235 |
+
],
|
| 236 |
+
"size": {
|
| 237 |
+
"0": 425,
|
| 238 |
+
"1": 180
|
| 239 |
+
},
|
| 240 |
+
"flags": {},
|
| 241 |
+
"order": 2,
|
| 242 |
+
"mode": 0,
|
| 243 |
+
"inputs": [
|
| 244 |
+
{
|
| 245 |
+
"name": "clip",
|
| 246 |
+
"type": "CLIP",
|
| 247 |
+
"link": 4
|
| 248 |
+
}
|
| 249 |
+
],
|
| 250 |
+
"outputs": [
|
| 251 |
+
{
|
| 252 |
+
"name": "CONDITIONING",
|
| 253 |
+
"type": "CONDITIONING",
|
| 254 |
+
"links": [
|
| 255 |
+
6
|
| 256 |
+
],
|
| 257 |
+
"shape": 3,
|
| 258 |
+
"slot_index": 0
|
| 259 |
+
}
|
| 260 |
+
],
|
| 261 |
+
"properties": {
|
| 262 |
+
"Node name for S&R": "CLIPTextEncode"
|
| 263 |
+
},
|
| 264 |
+
"widgets_values": [
|
| 265 |
+
"text, words, blurry, low quality, distorted, ugly, bad anatomy, watermark, signature, username field, password field"
|
| 266 |
+
]
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"id": 4,
|
| 270 |
+
"type": "KSampler",
|
| 271 |
+
"pos": [
|
| 272 |
+
950,
|
| 273 |
+
100
|
| 274 |
+
],
|
| 275 |
+
"size": {
|
| 276 |
+
"0": 300,
|
| 277 |
+
"1": 262
|
| 278 |
+
},
|
| 279 |
+
"flags": {},
|
| 280 |
+
"order": 3,
|
| 281 |
+
"mode": 0,
|
| 282 |
+
"inputs": [
|
| 283 |
+
{
|
| 284 |
+
"name": "model",
|
| 285 |
+
"type": "MODEL",
|
| 286 |
+
"link": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"name": "positive",
|
| 290 |
+
"type": "CONDITIONING",
|
| 291 |
+
"link": 5
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"name": "negative",
|
| 295 |
+
"type": "CONDITIONING",
|
| 296 |
+
"link": 6
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"name": "latent_image",
|
| 300 |
+
"type": "LATENT",
|
| 301 |
+
"link": 7
|
| 302 |
+
}
|
| 303 |
+
],
|
| 304 |
+
"outputs": [
|
| 305 |
+
{
|
| 306 |
+
"name": "LATENT",
|
| 307 |
+
"type": "LATENT",
|
| 308 |
+
"links": [
|
| 309 |
+
8
|
| 310 |
+
],
|
| 311 |
+
"shape": 3,
|
| 312 |
+
"slot_index": 0
|
| 313 |
+
}
|
| 314 |
+
],
|
| 315 |
+
"properties": {
|
| 316 |
+
"Node name for S&R": "KSampler"
|
| 317 |
+
},
|
| 318 |
+
"widgets_values": [
|
| 319 |
+
8423679,
|
| 320 |
+
"randomize",
|
| 321 |
+
30,
|
| 322 |
+
8,
|
| 323 |
+
"euler",
|
| 324 |
+
"normal",
|
| 325 |
+
1
|
| 326 |
+
]
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"id": 5,
|
| 330 |
+
"type": "EmptyLatentImage",
|
| 331 |
+
"pos": [
|
| 332 |
+
950,
|
| 333 |
+
420
|
| 334 |
+
],
|
| 335 |
+
"size": {
|
| 336 |
+
"0": 315,
|
| 337 |
+
"1": 106
|
| 338 |
+
},
|
| 339 |
+
"flags": {},
|
| 340 |
+
"order": 4,
|
| 341 |
+
"mode": 0,
|
| 342 |
+
"outputs": [
|
| 343 |
+
{
|
| 344 |
+
"name": "LATENT",
|
| 345 |
+
"type": "LATENT",
|
| 346 |
+
"links": [
|
| 347 |
+
7
|
| 348 |
+
],
|
| 349 |
+
"shape": 3,
|
| 350 |
+
"slot_index": 0
|
| 351 |
+
}
|
| 352 |
+
],
|
| 353 |
+
"properties": {
|
| 354 |
+
"Node name for S&R": "EmptyLatentImage"
|
| 355 |
+
},
|
| 356 |
+
"widgets_values": [
|
| 357 |
+
768,
|
| 358 |
+
1024,
|
| 359 |
+
1
|
| 360 |
+
]
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"id": 6,
|
| 364 |
+
"type": "VAEDecode",
|
| 365 |
+
"pos": [
|
| 366 |
+
1300,
|
| 367 |
+
100
|
| 368 |
+
],
|
| 369 |
+
"size": {
|
| 370 |
+
"0": 210,
|
| 371 |
+
"1": 46
|
| 372 |
+
},
|
| 373 |
+
"flags": {},
|
| 374 |
+
"order": 5,
|
| 375 |
+
"mode": 0,
|
| 376 |
+
"inputs": [
|
| 377 |
+
{
|
| 378 |
+
"name": "samples",
|
| 379 |
+
"type": "LATENT",
|
| 380 |
+
"link": 8
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"name": "vae",
|
| 384 |
+
"type": "VAE",
|
| 385 |
+
"link": 1
|
| 386 |
+
}
|
| 387 |
+
],
|
| 388 |
+
"outputs": [
|
| 389 |
+
{
|
| 390 |
+
"name": "IMAGE",
|
| 391 |
+
"type": "IMAGE",
|
| 392 |
+
"links": [
|
| 393 |
+
9
|
| 394 |
+
],
|
| 395 |
+
"shape": 3,
|
| 396 |
+
"slot_index": 0
|
| 397 |
+
}
|
| 398 |
+
],
|
| 399 |
+
"properties": {
|
| 400 |
+
"Node name for S&R": "VAEDecode"
|
| 401 |
+
}
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"id": 7,
|
| 405 |
+
"type": "SaveImage",
|
| 406 |
+
"pos": [
|
| 407 |
+
1550,
|
| 408 |
+
100
|
| 409 |
+
],
|
| 410 |
+
"size": {
|
| 411 |
+
"0": 315,
|
| 412 |
+
"1": 270
|
| 413 |
+
},
|
| 414 |
+
"flags": {},
|
| 415 |
+
"order": 6,
|
| 416 |
+
"mode": 0,
|
| 417 |
+
"inputs": [
|
| 418 |
+
{
|
| 419 |
+
"name": "images",
|
| 420 |
+
"type": "IMAGE",
|
| 421 |
+
"link": 9
|
| 422 |
+
}
|
| 423 |
+
],
|
| 424 |
+
"properties": {
|
| 425 |
+
"Node name for S&R": "SaveImage"
|
| 426 |
+
},
|
| 427 |
+
"widgets_values": [
|
| 428 |
+
"fantasy_login_page"
|
| 429 |
+
]
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"id": 8,
|
| 433 |
+
"type": "ControlNetLoader",
|
| 434 |
+
"pos": [
|
| 435 |
+
50,
|
| 436 |
+
200
|
| 437 |
+
],
|
| 438 |
+
"size": {
|
| 439 |
+
"0": 350,
|
| 440 |
+
"1": 60
|
| 441 |
+
},
|
| 442 |
+
"flags": {},
|
| 443 |
+
"order": 7,
|
| 444 |
+
"mode": 0,
|
| 445 |
+
"outputs": [
|
| 446 |
+
{
|
| 447 |
+
"name": "CONTROL_NET",
|
| 448 |
+
"type": "CONTROL_NET",
|
| 449 |
+
"links": [
|
| 450 |
+
10
|
| 451 |
+
],
|
| 452 |
+
"shape": 3,
|
| 453 |
+
"slot_index": 0
|
| 454 |
+
}
|
| 455 |
+
],
|
| 456 |
+
"properties": {
|
| 457 |
+
"Node name for S&R": "ControlNetLoader"
|
| 458 |
+
},
|
| 459 |
+
"widgets_values": [
|
| 460 |
+
"control_canny-fp16.safetensors"
|
| 461 |
+
]
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"id": 9,
|
| 465 |
+
"type": "Canny",
|
| 466 |
+
"pos": [
|
| 467 |
+
50,
|
| 468 |
+
300
|
| 469 |
+
],
|
| 470 |
+
"size": {
|
| 471 |
+
"0": 210,
|
| 472 |
+
"1": 270
|
| 473 |
+
},
|
| 474 |
+
"flags": {},
|
| 475 |
+
"order": 8,
|
| 476 |
+
"mode": 0,
|
| 477 |
+
"inputs": [
|
| 478 |
+
{
|
| 479 |
+
"name": "image",
|
| 480 |
+
"type": "IMAGE",
|
| 481 |
+
"link": 11
|
| 482 |
+
}
|
| 483 |
+
],
|
| 484 |
+
"outputs": [
|
| 485 |
+
{
|
| 486 |
+
"name": "IMAGE",
|
| 487 |
+
"type": "IMAGE",
|
| 488 |
+
"links": [
|
| 489 |
+
12
|
| 490 |
+
],
|
| 491 |
+
"shape": 3,
|
| 492 |
+
"slot_index": 0
|
| 493 |
+
}
|
| 494 |
+
],
|
| 495 |
+
"properties": {
|
| 496 |
+
"Node name for S&R": "Canny"
|
| 497 |
+
},
|
| 498 |
+
"widgets_values": [
|
| 499 |
+
100,
|
| 500 |
+
200
|
| 501 |
+
]
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"id": 10,
|
| 505 |
+
"type": "ControlNetApply",
|
| 506 |
+
"pos": [
|
| 507 |
+
950,
|
| 508 |
+
600
|
| 509 |
+
],
|
| 510 |
+
"size": {
|
| 511 |
+
"0": 320,
|
| 512 |
+
"1": 100
|
| 513 |
+
},
|
| 514 |
+
"flags": {},
|
| 515 |
+
"order": 9,
|
| 516 |
+
"mode": 0,
|
| 517 |
+
"inputs": [
|
| 518 |
+
{
|
| 519 |
+
"name": "conditioning",
|
| 520 |
+
"type": "CONDITIONING",
|
| 521 |
+
"link": 13
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"name": "control_net",
|
| 525 |
+
"type": "CONTROL_NET",
|
| 526 |
+
"link": 10
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"name": "image",
|
| 530 |
+
"type": "IMAGE",
|
| 531 |
+
"link": 12
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"name": "strength",
|
| 535 |
+
"type": "FLOAT",
|
| 536 |
+
"link": null
|
| 537 |
+
}
|
| 538 |
+
],
|
| 539 |
+
"outputs": [
|
| 540 |
+
{
|
| 541 |
+
"name": "CONDITIONING",
|
| 542 |
+
"type": "CONDITIONING",
|
| 543 |
+
"links": [
|
| 544 |
+
14
|
| 545 |
+
],
|
| 546 |
+
"shape": 3,
|
| 547 |
+
"slot_index": 0
|
| 548 |
+
}
|
| 549 |
+
],
|
| 550 |
+
"properties": {
|
| 551 |
+
"Node name for S&R": "ControlNetApply"
|
| 552 |
+
},
|
| 553 |
+
"widgets_values": [
|
| 554 |
+
1
|
| 555 |
+
]
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"id": 11,
|
| 559 |
+
"type": "LoadImage",
|
| 560 |
+
"pos": [
|
| 561 |
+
50,
|
| 562 |
+
600
|
| 563 |
+
],
|
| 564 |
+
"size": {
|
| 565 |
+
"0": 315,
|
| 566 |
+
"1": 314
|
| 567 |
+
},
|
| 568 |
+
"flags": {},
|
| 569 |
+
"order": 10,
|
| 570 |
+
"mode": 0,
|
| 571 |
+
"outputs": [
|
| 572 |
+
{
|
| 573 |
+
"name": "IMAGE",
|
| 574 |
+
"type": "IMAGE",
|
| 575 |
+
"links": [
|
| 576 |
+
11
|
| 577 |
+
],
|
| 578 |
+
"shape": 3,
|
| 579 |
+
"slot_index": 0
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"name": "MASK",
|
| 583 |
+
"type": "MASK",
|
| 584 |
+
"links": null
|
| 585 |
+
}
|
| 586 |
+
],
|
| 587 |
+
"properties": {
|
| 588 |
+
"Node name for S&R": "LoadImage"
|
| 589 |
+
},
|
| 590 |
+
"widgets_values": [
|
| 591 |
+
"login_wireframe.png"
|
| 592 |
+
]
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"id": 12,
|
| 596 |
+
"type": "CLIPTextEncode",
|
| 597 |
+
"pos": [
|
| 598 |
+
450,
|
| 599 |
+
500
|
| 600 |
+
],
|
| 601 |
+
"size": {
|
| 602 |
+
"0": 425,
|
| 603 |
+
"1": 180
|
| 604 |
+
},
|
| 605 |
+
"flags": {},
|
| 606 |
+
"order": 11,
|
| 607 |
+
"mode": 0,
|
| 608 |
+
"inputs": [
|
| 609 |
+
{
|
| 610 |
+
"name": "clip",
|
| 611 |
+
"type": "CLIP",
|
| 612 |
+
"link": null
|
| 613 |
+
}
|
| 614 |
+
],
|
| 615 |
+
"outputs": [
|
| 616 |
+
{
|
| 617 |
+
"name": "CONDITIONING",
|
| 618 |
+
"type": "CONDITIONING",
|
| 619 |
+
"links": [
|
| 620 |
+
13
|
| 621 |
+
],
|
| 622 |
+
"shape": 3,
|
| 623 |
+
"slot_index": 0
|
| 624 |
+
}
|
| 625 |
+
],
|
| 626 |
+
"properties": {
|
| 627 |
+
"Node name for S&R": "CLIPTextEncode"
|
| 628 |
+
},
|
| 629 |
+
"widgets_values": [
|
| 630 |
+
"UI layout, login form structure, button placement, web interface design"
|
| 631 |
+
]
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"id": 13,
|
| 635 |
+
"type": "KSampler",
|
| 636 |
+
"pos": [
|
| 637 |
+
1300,
|
| 638 |
+
400
|
| 639 |
+
],
|
| 640 |
+
"size": {
|
| 641 |
+
"0": 300,
|
| 642 |
+
"1": 262
|
| 643 |
+
},
|
| 644 |
+
"flags": {},
|
| 645 |
+
"order": 12,
|
| 646 |
+
"mode": 0,
|
| 647 |
+
"inputs": [
|
| 648 |
+
{
|
| 649 |
+
"name": "model",
|
| 650 |
+
"type": "MODEL",
|
| 651 |
+
"link": null
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"name": "positive",
|
| 655 |
+
"type": "CONDITIONING",
|
| 656 |
+
"link": 14
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"name": "negative",
|
| 660 |
+
"type": "CONDITIONING",
|
| 661 |
+
"link": null
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"name": "latent_image",
|
| 665 |
+
"type": "LATENT",
|
| 666 |
+
"link": null
|
| 667 |
+
}
|
| 668 |
+
],
|
| 669 |
+
"outputs": [
|
| 670 |
+
{
|
| 671 |
+
"name": "LATENT",
|
| 672 |
+
"type": "LATENT",
|
| 673 |
+
"links": null
|
| 674 |
+
}
|
| 675 |
+
],
|
| 676 |
+
"properties": {
|
| 677 |
+
"Node name for S&R": "KSampler"
|
| 678 |
+
},
|
| 679 |
+
"widgets_values": [
|
| 680 |
+
8423679,
|
| 681 |
+
"randomize",
|
| 682 |
+
20,
|
| 683 |
+
7,
|
| 684 |
+
"euler_ancestral",
|
| 685 |
+
"normal",
|
| 686 |
+
1
|
| 687 |
+
]
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"id": 14,
|
| 691 |
+
"type": "UpscaleModelLoader",
|
| 692 |
+
"pos": [
|
| 693 |
+
50,
|
| 694 |
+
950
|
| 695 |
+
],
|
| 696 |
+
"size": {
|
| 697 |
+
"0": 350,
|
| 698 |
+
"1": 60
|
| 699 |
+
},
|
| 700 |
+
"flags": {},
|
| 701 |
+
"order": 13,
|
| 702 |
+
"mode": 0,
|
| 703 |
+
"outputs": [
|
| 704 |
+
{
|
| 705 |
+
"name": "UPSCALE_MODEL",
|
| 706 |
+
"type": "UPSCALE_MODEL",
|
| 707 |
+
"links": null
|
| 708 |
+
}
|
| 709 |
+
],
|
| 710 |
+
"properties": {
|
| 711 |
+
"Node name for S&R": "UpscaleModelLoader"
|
| 712 |
+
},
|
| 713 |
+
"widgets_values": [
|
| 714 |
+
"4x_NMKD-Siax_200k.pth"
|
| 715 |
+
]
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"id": 15,
|
| 719 |
+
"type": "ImageUpscaleWithModel",
|
| 720 |
+
"pos": [
|
| 721 |
+
450,
|
| 722 |
+
720
|
| 723 |
+
],
|
| 724 |
+
"size": {
|
| 725 |
+
"0": 241,
|
| 726 |
+
"1": 46
|
| 727 |
+
},
|
| 728 |
+
"flags": {},
|
| 729 |
+
"order": 14,
|
| 730 |
+
"mode": 0,
|
| 731 |
+
"inputs": [
|
| 732 |
+
{
|
| 733 |
+
"name": "upscale_model",
|
| 734 |
+
"type": "UPSCALE_MODEL",
|
| 735 |
+
"link": null
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"name": "image",
|
| 739 |
+
"type": "IMAGE",
|
| 740 |
+
"link": null
|
| 741 |
+
}
|
| 742 |
+
],
|
| 743 |
+
"outputs": [
|
| 744 |
+
{
|
| 745 |
+
"name": "IMAGE",
|
| 746 |
+
"type": "IMAGE",
|
| 747 |
+
"links": null
|
| 748 |
+
}
|
| 749 |
+
],
|
| 750 |
+
"properties": {
|
| 751 |
+
"Node name for S&R": "ImageUpscaleWithModel"
|
| 752 |
+
}
|
| 753 |
+
}
|
| 754 |
+
],
|
| 755 |
+
"links": [
|
| 756 |
+
[
|
| 757 |
+
2,
|
| 758 |
+
1,
|
| 759 |
+
0,
|
| 760 |
+
4,
|
| 761 |
+
0,
|
| 762 |
+
"MODEL"
|
| 763 |
+
],
|
| 764 |
+
[
|
| 765 |
+
3,
|
| 766 |
+
1,
|
| 767 |
+
1,
|
| 768 |
+
2,
|
| 769 |
+
0,
|
| 770 |
+
"CLIP"
|
| 771 |
+
],
|
| 772 |
+
[
|
| 773 |
+
4,
|
| 774 |
+
1,
|
| 775 |
+
1,
|
| 776 |
+
3,
|
| 777 |
+
0,
|
| 778 |
+
"CLIP"
|
| 779 |
+
],
|
| 780 |
+
[
|
| 781 |
+
5,
|
| 782 |
+
2,
|
| 783 |
+
0,
|
| 784 |
+
4,
|
| 785 |
+
1,
|
| 786 |
+
"CONDITIONING"
|
| 787 |
+
],
|
| 788 |
+
[
|
| 789 |
+
6,
|
| 790 |
+
3,
|
| 791 |
+
0,
|
| 792 |
+
4,
|
| 793 |
+
2,
|
| 794 |
+
"CONDITIONING"
|
| 795 |
+
],
|
| 796 |
+
[
|
| 797 |
+
7,
|
| 798 |
+
5,
|
| 799 |
+
0,
|
| 800 |
+
4,
|
| 801 |
+
3,
|
| 802 |
+
"LATENT"
|
| 803 |
+
],
|
| 804 |
+
[
|
| 805 |
+
8,
|
| 806 |
+
4,
|
| 807 |
+
0,
|
| 808 |
+
6,
|
| 809 |
+
0,
|
| 810 |
+
"LATENT"
|
| 811 |
+
],
|
| 812 |
+
[
|
| 813 |
+
1,
|
| 814 |
+
1,
|
| 815 |
+
2,
|
| 816 |
+
6,
|
| 817 |
+
1,
|
| 818 |
+
"VAE"
|
| 819 |
+
],
|
| 820 |
+
[
|
| 821 |
+
9,
|
| 822 |
+
6,
|
| 823 |
+
0,
|
| 824 |
+
7,
|
| 825 |
+
0,
|
| 826 |
+
"IMAGE"
|
| 827 |
+
],
|
| 828 |
+
[
|
| 829 |
+
10,
|
| 830 |
+
8,
|
| 831 |
+
0,
|
| 832 |
+
10,
|
| 833 |
+
1,
|
| 834 |
+
"CONTROL_NET"
|
| 835 |
+
],
|
| 836 |
+
[
|
| 837 |
+
11,
|
| 838 |
+
11,
|
| 839 |
+
0,
|
| 840 |
+
9,
|
| 841 |
+
0,
|
| 842 |
+
"IMAGE"
|
| 843 |
+
],
|
| 844 |
+
[
|
| 845 |
+
12,
|
| 846 |
+
9,
|
| 847 |
+
0,
|
| 848 |
+
10,
|
| 849 |
+
2,
|
| 850 |
+
"IMAGE"
|
| 851 |
+
],
|
| 852 |
+
[
|
| 853 |
+
13,
|
| 854 |
+
12,
|
| 855 |
+
0,
|
| 856 |
+
10,
|
| 857 |
+
0,
|
| 858 |
+
"CONDITIONING"
|
| 859 |
+
],
|
| 860 |
+
[
|
| 861 |
+
14,
|
| 862 |
+
10,
|
| 863 |
+
0,
|
| 864 |
+
13,
|
| 865 |
+
1,
|
| 866 |
+
"CONDITIONING"
|
| 867 |
+
]
|
| 868 |
+
],
|
| 869 |
+
"groups": [
|
| 870 |
+
{
|
| 871 |
+
"title": "Fantasy Login Page Generation",
|
| 872 |
+
"bounding": [
|
| 873 |
+
35,
|
| 874 |
+
20,
|
| 875 |
+
1900,
|
| 876 |
+
1100
|
| 877 |
+
],
|
| 878 |
+
"color": "#3f789e",
|
| 879 |
+
"font_size": 24
|
| 880 |
+
}
|
| 881 |
+
],
|
| 882 |
+
"config": {},
|
| 883 |
+
"extra": {
|
| 884 |
+
"ds": {
|
| 885 |
+
"scale": 0.5,
|
| 886 |
+
"offset": [
|
| 887 |
+
0,
|
| 888 |
+
0
|
| 889 |
+
]
|
| 890 |
+
},
|
| 891 |
+
"group_nodes": {
|
| 892 |
+
"Built with anycoder - https://huggingface.co/spaces/akhaliq/anycoder": null
|
| 893 |
+
}
|
| 894 |
+
},
|
| 895 |
+
"version": 0.4
|
| 896 |
+
}</pre>
|
| 897 |
</div>
|
| 898 |
</div>
|
| 899 |
|
| 900 |
<script>
|
| 901 |
+
function copyToClipboard() {
|
| 902 |
+
const jsonContent = document.getElementById('json-content').textContent;
|
| 903 |
+
navigator.clipboard.writeText(jsonContent).then(() => {
|
| 904 |
+
const btn = event.target;
|
| 905 |
+
const originalText = btn.textContent;
|
| 906 |
+
btn.textContent = 'Copied!';
|
| 907 |
+
btn.classList.add('success');
|
| 908 |
+
setTimeout(() => {
|
| 909 |
+
btn.textContent = originalText;
|
| 910 |
+
btn.classList.remove('success');
|
| 911 |
+
}, 2000);
|
| 912 |
+
}).catch(err => {
|
| 913 |
+
alert('Failed to copy to clipboard');
|
| 914 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 915 |
}
|
| 916 |
|
| 917 |
+
function downloadJSON() {
|
| 918 |
+
const jsonContent = document.getElementById('json-content').textContent;
|
| 919 |
+
const blob = new Blob([jsonContent], { type: 'application/json' });
|
| 920 |
+
const url = URL.createObjectURL(blob);
|
| 921 |
+
const a = document.createElement('a');
|
| 922 |
+
a.href = url;
|
| 923 |
+
a.download = 'comfyui_workflow.json';
|
| 924 |
+
document.body.appendChild(a);
|
| 925 |
+
a.click();
|
| 926 |
+
document.body.removeChild(a);
|
| 927 |
+
URL.revokeObjectURL(url);
|
|
|
|
|
|
|
|
|
|
| 928 |
|
| 929 |
+
const btn = event.target;
|
| 930 |
+
const originalText = btn.textContent;
|
| 931 |
+
btn.textContent = 'Downloaded!';
|
| 932 |
+
btn.classList.add('success');
|
| 933 |
setTimeout(() => {
|
| 934 |
+
btn.textContent = originalText;
|
| 935 |
+
btn.classList.remove('success');
|
| 936 |
+
}, 2000);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 937 |
}
|
|
|
|
| 938 |
|
| 939 |
+
// Add syntax highlighting
|
| 940 |
+
function highlightJSON() {
|
| 941 |
+
const content = document.getElementById('json-content');
|
| 942 |
+
let html = content.innerHTML;
|
| 943 |
|
| 944 |
+
// Highlight different JSON elements
|
| 945 |
+
html = html.replace(/"([^"]+)":/g, '<span class="json-key">"$1":</span>');
|
| 946 |
+
html = html.replace(/: "([^"]*)"/g, ': <span class="json-string">"$1"</span>');
|
| 947 |
+
html = html.replace(/: (-?\d+\.?\d*)/g, ': <span class="json-number">$1</span>');
|
| 948 |
+
html = html.replace(/: (true|false)/g, ': <span class="json-boolean">$1</span>');
|
| 949 |
+
html = html.replace(/: null/g, ': <span class="json-null">null</span>');
|
| 950 |
|
| 951 |
+
content.innerHTML = html;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 952 |
}
|
| 953 |
|
| 954 |
+
// Apply syntax highlighting after page load
|
| 955 |
+
window.addEventListener('load', highlightJSON);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 956 |
</script>
|
| 957 |
</body>
|
| 958 |
</html>
|