Rubentnoda commited on
Commit
3816c0b
·
verified ·
1 Parent(s): 73d70f6

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +1028 -19
index.html CHANGED
@@ -1,19 +1,1028 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </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": 20,
138
+ "nodes": [
139
+ {
140
+ "id": 1,
141
+ "type": "CheckpointLoaderSimple",
142
+ "pos": [
143
+ 50,
144
+ 50
145
+ ],
146
+ "size": {
147
+ "0": 350,
148
+ "1": 98
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
+ 2,
168
+ 3
169
+ ],
170
+ "shape": 3,
171
+ "slot_index": 1
172
+ },
173
+ {
174
+ "name": "VAE",
175
+ "type": "VAE",
176
+ "links": [
177
+ 4
178
+ ],
179
+ "shape": 3,
180
+ "slot_index": 2
181
+ }
182
+ ],
183
+ "properties": {
184
+ "Node name for S&R": "CheckpointLoaderSimple"
185
+ },
186
+ "widgets_values": [
187
+ "sd_xl_base_1.0.safetensors"
188
+ ]
189
+ },
190
+ {
191
+ "id": 2,
192
+ "type": "CLIPTextEncode",
193
+ "pos": [
194
+ 450,
195
+ 50
196
+ ],
197
+ "size": {
198
+ "0": 400,
199
+ "1": 200
200
+ },
201
+ "flags": {},
202
+ "order": 1,
203
+ "mode": 0,
204
+ "inputs": [
205
+ {
206
+ "name": "clip",
207
+ "type": "CLIP",
208
+ "link": 2
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
+ "promoción de restaurante elegante, clientes disfrutando comida, ambiente acogedor, iluminación cálida, alta calidad, 4K, video publicitario profesional"
227
+ ]
228
+ },
229
+ {
230
+ "id": 3,
231
+ "type": "CLIPTextEncode",
232
+ "pos": [
233
+ 450,
234
+ 300
235
+ ],
236
+ "size": {
237
+ "0": 400,
238
+ "1": 180
239
+ },
240
+ "flags": {},
241
+ "order": 2,
242
+ "mode": 0,
243
+ "inputs": [
244
+ {
245
+ "name": "clip",
246
+ "type": "CLIP",
247
+ "link": 3
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
+ "texto, marcas de agua, baja calidad, pixelado, borroso, distorsionado, mala iluminación"
266
+ ]
267
+ },
268
+ {
269
+ "id": 4,
270
+ "type": "EmptySD3LatentImage",
271
+ "pos": [
272
+ 450,
273
+ 520
274
+ ],
275
+ "size": {
276
+ "0": 315,
277
+ "1": 106
278
+ },
279
+ "flags": {},
280
+ "order": 3,
281
+ "mode": 0,
282
+ "outputs": [
283
+ {
284
+ "name": "LATENT",
285
+ "type": "LATENT",
286
+ "links": [
287
+ 7
288
+ ],
289
+ "shape": 3,
290
+ "slot_index": 0
291
+ }
292
+ ],
293
+ "properties": {
294
+ "Node name for S&R": "EmptySD3LatentImage"
295
+ },
296
+ "widgets_values": [
297
+ 1920,
298
+ 1080,
299
+ 1
300
+ ]
301
+ },
302
+ {
303
+ "id": 5,
304
+ "type": "KSampler",
305
+ "pos": [
306
+ 950,
307
+ 250
308
+ ],
309
+ "size": {
310
+ "0": 300,
311
+ "1": 262
312
+ },
313
+ "flags": {},
314
+ "order": 4,
315
+ "mode": 0,
316
+ "inputs": [
317
+ {
318
+ "name": "model",
319
+ "type": "MODEL",
320
+ "link": 1
321
+ },
322
+ {
323
+ "name": "positive",
324
+ "type": "CONDITIONING",
325
+ "link": 5
326
+ },
327
+ {
328
+ "name": "negative",
329
+ "type": "CONDITIONING",
330
+ "link": 6
331
+ },
332
+ {
333
+ "name": "latent_image",
334
+ "type": "LATENT",
335
+ "link": 7
336
+ }
337
+ ],
338
+ "outputs": [
339
+ {
340
+ "name": "LATENT",
341
+ "type": "LATENT",
342
+ "links": [
343
+ 8
344
+ ],
345
+ "shape": 3,
346
+ "slot_index": 0
347
+ }
348
+ ],
349
+ "properties": {
350
+ "Node name for S&R": "KSampler"
351
+ },
352
+ "widgets_values": [
353
+ 42,
354
+ "randomize",
355
+ 20,
356
+ 8,
357
+ "dpmpp_2m",
358
+ "karras",
359
+ 1
360
+ ]
361
+ },
362
+ {
363
+ "id": 6,
364
+ "type": "VAEDecode",
365
+ "pos": [
366
+ 1300,
367
+ 250
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": 4
386
+ }
387
+ ],
388
+ "outputs": [
389
+ {
390
+ "name": "IMAGE",
391
+ "type": "IMAGE",
392
+ "links": [
393
+ 9,
394
+ 10
395
+ ],
396
+ "shape": 3,
397
+ "slot_index": 0
398
+ }
399
+ ],
400
+ "properties": {
401
+ "Node name for S&R": "VAEDecode"
402
+ }
403
+ },
404
+ {
405
+ "id": 7,
406
+ "type": "ImageResize+",
407
+ "pos": [
408
+ 1550,
409
+ 200
410
+ ],
411
+ "size": {
412
+ "0": 315,
413
+ "1": 130
414
+ },
415
+ "flags": {},
416
+ "order": 6,
417
+ "mode": 0,
418
+ "inputs": [
419
+ {
420
+ "name": "image",
421
+ "type": "IMAGE",
422
+ "link": 9
423
+ }
424
+ ],
425
+ "outputs": [
426
+ {
427
+ "name": "IMAGE",
428
+ "type": "IMAGE",
429
+ "links": [
430
+ 11
431
+ ],
432
+ "shape": 3,
433
+ "slot_index": 0
434
+ }
435
+ ],
436
+ "properties": {
437
+ "Node name for S&R": "ImageResize+"
438
+ },
439
+ "widgets_values": [
440
+ "lanczos",
441
+ 1920,
442
+ 1080,
443
+ "disabled",
444
+ "disabled"
445
+ ]
446
+ },
447
+ {
448
+ "id": 8,
449
+ "type": "SaveImage",
450
+ "pos": [
451
+ 1900,
452
+ 200
453
+ ],
454
+ "size": {
455
+ "0": 315,
456
+ "1": 270
457
+ },
458
+ "flags": {},
459
+ "order": 7,
460
+ "mode": 0,
461
+ "inputs": [
462
+ {
463
+ "name": "images",
464
+ "type": "IMAGE",
465
+ "link": 11
466
+ }
467
+ ],
468
+ "properties": {
469
+ "Node name for S&R": "SaveImage"
470
+ },
471
+ "widgets_values": [
472
+ "ComfyUI/output/hosteleria_promo"
473
+ ]
474
+ },
475
+ {
476
+ "id": 9,
477
+ "type": "PreviewImage",
478
+ "pos": [
479
+ 1550,
480
+ 380
481
+ ],
482
+ "size": {
483
+ "0": 300,
484
+ "1": 290
485
+ },
486
+ "flags": {},
487
+ "order": 8,
488
+ "mode": 0,
489
+ "inputs": [
490
+ {
491
+ "name": "images",
492
+ "type": "IMAGE",
493
+ "link": 10
494
+ }
495
+ ],
496
+ "properties": {
497
+ "Node name for S&R": "PreviewImage"
498
+ }
499
+ },
500
+ {
501
+ "id": 10,
502
+ "type": "LoadImage",
503
+ "pos": [
504
+ 50,
505
+ 200
506
+ ],
507
+ "size": {
508
+ "0": 315,
509
+ "1": 314
510
+ },
511
+ "flags": {},
512
+ "order": 9,
513
+ "mode": 0,
514
+ "outputs": [
515
+ {
516
+ "name": "IMAGE",
517
+ "type": "IMAGE",
518
+ "links": [
519
+ 12
520
+ ],
521
+ "shape": 3,
522
+ "slot_index": 0
523
+ },
524
+ {
525
+ "name": "MASK",
526
+ "type": "MASK",
527
+ "links": null,
528
+ "shape": 3,
529
+ "slot_index": 1
530
+ }
531
+ ],
532
+ "properties": {
533
+ "Node name for S&R": "LoadImage"
534
+ },
535
+ "widgets_values": [
536
+ "logo_restaurante.png"
537
+ ]
538
+ },
539
+ {
540
+ "id": 11,
541
+ "type": "ImageCompositeMasked",
542
+ "pos": [
543
+ 950,
544
+ 550
545
+ ],
546
+ "size": {
547
+ "0": 210,
548
+ "1": 126
549
+ },
550
+ "flags": {},
551
+ "order": 10,
552
+ "mode": 0,
553
+ "inputs": [
554
+ {
555
+ "name": "destination",
556
+ "type": "IMAGE",
557
+ "link": 13
558
+ },
559
+ {
560
+ "name": "source",
561
+ "type": "IMAGE",
562
+ "link": 12
563
+ },
564
+ {
565
+ "name": "mask",
566
+ "type": "MASK",
567
+ "link": null
568
+ }
569
+ ],
570
+ "outputs": [
571
+ {
572
+ "name": "IMAGE",
573
+ "type": "IMAGE",
574
+ "links": [
575
+ 14
576
+ ],
577
+ "shape": 3,
578
+ "slot_index": 0
579
+ }
580
+ ],
581
+ "properties": {
582
+ "Node name for S&R": "ImageCompositeMasked"
583
+ },
584
+ "widgets_values": [
585
+ 50,
586
+ 50,
587
+ 0,
588
+ 0
589
+ ]
590
+ },
591
+ {
592
+ "id": 12,
593
+ "type": "VAEEncode",
594
+ "pos": [
595
+ 1200,
596
+ 550
597
+ ],
598
+ "size": {
599
+ "0": 210,
600
+ "1": 46
601
+ },
602
+ "flags": {},
603
+ "order": 11,
604
+ "mode": 0,
605
+ "inputs": [
606
+ {
607
+ "name": "pixels",
608
+ "type": "IMAGE",
609
+ "link": 14
610
+ },
611
+ {
612
+ "name": "vae",
613
+ "type": "VAE",
614
+ "link": 15
615
+ }
616
+ ],
617
+ "outputs": [
618
+ {
619
+ "name": "LATENT",
620
+ "type": "LATENT",
621
+ "links": [
622
+ 16
623
+ ],
624
+ "shape": 3,
625
+ "slot_index": 0
626
+ }
627
+ ],
628
+ "properties": {
629
+ "Node name for S&R": "VAEEncode"
630
+ }
631
+ },
632
+ {
633
+ "id": 13,
634
+ "type": "VideoLinearCFGGuidance",
635
+ "pos": [
636
+ 950,
637
+ 350
638
+ ],
639
+ "size": {
640
+ "0": 300,
641
+ "1": 130
642
+ },
643
+ "flags": {},
644
+ "order": 12,
645
+ "mode": 0,
646
+ "inputs": [
647
+ {
648
+ "name": "model",
649
+ "type": "MODEL",
650
+ "link": 17
651
+ }
652
+ ],
653
+ "outputs": [
654
+ {
655
+ "name": "MODEL",
656
+ "type": "MODEL",
657
+ "links": [
658
+ 18
659
+ ],
660
+ "shape": 3,
661
+ "slot_index": 0
662
+ }
663
+ ],
664
+ "properties": {
665
+ "Node name for S&R": "VideoLinearCFGGuidance"
666
+ },
667
+ "widgets_values": [
668
+ 30
669
+ ]
670
+ },
671
+ {
672
+ "id": 14,
673
+ "type": "AnimateDiff Loader",
674
+ "pos": [
675
+ 50,
676
+ 350
677
+ ],
678
+ "size": {
679
+ "0": 315,
680
+ "1": 106
681
+ },
682
+ "flags": {},
683
+ "order": 13,
684
+ "mode": 0,
685
+ "outputs": [
686
+ {
687
+ "name": "MOTION_MODEL",
688
+ "type": "MOTION_MODEL",
689
+ "links": [
690
+ 19
691
+ ],
692
+ "shape": 3,
693
+ "slot_index": 0
694
+ },
695
+ {
696
+ "name": "CLIP_VISION",
697
+ "type": "CLIP_VISION",
698
+ "links": null,
699
+ "shape": 3,
700
+ "slot_index": 1
701
+ }
702
+ ],
703
+ "properties": {
704
+ "Node name for S&R": "AnimateDiff Loader"
705
+ },
706
+ "widgets_values": [
707
+ "mm_sd_v15_v2.ckpt",
708
+ "v2",
709
+ false
710
+ ]
711
+ },
712
+ {
713
+ "id": 15,
714
+ "type": "AnimateDiff Evolved",
715
+ "pos": [
716
+ 450,
717
+ 700
718
+ ],
719
+ "size": {
720
+ "0": 400,
721
+ "1": 290
722
+ },
723
+ "flags": {},
724
+ "order": 14,
725
+ "mode": 0,
726
+ "inputs": [
727
+ {
728
+ "name": "motion_model",
729
+ "type": "MOTION_MODEL",
730
+ "link": 19
731
+ },
732
+ {
733
+ "name": "latent",
734
+ "type": "LATENT",
735
+ "link": 16
736
+ }
737
+ ],
738
+ "outputs": [
739
+ {
740
+ "name": "LATENT",
741
+ "type": "LATENT",
742
+ "links": [
743
+ 20
744
+ ],
745
+ "shape": 3,
746
+ "slot_index": 0
747
+ }
748
+ ],
749
+ "properties": {
750
+ "Node name for S&R": "AnimateDiff Evolved"
751
+ },
752
+ "widgets_values": [
753
+ 30,
754
+ true,
755
+ 1,
756
+ "uniform",
757
+ 1,
758
+ "percent",
759
+ 10000,
760
+ "enable",
761
+ "disable",
762
+ 10000,
763
+ "percent",
764
+ "enable",
765
+ "disable",
766
+ false,
767
+ "enable",
768
+ "disable"
769
+ ]
770
+ }
771
+ ],
772
+ "links": [
773
+ [
774
+ 1,
775
+ 1,
776
+ 0,
777
+ 5,
778
+ 0,
779
+ "MODEL"
780
+ ],
781
+ [
782
+ 2,
783
+ 1,
784
+ 1,
785
+ 2,
786
+ 0,
787
+ "CLIP"
788
+ ],
789
+ [
790
+ 2,
791
+ 1,
792
+ 1,
793
+ 3,
794
+ 0,
795
+ "CLIP"
796
+ ],
797
+ [
798
+ 3,
799
+ 1,
800
+ 2,
801
+ 6,
802
+ 1,
803
+ "VAE"
804
+ ],
805
+ [
806
+ 4,
807
+ 1,
808
+ 2,
809
+ 12,
810
+ 1,
811
+ "VAE"
812
+ ],
813
+ [
814
+ 5,
815
+ 2,
816
+ 0,
817
+ 5,
818
+ 1,
819
+ "CONDITIONING"
820
+ ],
821
+ [
822
+ 6,
823
+ 3,
824
+ 0,
825
+ 5,
826
+ 2,
827
+ "CONDITIONING"
828
+ ],
829
+ [
830
+ 7,
831
+ 4,
832
+ 0,
833
+ 5,
834
+ 3,
835
+ "LATENT"
836
+ ],
837
+ [
838
+ 8,
839
+ 5,
840
+ 0,
841
+ 6,
842
+ 0,
843
+ "LATENT"
844
+ ],
845
+ [
846
+ 9,
847
+ 6,
848
+ 0,
849
+ 7,
850
+ 0,
851
+ "IMAGE"
852
+ ],
853
+ [
854
+ 10,
855
+ 6,
856
+ 0,
857
+ 9,
858
+ 0,
859
+ "IMAGE"
860
+ ],
861
+ [
862
+ 11,
863
+ 7,
864
+ 0,
865
+ 8,
866
+ 0,
867
+ "IMAGE"
868
+ ],
869
+ [
870
+ 12,
871
+ 10,
872
+ 0,
873
+ 11,
874
+ 1,
875
+ "IMAGE"
876
+ ],
877
+ [
878
+ 13,
879
+ 6,
880
+ 0,
881
+ 11,
882
+ 0,
883
+ "IMAGE"
884
+ ],
885
+ [
886
+ 14,
887
+ 11,
888
+ 0,
889
+ 12,
890
+ 0,
891
+ "IMAGE"
892
+ ],
893
+ [
894
+ 15,
895
+ 1,
896
+ 0,
897
+ 13,
898
+ 0,
899
+ "MODEL"
900
+ ],
901
+ [
902
+ 16,
903
+ 12,
904
+ 0,
905
+ 15,
906
+ 1,
907
+ "LATENT"
908
+ ],
909
+ [
910
+ 17,
911
+ 13,
912
+ 0,
913
+ 5,
914
+ 0,
915
+ "MODEL"
916
+ ],
917
+ [
918
+ 18,
919
+ 14,
920
+ 0,
921
+ 15,
922
+ 0,
923
+ "MOTION_MODEL"
924
+ ],
925
+ [
926
+ 19,
927
+ 15,
928
+ 0,
929
+ 6,
930
+ 0,
931
+ "LATENT"
932
+ ],
933
+ [
934
+ 20,
935
+ 1,
936
+ 0,
937
+ 5,
938
+ 0,
939
+ "MODEL"
940
+ ]
941
+ ],
942
+ "groups": [
943
+ {
944
+ "title": "GENERADOR DE CONTENIDO PARA SMARTTVS",
945
+ "bounding": [
946
+ 30,
947
+ 30,
948
+ 2200,
949
+ 1000
950
+ ],
951
+ "color": "#3f789e",
952
+ "font_size": 24
953
+ }
954
+ ],
955
+ "config": {},
956
+ "extra": {
957
+ "ds": {
958
+ "scale": 0.7,
959
+ "offset": [
960
+ 0,
961
+ 0
962
+ ]
963
+ }
964
+ },
965
+ "version": 0.4
966
+ }</pre>
967
+ </div>
968
+ </div>
969
+
970
+ <script>
971
+ function copyToClipboard() {
972
+ const jsonContent = document.getElementById('json-content').textContent;
973
+ navigator.clipboard.writeText(jsonContent).then(() => {
974
+ const btn = event.target;
975
+ const originalText = btn.textContent;
976
+ btn.textContent = 'Copied!';
977
+ btn.classList.add('success');
978
+ setTimeout(() => {
979
+ btn.textContent = originalText;
980
+ btn.classList.remove('success');
981
+ }, 2000);
982
+ }).catch(err => {
983
+ alert('Failed to copy to clipboard');
984
+ });
985
+ }
986
+
987
+ function downloadJSON() {
988
+ const jsonContent = document.getElementById('json-content').textContent;
989
+ const blob = new Blob([jsonContent], { type: 'application/json' });
990
+ const url = URL.createObjectURL(blob);
991
+ const a = document.createElement('a');
992
+ a.href = url;
993
+ a.download = 'comfyui_workflow.json';
994
+ document.body.appendChild(a);
995
+ a.click();
996
+ document.body.removeChild(a);
997
+ URL.revokeObjectURL(url);
998
+
999
+ const btn = event.target;
1000
+ const originalText = btn.textContent;
1001
+ btn.textContent = 'Downloaded!';
1002
+ btn.classList.add('success');
1003
+ setTimeout(() => {
1004
+ btn.textContent = originalText;
1005
+ btn.classList.remove('success');
1006
+ }, 2000);
1007
+ }
1008
+
1009
+ // Add syntax highlighting
1010
+ function highlightJSON() {
1011
+ const content = document.getElementById('json-content');
1012
+ let html = content.innerHTML;
1013
+
1014
+ // Highlight different JSON elements
1015
+ html = html.replace(/"([^"]+)":/g, '<span class="json-key">"$1":</span>');
1016
+ html = html.replace(/: "([^"]*)"/g, ': <span class="json-string">"$1"</span>');
1017
+ html = html.replace(/: (-?\d+\.?\d*)/g, ': <span class="json-number">$1</span>');
1018
+ html = html.replace(/: (true|false)/g, ': <span class="json-boolean">$1</span>');
1019
+ html = html.replace(/: null/g, ': <span class="json-null">null</span>');
1020
+
1021
+ content.innerHTML = html;
1022
+ }
1023
+
1024
+ // Apply syntax highlighting after page load
1025
+ window.addEventListener('load', highlightJSON);
1026
+ </script>
1027
+ </body>
1028
+ </html>