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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "0f653a5f-0f07-4298-a6b2-f64becbe5acb",
3
+ "revision": 0,
4
+ "last_node_id": 56,
5
+ "last_link_id": 98,
6
+ "nodes": [
7
+ {
8
+ "id": 3,
9
+ "type": "VAELoader",
10
+ "pos": [
11
+ -2155.8452763044443,
12
+ 440.7914035344231
13
+ ],
14
+ "size": [
15
+ 262.921875,
16
+ 80
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "VAE",
25
+ "type": "VAE",
26
+ "links": [
27
+ 8
28
+ ]
29
+ }
30
+ ],
31
+ "properties": {
32
+ "Node name for S&R": "VAELoader",
33
+ "cnr_id": "comfy-core",
34
+ "ver": "0.26.0"
35
+ },
36
+ "widgets_values": [
37
+ "qwen_image_vae.safetensors"
38
+ ]
39
+ },
40
+ {
41
+ "id": 9,
42
+ "type": "SaveImage",
43
+ "pos": [
44
+ -603.3899357167434,
45
+ 177.42761943203593
46
+ ],
47
+ "size": [
48
+ 478.421875,
49
+ 589.96875
50
+ ],
51
+ "flags": {},
52
+ "order": 16,
53
+ "mode": 0,
54
+ "inputs": [
55
+ {
56
+ "name": "images",
57
+ "type": "IMAGE",
58
+ "link": 9
59
+ }
60
+ ],
61
+ "outputs": [
62
+ {
63
+ "name": "images",
64
+ "type": "IMAGE",
65
+ "links": []
66
+ }
67
+ ],
68
+ "properties": {
69
+ "Node name for S&R": "SaveImage",
70
+ "cnr_id": "comfy-core",
71
+ "ver": "0.26.0"
72
+ },
73
+ "widgets_values": [
74
+ "ComfyUI"
75
+ ]
76
+ },
77
+ {
78
+ "id": 16,
79
+ "type": "ModelSamplingAuraFlow",
80
+ "pos": [
81
+ -1245.361171685394,
82
+ -83.02003949871515
83
+ ],
84
+ "size": [
85
+ 270,
86
+ 80
87
+ ],
88
+ "flags": {},
89
+ "order": 12,
90
+ "mode": 4,
91
+ "inputs": [
92
+ {
93
+ "name": "model",
94
+ "type": "MODEL",
95
+ "link": 73
96
+ }
97
+ ],
98
+ "outputs": [
99
+ {
100
+ "name": "MODEL",
101
+ "type": "MODEL",
102
+ "links": [
103
+ 26
104
+ ]
105
+ }
106
+ ],
107
+ "properties": {
108
+ "Node name for S&R": "ModelSamplingAuraFlow",
109
+ "cnr_id": "comfy-core",
110
+ "ver": "0.26.0"
111
+ },
112
+ "widgets_values": [
113
+ 4
114
+ ]
115
+ },
116
+ {
117
+ "id": 1,
118
+ "type": "UNETLoader",
119
+ "pos": [
120
+ -2162.529816444944,
121
+ -34.052096655729315
122
+ ],
123
+ "size": [
124
+ 270,
125
+ 108
126
+ ],
127
+ "flags": {},
128
+ "order": 1,
129
+ "mode": 0,
130
+ "inputs": [],
131
+ "outputs": [
132
+ {
133
+ "name": "MODEL",
134
+ "type": "MODEL",
135
+ "links": [
136
+ 56
137
+ ]
138
+ }
139
+ ],
140
+ "properties": {
141
+ "Node name for S&R": "UNETLoader",
142
+ "cnr_id": "comfy-core",
143
+ "ver": "0.26.0"
144
+ },
145
+ "widgets_values": [
146
+ "krea2_turbo_bf16.safetensors",
147
+ "default"
148
+ ]
149
+ },
150
+ {
151
+ "id": 2,
152
+ "type": "CLIPLoader",
153
+ "pos": [
154
+ -2163.3915284164673,
155
+ 261.86613351605763
156
+ ],
157
+ "size": [
158
+ 270,
159
+ 140
160
+ ],
161
+ "flags": {},
162
+ "order": 2,
163
+ "mode": 0,
164
+ "inputs": [],
165
+ "outputs": [
166
+ {
167
+ "name": "CLIP",
168
+ "type": "CLIP",
169
+ "links": [
170
+ 51,
171
+ 52
172
+ ]
173
+ }
174
+ ],
175
+ "properties": {
176
+ "Node name for S&R": "CLIPLoader",
177
+ "cnr_id": "comfy-core",
178
+ "ver": "0.26.0"
179
+ },
180
+ "widgets_values": [
181
+ "qwen3vl_4b_bf16.safetensors",
182
+ "krea2",
183
+ "default"
184
+ ]
185
+ },
186
+ {
187
+ "id": 8,
188
+ "type": "VAEDecode",
189
+ "pos": [
190
+ -767.2815630812987,
191
+ 78.52318522634245
192
+ ],
193
+ "size": [
194
+ 140,
195
+ 46
196
+ ],
197
+ "flags": {},
198
+ "order": 15,
199
+ "mode": 0,
200
+ "inputs": [
201
+ {
202
+ "name": "samples",
203
+ "type": "LATENT",
204
+ "link": 7
205
+ },
206
+ {
207
+ "name": "vae",
208
+ "type": "VAE",
209
+ "link": 8
210
+ }
211
+ ],
212
+ "outputs": [
213
+ {
214
+ "name": "IMAGE",
215
+ "type": "IMAGE",
216
+ "links": [
217
+ 9
218
+ ]
219
+ }
220
+ ],
221
+ "properties": {
222
+ "Node name for S&R": "VAEDecode",
223
+ "cnr_id": "comfy-core",
224
+ "ver": "0.26.0"
225
+ },
226
+ "widgets_values": []
227
+ },
228
+ {
229
+ "id": 7,
230
+ "type": "EmptyLatentImage",
231
+ "pos": [
232
+ -906.3382015110491,
233
+ 534.0039799921833
234
+ ],
235
+ "size": [
236
+ 270,
237
+ 144
238
+ ],
239
+ "flags": {},
240
+ "order": 10,
241
+ "mode": 0,
242
+ "inputs": [
243
+ {
244
+ "name": "width",
245
+ "type": "INT",
246
+ "widget": {
247
+ "name": "width"
248
+ },
249
+ "link": 15
250
+ },
251
+ {
252
+ "name": "height",
253
+ "type": "INT",
254
+ "widget": {
255
+ "name": "height"
256
+ },
257
+ "link": 16
258
+ }
259
+ ],
260
+ "outputs": [
261
+ {
262
+ "name": "LATENT",
263
+ "type": "LATENT",
264
+ "links": [
265
+ 6
266
+ ]
267
+ }
268
+ ],
269
+ "properties": {
270
+ "Node name for S&R": "EmptyLatentImage",
271
+ "cnr_id": "comfy-core",
272
+ "ver": "0.26.0"
273
+ },
274
+ "widgets_values": [
275
+ 1024,
276
+ 1024,
277
+ 1
278
+ ]
279
+ },
280
+ {
281
+ "id": 34,
282
+ "type": "LoaderGGUF",
283
+ "pos": [
284
+ -2159.781869537962,
285
+ 113.20882275528923
286
+ ],
287
+ "size": [
288
+ 270,
289
+ 104
290
+ ],
291
+ "flags": {},
292
+ "order": 3,
293
+ "mode": 0,
294
+ "inputs": [],
295
+ "outputs": [
296
+ {
297
+ "name": "MODEL",
298
+ "type": "MODEL",
299
+ "links": [
300
+ 57
301
+ ]
302
+ }
303
+ ],
304
+ "properties": {
305
+ "Node name for S&R": "LoaderGGUF"
306
+ },
307
+ "widgets_values": [
308
+ "krea2_turbo-Q4_K_M.gguf"
309
+ ]
310
+ },
311
+ {
312
+ "id": 37,
313
+ "type": "ComfySwitchNode",
314
+ "pos": [
315
+ -1835.3786936788777,
316
+ -80.35743655209227
317
+ ],
318
+ "size": [
319
+ 270,
320
+ 78
321
+ ],
322
+ "flags": {},
323
+ "order": 7,
324
+ "mode": 0,
325
+ "inputs": [
326
+ {
327
+ "name": "on_false",
328
+ "type": "MODEL",
329
+ "link": 56
330
+ },
331
+ {
332
+ "name": "on_true",
333
+ "type": "MODEL",
334
+ "link": 57
335
+ }
336
+ ],
337
+ "outputs": [
338
+ {
339
+ "name": "output",
340
+ "type": "MODEL",
341
+ "links": [
342
+ 72
343
+ ]
344
+ }
345
+ ],
346
+ "title": "Switch (Use GGUF)",
347
+ "properties": {
348
+ "Node name for S&R": "ComfySwitchNode"
349
+ },
350
+ "widgets_values": [
351
+ false
352
+ ]
353
+ },
354
+ {
355
+ "id": 4,
356
+ "type": "CLIPTextEncode",
357
+ "pos": [
358
+ -1325.0755422594418,
359
+ 250.97194349080527
360
+ ],
361
+ "size": [
362
+ 284.2539376721761,
363
+ 114.88367424242418
364
+ ],
365
+ "flags": {
366
+ "collapsed": false
367
+ },
368
+ "order": 8,
369
+ "mode": 0,
370
+ "inputs": [
371
+ {
372
+ "name": "clip",
373
+ "type": "CLIP",
374
+ "link": 51
375
+ },
376
+ {
377
+ "name": "text",
378
+ "type": "STRING",
379
+ "widget": {
380
+ "name": "text"
381
+ },
382
+ "link": 31
383
+ }
384
+ ],
385
+ "outputs": [
386
+ {
387
+ "name": "CONDITIONING",
388
+ "type": "CONDITIONING",
389
+ "links": [
390
+ 3
391
+ ]
392
+ }
393
+ ],
394
+ "properties": {
395
+ "Node name for S&R": "CLIPTextEncode",
396
+ "cnr_id": "comfy-core",
397
+ "ver": "0.26.0"
398
+ },
399
+ "widgets_values": [
400
+ "a woman smiling"
401
+ ]
402
+ },
403
+ {
404
+ "id": 5,
405
+ "type": "CLIPTextEncode",
406
+ "pos": [
407
+ -1319.7488071790908,
408
+ 419.5818021308878
409
+ ],
410
+ "size": [
411
+ 234.765625,
412
+ 34
413
+ ],
414
+ "flags": {
415
+ "collapsed": true
416
+ },
417
+ "order": 6,
418
+ "mode": 0,
419
+ "inputs": [
420
+ {
421
+ "name": "clip",
422
+ "type": "CLIP",
423
+ "link": 52
424
+ }
425
+ ],
426
+ "outputs": [
427
+ {
428
+ "name": "CONDITIONING",
429
+ "type": "CONDITIONING",
430
+ "links": [
431
+ 4
432
+ ]
433
+ }
434
+ ],
435
+ "properties": {
436
+ "Node name for S&R": "CLIPTextEncode",
437
+ "cnr_id": "comfy-core",
438
+ "ver": "0.26.0"
439
+ },
440
+ "widgets_values": [
441
+ ""
442
+ ]
443
+ },
444
+ {
445
+ "id": 22,
446
+ "type": "ComfyUI-Krea2T-Enhancer",
447
+ "pos": [
448
+ -1241.669914629169,
449
+ 36.98827883047318
450
+ ],
451
+ "size": [
452
+ 267.25,
453
+ 160
454
+ ],
455
+ "flags": {},
456
+ "order": 13,
457
+ "mode": 0,
458
+ "inputs": [
459
+ {
460
+ "name": "model",
461
+ "type": "MODEL",
462
+ "link": 26
463
+ }
464
+ ],
465
+ "outputs": [
466
+ {
467
+ "name": "model",
468
+ "type": "MODEL",
469
+ "links": [
470
+ 60
471
+ ]
472
+ }
473
+ ],
474
+ "properties": {
475
+ "Node name for S&R": "ComfyUI-Krea2T-Enhancer",
476
+ "cnr_id": "comfyui-krea2t-enhancer",
477
+ "ver": "1.0.0"
478
+ },
479
+ "widgets_values": [
480
+ true,
481
+ 1,
482
+ false
483
+ ]
484
+ },
485
+ {
486
+ "id": 46,
487
+ "type": "LoraLoaderModelOnly",
488
+ "pos": [
489
+ -1543.579885353698,
490
+ -81.88221815700318
491
+ ],
492
+ "size": [
493
+ 270,
494
+ 112
495
+ ],
496
+ "flags": {},
497
+ "order": 11,
498
+ "mode": 4,
499
+ "inputs": [
500
+ {
501
+ "name": "model",
502
+ "type": "MODEL",
503
+ "link": 72
504
+ }
505
+ ],
506
+ "outputs": [
507
+ {
508
+ "name": "MODEL",
509
+ "type": "MODEL",
510
+ "links": [
511
+ 73
512
+ ]
513
+ }
514
+ ],
515
+ "properties": {
516
+ "Node name for S&R": "LoraLoaderModelOnly"
517
+ },
518
+ "widgets_values": [
519
+ "rainywindow.safetensors",
520
+ 1
521
+ ]
522
+ },
523
+ {
524
+ "id": 24,
525
+ "type": "f0d41058-6cf5-47f1-96a8-69f49642ba55",
526
+ "pos": [
527
+ -1837.490562383409,
528
+ 99.3937556290903
529
+ ],
530
+ "size": [
531
+ 480.67061635674895,
532
+ 620.7062387855829
533
+ ],
534
+ "flags": {},
535
+ "order": 4,
536
+ "mode": 0,
537
+ "inputs": [
538
+ {
539
+ "label": "enhance prompt",
540
+ "name": "value",
541
+ "type": "STRING",
542
+ "widget": {
543
+ "name": "value"
544
+ },
545
+ "link": null
546
+ },
547
+ {
548
+ "label": "lora triggers",
549
+ "name": "value_1",
550
+ "type": "STRING",
551
+ "widget": {
552
+ "name": "value_1"
553
+ },
554
+ "link": null
555
+ }
556
+ ],
557
+ "outputs": [
558
+ {
559
+ "label": "text_out",
560
+ "name": "generated_text",
561
+ "type": "STRING",
562
+ "links": [
563
+ 31
564
+ ]
565
+ },
566
+ {
567
+ "label": "enhanced prompt",
568
+ "name": "output",
569
+ "type": "*",
570
+ "links": [
571
+ 66
572
+ ]
573
+ }
574
+ ],
575
+ "properties": {
576
+ "proxyWidgets": [
577
+ [
578
+ "23",
579
+ "value"
580
+ ],
581
+ [
582
+ "47",
583
+ "value"
584
+ ],
585
+ [
586
+ "43",
587
+ "value"
588
+ ],
589
+ [
590
+ "11",
591
+ "clip_name"
592
+ ],
593
+ [
594
+ "10",
595
+ "sampling_mode.temperature"
596
+ ],
597
+ [
598
+ "10",
599
+ "sampling_mode.seed"
600
+ ],
601
+ [
602
+ "10",
603
+ "max_length"
604
+ ]
605
+ ],
606
+ "cnr_id": "comfy-core",
607
+ "ver": "0.26.0"
608
+ },
609
+ "widgets_values": []
610
+ },
611
+ {
612
+ "id": 14,
613
+ "type": "PreviewAny",
614
+ "pos": [
615
+ -1837.948876878356,
616
+ 763.5731391749181
617
+ ],
618
+ "size": [
619
+ 480.1468555555555,
620
+ 261.2928291666667
621
+ ],
622
+ "flags": {},
623
+ "order": 9,
624
+ "mode": 0,
625
+ "inputs": [
626
+ {
627
+ "name": "source",
628
+ "type": "*",
629
+ "link": 66
630
+ }
631
+ ],
632
+ "outputs": [
633
+ {
634
+ "name": "STRING",
635
+ "type": "STRING",
636
+ "links": null
637
+ }
638
+ ],
639
+ "title": "Enhanced Prompt",
640
+ "properties": {
641
+ "Node name for S&R": "PreviewAny",
642
+ "cnr_id": "comfy-core",
643
+ "ver": "0.26.0"
644
+ },
645
+ "widgets_values": [
646
+ null,
647
+ null,
648
+ null
649
+ ]
650
+ },
651
+ {
652
+ "id": 15,
653
+ "type": "ResolutionSelector",
654
+ "pos": [
655
+ -906.8455204059144,
656
+ 725.8259891675325
657
+ ],
658
+ "size": [
659
+ 270,
660
+ 164
661
+ ],
662
+ "flags": {},
663
+ "order": 5,
664
+ "mode": 0,
665
+ "inputs": [],
666
+ "outputs": [
667
+ {
668
+ "name": "width",
669
+ "type": "INT",
670
+ "links": [
671
+ 15
672
+ ]
673
+ },
674
+ {
675
+ "name": "height",
676
+ "type": "INT",
677
+ "links": [
678
+ 16
679
+ ]
680
+ }
681
+ ],
682
+ "properties": {
683
+ "Node name for S&R": "ResolutionSelector",
684
+ "cnr_id": "comfy-core",
685
+ "ver": "0.26.0"
686
+ },
687
+ "widgets_values": [
688
+ "16:9 (Widescreen)",
689
+ 3,
690
+ 8
691
+ ]
692
+ },
693
+ {
694
+ "id": 6,
695
+ "type": "KSampler",
696
+ "pos": [
697
+ -900.2667357167422,
698
+ 171.1037194320358
699
+ ],
700
+ "size": [
701
+ 270,
702
+ 312
703
+ ],
704
+ "flags": {},
705
+ "order": 14,
706
+ "mode": 0,
707
+ "inputs": [
708
+ {
709
+ "name": "model",
710
+ "type": "MODEL",
711
+ "link": 60
712
+ },
713
+ {
714
+ "name": "positive",
715
+ "type": "CONDITIONING",
716
+ "link": 3
717
+ },
718
+ {
719
+ "name": "negative",
720
+ "type": "CONDITIONING",
721
+ "link": 4
722
+ },
723
+ {
724
+ "name": "latent_image",
725
+ "type": "LATENT",
726
+ "link": 6
727
+ }
728
+ ],
729
+ "outputs": [
730
+ {
731
+ "name": "LATENT",
732
+ "type": "LATENT",
733
+ "links": [
734
+ 7
735
+ ]
736
+ }
737
+ ],
738
+ "properties": {
739
+ "Node name for S&R": "KSampler",
740
+ "cnr_id": "comfy-core",
741
+ "ver": "0.26.0"
742
+ },
743
+ "widgets_values": [
744
+ 67148289781546,
745
+ "randomize",
746
+ 8,
747
+ 1,
748
+ "euler",
749
+ "simple",
750
+ 1
751
+ ]
752
+ }
753
+ ],
754
+ "links": [
755
+ [
756
+ 3,
757
+ 4,
758
+ 0,
759
+ 6,
760
+ 1,
761
+ "CONDITIONING"
762
+ ],
763
+ [
764
+ 4,
765
+ 5,
766
+ 0,
767
+ 6,
768
+ 2,
769
+ "CONDITIONING"
770
+ ],
771
+ [
772
+ 6,
773
+ 7,
774
+ 0,
775
+ 6,
776
+ 3,
777
+ "LATENT"
778
+ ],
779
+ [
780
+ 7,
781
+ 6,
782
+ 0,
783
+ 8,
784
+ 0,
785
+ "LATENT"
786
+ ],
787
+ [
788
+ 8,
789
+ 3,
790
+ 0,
791
+ 8,
792
+ 1,
793
+ "VAE"
794
+ ],
795
+ [
796
+ 9,
797
+ 8,
798
+ 0,
799
+ 9,
800
+ 0,
801
+ "IMAGE"
802
+ ],
803
+ [
804
+ 15,
805
+ 15,
806
+ 0,
807
+ 7,
808
+ 0,
809
+ "INT"
810
+ ],
811
+ [
812
+ 16,
813
+ 15,
814
+ 1,
815
+ 7,
816
+ 1,
817
+ "INT"
818
+ ],
819
+ [
820
+ 26,
821
+ 16,
822
+ 0,
823
+ 22,
824
+ 0,
825
+ "MODEL"
826
+ ],
827
+ [
828
+ 31,
829
+ 24,
830
+ 0,
831
+ 4,
832
+ 1,
833
+ "STRING"
834
+ ],
835
+ [
836
+ 51,
837
+ 2,
838
+ 0,
839
+ 4,
840
+ 0,
841
+ "CLIP"
842
+ ],
843
+ [
844
+ 52,
845
+ 2,
846
+ 0,
847
+ 5,
848
+ 0,
849
+ "CLIP"
850
+ ],
851
+ [
852
+ 56,
853
+ 1,
854
+ 0,
855
+ 37,
856
+ 0,
857
+ "MODEL"
858
+ ],
859
+ [
860
+ 57,
861
+ 34,
862
+ 0,
863
+ 37,
864
+ 1,
865
+ "MODEL"
866
+ ],
867
+ [
868
+ 60,
869
+ 22,
870
+ 0,
871
+ 6,
872
+ 0,
873
+ "MODEL"
874
+ ],
875
+ [
876
+ 66,
877
+ 24,
878
+ 1,
879
+ 14,
880
+ 0,
881
+ "*"
882
+ ],
883
+ [
884
+ 72,
885
+ 37,
886
+ 0,
887
+ 46,
888
+ 0,
889
+ "MODEL"
890
+ ],
891
+ [
892
+ 73,
893
+ 46,
894
+ 0,
895
+ 16,
896
+ 0,
897
+ "MODEL"
898
+ ]
899
+ ],
900
+ "groups": [
901
+ {
902
+ "id": 1,
903
+ "title": "Load Models",
904
+ "bounding": [
905
+ -2172.529816444944,
906
+ -104.05209665572966,
907
+ 300.9212196170902,
908
+ 643.4791223205476
909
+ ],
910
+ "color": "#3f789e",
911
+ "flags": {}
912
+ }
913
+ ],
914
+ "definitions": {
915
+ "subgraphs": [
916
+ {
917
+ "id": "f0d41058-6cf5-47f1-96a8-69f49642ba55",
918
+ "version": 1,
919
+ "state": {
920
+ "lastGroupId": 1,
921
+ "lastNodeId": 56,
922
+ "lastLinkId": 98,
923
+ "lastRerouteId": 0
924
+ },
925
+ "revision": 0,
926
+ "config": {},
927
+ "name": "Prompt",
928
+ "inputNode": {
929
+ "id": -10,
930
+ "bounding": [
931
+ -2374.5747357167443,
932
+ -475.3159386496285,
933
+ 140.8828125,
934
+ 88
935
+ ]
936
+ },
937
+ "outputNode": {
938
+ "id": -20,
939
+ "bounding": [
940
+ 319.58183925509013,
941
+ -278.3949555840474,
942
+ 148.23046875,
943
+ 88
944
+ ]
945
+ },
946
+ "inputs": [
947
+ {
948
+ "id": "20bcc1b8-c876-4434-9e65-595d7f147d5f",
949
+ "name": "value",
950
+ "type": "STRING",
951
+ "linkIds": [
952
+ 32
953
+ ],
954
+ "label": "enhance prompt",
955
+ "pos": [
956
+ -2257.6919232167443,
957
+ -451.3159386496285
958
+ ]
959
+ },
960
+ {
961
+ "id": "bf6d3378-1524-4a85-8ce5-0ae8ce90a142",
962
+ "name": "value_1",
963
+ "type": "STRING",
964
+ "linkIds": [
965
+ 74
966
+ ],
967
+ "label": "lora triggers",
968
+ "pos": [
969
+ -2257.6919232167443,
970
+ -431.3159386496285
971
+ ]
972
+ }
973
+ ],
974
+ "outputs": [
975
+ {
976
+ "id": "0211a2a1-668d-446d-a14e-759098ae8581",
977
+ "name": "generated_text",
978
+ "type": "STRING",
979
+ "linkIds": [
980
+ 61,
981
+ 61
982
+ ],
983
+ "localized_name": "generated_text",
984
+ "label": "text_out",
985
+ "pos": [
986
+ 343.58183925509013,
987
+ -254.3949555840474
988
+ ]
989
+ },
990
+ {
991
+ "id": "48e6044f-8957-4635-9e4b-8afa73499e6c",
992
+ "name": "output",
993
+ "type": "*",
994
+ "linkIds": [
995
+ 65
996
+ ],
997
+ "label": "enhanced prompt",
998
+ "pos": [
999
+ 343.58183925509013,
1000
+ -234.3949555840474
1001
+ ]
1002
+ }
1003
+ ],
1004
+ "widgets": [],
1005
+ "nodes": [
1006
+ {
1007
+ "id": 13,
1008
+ "type": "StringReplace",
1009
+ "pos": [
1010
+ -1564.4847357167414,
1011
+ -749.1962805679648
1012
+ ],
1013
+ "size": [
1014
+ 443.40625,
1015
+ 406.79687500000006
1016
+ ],
1017
+ "flags": {},
1018
+ "order": 5,
1019
+ "mode": 0,
1020
+ "inputs": [
1021
+ {
1022
+ "localized_name": "string",
1023
+ "name": "string",
1024
+ "type": "STRING",
1025
+ "widget": {
1026
+ "name": "string"
1027
+ },
1028
+ "link": 12
1029
+ },
1030
+ {
1031
+ "localized_name": "replace",
1032
+ "name": "replace",
1033
+ "type": "STRING",
1034
+ "widget": {
1035
+ "name": "replace"
1036
+ },
1037
+ "link": 29
1038
+ }
1039
+ ],
1040
+ "outputs": [
1041
+ {
1042
+ "localized_name": "STRING",
1043
+ "name": "STRING",
1044
+ "type": "STRING",
1045
+ "links": [
1046
+ 77
1047
+ ]
1048
+ }
1049
+ ],
1050
+ "properties": {
1051
+ "Node name for S&R": "StringReplace",
1052
+ "cnr_id": "comfy-core",
1053
+ "ver": "0.26.0"
1054
+ },
1055
+ "widgets_values": [
1056
+ "",
1057
+ "{prompt}",
1058
+ ""
1059
+ ]
1060
+ },
1061
+ {
1062
+ "id": 23,
1063
+ "type": "PrimitiveStringMultiline",
1064
+ "pos": [
1065
+ -2159.5878048682744,
1066
+ -193.8192895325758
1067
+ ],
1068
+ "size": [
1069
+ 400,
1070
+ 200
1071
+ ],
1072
+ "flags": {},
1073
+ "order": 6,
1074
+ "mode": 0,
1075
+ "inputs": [
1076
+ {
1077
+ "label": "prompt",
1078
+ "localized_name": "value",
1079
+ "name": "value",
1080
+ "type": "STRING",
1081
+ "widget": {
1082
+ "name": "value"
1083
+ },
1084
+ "link": 32
1085
+ }
1086
+ ],
1087
+ "outputs": [
1088
+ {
1089
+ "localized_name": "STRING",
1090
+ "name": "STRING",
1091
+ "type": "STRING",
1092
+ "links": [
1093
+ 29,
1094
+ 78
1095
+ ]
1096
+ }
1097
+ ],
1098
+ "properties": {
1099
+ "Node name for S&R": "PrimitiveStringMultiline",
1100
+ "cnr_id": "comfy-core",
1101
+ "ver": "0.26.0"
1102
+ },
1103
+ "widgets_values": [
1104
+ "a woman waiting at bus stop, rainy season, evening"
1105
+ ]
1106
+ },
1107
+ {
1108
+ "id": 11,
1109
+ "type": "CLIPLoader",
1110
+ "pos": [
1111
+ -1061.5323300992218,
1112
+ -933.1545333562567
1113
+ ],
1114
+ "size": [
1115
+ 270,
1116
+ 140
1117
+ ],
1118
+ "flags": {},
1119
+ "order": 0,
1120
+ "mode": 0,
1121
+ "inputs": [],
1122
+ "outputs": [
1123
+ {
1124
+ "localized_name": "CLIP",
1125
+ "name": "CLIP",
1126
+ "type": "CLIP",
1127
+ "links": [
1128
+ 10
1129
+ ]
1130
+ }
1131
+ ],
1132
+ "properties": {
1133
+ "Node name for S&R": "CLIPLoader",
1134
+ "cnr_id": "comfy-core",
1135
+ "ver": "0.26.0"
1136
+ },
1137
+ "widgets_values": [
1138
+ "qwen3.5_4b_bf16.safetensors",
1139
+ "stable_diffusion",
1140
+ "default"
1141
+ ]
1142
+ },
1143
+ {
1144
+ "id": 48,
1145
+ "type": "StringReplace",
1146
+ "pos": [
1147
+ -1565.7231793534565,
1148
+ -295.6107282572398
1149
+ ],
1150
+ "size": [
1151
+ 440.3200315573504,
1152
+ 252
1153
+ ],
1154
+ "flags": {},
1155
+ "order": 10,
1156
+ "mode": 0,
1157
+ "inputs": [
1158
+ {
1159
+ "localized_name": "string",
1160
+ "name": "string",
1161
+ "type": "STRING",
1162
+ "widget": {
1163
+ "name": "string"
1164
+ },
1165
+ "link": 77
1166
+ },
1167
+ {
1168
+ "localized_name": "replace",
1169
+ "name": "replace",
1170
+ "type": "STRING",
1171
+ "widget": {
1172
+ "name": "replace"
1173
+ },
1174
+ "link": 75
1175
+ }
1176
+ ],
1177
+ "outputs": [
1178
+ {
1179
+ "localized_name": "STRING",
1180
+ "name": "STRING",
1181
+ "type": "STRING",
1182
+ "links": [
1183
+ 89
1184
+ ]
1185
+ }
1186
+ ],
1187
+ "properties": {
1188
+ "Node name for S&R": "StringReplace"
1189
+ },
1190
+ "widgets_values": [
1191
+ "",
1192
+ "{lora_trigger}",
1193
+ ""
1194
+ ]
1195
+ },
1196
+ {
1197
+ "id": 10,
1198
+ "type": "TextGenerate",
1199
+ "pos": [
1200
+ -1066.582707629154,
1201
+ -743.2692041533511
1202
+ ],
1203
+ "size": [
1204
+ 537.5,
1205
+ 412
1206
+ ],
1207
+ "flags": {},
1208
+ "order": 4,
1209
+ "mode": 0,
1210
+ "inputs": [
1211
+ {
1212
+ "localized_name": "clip",
1213
+ "name": "clip",
1214
+ "type": "CLIP",
1215
+ "link": 10
1216
+ },
1217
+ {
1218
+ "localized_name": "image",
1219
+ "name": "image",
1220
+ "shape": 7,
1221
+ "type": "IMAGE",
1222
+ "link": null
1223
+ },
1224
+ {
1225
+ "localized_name": "video",
1226
+ "name": "video",
1227
+ "shape": 7,
1228
+ "type": "IMAGE",
1229
+ "link": null
1230
+ },
1231
+ {
1232
+ "localized_name": "audio",
1233
+ "name": "audio",
1234
+ "shape": 7,
1235
+ "type": "AUDIO",
1236
+ "link": null
1237
+ },
1238
+ {
1239
+ "localized_name": "prompt",
1240
+ "name": "prompt",
1241
+ "type": "STRING",
1242
+ "widget": {
1243
+ "name": "prompt"
1244
+ },
1245
+ "link": 89
1246
+ }
1247
+ ],
1248
+ "outputs": [
1249
+ {
1250
+ "localized_name": "generated_text",
1251
+ "name": "generated_text",
1252
+ "type": "STRING",
1253
+ "links": [
1254
+ 97
1255
+ ]
1256
+ }
1257
+ ],
1258
+ "properties": {
1259
+ "Node name for S&R": "TextGenerate",
1260
+ "cnr_id": "comfy-core",
1261
+ "ver": "0.26.0"
1262
+ },
1263
+ "widgets_values": [
1264
+ "",
1265
+ 512,
1266
+ "on",
1267
+ 0.7,
1268
+ 64,
1269
+ 0.95,
1270
+ 0.05,
1271
+ 1.05,
1272
+ 36,
1273
+ 0,
1274
+ false,
1275
+ true
1276
+ ]
1277
+ },
1278
+ {
1279
+ "id": 47,
1280
+ "type": "PrimitiveStringMultiline",
1281
+ "pos": [
1282
+ -2158.280943326579,
1283
+ 52.86883357513066
1284
+ ],
1285
+ "size": [
1286
+ 400,
1287
+ 200
1288
+ ],
1289
+ "flags": {},
1290
+ "order": 9,
1291
+ "mode": 0,
1292
+ "inputs": [
1293
+ {
1294
+ "label": "lora triggers",
1295
+ "localized_name": "value",
1296
+ "name": "value",
1297
+ "type": "STRING",
1298
+ "widget": {
1299
+ "name": "value"
1300
+ },
1301
+ "link": 74
1302
+ }
1303
+ ],
1304
+ "outputs": [
1305
+ {
1306
+ "localized_name": "STRING",
1307
+ "name": "STRING",
1308
+ "type": "STRING",
1309
+ "links": [
1310
+ 75,
1311
+ 79,
1312
+ 98
1313
+ ]
1314
+ }
1315
+ ],
1316
+ "title": "lora trigger",
1317
+ "properties": {
1318
+ "Node name for S&R": "PrimitiveStringMultiline"
1319
+ },
1320
+ "widgets_values": [
1321
+ ""
1322
+ ]
1323
+ },
1324
+ {
1325
+ "id": 55,
1326
+ "type": "StringConcatenate",
1327
+ "pos": [
1328
+ -474.45099554246434,
1329
+ -750.7316194368827
1330
+ ],
1331
+ "size": [
1332
+ 400,
1333
+ 200
1334
+ ],
1335
+ "flags": {},
1336
+ "order": 12,
1337
+ "mode": 0,
1338
+ "inputs": [
1339
+ {
1340
+ "localized_name": "string_a",
1341
+ "name": "string_a",
1342
+ "type": "STRING",
1343
+ "widget": {
1344
+ "name": "string_a"
1345
+ },
1346
+ "link": 97
1347
+ },
1348
+ {
1349
+ "localized_name": "string_b",
1350
+ "name": "string_b",
1351
+ "type": "STRING",
1352
+ "widget": {
1353
+ "name": "string_b"
1354
+ },
1355
+ "link": 98
1356
+ }
1357
+ ],
1358
+ "outputs": [
1359
+ {
1360
+ "localized_name": "STRING",
1361
+ "name": "STRING",
1362
+ "type": "STRING",
1363
+ "links": [
1364
+ 95,
1365
+ 96
1366
+ ]
1367
+ }
1368
+ ],
1369
+ "properties": {
1370
+ "Node name for S&R": "StringConcatenate"
1371
+ },
1372
+ "widgets_values": [
1373
+ "",
1374
+ "",
1375
+ " "
1376
+ ]
1377
+ },
1378
+ {
1379
+ "id": 39,
1380
+ "type": "ComfySwitchNode",
1381
+ "pos": [
1382
+ -23.34295462341665,
1383
+ -371.7617805879822
1384
+ ],
1385
+ "size": [
1386
+ 270,
1387
+ 124
1388
+ ],
1389
+ "flags": {},
1390
+ "order": 7,
1391
+ "mode": 0,
1392
+ "inputs": [
1393
+ {
1394
+ "localized_name": "on_false",
1395
+ "name": "on_false",
1396
+ "type": "STRING",
1397
+ "link": 81
1398
+ },
1399
+ {
1400
+ "localized_name": "on_true",
1401
+ "name": "on_true",
1402
+ "type": "STRING",
1403
+ "link": 95
1404
+ },
1405
+ {
1406
+ "label": "enhance prompt",
1407
+ "localized_name": "switch",
1408
+ "name": "switch",
1409
+ "type": "BOOLEAN",
1410
+ "widget": {
1411
+ "name": "switch"
1412
+ },
1413
+ "link": 69
1414
+ }
1415
+ ],
1416
+ "outputs": [
1417
+ {
1418
+ "localized_name": "output",
1419
+ "name": "output",
1420
+ "type": "STRING",
1421
+ "links": [
1422
+ 61
1423
+ ]
1424
+ }
1425
+ ],
1426
+ "properties": {
1427
+ "Node name for S&R": "ComfySwitchNode"
1428
+ },
1429
+ "widgets_values": [
1430
+ true
1431
+ ]
1432
+ },
1433
+ {
1434
+ "id": 42,
1435
+ "type": "PrimitiveStringMultiline",
1436
+ "pos": [
1437
+ -644.9910193483455,
1438
+ 16.86070361029523
1439
+ ],
1440
+ "size": [
1441
+ 274.1277014146126,
1442
+ 97.08151011971836
1443
+ ],
1444
+ "flags": {},
1445
+ "order": 1,
1446
+ "mode": 0,
1447
+ "inputs": [],
1448
+ "outputs": [
1449
+ {
1450
+ "localized_name": "STRING",
1451
+ "name": "STRING",
1452
+ "type": "STRING",
1453
+ "links": [
1454
+ 68
1455
+ ]
1456
+ }
1457
+ ],
1458
+ "properties": {
1459
+ "Node name for S&R": "PrimitiveStringMultiline"
1460
+ },
1461
+ "widgets_values": [
1462
+ "enhance prompt is off"
1463
+ ]
1464
+ },
1465
+ {
1466
+ "id": 43,
1467
+ "type": "PrimitiveBoolean",
1468
+ "pos": [
1469
+ -645.7225384675113,
1470
+ 166.0463390363759
1471
+ ],
1472
+ "size": [
1473
+ 270,
1474
+ 76
1475
+ ],
1476
+ "flags": {},
1477
+ "order": 2,
1478
+ "mode": 0,
1479
+ "inputs": [
1480
+ {
1481
+ "label": "enhance prompt",
1482
+ "localized_name": "value",
1483
+ "name": "value",
1484
+ "type": "BOOLEAN",
1485
+ "widget": {
1486
+ "name": "value"
1487
+ },
1488
+ "link": null
1489
+ }
1490
+ ],
1491
+ "outputs": [
1492
+ {
1493
+ "localized_name": "BOOLEAN",
1494
+ "name": "BOOLEAN",
1495
+ "type": "BOOLEAN",
1496
+ "links": [
1497
+ 69,
1498
+ 70
1499
+ ]
1500
+ }
1501
+ ],
1502
+ "title": "Enhance Prompt Switch",
1503
+ "properties": {
1504
+ "Node name for S&R": "PrimitiveBoolean"
1505
+ },
1506
+ "widgets_values": [
1507
+ true
1508
+ ]
1509
+ },
1510
+ {
1511
+ "id": 41,
1512
+ "type": "ComfySwitchNode",
1513
+ "pos": [
1514
+ -18.92181505429363,
1515
+ 30.481032566008164
1516
+ ],
1517
+ "size": [
1518
+ 270,
1519
+ 124
1520
+ ],
1521
+ "flags": {},
1522
+ "order": 8,
1523
+ "mode": 0,
1524
+ "inputs": [
1525
+ {
1526
+ "localized_name": "on_false",
1527
+ "name": "on_false",
1528
+ "type": "STRING",
1529
+ "link": 68
1530
+ },
1531
+ {
1532
+ "localized_name": "on_true",
1533
+ "name": "on_true",
1534
+ "type": "STRING",
1535
+ "link": 96
1536
+ },
1537
+ {
1538
+ "localized_name": "switch",
1539
+ "name": "switch",
1540
+ "type": "BOOLEAN",
1541
+ "widget": {
1542
+ "name": "switch"
1543
+ },
1544
+ "link": 70
1545
+ }
1546
+ ],
1547
+ "outputs": [
1548
+ {
1549
+ "localized_name": "output",
1550
+ "name": "output",
1551
+ "type": "STRING",
1552
+ "links": [
1553
+ 65
1554
+ ]
1555
+ }
1556
+ ],
1557
+ "properties": {
1558
+ "Node name for S&R": "ComfySwitchNode"
1559
+ },
1560
+ "widgets_values": [
1561
+ false
1562
+ ]
1563
+ },
1564
+ {
1565
+ "id": 12,
1566
+ "type": "PrimitiveStringMultiline",
1567
+ "pos": [
1568
+ -2186.5747357167443,
1569
+ -753.0969267472351
1570
+ ],
1571
+ "size": [
1572
+ 461.703125,
1573
+ 501.28125
1574
+ ],
1575
+ "flags": {},
1576
+ "order": 3,
1577
+ "mode": 0,
1578
+ "inputs": [],
1579
+ "outputs": [
1580
+ {
1581
+ "localized_name": "STRING",
1582
+ "name": "STRING",
1583
+ "type": "STRING",
1584
+ "links": [
1585
+ 12
1586
+ ]
1587
+ }
1588
+ ],
1589
+ "properties": {
1590
+ "Node name for S&R": "PrimitiveStringMultiline",
1591
+ "cnr_id": "comfy-core",
1592
+ "ver": "0.26.0"
1593
+ },
1594
+ "widgets_values": [
1595
+ "You are an expert prompt engineer for text-to-image models.\n\nYour task is to transform the user's input into a highly effective image-generation prompt.\n\nBefore writing the final prompt, reason internally about:\n\n* The primary subject and action.\n* The intended mood and atmosphere.\n* Appropriate visual style, medium, and lighting.\n* Composition and framing.\n* Important visual details that are implied but not explicitly stated.\n\nThen write a single image-generation prompt.\n\nRules:\n\n1. Faithfulness First\n\n * Preserve all user-specified subjects, actions, colors, poses, expressions, styles, text, and spatial relationships.\n * Never contradict user instructions.\n * Do not add new characters, animals, objects, or props unless clearly implied.\n\n2. Visual Grounding\n\n * When details are missing, add only natural visual attributes that help image generation.\n * Include appearance, environment, lighting, colors, materials, textures, perspective, and atmosphere when relevant.\n * Use realistic defaults rather than unusual assumptions.\n\n3. Composition\n\n * Clearly describe subject placement and interactions.\n * Specify framing when useful (close-up, portrait, medium shot, wide shot, aerial view, etc.).\n * Maintain clear spatial relationships.\n\n4. Style Selection\n\n * Preserve any style or medium specified by the user.\n * If no style is specified, choose the most natural style for the scene.\n * Keep style decisions subtle and supportive.\n\n4.1 LoRA Trigger Guidance\n\n * An optional LoRA Trigger may be provided separately from the user prompt.\n * Use the LoRA Trigger as a style hint when constructing the prompt.\n * Infer visual characteristics, artistic techniques, aesthetics, mood, rendering style, or other relevant visual qualities suggested by the LoRA Trigger.\n * Do not output, quote, repeat, copy, or reference the LoRA Trigger text directly.\n * If no LoRA Trigger is provided, ignore this section.\n\n5. Text Rendering\n\n * If visible text is requested, include the exact text in quotation marks.\n\n6. Avoid Over-Specification\n\n * Do not invent highly specific brands, clothing patterns, materials, colors, architecture, or accessories unless supported by the prompt.\n * Prefer broad visual descriptions over unnecessary specificity.\n\n7. Existing Detailed Prompts\n\n * If the user already provides a detailed prompt, lightly refine and organize it instead of heavily expanding it.\n\n8. Output Format\n\n * Output a single cohesive paragraph.\n * The final prompt must end with a period.\n * No bullet points.\n * No explanations.\n * No reasoning.\n * No markdown.\n * Output only the final prompt.\n\n9. POV Handling\n\n * Do not reinterpret a generic POV shot as a selfie or phone-held framing.\n * Do not introduce phones or recording devices unless the user explicitly requests them.\n * When the user explicitly requests a phone POV, selfie angle, or phone-camera framing, honor it: describe handheld smartphone camera perspective, casual slight tilt, portrait or vertical framing bias, and the shallow-depth-of-field or lens characteristic appropriate to a phone camera.\n * Do not add a selfie stick, watermark, or phone bezel unless requested.\n\nLoRA Trigger (optional style guidance):\n{lora_trigger}\n\nUser Prompt:\n{prompt}"
1596
+ ]
1597
+ },
1598
+ {
1599
+ "id": 49,
1600
+ "type": "StringConcatenate",
1601
+ "pos": [
1602
+ -2155.168884066753,
1603
+ 351.70618630529407
1604
+ ],
1605
+ "size": [
1606
+ 400,
1607
+ 200
1608
+ ],
1609
+ "flags": {},
1610
+ "order": 11,
1611
+ "mode": 0,
1612
+ "inputs": [
1613
+ {
1614
+ "localized_name": "string_a",
1615
+ "name": "string_a",
1616
+ "type": "STRING",
1617
+ "widget": {
1618
+ "name": "string_a"
1619
+ },
1620
+ "link": 78
1621
+ },
1622
+ {
1623
+ "localized_name": "string_b",
1624
+ "name": "string_b",
1625
+ "type": "STRING",
1626
+ "widget": {
1627
+ "name": "string_b"
1628
+ },
1629
+ "link": 79
1630
+ }
1631
+ ],
1632
+ "outputs": [
1633
+ {
1634
+ "localized_name": "STRING",
1635
+ "name": "STRING",
1636
+ "type": "STRING",
1637
+ "links": [
1638
+ 81
1639
+ ]
1640
+ }
1641
+ ],
1642
+ "properties": {
1643
+ "Node name for S&R": "StringConcatenate"
1644
+ },
1645
+ "widgets_values": [
1646
+ "",
1647
+ "",
1648
+ ", "
1649
+ ]
1650
+ }
1651
+ ],
1652
+ "groups": [],
1653
+ "links": [
1654
+ {
1655
+ "id": 10,
1656
+ "origin_id": 11,
1657
+ "origin_slot": 0,
1658
+ "target_id": 10,
1659
+ "target_slot": 0,
1660
+ "type": "CLIP"
1661
+ },
1662
+ {
1663
+ "id": 12,
1664
+ "origin_id": 12,
1665
+ "origin_slot": 0,
1666
+ "target_id": 13,
1667
+ "target_slot": 0,
1668
+ "type": "STRING"
1669
+ },
1670
+ {
1671
+ "id": 29,
1672
+ "origin_id": 23,
1673
+ "origin_slot": 0,
1674
+ "target_id": 13,
1675
+ "target_slot": 1,
1676
+ "type": "STRING"
1677
+ },
1678
+ {
1679
+ "id": 32,
1680
+ "origin_id": -10,
1681
+ "origin_slot": 0,
1682
+ "target_id": 23,
1683
+ "target_slot": 0,
1684
+ "type": "STRING"
1685
+ },
1686
+ {
1687
+ "id": 61,
1688
+ "origin_id": 39,
1689
+ "origin_slot": 0,
1690
+ "target_id": -20,
1691
+ "target_slot": 0,
1692
+ "type": "*"
1693
+ },
1694
+ {
1695
+ "id": 65,
1696
+ "origin_id": 41,
1697
+ "origin_slot": 0,
1698
+ "target_id": -20,
1699
+ "target_slot": 1,
1700
+ "type": "*"
1701
+ },
1702
+ {
1703
+ "id": 68,
1704
+ "origin_id": 42,
1705
+ "origin_slot": 0,
1706
+ "target_id": 41,
1707
+ "target_slot": 0,
1708
+ "type": "STRING"
1709
+ },
1710
+ {
1711
+ "id": 69,
1712
+ "origin_id": 43,
1713
+ "origin_slot": 0,
1714
+ "target_id": 39,
1715
+ "target_slot": 2,
1716
+ "type": "BOOLEAN"
1717
+ },
1718
+ {
1719
+ "id": 70,
1720
+ "origin_id": 43,
1721
+ "origin_slot": 0,
1722
+ "target_id": 41,
1723
+ "target_slot": 2,
1724
+ "type": "BOOLEAN"
1725
+ },
1726
+ {
1727
+ "id": 74,
1728
+ "origin_id": -10,
1729
+ "origin_slot": 1,
1730
+ "target_id": 47,
1731
+ "target_slot": 0,
1732
+ "type": "STRING"
1733
+ },
1734
+ {
1735
+ "id": 75,
1736
+ "origin_id": 47,
1737
+ "origin_slot": 0,
1738
+ "target_id": 48,
1739
+ "target_slot": 1,
1740
+ "type": "STRING"
1741
+ },
1742
+ {
1743
+ "id": 77,
1744
+ "origin_id": 13,
1745
+ "origin_slot": 0,
1746
+ "target_id": 48,
1747
+ "target_slot": 0,
1748
+ "type": "STRING"
1749
+ },
1750
+ {
1751
+ "id": 78,
1752
+ "origin_id": 23,
1753
+ "origin_slot": 0,
1754
+ "target_id": 49,
1755
+ "target_slot": 0,
1756
+ "type": "STRING"
1757
+ },
1758
+ {
1759
+ "id": 79,
1760
+ "origin_id": 47,
1761
+ "origin_slot": 0,
1762
+ "target_id": 49,
1763
+ "target_slot": 1,
1764
+ "type": "STRING"
1765
+ },
1766
+ {
1767
+ "id": 81,
1768
+ "origin_id": 49,
1769
+ "origin_slot": 0,
1770
+ "target_id": 39,
1771
+ "target_slot": 0,
1772
+ "type": "STRING"
1773
+ },
1774
+ {
1775
+ "id": 89,
1776
+ "origin_id": 48,
1777
+ "origin_slot": 0,
1778
+ "target_id": 10,
1779
+ "target_slot": 4,
1780
+ "type": "STRING"
1781
+ },
1782
+ {
1783
+ "id": 95,
1784
+ "origin_id": 55,
1785
+ "origin_slot": 0,
1786
+ "target_id": 39,
1787
+ "target_slot": 1,
1788
+ "type": "STRING"
1789
+ },
1790
+ {
1791
+ "id": 96,
1792
+ "origin_id": 55,
1793
+ "origin_slot": 0,
1794
+ "target_id": 41,
1795
+ "target_slot": 1,
1796
+ "type": "STRING"
1797
+ },
1798
+ {
1799
+ "id": 97,
1800
+ "origin_id": 10,
1801
+ "origin_slot": 0,
1802
+ "target_id": 55,
1803
+ "target_slot": 0,
1804
+ "type": "STRING"
1805
+ },
1806
+ {
1807
+ "id": 98,
1808
+ "origin_id": 47,
1809
+ "origin_slot": 0,
1810
+ "target_id": 55,
1811
+ "target_slot": 1,
1812
+ "type": "STRING"
1813
+ }
1814
+ ],
1815
+ "extra": {}
1816
+ }
1817
+ ]
1818
+ },
1819
+ "config": {},
1820
+ "extra": {
1821
+ "ds": {
1822
+ "scale": 0.8486852295453935,
1823
+ "offset": [
1824
+ 2331.993517080602,
1825
+ 145.40377344522344
1826
+ ]
1827
+ },
1828
+ "frontendVersion": "1.45.19",
1829
+ "VHS_latentpreview": false,
1830
+ "VHS_latentpreviewrate": 0,
1831
+ "VHS_MetadataImage": true,
1832
+ "VHS_KeepIntermediate": true
1833
+ },
1834
+ "version": 0.4
1835
+ }