AiCoderv2 commited on
Commit
a383188
·
verified ·
1 Parent(s): ffbd09f

Upload index.html with huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +1130 -19
index.html CHANGED
@@ -1,19 +1,1130 @@
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
+ body {
9
+ font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
10
+ background-color: #1e1e1e;
11
+ color: #d4d4d4;
12
+ margin: 0;
13
+ padding: 20px;
14
+ line-height: 1.4;
15
+ }
16
+ .header {
17
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
18
+ color: white;
19
+ padding: 20px;
20
+ border-radius: 10px;
21
+ margin-bottom: 20px;
22
+ text-align: center;
23
+ }
24
+ .header h1 {
25
+ margin: 0;
26
+ font-size: 2em;
27
+ }
28
+ .header a {
29
+ color: #ffffff;
30
+ text-decoration: none;
31
+ font-weight: bold;
32
+ opacity: 0.9;
33
+ }
34
+ .header a:hover {
35
+ opacity: 1;
36
+ text-decoration: underline;
37
+ }
38
+ .json-container {
39
+ background-color: #2d2d30;
40
+ border-radius: 8px;
41
+ padding: 20px;
42
+ overflow-x: auto;
43
+ border: 1px solid #3e3e42;
44
+ }
45
+ pre {
46
+ margin: 0;
47
+ white-space: pre-wrap;
48
+ word-wrap: break-word;
49
+ }
50
+ .json-key {
51
+ color: #9cdcfe;
52
+ }
53
+ .json-string {
54
+ color: #ce9178;
55
+ }
56
+ .json-number {
57
+ color: #b5cea8;
58
+ }
59
+ .json-boolean {
60
+ color: #569cd6;
61
+ }
62
+ .json-null {
63
+ color: #569cd6;
64
+ }
65
+ .copy-btn {
66
+ background: #007acc;
67
+ color: white;
68
+ border: none;
69
+ padding: 10px 20px;
70
+ border-radius: 5px;
71
+ cursor: pointer;
72
+ margin-bottom: 10px;
73
+ font-family: inherit;
74
+ }
75
+ .copy-btn:hover {
76
+ background: #005a9e;
77
+ }
78
+ .download-btn {
79
+ background: #28a745;
80
+ color: white;
81
+ border: none;
82
+ padding: 10px 20px;
83
+ border-radius: 5px;
84
+ cursor: pointer;
85
+ margin-bottom: 10px;
86
+ margin-left: 10px;
87
+ font-family: inherit;
88
+ }
89
+ .download-btn:hover {
90
+ background: #218838;
91
+ }
92
+ </style>
93
+ </head>
94
+ <body>
95
+ <div class="header">
96
+ <h1>ComfyUI Workflow</h1>
97
+ <p>Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">anycoder</a></p>
98
+ </div>
99
+
100
+ <button class="copy-btn" onclick="copyToClipboard()">📋 Copy JSON</button>
101
+ <button class="download-btn" onclick="downloadJSON()">💾 Download JSON</button>
102
+
103
+ <div class="json-container">
104
+ <pre id="json-content">{
105
+ "last_node_id": 15,
106
+ "last_link_id": 20,
107
+ "nodes": [
108
+ {
109
+ "id": 1,
110
+ "type": "CheckpointLoaderSimple",
111
+ "pos": [
112
+ 50,
113
+ 50
114
+ ],
115
+ "size": {
116
+ "0": 350,
117
+ "1": 100
118
+ },
119
+ "flags": {},
120
+ "order": 0,
121
+ "mode": 0,
122
+ "outputs": [
123
+ {
124
+ "name": "MODEL",
125
+ "type": "MODEL",
126
+ "links": [
127
+ 2
128
+ ],
129
+ "shape": 3,
130
+ "slot_index": 0
131
+ },
132
+ {
133
+ "name": "CLIP",
134
+ "type": "CLIP",
135
+ "links": [
136
+ 3
137
+ ],
138
+ "shape": 3,
139
+ "slot_index": 1
140
+ }
141
+ ],
142
+ "properties": {
143
+ "Node name for S&R": "CheckpointLoaderSimple"
144
+ },
145
+ "widgets_values": [
146
+ "sd_xl_base_1.0.safetensors"
147
+ ]
148
+ },
149
+ {
150
+ "id": 2,
151
+ "type": "CLIPTextEncode",
152
+ "pos": [
153
+ 450,
154
+ 50
155
+ ],
156
+ "size": {
157
+ "0": 400,
158
+ "1": 200
159
+ },
160
+ "flags": {},
161
+ "order": 1,
162
+ "mode": 0,
163
+ "inputs": [
164
+ {
165
+ "name": "clip",
166
+ "type": "CLIP",
167
+ "link": 3
168
+ }
169
+ ],
170
+ "outputs": [
171
+ {
172
+ "name": "CONDITIONING",
173
+ "type": "CONDITIONING",
174
+ "links": [
175
+ 4
176
+ ],
177
+ "shape": 3,
178
+ "slot_index": 0
179
+ }
180
+ ],
181
+ "properties": {
182
+ "Node name for S&R": "CLIPTextEncode"
183
+ },
184
+ "widgets_values": [
185
+ "professional AI chatbot avatar, friendly face, blue and white color scheme, high quality, digital art, 4k"
186
+ ]
187
+ },
188
+ {
189
+ "id": 3,
190
+ "type": "CLIPTextEncode",
191
+ "pos": [
192
+ 450,
193
+ 300
194
+ ],
195
+ "size": {
196
+ "0": 400,
197
+ "1": 200
198
+ },
199
+ "flags": {},
200
+ "order": 2,
201
+ "mode": 0,
202
+ "inputs": [
203
+ {
204
+ "name": "clip",
205
+ "type": "CLIP",
206
+ "link": 3
207
+ }
208
+ ],
209
+ "outputs": [
210
+ {
211
+ "name": "CONDITIONING",
212
+ "type": "CONDITIONING",
213
+ "links": [
214
+ 5
215
+ ],
216
+ "shape": 3,
217
+ "slot_index": 0
218
+ }
219
+ ],
220
+ "properties": {
221
+ "Node name for S&R": "CLIPTextEncode"
222
+ },
223
+ "widgets_values": [
224
+ "blurry, low quality, distorted, ugly, bad anatomy"
225
+ ]
226
+ },
227
+ {
228
+ "id": 4,
229
+ "type": "EmptyLatentImage",
230
+ "pos": [
231
+ 500,
232
+ 550
233
+ ],
234
+ "size": {
235
+ "0": 300,
236
+ "1": 110
237
+ },
238
+ "flags": {},
239
+ "order": 3,
240
+ "mode": 0,
241
+ "outputs": [
242
+ {
243
+ "name": "LATENT",
244
+ "type": "LATENT",
245
+ "links": [
246
+ 6
247
+ ],
248
+ "shape": 3,
249
+ "slot_index": 0
250
+ }
251
+ ],
252
+ "properties": {
253
+ "Node name for S&R": "EmptyLatentImage"
254
+ },
255
+ "widgets_values": [
256
+ 512,
257
+ 512,
258
+ 1
259
+ ]
260
+ },
261
+ {
262
+ "id": 5,
263
+ "type": "KSampler",
264
+ "pos": [
265
+ 950,
266
+ 250
267
+ ],
268
+ "size": {
269
+ "0": 300,
270
+ "1": 262
271
+ },
272
+ "flags": {},
273
+ "order": 4,
274
+ "mode": 0,
275
+ "inputs": [
276
+ {
277
+ "name": "model",
278
+ "type": "MODEL",
279
+ "link": 2
280
+ },
281
+ {
282
+ "name": "positive",
283
+ "type": "CONDITIONING",
284
+ "link": 4
285
+ },
286
+ {
287
+ "name": "negative",
288
+ "type": "CONDITIONING",
289
+ "link": 5
290
+ },
291
+ {
292
+ "name": "latent_image",
293
+ "type": "LATENT",
294
+ "link": 6
295
+ }
296
+ ],
297
+ "outputs": [
298
+ {
299
+ "name": "LATENT",
300
+ "type": "LATENT",
301
+ "links": [
302
+ 7
303
+ ],
304
+ "shape": 3,
305
+ "slot_index": 0
306
+ }
307
+ ],
308
+ "properties": {
309
+ "Node name for S&R": "KSampler"
310
+ },
311
+ "widgets_values": [
312
+ 42,
313
+ "randomize",
314
+ 20,
315
+ 8,
316
+ "euler",
317
+ "normal"
318
+ ]
319
+ },
320
+ {
321
+ "id": 6,
322
+ "type": "VAEDecode",
323
+ "pos": [
324
+ 1350,
325
+ 250
326
+ ],
327
+ "size": {
328
+ "0": 210,
329
+ "1": 46
330
+ },
331
+ "flags": {},
332
+ "order": 5,
333
+ "mode": 0,
334
+ "inputs": [
335
+ {
336
+ "name": "samples",
337
+ "type": "LATENT",
338
+ "link": 7
339
+ },
340
+ {
341
+ "name": "vae",
342
+ "type": "VAE",
343
+ "link": 8
344
+ }
345
+ ],
346
+ "outputs": [
347
+ {
348
+ "name": "IMAGE",
349
+ "type": "IMAGE",
350
+ "links": [
351
+ 9
352
+ ],
353
+ "shape": 3,
354
+ "slot_index": 0
355
+ }
356
+ ],
357
+ "properties": {
358
+ "Node name for S&R": "VAEDecode"
359
+ }
360
+ },
361
+ {
362
+ "id": 7,
363
+ "type": "VAELoader",
364
+ "pos": [
365
+ 50,
366
+ 200
367
+ ],
368
+ "size": {
369
+ "0": 350,
370
+ "1": 60
371
+ },
372
+ "flags": {},
373
+ "order": 6,
374
+ "mode": 0,
375
+ "outputs": [
376
+ {
377
+ "name": "VAE",
378
+ "type": "VAE",
379
+ "links": [
380
+ 8
381
+ ],
382
+ "shape": 3,
383
+ "slot_index": 0
384
+ }
385
+ ],
386
+ "properties": {
387
+ "Node name for S&R": "VAELoader"
388
+ },
389
+ "widgets_values": [
390
+ "sdxl_vae.safetensors"
391
+ ]
392
+ },
393
+ {
394
+ "id": 8,
395
+ "type": "SaveImage",
396
+ "pos": [
397
+ 1650,
398
+ 250
399
+ ],
400
+ "size": {
401
+ "0": 315,
402
+ "1": 270
403
+ },
404
+ "flags": {},
405
+ "order": 7,
406
+ "mode": 0,
407
+ "inputs": [
408
+ {
409
+ "name": "images",
410
+ "type": "IMAGE",
411
+ "link": 9
412
+ }
413
+ ],
414
+ "properties": {
415
+ "Node name for S&R": "SaveImage"
416
+ },
417
+ "widgets_values": [
418
+ "chatbot_avatar"
419
+ ]
420
+ },
421
+ {
422
+ "id": 9,
423
+ "type": "CLIPTextEncode",
424
+ "pos": [
425
+ 450,
426
+ 750
427
+ ],
428
+ "size": {
429
+ "0": 400,
430
+ "1": 200
431
+ },
432
+ "flags": {},
433
+ "order": 8,
434
+ "mode": 0,
435
+ "inputs": [
436
+ {
437
+ "name": "clip",
438
+ "type": "CLIP",
439
+ "link": 3
440
+ }
441
+ ],
442
+ "outputs": [
443
+ {
444
+ "name": "CONDITIONING",
445
+ "type": "CONDITIONING",
446
+ "links": [
447
+ 10
448
+ ],
449
+ "shape": 3,
450
+ "slot_index": 0
451
+ }
452
+ ],
453
+ "properties": {
454
+ "Node name for S&R": "CLIPTextEncode"
455
+ },
456
+ "widgets_values": [
457
+ "modern chat interface design, clean UI, message bubbles, login screen, mobile app design, professional"
458
+ ]
459
+ },
460
+ {
461
+ "id": 10,
462
+ "type": "KSampler",
463
+ "pos": [
464
+ 950,
465
+ 750
466
+ ],
467
+ "size": {
468
+ "0": 300,
469
+ "1": 262
470
+ },
471
+ "flags": {},
472
+ "order": 9,
473
+ "mode": 0,
474
+ "inputs": [
475
+ {
476
+ "name": "model",
477
+ "type": "MODEL",
478
+ "link": 2
479
+ },
480
+ {
481
+ "name": "positive",
482
+ "type": "CONDITIONING",
483
+ "link": 10
484
+ },
485
+ {
486
+ "name": "negative",
487
+ "type": "CONDITIONING",
488
+ "link": 5
489
+ },
490
+ {
491
+ "name": "latent_image",
492
+ "type": "LATENT",
493
+ "link": 11
494
+ }
495
+ ],
496
+ "outputs": [
497
+ {
498
+ "name": "LATENT",
499
+ "type": "LATENT",
500
+ "links": [
501
+ 12
502
+ ],
503
+ "shape": 3,
504
+ "slot_index": 0
505
+ }
506
+ ],
507
+ "properties": {
508
+ "Node name for S&R": "CLIPTextEncode"
509
+ },
510
+ "widgets_values": [
511
+ 123,
512
+ "randomize",
513
+ 25,
514
+ 8,
515
+ "euler",
516
+ "normal"
517
+ ]
518
+ },
519
+ {
520
+ "id": 11,
521
+ "type": "EmptyLatentImage",
522
+ "pos": [
523
+ 500,
524
+ 700
525
+ ],
526
+ "size": {
527
+ "0": 300,
528
+ "1": 110
529
+ },
530
+ "flags": {},
531
+ "order": 10,
532
+ "mode": 0,
533
+ "outputs": [
534
+ {
535
+ "name": "LATENT",
536
+ "type": "LATENT",
537
+ "links": [
538
+ 11
539
+ ],
540
+ "shape": 3,
541
+ "slot_index": 0
542
+ }
543
+ ],
544
+ "properties": {
545
+ "Node name for S&R": "EmptyLatentImage"
546
+ },
547
+ "widgets_values": [
548
+ 1024,
549
+ 768,
550
+ 1
551
+ ]
552
+ },
553
+ {
554
+ "id": 12,
555
+ "type": "VAEDecode",
556
+ "pos": [
557
+ 1350,
558
+ 750
559
+ ],
560
+ "size": {
561
+ "0": 210,
562
+ "1": 46
563
+ },
564
+ "flags": {},
565
+ "order": 11,
566
+ "mode": 0,
567
+ "inputs": [
568
+ {
569
+ "name": "samples",
570
+ "type": "LATENT",
571
+ "link": 12
572
+ },
573
+ {
574
+ "name": "vae",
575
+ "type": "VAE",
576
+ "link": 8
577
+ }
578
+ ],
579
+ "outputs": [
580
+ {
581
+ "name": "IMAGE",
582
+ "type": "IMAGE",
583
+ "links": [
584
+ 13
585
+ ],
586
+ "shape": 3,
587
+ "slot_index": 0
588
+ }
589
+ ],
590
+ "properties": {
591
+ "Node name for S&R": "VAEDecode"
592
+ }
593
+ },
594
+ {
595
+ "id": 13,
596
+ "type": "SaveImage",
597
+ "pos": [
598
+ 1650,
599
+ 750
600
+ ],
601
+ "size": {
602
+ "0": 315,
603
+ "1": 270
604
+ },
605
+ "flags": {},
606
+ "order": 12,
607
+ "mode": 0,
608
+ "inputs": [
609
+ {
610
+ "name": "images",
611
+ "type": "IMAGE",
612
+ "link": 13
613
+ }
614
+ ],
615
+ "properties": {
616
+ "Node name for S&R": "SaveImage"
617
+ },
618
+ "widgets_values": [
619
+ "chat_interface_design"
620
+ ]
621
+ },
622
+ {
623
+ "id": 14,
624
+ "type": "CLIPTextEncode",
625
+ "pos": [
626
+ 450,
627
+ 1100
628
+ ],
629
+ "size": {
630
+ "0": 400,
631
+ "1": 200
632
+ },
633
+ "flags": {},
634
+ "order": 13,
635
+ "mode": 0,
636
+ "inputs": [
637
+ {
638
+ "name": "clip",
639
+ "type": "CLIP",
640
+ "link": 3
641
+ }
642
+ ],
643
+ "outputs": [
644
+ {
645
+ "name": "CONDITIONING",
646
+ "type": "CONDITIONING",
647
+ "links": [
648
+ 14
649
+ ],
650
+ "shape": 3,
651
+ "slot_index": 0
652
+ }
653
+ ],
654
+ "properties": {
655
+ "Node name for S&R": "CLIPTextEncode"
656
+ },
657
+ "widgets_values": [
658
+ "AI chatbot feature icons, set of modern icons for chat features, notification icons, user profile, settings, messages, vector style"
659
+ ]
660
+ },
661
+ {
662
+ "id": 15,
663
+ "type": "KSampler",
664
+ "pos": [
665
+ 950,
666
+ 1100
667
+ ],
668
+ "size": {
669
+ "0": 300,
670
+ "1": 262
671
+ },
672
+ "flags": {},
673
+ "order": 14,
674
+ "mode": 0,
675
+ "inputs": [
676
+ {
677
+ "name": "model",
678
+ "type": "MODEL",
679
+ "link": 2
680
+ },
681
+ {
682
+ "name": "positive",
683
+ "type": "CONDITIONING",
684
+ "link": 14
685
+ },
686
+ {
687
+ "name": "negative",
688
+ "type": "CONDITIONING",
689
+ "link": 5
690
+ },
691
+ {
692
+ "name": "latent_image",
693
+ "type": "LATENT",
694
+ "link": 15
695
+ }
696
+ ],
697
+ "outputs": [
698
+ {
699
+ "name": "LATENT",
700
+ "type": "LATENT",
701
+ "links": [
702
+ 16
703
+ ],
704
+ "shape": 3,
705
+ "slot_index": 0
706
+ }
707
+ ],
708
+ "properties": {
709
+ "Node name for S&R": "KSampler"
710
+ },
711
+ "widgets_values": [
712
+ 456,
713
+ "randomize",
714
+ 30,
715
+ 8,
716
+ "euler",
717
+ "normal"
718
+ ]
719
+ },
720
+ {
721
+ "id": 16,
722
+ "type": "EmptyLatentImage",
723
+ "pos": [
724
+ 500,
725
+ 1050
726
+ ],
727
+ "size": {
728
+ "0": 300,
729
+ "1": 110
730
+ },
731
+ "flags": {},
732
+ "order": 15,
733
+ "mode": 0,
734
+ "outputs": [
735
+ {
736
+ "name": "LATENT",
737
+ "type": "LATENT",
738
+ "links": [
739
+ 15
740
+ ],
741
+ "shape": 3,
742
+ "slot_index": 0
743
+ }
744
+ ],
745
+ "properties": {
746
+ "Node name for S&R": "EmptyLatentImage"
747
+ },
748
+ "widgets_values": [
749
+ 1024,
750
+ 1024,
751
+ 1
752
+ ]
753
+ },
754
+ {
755
+ "id": 17,
756
+ "type": "VAEDecode",
757
+ "pos": [
758
+ 1350,
759
+ 1100
760
+ ],
761
+ "size": {
762
+ "0": 210,
763
+ "1": 46
764
+ },
765
+ "flags": {},
766
+ "order": 16,
767
+ "mode": 0,
768
+ "inputs": [
769
+ {
770
+ "name": "samples",
771
+ "type": "LATENT",
772
+ "link": 16
773
+ },
774
+ {
775
+ "name": "vae",
776
+ "type": "VAE",
777
+ "link": 8
778
+ }
779
+ ],
780
+ "outputs": [
781
+ {
782
+ "name": "IMAGE",
783
+ "type": "IMAGE",
784
+ "links": [
785
+ 17
786
+ ],
787
+ "shape": 3,
788
+ "slot_index": 0
789
+ }
790
+ ],
791
+ "properties": {
792
+ "Node name for S&R": "VAEDecode"
793
+ }
794
+ },
795
+ {
796
+ "id": 18,
797
+ "type": "SaveImage",
798
+ "pos": [
799
+ 1650,
800
+ 1100
801
+ ],
802
+ "size": {
803
+ "0": 315,
804
+ "1": 270
805
+ },
806
+ "flags": {},
807
+ "order": 17,
808
+ "mode": 0,
809
+ "inputs": [
810
+ {
811
+ "name": "images",
812
+ "type": "IMAGE",
813
+ "link": 17
814
+ }
815
+ ],
816
+ "properties": {
817
+ "Node name for S&R": "SaveImage"
818
+ },
819
+ "widgets_values": [
820
+ "chatbot_feature_icons"
821
+ ]
822
+ }
823
+ ],
824
+ "links": [
825
+ [
826
+ 2,
827
+ 1,
828
+ 0,
829
+ 5,
830
+ 0,
831
+ "MODEL"
832
+ ],
833
+ [
834
+ 2,
835
+ 1,
836
+ 0,
837
+ 10,
838
+ 0,
839
+ "MODEL"
840
+ ],
841
+ [
842
+ 2,
843
+ 1,
844
+ 0,
845
+ 15,
846
+ 0,
847
+ "MODEL"
848
+ ],
849
+ [
850
+ 3,
851
+ 1,
852
+ 1,
853
+ 2,
854
+ 0,
855
+ "CLIP"
856
+ ],
857
+ [
858
+ 3,
859
+ 1,
860
+ 1,
861
+ 3,
862
+ 0,
863
+ "CLIP"
864
+ ],
865
+ [
866
+ 3,
867
+ 1,
868
+ 1,
869
+ 9,
870
+ 0,
871
+ "CLIP"
872
+ ],
873
+ [
874
+ 3,
875
+ 1,
876
+ 1,
877
+ 14,
878
+ 0,
879
+ "CLIP"
880
+ ],
881
+ [
882
+ 4,
883
+ 2,
884
+ 0,
885
+ 5,
886
+ 1,
887
+ "CONDITIONING"
888
+ ],
889
+ [
890
+ 5,
891
+ 3,
892
+ 0,
893
+ 5,
894
+ 2,
895
+ "CONDITIONING"
896
+ ],
897
+ [
898
+ 5,
899
+ 3,
900
+ 0,
901
+ 10,
902
+ 2,
903
+ "CONDITIONING"
904
+ ],
905
+ [
906
+ 5,
907
+ 3,
908
+ 0,
909
+ 15,
910
+ 2,
911
+ "CONDITIONING"
912
+ ],
913
+ [
914
+ 6,
915
+ 4,
916
+ 0,
917
+ 5,
918
+ 3,
919
+ "LATENT"
920
+ ],
921
+ [
922
+ 7,
923
+ 5,
924
+ 0,
925
+ 6,
926
+ 0,
927
+ "LATENT"
928
+ ],
929
+ [
930
+ 8,
931
+ 7,
932
+ 0,
933
+ 6,
934
+ 1,
935
+ "VAE"
936
+ ],
937
+ [
938
+ 8,
939
+ 7,
940
+ 0,
941
+ 12,
942
+ 1,
943
+ "VAE"
944
+ ],
945
+ [
946
+ 8,
947
+ 7,
948
+ 0,
949
+ 17,
950
+ 1,
951
+ "VAE"
952
+ ],
953
+ [
954
+ 9,
955
+ 6,
956
+ 0,
957
+ 8,
958
+ 0,
959
+ "IMAGE"
960
+ ],
961
+ [
962
+ 10,
963
+ 9,
964
+ 0,
965
+ 10,
966
+ 1,
967
+ "CONDITIONING"
968
+ ],
969
+ [
970
+ 11,
971
+ 11,
972
+ 0,
973
+ 10,
974
+ 3,
975
+ "LATENT"
976
+ ],
977
+ [
978
+ 12,
979
+ 10,
980
+ 0,
981
+ 12,
982
+ 0,
983
+ "LATENT"
984
+ ],
985
+ [
986
+ 13,
987
+ 12,
988
+ 0,
989
+ 13,
990
+ 0,
991
+ "IMAGE"
992
+ ],
993
+ [
994
+ 14,
995
+ 14,
996
+ 0,
997
+ 15,
998
+ 1,
999
+ "CONDITIONING"
1000
+ ],
1001
+ [
1002
+ 15,
1003
+ 16,
1004
+ 0,
1005
+ 15,
1006
+ 3,
1007
+ "LATENT"
1008
+ ],
1009
+ [
1010
+ 16,
1011
+ 15,
1012
+ 0,
1013
+ 17,
1014
+ 0,
1015
+ "LATENT"
1016
+ ],
1017
+ [
1018
+ 17,
1019
+ 17,
1020
+ 0,
1021
+ 18,
1022
+ 0,
1023
+ "IMAGE"
1024
+ ]
1025
+ ],
1026
+ "groups": [
1027
+ {
1028
+ "title": "Chatbot Avatar Generation",
1029
+ "bounding": [
1030
+ 30,
1031
+ 10,
1032
+ 1950,
1033
+ 500
1034
+ ],
1035
+ "color": "#8f8",
1036
+ "font_size": 24
1037
+ },
1038
+ {
1039
+ "title": "Chat Interface Design",
1040
+ "bounding": [
1041
+ 30,
1042
+ 680,
1043
+ 1950,
1044
+ 370
1045
+ ],
1046
+ "color": "#f88",
1047
+ "font_size": 24
1048
+ },
1049
+ {
1050
+ "title": "Feature Icons & UI Elements",
1051
+ "bounding": [
1052
+ 30,
1053
+ 1030,
1054
+ 1950,
1055
+ 370
1056
+ ],
1057
+ "color": "#88f",
1058
+ "font_size": 24
1059
+ }
1060
+ ],
1061
+ "config": {},
1062
+ "extra": {
1063
+ "ds": {
1064
+ "scale": 0.5,
1065
+ "offset": [
1066
+ 0,
1067
+ 0
1068
+ ]
1069
+ },
1070
+ "workspace": {
1071
+ "position": [
1072
+ 0,
1073
+ 0
1074
+ ],
1075
+ "scale": 1
1076
+ }
1077
+ },
1078
+ "version": 0.4,
1079
+ "metadata": {
1080
+ "description": "AI Chatbot Visual Assets Generator - Creates complete visual assets for chatbot applications including avatars, interface designs, and feature icons. Built with anycoder - https://huggingface.co/spaces/akhaliq/anycoder"
1081
+ }
1082
+ }</pre>
1083
+ </div>
1084
+
1085
+ <script>
1086
+ function copyToClipboard() {
1087
+ const jsonContent = document.getElementById('json-content').textContent;
1088
+ navigator.clipboard.writeText(jsonContent).then(() => {
1089
+ const btn = document.querySelector('.copy-btn');
1090
+ const originalText = btn.textContent;
1091
+ btn.textContent = '✅ Copied!';
1092
+ setTimeout(() => {
1093
+ btn.textContent = originalText;
1094
+ }, 2000);
1095
+ });
1096
+ }
1097
+
1098
+ function downloadJSON() {
1099
+ const jsonContent = document.getElementById('json-content').textContent;
1100
+ const blob = new Blob([jsonContent], { type: 'application/json' });
1101
+ const url = URL.createObjectURL(blob);
1102
+ const a = document.createElement('a');
1103
+ a.href = url;
1104
+ a.download = 'comfyui_workflow.json';
1105
+ document.body.appendChild(a);
1106
+ a.click();
1107
+ document.body.removeChild(a);
1108
+ URL.revokeObjectURL(url);
1109
+ }
1110
+
1111
+ // Add syntax highlighting
1112
+ function highlightJSON() {
1113
+ const content = document.getElementById('json-content');
1114
+ let html = content.innerHTML;
1115
+
1116
+ // Highlight different JSON elements
1117
+ html = html.replace(/"([^"]+)":/g, '<span class="json-key">"$1":</span>');
1118
+ html = html.replace(/: "([^"]*)"/g, ': <span class="json-string">"$1"</span>');
1119
+ html = html.replace(/: (-?\d+\.?\d*)/g, ': <span class="json-number">$1</span>');
1120
+ html = html.replace(/: (true|false)/g, ': <span class="json-boolean">$1</span>');
1121
+ html = html.replace(/: null/g, ': <span class="json-null">null</span>');
1122
+
1123
+ content.innerHTML = html;
1124
+ }
1125
+
1126
+ // Apply syntax highlighting after page load
1127
+ window.addEventListener('load', highlightJSON);
1128
+ </script>
1129
+ </body>
1130
+ </html>