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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "08988737-a544-4ab1-99fb-22d67b7c36e3",
3
+ "revision": 0,
4
+ "last_node_id": 58,
5
+ "last_link_id": 75,
6
+ "nodes": [
7
+ {
8
+ "id": 29,
9
+ "type": "SaveImage",
10
+ "pos": [
11
+ 910,
12
+ -80
13
+ ],
14
+ "size": [
15
+ 880,
16
+ 1020
17
+ ],
18
+ "flags": {},
19
+ "order": 9,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "name": "images",
24
+ "type": "IMAGE",
25
+ "link": 44
26
+ }
27
+ ],
28
+ "outputs": [
29
+ {
30
+ "name": "images",
31
+ "type": "IMAGE",
32
+ "links": null
33
+ }
34
+ ],
35
+ "properties": {
36
+ "cnr_id": "comfy-core",
37
+ "ver": "0.25.0",
38
+ "Node name for S&R": "SaveImage"
39
+ },
40
+ "widgets_values": [
41
+ "Krea2_turbo"
42
+ ]
43
+ },
44
+ {
45
+ "id": 42,
46
+ "type": "CustomCombo",
47
+ "pos": [
48
+ -420,
49
+ 500
50
+ ],
51
+ "size": [
52
+ 320,
53
+ 340
54
+ ],
55
+ "flags": {},
56
+ "order": 0,
57
+ "mode": 0,
58
+ "inputs": [],
59
+ "outputs": [
60
+ {
61
+ "name": "STRING",
62
+ "type": "STRING",
63
+ "links": null
64
+ },
65
+ {
66
+ "name": "INDEX",
67
+ "type": "INT",
68
+ "links": [
69
+ 66
70
+ ]
71
+ }
72
+ ],
73
+ "title": "CustomCombo (Select LoRA Name)",
74
+ "properties": {
75
+ "cnr_id": "comfy-core",
76
+ "ver": "0.25.0",
77
+ "Node name for S&R": "CustomCombo"
78
+ },
79
+ "widgets_values": [
80
+ "krea2_warmpastel",
81
+ 3,
82
+ "krea2_coolblue",
83
+ "krea2_darkbrush",
84
+ "krea2_plasmoid",
85
+ "krea2_warmpastel",
86
+ ""
87
+ ]
88
+ },
89
+ {
90
+ "id": 45,
91
+ "type": "460e1a4e-4b3b-455a-8ab0-e7581839db23",
92
+ "pos": [
93
+ -60,
94
+ 500
95
+ ],
96
+ "size": [
97
+ 280,
98
+ 360
99
+ ],
100
+ "flags": {},
101
+ "order": 7,
102
+ "mode": 0,
103
+ "inputs": [
104
+ {
105
+ "name": "index",
106
+ "type": "INT",
107
+ "widget": {
108
+ "name": "index"
109
+ },
110
+ "link": 66
111
+ }
112
+ ],
113
+ "outputs": [
114
+ {
115
+ "name": "selected_line",
116
+ "type": "STRING",
117
+ "links": [
118
+ 67
119
+ ]
120
+ }
121
+ ],
122
+ "properties": {
123
+ "proxyWidgets": [
124
+ [
125
+ "2",
126
+ "string"
127
+ ],
128
+ [
129
+ "43",
130
+ "value"
131
+ ]
132
+ ],
133
+ "cnr_id": "comfy-core",
134
+ "ver": "0.19.0",
135
+ "ue_properties": {
136
+ "widget_ue_connectable": {},
137
+ "input_ue_unconnectable": {}
138
+ }
139
+ },
140
+ "widgets_values": []
141
+ },
142
+ {
143
+ "id": 47,
144
+ "type": "MarkdownNote",
145
+ "pos": [
146
+ -420,
147
+ 970
148
+ ],
149
+ "size": [
150
+ 640,
151
+ 310
152
+ ],
153
+ "flags": {},
154
+ "order": 1,
155
+ "mode": 0,
156
+ "inputs": [],
157
+ "outputs": [],
158
+ "title": "LoRA Trigger Words and Settings",
159
+ "properties": {},
160
+ "widgets_values": [
161
+ "Download the style LoRAs used in this workflow from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras). Place the `.safetensors` files in `ComfyUI/models/loras/`.\n\n| LoRA | Trigger Words | Recommended Strength |\n|--------------------|--------------------------------------|-------|\n| [krea2_coolblue](https://huggingface.co/Comfy-Org/Krea-2/blob/main/loras/krea2_coolblue.safetensors) | teal watercolor illustration style | 0.8 |\n| [krea2_darkbrush](https://huggingface.co/Comfy-Org/Krea-2/blob/main/loras/krea2_darkbrush.safetensors) | monochrome ink wash style | 1.0 |\n| [krea2_plasmoid](https://huggingface.co/Comfy-Org/Krea-2/blob/main/loras/krea2_plasmoid.safetensors) | ethereal shimmering light style | 0.8 |\n| [krea2_warmpastel](https://huggingface.co/Comfy-Org/Krea-2/blob/main/loras/krea2_warmpastel.safetensors) | muted minimalist sketch style | 0.8 |"
162
+ ],
163
+ "color": "#222",
164
+ "bgcolor": "#000"
165
+ },
166
+ {
167
+ "id": 49,
168
+ "type": "ResolutionSelector",
169
+ "pos": [
170
+ -50,
171
+ 220
172
+ ],
173
+ "size": [
174
+ 270,
175
+ 190
176
+ ],
177
+ "flags": {},
178
+ "order": 2,
179
+ "mode": 0,
180
+ "inputs": [],
181
+ "outputs": [
182
+ {
183
+ "name": "width",
184
+ "type": "INT",
185
+ "links": [
186
+ 69
187
+ ]
188
+ },
189
+ {
190
+ "name": "height",
191
+ "type": "INT",
192
+ "links": [
193
+ 71
194
+ ]
195
+ }
196
+ ],
197
+ "properties": {
198
+ "cnr_id": "comfy-core",
199
+ "ver": "0.25.0",
200
+ "Node name for S&R": "ResolutionSelector"
201
+ },
202
+ "widgets_values": [
203
+ "1:1 (Square)",
204
+ 1,
205
+ 8
206
+ ]
207
+ },
208
+ {
209
+ "id": 50,
210
+ "type": "MarkdownNote",
211
+ "pos": [
212
+ -1200,
213
+ -90
214
+ ],
215
+ "size": [
216
+ 700,
217
+ 990
218
+ ],
219
+ "flags": {},
220
+ "order": 3,
221
+ "mode": 0,
222
+ "inputs": [],
223
+ "outputs": [],
224
+ "title": "Note: Krea-2",
225
+ "properties": {},
226
+ "widgets_values": [
227
+ "This workflow generates images with **Krea-2 Turbo**, a fast distilled text-to-image model. The workflow is organized into a few parts: each handles a different step so you can generate quickly without digging through every node.\n\n## Text to Image (Krea-2 Turbo) Subgraph\n\nDouble-click this node to open the full pipeline. Inside, the canvas is grouped into several areas:\n\n**Models**: Loads the diffusion model, text encoder, VAE, and optional style LoRA (`LoraLoaderModelOnly`).\n\n**Prompt**: Enter your image description in **Text String (User Prompt)**.\n\n**Prompt Enhancement**: Expands your prompt before generation. Enabled by default (`prompt_enhance`). You can turn it off to use your prompt as-is, or replace the built-in module with **OpenAI** or **Gemini** API nodes.\n\n**Feature Switch**: Quick toggles on the left side of the subgraph:\n- `prompt_enhance`: enable or disable prompt expansion\n- `enable_lora?`: enable or disable the style LoRA\n\n**Image Generation**: Handles latent sizing, sampling (8 steps), and VAE decode to produce the final image.\n\nWhen using a LoRA, set `enable_lora?` to true, select the matching file in **LoraLoaderModelOnly**, and adjust `lora_strength` as needed.\n\n## LoRA & Trigger Word (CustomCombo)\n\nOn the main canvas, the **CustomCombo** node is where you choose which style LoRA you are using (e.g. `krea2_coolblue`, `krea2_darkbrush`). The workflow uses your selection to automatically append the correct **trigger word** to your prompt.\n\n- Download LoRA files from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras) and place them in `ComfyUI/models/loras/`\n- Select the LoRA name that matches the file loaded inside the subgraph\n- The trigger word is applied for you: no need to type it manually\n- For trigger words and recommended strength values, see the **LoRA Trigger Words and Settings** note beside this workflow\n"
228
+ ],
229
+ "color": "#222",
230
+ "bgcolor": "#000"
231
+ },
232
+ {
233
+ "id": 48,
234
+ "type": "MarkdownNote",
235
+ "pos": [
236
+ -1940,
237
+ -90
238
+ ],
239
+ "size": [
240
+ 700,
241
+ 990
242
+ ],
243
+ "flags": {},
244
+ "order": 4,
245
+ "mode": 0,
246
+ "inputs": [],
247
+ "outputs": [],
248
+ "title": "Model Links",
249
+ "properties": {},
250
+ "widgets_values": [
251
+ "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\nFor BF16 and NVFP4 variants, see [Comfy-Org/Krea-2](https://huggingface.co/Comfy-Org/Krea-2)\n\n\n**diffusion_models**\n\n- [krea2_turbo_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_fp8_scaled.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_4b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors)\n\n**vae**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/vae/qwen_image_vae.safetensors)\n\n**loras**\n\n- [krea2_warmpastel.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/loras/krea2_warmpastel.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── krea2_turbo_fp8_scaled.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_4b_fp8_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 loras/\n│ └── krea2_warmpastel.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
252
+ ],
253
+ "color": "#222",
254
+ "bgcolor": "#000"
255
+ },
256
+ {
257
+ "id": 51,
258
+ "type": "ConditioningKrea2Rebalance",
259
+ "pos": [
260
+ -341.8530592046013,
261
+ -115.35038232670976
262
+ ],
263
+ "size": [
264
+ 403.53645550760257,
265
+ 82
266
+ ],
267
+ "flags": {},
268
+ "order": 5,
269
+ "mode": 0,
270
+ "inputs": [
271
+ {
272
+ "name": "conditioning",
273
+ "type": "CONDITIONING",
274
+ "link": null
275
+ }
276
+ ],
277
+ "outputs": [
278
+ {
279
+ "name": "conditioning",
280
+ "type": "CONDITIONING",
281
+ "links": null
282
+ }
283
+ ],
284
+ "properties": {
285
+ "aux_id": "nova452/ComfyUI-ConditioningKrea2Rebalance",
286
+ "ver": "9ab5315e6aa8ec8cd14cc5354739d938c6fb101b",
287
+ "Node name for S&R": "ConditioningKrea2Rebalance"
288
+ },
289
+ "widgets_values": [
290
+ 4,
291
+ "1.0,1.0,1.0,1.0,1.0,1.0,1.0,2.5,5.0,1.1,4.0,1.0"
292
+ ]
293
+ },
294
+ {
295
+ "id": 30,
296
+ "type": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81",
297
+ "pos": [
298
+ 290,
299
+ -81.18107670916748
300
+ ],
301
+ "size": [
302
+ 560,
303
+ 1010
304
+ ],
305
+ "flags": {},
306
+ "order": 8,
307
+ "mode": 0,
308
+ "inputs": [
309
+ {
310
+ "label": "prompt_enhance",
311
+ "name": "value_1",
312
+ "type": "BOOLEAN",
313
+ "widget": {
314
+ "name": "value_1"
315
+ },
316
+ "link": null
317
+ },
318
+ {
319
+ "label": "LLM_max_token",
320
+ "name": "max_length",
321
+ "type": "INT",
322
+ "widget": {
323
+ "name": "max_length"
324
+ },
325
+ "link": null
326
+ },
327
+ {
328
+ "name": "width",
329
+ "type": "INT",
330
+ "widget": {
331
+ "name": "width"
332
+ },
333
+ "link": 69
334
+ },
335
+ {
336
+ "name": "height",
337
+ "type": "INT",
338
+ "widget": {
339
+ "name": "height"
340
+ },
341
+ "link": 71
342
+ },
343
+ {
344
+ "label": "enable_lora?",
345
+ "name": "value_2",
346
+ "type": "BOOLEAN",
347
+ "widget": {
348
+ "name": "value_2"
349
+ },
350
+ "link": null
351
+ },
352
+ {
353
+ "label": "lora_strength",
354
+ "name": "strength_model",
355
+ "type": "FLOAT",
356
+ "widget": {
357
+ "name": "strength_model"
358
+ },
359
+ "link": null
360
+ },
361
+ {
362
+ "label": "lora_trigger_word",
363
+ "name": "string_b",
364
+ "type": "STRING",
365
+ "widget": {
366
+ "name": "string_b"
367
+ },
368
+ "link": 67
369
+ }
370
+ ],
371
+ "outputs": [
372
+ {
373
+ "name": "IMAGE",
374
+ "type": "IMAGE",
375
+ "links": [
376
+ 44
377
+ ]
378
+ }
379
+ ],
380
+ "properties": {
381
+ "proxyWidgets": [
382
+ [
383
+ "19",
384
+ "value"
385
+ ],
386
+ [
387
+ "24",
388
+ "value"
389
+ ],
390
+ [
391
+ "16",
392
+ "max_length"
393
+ ],
394
+ [
395
+ "5",
396
+ "width"
397
+ ],
398
+ [
399
+ "5",
400
+ "height"
401
+ ],
402
+ [
403
+ "3",
404
+ "seed"
405
+ ],
406
+ [
407
+ "23",
408
+ "value"
409
+ ],
410
+ [
411
+ "15",
412
+ "lora_name"
413
+ ],
414
+ [
415
+ "15",
416
+ "strength_model"
417
+ ],
418
+ [
419
+ "27",
420
+ "string_b"
421
+ ],
422
+ [
423
+ "10",
424
+ "unet_name"
425
+ ],
426
+ [
427
+ "11",
428
+ "clip_name"
429
+ ],
430
+ [
431
+ "12",
432
+ "vae_name"
433
+ ],
434
+ [
435
+ "57",
436
+ "$$canvas-image-preview"
437
+ ]
438
+ ],
439
+ "cnr_id": "comfy-core",
440
+ "ver": "0.25.0"
441
+ },
442
+ "widgets_values": []
443
+ },
444
+ {
445
+ "id": 58,
446
+ "type": "Note",
447
+ "pos": [
448
+ -357.18881930023826,
449
+ 27.14217274765547
450
+ ],
451
+ "size": [
452
+ 516.5981101009011,
453
+ 95.71086578859064
454
+ ],
455
+ "flags": {},
456
+ "order": 6,
457
+ "mode": 0,
458
+ "inputs": [],
459
+ "outputs": [],
460
+ "title": "Conditioning Krea2 Rebalance - For Safety filter",
461
+ "properties": {},
462
+ "widgets_values": [
463
+ "Conditioning Krea2 Rebalance node:\n\nhttps://github.com/nova452/ComfyUI-ConditioningKrea2Rebalance\n\nExplained in the YouTube Video, the last 2 minutes - https://youtu.be/QC1BcvRyp1A\n"
464
+ ],
465
+ "color": "#432",
466
+ "bgcolor": "#653"
467
+ }
468
+ ],
469
+ "links": [
470
+ [
471
+ 44,
472
+ 30,
473
+ 0,
474
+ 29,
475
+ 0,
476
+ "IMAGE"
477
+ ],
478
+ [
479
+ 66,
480
+ 42,
481
+ 1,
482
+ 45,
483
+ 0,
484
+ "INT"
485
+ ],
486
+ [
487
+ 67,
488
+ 45,
489
+ 0,
490
+ 30,
491
+ 6,
492
+ "STRING"
493
+ ],
494
+ [
495
+ 69,
496
+ 49,
497
+ 0,
498
+ 30,
499
+ 2,
500
+ "INT"
501
+ ],
502
+ [
503
+ 71,
504
+ 49,
505
+ 1,
506
+ 30,
507
+ 3,
508
+ "INT"
509
+ ]
510
+ ],
511
+ "groups": [
512
+ {
513
+ "id": 10,
514
+ "title": "LoRA & Trigger Word (CustomCombo)",
515
+ "bounding": [
516
+ -430,
517
+ 430,
518
+ 670,
519
+ 470
520
+ ],
521
+ "color": "#3f789e",
522
+ "flags": {}
523
+ }
524
+ ],
525
+ "definitions": {
526
+ "subgraphs": [
527
+ {
528
+ "id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81",
529
+ "version": 1,
530
+ "state": {
531
+ "lastGroupId": 10,
532
+ "lastNodeId": 58,
533
+ "lastLinkId": 75,
534
+ "lastRerouteId": 0
535
+ },
536
+ "revision": 0,
537
+ "config": {},
538
+ "name": "Text to Image (Krea-2 Turbo)",
539
+ "inputNode": {
540
+ "id": -10,
541
+ "bounding": [
542
+ -1720,
543
+ 410,
544
+ 146.466796875,
545
+ 308
546
+ ]
547
+ },
548
+ "outputNode": {
549
+ "id": -20,
550
+ "bounding": [
551
+ 1560,
552
+ 496,
553
+ 128,
554
+ 68
555
+ ]
556
+ },
557
+ "inputs": [
558
+ {
559
+ "id": "b0f5c754-5322-440c-8c1c-ba732e910d33",
560
+ "name": "value",
561
+ "type": "STRING",
562
+ "linkIds": [
563
+ 45
564
+ ],
565
+ "pos": [
566
+ -1597.533203125,
567
+ 434
568
+ ]
569
+ },
570
+ {
571
+ "id": "47b0e74d-ef80-4423-a7a6-9bd1673092bb",
572
+ "name": "value_1",
573
+ "type": "BOOLEAN",
574
+ "linkIds": [
575
+ 46
576
+ ],
577
+ "label": "prompt_enhance",
578
+ "pos": [
579
+ -1597.533203125,
580
+ 454
581
+ ]
582
+ },
583
+ {
584
+ "id": "5fc735ae-a50b-4363-bff9-850030ad5dd5",
585
+ "name": "max_length",
586
+ "type": "INT",
587
+ "linkIds": [
588
+ 49
589
+ ],
590
+ "label": "LLM_max_token",
591
+ "pos": [
592
+ -1597.533203125,
593
+ 474
594
+ ]
595
+ },
596
+ {
597
+ "id": "2d1c0f16-25d7-46d1-b774-e6b5519810ae",
598
+ "name": "width",
599
+ "type": "INT",
600
+ "linkIds": [
601
+ 50
602
+ ],
603
+ "pos": [
604
+ -1597.533203125,
605
+ 494
606
+ ]
607
+ },
608
+ {
609
+ "id": "8bb87b44-fecc-46d7-bdae-642002250a43",
610
+ "name": "height",
611
+ "type": "INT",
612
+ "linkIds": [
613
+ 51
614
+ ],
615
+ "pos": [
616
+ -1597.533203125,
617
+ 514
618
+ ]
619
+ },
620
+ {
621
+ "id": "75652c4f-cde2-4ad7-b322-73d47b533ef8",
622
+ "name": "seed",
623
+ "type": "INT",
624
+ "linkIds": [
625
+ 56
626
+ ],
627
+ "pos": [
628
+ -1597.533203125,
629
+ 534
630
+ ]
631
+ },
632
+ {
633
+ "id": "b0ca5f55-a223-40de-9e37-aaf2cf0904dd",
634
+ "name": "value_2",
635
+ "type": "BOOLEAN",
636
+ "linkIds": [
637
+ 57
638
+ ],
639
+ "label": "enable_lora?",
640
+ "pos": [
641
+ -1597.533203125,
642
+ 554
643
+ ]
644
+ },
645
+ {
646
+ "id": "eb2e846b-2e6c-49a2-bc56-9c772c8a1862",
647
+ "name": "lora_name",
648
+ "type": "COMBO",
649
+ "linkIds": [
650
+ 58
651
+ ],
652
+ "pos": [
653
+ -1597.533203125,
654
+ 574
655
+ ]
656
+ },
657
+ {
658
+ "id": "d2693bbb-bb95-4fb1-9a3d-27a1bb0b664b",
659
+ "name": "strength_model",
660
+ "type": "FLOAT",
661
+ "linkIds": [
662
+ 59
663
+ ],
664
+ "label": "lora_strength",
665
+ "pos": [
666
+ -1597.533203125,
667
+ 594
668
+ ]
669
+ },
670
+ {
671
+ "id": "e2031135-b490-4909-b1ec-6b00aecf819e",
672
+ "name": "string_b",
673
+ "type": "STRING",
674
+ "linkIds": [
675
+ 60
676
+ ],
677
+ "label": "lora_trigger_word",
678
+ "pos": [
679
+ -1597.533203125,
680
+ 614
681
+ ]
682
+ },
683
+ {
684
+ "id": "14e2eb6a-5fa1-40c9-81d1-a928360fcd80",
685
+ "name": "unet_name",
686
+ "type": "COMBO",
687
+ "linkIds": [
688
+ 61
689
+ ],
690
+ "pos": [
691
+ -1597.533203125,
692
+ 634
693
+ ]
694
+ },
695
+ {
696
+ "id": "e27ba0c5-697f-44f4-b475-c2dcfa594724",
697
+ "name": "clip_name",
698
+ "type": "COMBO",
699
+ "linkIds": [
700
+ 62
701
+ ],
702
+ "pos": [
703
+ -1597.533203125,
704
+ 654
705
+ ]
706
+ },
707
+ {
708
+ "id": "75c25d8e-b881-46e4-aca7-d2ada9e147d0",
709
+ "name": "vae_name",
710
+ "type": "COMBO",
711
+ "linkIds": [
712
+ 63
713
+ ],
714
+ "pos": [
715
+ -1597.533203125,
716
+ 674
717
+ ]
718
+ }
719
+ ],
720
+ "outputs": [
721
+ {
722
+ "id": "e4073813-752d-4584-96b5-6e42eac355dd",
723
+ "name": "IMAGE",
724
+ "type": "IMAGE",
725
+ "linkIds": [
726
+ 43
727
+ ],
728
+ "localized_name": "IMAGE",
729
+ "pos": [
730
+ 1584,
731
+ 520
732
+ ]
733
+ }
734
+ ],
735
+ "widgets": [],
736
+ "nodes": [
737
+ {
738
+ "id": 5,
739
+ "type": "EmptyLatentImage",
740
+ "pos": [
741
+ 170,
742
+ 350
743
+ ],
744
+ "size": [
745
+ 320,
746
+ 170
747
+ ],
748
+ "flags": {},
749
+ "order": 2,
750
+ "mode": 0,
751
+ "inputs": [
752
+ {
753
+ "localized_name": "width",
754
+ "name": "width",
755
+ "type": "INT",
756
+ "widget": {
757
+ "name": "width"
758
+ },
759
+ "link": 50
760
+ },
761
+ {
762
+ "localized_name": "height",
763
+ "name": "height",
764
+ "type": "INT",
765
+ "widget": {
766
+ "name": "height"
767
+ },
768
+ "link": 51
769
+ }
770
+ ],
771
+ "outputs": [
772
+ {
773
+ "localized_name": "LATENT",
774
+ "name": "LATENT",
775
+ "type": "LATENT",
776
+ "slot_index": 0,
777
+ "links": [
778
+ 2
779
+ ]
780
+ }
781
+ ],
782
+ "properties": {
783
+ "cnr_id": "comfy-core",
784
+ "ver": "0.25.0",
785
+ "Node name for S&R": "EmptyLatentImage"
786
+ },
787
+ "widgets_values": [
788
+ 1024,
789
+ 1024,
790
+ 1
791
+ ]
792
+ },
793
+ {
794
+ "id": 10,
795
+ "type": "UNETLoader",
796
+ "pos": [
797
+ -410,
798
+ -240
799
+ ],
800
+ "size": [
801
+ 450,
802
+ 140
803
+ ],
804
+ "flags": {},
805
+ "order": 5,
806
+ "mode": 0,
807
+ "inputs": [
808
+ {
809
+ "localized_name": "unet_name",
810
+ "name": "unet_name",
811
+ "type": "COMBO",
812
+ "widget": {
813
+ "name": "unet_name"
814
+ },
815
+ "link": 61
816
+ }
817
+ ],
818
+ "outputs": [
819
+ {
820
+ "localized_name": "MODEL",
821
+ "name": "MODEL",
822
+ "type": "MODEL",
823
+ "links": [
824
+ 16,
825
+ 28
826
+ ]
827
+ }
828
+ ],
829
+ "properties": {
830
+ "cnr_id": "comfy-core",
831
+ "ver": "0.25.0",
832
+ "Node name for S&R": "UNETLoader",
833
+ "models": [
834
+ {
835
+ "name": "krea2_turbo_fp8_scaled.safetensors",
836
+ "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_fp8_scaled.safetensors",
837
+ "directory": "diffusion_models"
838
+ }
839
+ ]
840
+ },
841
+ "widgets_values": [
842
+ "krea2_turbo_fp8.safetensors",
843
+ "default"
844
+ ]
845
+ },
846
+ {
847
+ "id": 11,
848
+ "type": "CLIPLoader",
849
+ "pos": [
850
+ -410,
851
+ 150
852
+ ],
853
+ "size": [
854
+ 450,
855
+ 170
856
+ ],
857
+ "flags": {},
858
+ "order": 6,
859
+ "mode": 0,
860
+ "inputs": [
861
+ {
862
+ "localized_name": "clip_name",
863
+ "name": "clip_name",
864
+ "type": "COMBO",
865
+ "widget": {
866
+ "name": "clip_name"
867
+ },
868
+ "link": 62
869
+ }
870
+ ],
871
+ "outputs": [
872
+ {
873
+ "localized_name": "CLIP",
874
+ "name": "CLIP",
875
+ "type": "CLIP",
876
+ "links": [
877
+ 10,
878
+ 18
879
+ ]
880
+ }
881
+ ],
882
+ "properties": {
883
+ "cnr_id": "comfy-core",
884
+ "ver": "0.25.0",
885
+ "Node name for S&R": "CLIPLoader",
886
+ "models": [
887
+ {
888
+ "name": "qwen3vl_4b_fp8_scaled.safetensors",
889
+ "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors",
890
+ "directory": "text_encoders"
891
+ }
892
+ ]
893
+ },
894
+ "widgets_values": [
895
+ "qwen3vl_4b_fp8_scaled.safetensors",
896
+ "krea2",
897
+ "default"
898
+ ]
899
+ },
900
+ {
901
+ "id": 12,
902
+ "type": "VAELoader",
903
+ "pos": [
904
+ -410,
905
+ 390
906
+ ],
907
+ "size": [
908
+ 450,
909
+ 120
910
+ ],
911
+ "flags": {},
912
+ "order": 7,
913
+ "mode": 0,
914
+ "inputs": [
915
+ {
916
+ "localized_name": "vae_name",
917
+ "name": "vae_name",
918
+ "type": "COMBO",
919
+ "widget": {
920
+ "name": "vae_name"
921
+ },
922
+ "link": 63
923
+ }
924
+ ],
925
+ "outputs": [
926
+ {
927
+ "localized_name": "VAE",
928
+ "name": "VAE",
929
+ "type": "VAE",
930
+ "links": [
931
+ 12
932
+ ]
933
+ }
934
+ ],
935
+ "properties": {
936
+ "cnr_id": "comfy-core",
937
+ "ver": "0.25.0",
938
+ "Node name for S&R": "VAELoader",
939
+ "models": [
940
+ {
941
+ "name": "qwen_image_vae.safetensors",
942
+ "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/vae/qwen_image_vae.safetensors",
943
+ "directory": "vae"
944
+ }
945
+ ]
946
+ },
947
+ "widgets_values": [
948
+ "qwen_image_vae.safetensors"
949
+ ]
950
+ },
951
+ {
952
+ "id": 15,
953
+ "type": "LoraLoaderModelOnly",
954
+ "pos": [
955
+ -410,
956
+ -50
957
+ ],
958
+ "size": [
959
+ 450,
960
+ 170
961
+ ],
962
+ "flags": {},
963
+ "order": 9,
964
+ "mode": 0,
965
+ "inputs": [
966
+ {
967
+ "localized_name": "model",
968
+ "name": "model",
969
+ "type": "MODEL",
970
+ "link": 16
971
+ },
972
+ {
973
+ "localized_name": "lora_name",
974
+ "name": "lora_name",
975
+ "type": "COMBO",
976
+ "widget": {
977
+ "name": "lora_name"
978
+ },
979
+ "link": 58
980
+ },
981
+ {
982
+ "localized_name": "strength_model",
983
+ "name": "strength_model",
984
+ "type": "FLOAT",
985
+ "widget": {
986
+ "name": "strength_model"
987
+ },
988
+ "link": 59
989
+ }
990
+ ],
991
+ "outputs": [
992
+ {
993
+ "localized_name": "MODEL",
994
+ "name": "MODEL",
995
+ "type": "MODEL",
996
+ "links": [
997
+ 29
998
+ ]
999
+ }
1000
+ ],
1001
+ "properties": {
1002
+ "cnr_id": "comfy-core",
1003
+ "ver": "0.25.0",
1004
+ "Node name for S&R": "LoraLoaderModelOnly",
1005
+ "models": [
1006
+ {
1007
+ "name": "krea2_warmpastel.safetensors",
1008
+ "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/loras/krea2_warmpastel.safetensors",
1009
+ "directory": "loras"
1010
+ }
1011
+ ]
1012
+ },
1013
+ "widgets_values": [
1014
+ "krea2_warmpastel.safetensors",
1015
+ 0.8
1016
+ ]
1017
+ },
1018
+ {
1019
+ "id": 16,
1020
+ "type": "TextGenerate",
1021
+ "pos": [
1022
+ 178.92984472717907,
1023
+ 889.3462895458338
1024
+ ],
1025
+ "size": [
1026
+ 400,
1027
+ 412
1028
+ ],
1029
+ "flags": {},
1030
+ "order": 10,
1031
+ "mode": 0,
1032
+ "inputs": [
1033
+ {
1034
+ "localized_name": "clip",
1035
+ "name": "clip",
1036
+ "type": "CLIP",
1037
+ "link": 18
1038
+ },
1039
+ {
1040
+ "localized_name": "image",
1041
+ "name": "image",
1042
+ "shape": 7,
1043
+ "type": "IMAGE",
1044
+ "link": null
1045
+ },
1046
+ {
1047
+ "localized_name": "video",
1048
+ "name": "video",
1049
+ "shape": 7,
1050
+ "type": "IMAGE",
1051
+ "link": null
1052
+ },
1053
+ {
1054
+ "localized_name": "audio",
1055
+ "name": "audio",
1056
+ "shape": 7,
1057
+ "type": "AUDIO",
1058
+ "link": null
1059
+ },
1060
+ {
1061
+ "localized_name": "prompt",
1062
+ "name": "prompt",
1063
+ "type": "STRING",
1064
+ "widget": {
1065
+ "name": "prompt"
1066
+ },
1067
+ "link": 19
1068
+ },
1069
+ {
1070
+ "localized_name": "max_length",
1071
+ "name": "max_length",
1072
+ "type": "INT",
1073
+ "widget": {
1074
+ "name": "max_length"
1075
+ },
1076
+ "link": 49
1077
+ }
1078
+ ],
1079
+ "outputs": [
1080
+ {
1081
+ "localized_name": "generated_text",
1082
+ "name": "generated_text",
1083
+ "type": "STRING",
1084
+ "links": [
1085
+ 33
1086
+ ]
1087
+ }
1088
+ ],
1089
+ "properties": {
1090
+ "cnr_id": "comfy-core",
1091
+ "ver": "0.25.0",
1092
+ "Node name for S&R": "TextGenerate"
1093
+ },
1094
+ "widgets_values": [
1095
+ "",
1096
+ 512,
1097
+ "on",
1098
+ 0.7,
1099
+ 64,
1100
+ 0.95,
1101
+ 0.05,
1102
+ 1.05,
1103
+ 0,
1104
+ 0,
1105
+ false,
1106
+ true
1107
+ ]
1108
+ },
1109
+ {
1110
+ "id": 17,
1111
+ "type": "StringConcatenate",
1112
+ "pos": [
1113
+ -91.07015527282113,
1114
+ 1549.3462895458333
1115
+ ],
1116
+ "size": [
1117
+ 225,
1118
+ 34
1119
+ ],
1120
+ "flags": {
1121
+ "collapsed": true
1122
+ },
1123
+ "order": 11,
1124
+ "mode": 0,
1125
+ "inputs": [
1126
+ {
1127
+ "localized_name": "string_a",
1128
+ "name": "string_a",
1129
+ "type": "STRING",
1130
+ "widget": {
1131
+ "name": "string_a"
1132
+ },
1133
+ "link": 21
1134
+ },
1135
+ {
1136
+ "localized_name": "string_b",
1137
+ "name": "string_b",
1138
+ "type": "STRING",
1139
+ "widget": {
1140
+ "name": "string_b"
1141
+ },
1142
+ "link": 22
1143
+ }
1144
+ ],
1145
+ "outputs": [
1146
+ {
1147
+ "localized_name": "STRING",
1148
+ "name": "STRING",
1149
+ "type": "STRING",
1150
+ "links": [
1151
+ 19
1152
+ ]
1153
+ }
1154
+ ],
1155
+ "properties": {
1156
+ "cnr_id": "comfy-core",
1157
+ "ver": "0.25.0",
1158
+ "Node name for S&R": "StringConcatenate"
1159
+ },
1160
+ "widgets_values": [
1161
+ "",
1162
+ "",
1163
+ ""
1164
+ ]
1165
+ },
1166
+ {
1167
+ "id": 18,
1168
+ "type": "PrimitiveStringMultiline",
1169
+ "pos": [
1170
+ -311.070155272821,
1171
+ 889.3462895458338
1172
+ ],
1173
+ "size": [
1174
+ 460,
1175
+ 610
1176
+ ],
1177
+ "flags": {},
1178
+ "order": 0,
1179
+ "mode": 0,
1180
+ "inputs": [],
1181
+ "outputs": [
1182
+ {
1183
+ "localized_name": "STRING",
1184
+ "name": "STRING",
1185
+ "type": "STRING",
1186
+ "links": [
1187
+ 21
1188
+ ]
1189
+ }
1190
+ ],
1191
+ "title": "Text String (System Prompt)",
1192
+ "properties": {
1193
+ "cnr_id": "comfy-core",
1194
+ "ver": "0.25.0",
1195
+ "Node name for S&R": "PrimitiveStringMultiline"
1196
+ },
1197
+ "widgets_values": [
1198
+ "You are an expert prompt engineer for text-to-image models. Your task is to expand the user's prompt into a highly effective image-generation prompt.\n\nThink step by step about the request before writing the answer:\n- What is the subject and mood?\n- What visual styles, mediums, and lighting options would fit? Consider two or three alternatives and pick the one that best serves the caption.\n- What composition, framing, and grounded details will help the text-to-image model?\n\nThen output a single expanded prompt paragraph.\n\nFollow these rules strictly:\n1. **Faithfulness First:** Preserve all original subjects, actions, colors, and spatial relationships. Do not add new objects, props, characters, or animals unless the user clearly implies them.\n2. **Practical T2I Structure:** Write a prompt that a text-to-image model can parse cleanly. Group subjects with their own attributes and actions. Use grounded phrasing for poses, interactions, and spatial layout.\n3. **Style Planning Stays Internal:** Use your internal reasoning to choose style, medium, framing, and lighting. Do not emit planning tags or wrappers in the visible answer body.\n4. **Text Rendering:** If the user requests visible text, quotes, labels, or typography, specify the exact text clearly and wrap requested words in quotes.\n5. **Avoid Over-Specification:** Do not invent highly specific clothing, colors, materials, or scene details unless the input supports them.\n6. **Structure:** Write one cohesive paragraph after the thinking block. No bullets, JSON, or markdown.\n7. **Respect Existing Detail:** If the user's prompt is already detailed, lightly polish and finalize rather than heavily expanding — preserve their phrasing and direction.\n8. **Respect the Human Form:** Treat depictions of people with dignity. Assume clothing covers genitals and intimate anatomy.\n9. **Preserve User Medium:** When the user explicitly requests a medium (e.g. \"photo of\", \"photograph of\", \"illustration of\", \"painting of\", \"sketch of\", \"3D render of\"), honor it. Do not pivot to a different medium to avoid difficulty — match the user's stated intent.\n\nUser's Input:\n\n"
1199
+ ]
1200
+ },
1201
+ {
1202
+ "id": 19,
1203
+ "type": "PrimitiveStringMultiline",
1204
+ "pos": [
1205
+ -1070,
1206
+ -290
1207
+ ],
1208
+ "size": [
1209
+ 570,
1210
+ 800
1211
+ ],
1212
+ "flags": {},
1213
+ "order": 12,
1214
+ "mode": 0,
1215
+ "inputs": [
1216
+ {
1217
+ "localized_name": "value",
1218
+ "name": "value",
1219
+ "type": "STRING",
1220
+ "widget": {
1221
+ "name": "value"
1222
+ },
1223
+ "link": 45
1224
+ }
1225
+ ],
1226
+ "outputs": [
1227
+ {
1228
+ "localized_name": "STRING",
1229
+ "name": "STRING",
1230
+ "type": "STRING",
1231
+ "links": [
1232
+ 22,
1233
+ 34
1234
+ ]
1235
+ }
1236
+ ],
1237
+ "title": "Text String (User Prompt)",
1238
+ "properties": {
1239
+ "cnr_id": "comfy-core",
1240
+ "ver": "0.25.0",
1241
+ "Node name for S&R": "PrimitiveStringMultiline"
1242
+ },
1243
+ "widgets_values": [
1244
+ "wide full body shot of a young woman with long, blonde, straight hair is posing nude by the beach facing the camera. she has moderately full bust and pubic hair. Her feet are in the sand. The beach serves as the background. The lighting sunny daylight, coming from the back and slightly above. The camera is positioned at eye-level"
1245
+ ],
1246
+ "color": "#322",
1247
+ "bgcolor": "#533"
1248
+ },
1249
+ {
1250
+ "id": 20,
1251
+ "type": "PreviewAny",
1252
+ "pos": [
1253
+ 618.9298447271789,
1254
+ 899.3462895458338
1255
+ ],
1256
+ "size": [
1257
+ 470,
1258
+ 550
1259
+ ],
1260
+ "flags": {
1261
+ "collapsed": false
1262
+ },
1263
+ "order": 13,
1264
+ "mode": 0,
1265
+ "inputs": [
1266
+ {
1267
+ "localized_name": "source",
1268
+ "name": "source",
1269
+ "type": "*",
1270
+ "link": 27
1271
+ }
1272
+ ],
1273
+ "outputs": [
1274
+ {
1275
+ "localized_name": "STRING",
1276
+ "name": "STRING",
1277
+ "type": "STRING",
1278
+ "links": [
1279
+ 37,
1280
+ 41
1281
+ ]
1282
+ }
1283
+ ],
1284
+ "properties": {
1285
+ "cnr_id": "comfy-core",
1286
+ "ver": "0.25.0",
1287
+ "Node name for S&R": "PreviewAny"
1288
+ },
1289
+ "widgets_values": [
1290
+ null,
1291
+ null,
1292
+ null
1293
+ ]
1294
+ },
1295
+ {
1296
+ "id": 21,
1297
+ "type": "ComfySwitchNode",
1298
+ "pos": [
1299
+ 288.9298447271791,
1300
+ 1509.3462895458333
1301
+ ],
1302
+ "size": [
1303
+ 270,
1304
+ 130
1305
+ ],
1306
+ "flags": {},
1307
+ "order": 14,
1308
+ "mode": 0,
1309
+ "inputs": [
1310
+ {
1311
+ "localized_name": "on_false",
1312
+ "name": "on_false",
1313
+ "type": "STRING",
1314
+ "link": 34
1315
+ },
1316
+ {
1317
+ "localized_name": "on_true",
1318
+ "name": "on_true",
1319
+ "type": "STRING",
1320
+ "link": 33
1321
+ },
1322
+ {
1323
+ "localized_name": "switch",
1324
+ "name": "switch",
1325
+ "type": "BOOLEAN",
1326
+ "widget": {
1327
+ "name": "switch"
1328
+ },
1329
+ "link": 32
1330
+ }
1331
+ ],
1332
+ "outputs": [
1333
+ {
1334
+ "localized_name": "output",
1335
+ "name": "output",
1336
+ "type": "STRING",
1337
+ "links": [
1338
+ 27
1339
+ ]
1340
+ }
1341
+ ],
1342
+ "properties": {
1343
+ "cnr_id": "comfy-core",
1344
+ "ver": "0.25.0",
1345
+ "Node name for S&R": "ComfySwitchNode"
1346
+ },
1347
+ "widgets_values": [
1348
+ false
1349
+ ]
1350
+ },
1351
+ {
1352
+ "id": 23,
1353
+ "type": "PrimitiveBoolean",
1354
+ "pos": [
1355
+ -910,
1356
+ 670
1357
+ ],
1358
+ "size": [
1359
+ 270,
1360
+ 110
1361
+ ],
1362
+ "flags": {},
1363
+ "order": 16,
1364
+ "mode": 0,
1365
+ "inputs": [
1366
+ {
1367
+ "localized_name": "value",
1368
+ "name": "value",
1369
+ "type": "BOOLEAN",
1370
+ "widget": {
1371
+ "name": "value"
1372
+ },
1373
+ "link": 57
1374
+ }
1375
+ ],
1376
+ "outputs": [
1377
+ {
1378
+ "localized_name": "BOOLEAN",
1379
+ "name": "BOOLEAN",
1380
+ "type": "BOOLEAN",
1381
+ "links": [
1382
+ 31,
1383
+ 42
1384
+ ]
1385
+ }
1386
+ ],
1387
+ "title": "Boolean (Enable LoRA?)",
1388
+ "properties": {
1389
+ "cnr_id": "comfy-core",
1390
+ "ver": "0.25.0",
1391
+ "Node name for S&R": "PrimitiveBoolean"
1392
+ },
1393
+ "widgets_values": [
1394
+ false
1395
+ ]
1396
+ },
1397
+ {
1398
+ "id": 24,
1399
+ "type": "PrimitiveBoolean",
1400
+ "pos": [
1401
+ -910,
1402
+ 840
1403
+ ],
1404
+ "size": [
1405
+ 270,
1406
+ 110
1407
+ ],
1408
+ "flags": {},
1409
+ "order": 17,
1410
+ "mode": 0,
1411
+ "inputs": [
1412
+ {
1413
+ "localized_name": "value",
1414
+ "name": "value",
1415
+ "type": "BOOLEAN",
1416
+ "widget": {
1417
+ "name": "value"
1418
+ },
1419
+ "link": 46
1420
+ }
1421
+ ],
1422
+ "outputs": [
1423
+ {
1424
+ "localized_name": "BOOLEAN",
1425
+ "name": "BOOLEAN",
1426
+ "type": "BOOLEAN",
1427
+ "links": [
1428
+ 32
1429
+ ]
1430
+ }
1431
+ ],
1432
+ "title": "Boolean (Refine Prompt?)",
1433
+ "properties": {
1434
+ "cnr_id": "comfy-core",
1435
+ "ver": "0.25.0",
1436
+ "Node name for S&R": "PrimitiveBoolean"
1437
+ },
1438
+ "widgets_values": [
1439
+ false
1440
+ ]
1441
+ },
1442
+ {
1443
+ "id": 27,
1444
+ "type": "StringConcatenate",
1445
+ "pos": [
1446
+ 1148.92984472718,
1447
+ 1199.3462895458335
1448
+ ],
1449
+ "size": [
1450
+ 350,
1451
+ 250
1452
+ ],
1453
+ "flags": {
1454
+ "collapsed": false
1455
+ },
1456
+ "order": 18,
1457
+ "mode": 0,
1458
+ "inputs": [
1459
+ {
1460
+ "localized_name": "string_a",
1461
+ "name": "string_a",
1462
+ "type": "STRING",
1463
+ "widget": {
1464
+ "name": "string_a"
1465
+ },
1466
+ "link": 41
1467
+ },
1468
+ {
1469
+ "localized_name": "string_b",
1470
+ "name": "string_b",
1471
+ "type": "STRING",
1472
+ "widget": {
1473
+ "name": "string_b"
1474
+ },
1475
+ "link": 60
1476
+ }
1477
+ ],
1478
+ "outputs": [
1479
+ {
1480
+ "localized_name": "STRING",
1481
+ "name": "STRING",
1482
+ "type": "STRING",
1483
+ "links": [
1484
+ 38
1485
+ ]
1486
+ }
1487
+ ],
1488
+ "title": "Concatenate Text (LoRA Trigger Word)",
1489
+ "properties": {
1490
+ "cnr_id": "comfy-core",
1491
+ "ver": "0.25.0",
1492
+ "Node name for S&R": "StringConcatenate"
1493
+ },
1494
+ "widgets_values": [
1495
+ "",
1496
+ "monochrome ink wash style",
1497
+ ", "
1498
+ ]
1499
+ },
1500
+ {
1501
+ "id": 28,
1502
+ "type": "ComfySwitchNode",
1503
+ "pos": [
1504
+ 1168.929844727179,
1505
+ 909.3462895458338
1506
+ ],
1507
+ "size": [
1508
+ 340,
1509
+ 130
1510
+ ],
1511
+ "flags": {},
1512
+ "order": 19,
1513
+ "mode": 0,
1514
+ "inputs": [
1515
+ {
1516
+ "localized_name": "on_false",
1517
+ "name": "on_false",
1518
+ "type": "STRING",
1519
+ "link": 37
1520
+ },
1521
+ {
1522
+ "localized_name": "on_true",
1523
+ "name": "on_true",
1524
+ "type": "STRING",
1525
+ "link": 38
1526
+ },
1527
+ {
1528
+ "localized_name": "switch",
1529
+ "name": "switch",
1530
+ "type": "BOOLEAN",
1531
+ "widget": {
1532
+ "name": "switch"
1533
+ },
1534
+ "link": 42
1535
+ }
1536
+ ],
1537
+ "outputs": [
1538
+ {
1539
+ "localized_name": "output",
1540
+ "name": "output",
1541
+ "type": "STRING",
1542
+ "links": [
1543
+ 40
1544
+ ]
1545
+ }
1546
+ ],
1547
+ "properties": {
1548
+ "cnr_id": "comfy-core",
1549
+ "ver": "0.25.0",
1550
+ "Node name for S&R": "ComfySwitchNode"
1551
+ },
1552
+ "widgets_values": [
1553
+ false
1554
+ ]
1555
+ },
1556
+ {
1557
+ "id": 22,
1558
+ "type": "ComfySwitchNode",
1559
+ "pos": [
1560
+ 642.6982203376034,
1561
+ -286.18932202561933
1562
+ ],
1563
+ "size": [
1564
+ 320,
1565
+ 130
1566
+ ],
1567
+ "flags": {},
1568
+ "order": 15,
1569
+ "mode": 0,
1570
+ "inputs": [
1571
+ {
1572
+ "localized_name": "on_false",
1573
+ "name": "on_false",
1574
+ "type": "MODEL",
1575
+ "link": 28
1576
+ },
1577
+ {
1578
+ "localized_name": "on_true",
1579
+ "name": "on_true",
1580
+ "type": "MODEL",
1581
+ "link": 29
1582
+ },
1583
+ {
1584
+ "localized_name": "switch",
1585
+ "name": "switch",
1586
+ "type": "BOOLEAN",
1587
+ "widget": {
1588
+ "name": "switch"
1589
+ },
1590
+ "link": 31
1591
+ }
1592
+ ],
1593
+ "outputs": [
1594
+ {
1595
+ "localized_name": "output",
1596
+ "name": "output",
1597
+ "type": "MODEL",
1598
+ "links": [
1599
+ 30
1600
+ ]
1601
+ }
1602
+ ],
1603
+ "title": "Switch (Model)",
1604
+ "properties": {
1605
+ "cnr_id": "comfy-core",
1606
+ "ver": "0.25.0",
1607
+ "Node name for S&R": "ComfySwitchNode"
1608
+ },
1609
+ "widgets_values": [
1610
+ false
1611
+ ]
1612
+ },
1613
+ {
1614
+ "id": 13,
1615
+ "type": "ConditioningZeroOut",
1616
+ "pos": [
1617
+ 147.21413852363415,
1618
+ -629.4765134676666
1619
+ ],
1620
+ "size": [
1621
+ 225,
1622
+ 26
1623
+ ],
1624
+ "flags": {
1625
+ "collapsed": true
1626
+ },
1627
+ "order": 8,
1628
+ "mode": 0,
1629
+ "inputs": [
1630
+ {
1631
+ "localized_name": "conditioning",
1632
+ "name": "conditioning",
1633
+ "type": "CONDITIONING",
1634
+ "link": 13
1635
+ }
1636
+ ],
1637
+ "outputs": [
1638
+ {
1639
+ "localized_name": "CONDITIONING",
1640
+ "name": "CONDITIONING",
1641
+ "type": "CONDITIONING",
1642
+ "links": []
1643
+ }
1644
+ ],
1645
+ "properties": {
1646
+ "cnr_id": "comfy-core",
1647
+ "ver": "0.25.0",
1648
+ "Node name for S&R": "ConditioningZeroOut"
1649
+ },
1650
+ "widgets_values": []
1651
+ },
1652
+ {
1653
+ "id": 3,
1654
+ "type": "KSampler",
1655
+ "pos": [
1656
+ 424.35919958806625,
1657
+ -887.7646972599989
1658
+ ],
1659
+ "size": [
1660
+ 320,
1661
+ 590
1662
+ ],
1663
+ "flags": {},
1664
+ "order": 1,
1665
+ "mode": 0,
1666
+ "inputs": [
1667
+ {
1668
+ "localized_name": "model",
1669
+ "name": "model",
1670
+ "type": "MODEL",
1671
+ "link": 30
1672
+ },
1673
+ {
1674
+ "localized_name": "positive",
1675
+ "name": "positive",
1676
+ "type": "CONDITIONING",
1677
+ "link": 73
1678
+ },
1679
+ {
1680
+ "localized_name": "negative",
1681
+ "name": "negative",
1682
+ "type": "CONDITIONING",
1683
+ "link": 74
1684
+ },
1685
+ {
1686
+ "localized_name": "latent_image",
1687
+ "name": "latent_image",
1688
+ "type": "LATENT",
1689
+ "link": 2
1690
+ },
1691
+ {
1692
+ "localized_name": "seed",
1693
+ "name": "seed",
1694
+ "type": "INT",
1695
+ "widget": {
1696
+ "name": "seed"
1697
+ },
1698
+ "link": 56
1699
+ }
1700
+ ],
1701
+ "outputs": [
1702
+ {
1703
+ "localized_name": "LATENT",
1704
+ "name": "LATENT",
1705
+ "type": "LATENT",
1706
+ "slot_index": 0,
1707
+ "links": [
1708
+ 7
1709
+ ]
1710
+ }
1711
+ ],
1712
+ "properties": {
1713
+ "cnr_id": "comfy-core",
1714
+ "ver": "0.25.0",
1715
+ "Node name for S&R": "KSampler"
1716
+ },
1717
+ "widgets_values": [
1718
+ 567261671908422,
1719
+ "randomize",
1720
+ 8,
1721
+ 1,
1722
+ "euler",
1723
+ "simple",
1724
+ 1
1725
+ ]
1726
+ },
1727
+ {
1728
+ "id": 6,
1729
+ "type": "CLIPTextEncode",
1730
+ "pos": [
1731
+ -638.7870395265656,
1732
+ -930.4434994718544
1733
+ ],
1734
+ "size": [
1735
+ 480,
1736
+ 420
1737
+ ],
1738
+ "flags": {},
1739
+ "order": 3,
1740
+ "mode": 0,
1741
+ "inputs": [
1742
+ {
1743
+ "localized_name": "clip",
1744
+ "name": "clip",
1745
+ "type": "CLIP",
1746
+ "link": 10
1747
+ },
1748
+ {
1749
+ "localized_name": "text",
1750
+ "name": "text",
1751
+ "type": "STRING",
1752
+ "widget": {
1753
+ "name": "text"
1754
+ },
1755
+ "link": 40
1756
+ }
1757
+ ],
1758
+ "outputs": [
1759
+ {
1760
+ "localized_name": "CONDITIONING",
1761
+ "name": "CONDITIONING",
1762
+ "type": "CONDITIONING",
1763
+ "slot_index": 0,
1764
+ "links": [
1765
+ 13,
1766
+ 72
1767
+ ]
1768
+ }
1769
+ ],
1770
+ "properties": {
1771
+ "cnr_id": "comfy-core",
1772
+ "ver": "0.25.0",
1773
+ "Node name for S&R": "CLIPTextEncode"
1774
+ },
1775
+ "widgets_values": [
1776
+ "A high-contrast, hyper-stylized fashion editorial portrait shot against a saturated mustard-yellow seamless backdrop, with the central figure rendered in crisp desaturated black-and-white, creating a striking duotone aesthetic reminiscent of David LaChapelle meets Helmut Newton with a punk-gothic edge.\n\nThe subject is a fierce young woman with a platinum-bleached, spiked liberty mohawk crown of hair, her expression cold and commanding as she stares directly into the lens. She wears a cropped black leather biker jacket exploding with oversized metallic conical studs and spikes across the shoulders, paired with a minimal black bikini bottom, sheer black thigh-high stockings, and chunky knee-high lace-up combat platform boots. Her toned, athletic physique is fully exposed at the midriff.\n\nShe sits regally upon an ornate throne carved in the shape of a snarling, fanged beast's head — part dragon, part demonic feline — its silver-grey surface intricately detailed with bones, scales, and gothic ornamentation. Her booted foot rests on a battered metal road case wrapped in heavy chains and covered in stickers and band decals.\n\nIn her right hand she grips a massive medieval war scythe, its long wooden shaft wrapped in leather, the enormous curved blade arcing dramatically over her head. Perched on her left fist, talons gripping her knuckles, is a majestic American bald eagle with pristine white head feathers and a sharp yellow beak, staring off to the side with predatory alertness.\n\nStudio lighting is hard and theatrical, casting crisp shadows. The composition is symmetrical, iconic, and poster-like — punk rock goddess of war meets American mythology. Hyperrealistic, high-fashion photography, 8k, sharp detail, magazine cover quality."
1777
+ ],
1778
+ "color": "#232",
1779
+ "bgcolor": "#353"
1780
+ },
1781
+ {
1782
+ "id": 8,
1783
+ "type": "VAEDecode",
1784
+ "pos": [
1785
+ 1010,
1786
+ -270
1787
+ ],
1788
+ "size": [
1789
+ 230,
1790
+ 100
1791
+ ],
1792
+ "flags": {
1793
+ "collapsed": false
1794
+ },
1795
+ "order": 4,
1796
+ "mode": 0,
1797
+ "inputs": [
1798
+ {
1799
+ "localized_name": "samples",
1800
+ "name": "samples",
1801
+ "type": "LATENT",
1802
+ "link": 7
1803
+ },
1804
+ {
1805
+ "localized_name": "vae",
1806
+ "name": "vae",
1807
+ "type": "VAE",
1808
+ "link": 12
1809
+ }
1810
+ ],
1811
+ "outputs": [
1812
+ {
1813
+ "localized_name": "IMAGE",
1814
+ "name": "IMAGE",
1815
+ "type": "IMAGE",
1816
+ "slot_index": 0,
1817
+ "links": [
1818
+ 43,
1819
+ 75
1820
+ ]
1821
+ }
1822
+ ],
1823
+ "properties": {
1824
+ "cnr_id": "comfy-core",
1825
+ "ver": "0.25.0",
1826
+ "Node name for S&R": "VAEDecode"
1827
+ },
1828
+ "widgets_values": []
1829
+ },
1830
+ {
1831
+ "id": 57,
1832
+ "type": "PreviewImage",
1833
+ "pos": [
1834
+ 1898.602027407368,
1835
+ -247.31291343616672
1836
+ ],
1837
+ "size": [
1838
+ 140,
1839
+ 246
1840
+ ],
1841
+ "flags": {},
1842
+ "order": 21,
1843
+ "mode": 0,
1844
+ "inputs": [
1845
+ {
1846
+ "localized_name": "images",
1847
+ "name": "images",
1848
+ "type": "IMAGE",
1849
+ "link": 75
1850
+ }
1851
+ ],
1852
+ "outputs": [
1853
+ {
1854
+ "localized_name": "images",
1855
+ "name": "images",
1856
+ "type": "IMAGE",
1857
+ "links": null
1858
+ }
1859
+ ],
1860
+ "properties": {
1861
+ "cnr_id": "comfy-core",
1862
+ "ver": "0.26.0",
1863
+ "Node name for S&R": "PreviewImage"
1864
+ },
1865
+ "widgets_values": []
1866
+ },
1867
+ {
1868
+ "id": 56,
1869
+ "type": "ConditioningKrea2Rebalance",
1870
+ "pos": [
1871
+ -103.44532915996928,
1872
+ -1067.9702373067216
1873
+ ],
1874
+ "size": [
1875
+ 403.53645550760257,
1876
+ 82
1877
+ ],
1878
+ "flags": {},
1879
+ "order": 20,
1880
+ "mode": 0,
1881
+ "inputs": [
1882
+ {
1883
+ "localized_name": "conditioning",
1884
+ "name": "conditioning",
1885
+ "type": "CONDITIONING",
1886
+ "link": 72
1887
+ }
1888
+ ],
1889
+ "outputs": [
1890
+ {
1891
+ "localized_name": "conditioning",
1892
+ "name": "conditioning",
1893
+ "type": "CONDITIONING",
1894
+ "links": [
1895
+ 73,
1896
+ 74
1897
+ ]
1898
+ }
1899
+ ],
1900
+ "properties": {
1901
+ "aux_id": "nova452/ComfyUI-ConditioningKrea2Rebalance",
1902
+ "ver": "9ab5315e6aa8ec8cd14cc5354739d938c6fb101b",
1903
+ "Node name for S&R": "ConditioningKrea2Rebalance"
1904
+ },
1905
+ "widgets_values": [
1906
+ 4,
1907
+ "1.0,1.0,1.0,1.0,1.0,1.0,1.0,2.5,5.0,1.1,4.0,1.0"
1908
+ ]
1909
+ }
1910
+ ],
1911
+ "groups": [
1912
+ {
1913
+ "id": 1,
1914
+ "title": "Models",
1915
+ "bounding": [
1916
+ -430,
1917
+ -320,
1918
+ 490,
1919
+ 850
1920
+ ],
1921
+ "color": "#3f789e",
1922
+ "flags": {}
1923
+ },
1924
+ {
1925
+ "id": 4,
1926
+ "title": "Prompt Enhancement",
1927
+ "bounding": [
1928
+ -321.0701552728209,
1929
+ 819.3462895458338,
1930
+ 1940,
1931
+ 840
1932
+ ],
1933
+ "color": "#3f789e",
1934
+ "flags": {}
1935
+ },
1936
+ {
1937
+ "id": 5,
1938
+ "title": "Group",
1939
+ "bounding": [
1940
+ -1080,
1941
+ -360,
1942
+ 610,
1943
+ 910
1944
+ ],
1945
+ "color": "#3f789e",
1946
+ "flags": {}
1947
+ },
1948
+ {
1949
+ "id": 6,
1950
+ "title": "Image Generation",
1951
+ "bounding": [
1952
+ -440,
1953
+ -360,
1954
+ 1940,
1955
+ 910
1956
+ ],
1957
+ "color": "#3f789e",
1958
+ "flags": {}
1959
+ },
1960
+ {
1961
+ "id": 7,
1962
+ "title": "Prompt",
1963
+ "bounding": [
1964
+ 90,
1965
+ -320,
1966
+ 500,
1967
+ 570
1968
+ ],
1969
+ "color": "#3f789e",
1970
+ "flags": {}
1971
+ },
1972
+ {
1973
+ "id": 8,
1974
+ "title": "Size",
1975
+ "bounding": [
1976
+ 90,
1977
+ 270,
1978
+ 500,
1979
+ 260
1980
+ ],
1981
+ "color": "#3f789e",
1982
+ "flags": {}
1983
+ },
1984
+ {
1985
+ "id": 9,
1986
+ "title": "Feature Switch",
1987
+ "bounding": [
1988
+ -1080,
1989
+ 580,
1990
+ 610,
1991
+ 400
1992
+ ],
1993
+ "color": "#3f789e",
1994
+ "flags": {}
1995
+ }
1996
+ ],
1997
+ "links": [
1998
+ {
1999
+ "id": 10,
2000
+ "origin_id": 11,
2001
+ "origin_slot": 0,
2002
+ "target_id": 6,
2003
+ "target_slot": 0,
2004
+ "type": "CLIP"
2005
+ },
2006
+ {
2007
+ "id": 40,
2008
+ "origin_id": 28,
2009
+ "origin_slot": 0,
2010
+ "target_id": 6,
2011
+ "target_slot": 1,
2012
+ "type": "STRING"
2013
+ },
2014
+ {
2015
+ "id": 30,
2016
+ "origin_id": 22,
2017
+ "origin_slot": 0,
2018
+ "target_id": 3,
2019
+ "target_slot": 0,
2020
+ "type": "MODEL"
2021
+ },
2022
+ {
2023
+ "id": 2,
2024
+ "origin_id": 5,
2025
+ "origin_slot": 0,
2026
+ "target_id": 3,
2027
+ "target_slot": 3,
2028
+ "type": "LATENT"
2029
+ },
2030
+ {
2031
+ "id": 7,
2032
+ "origin_id": 3,
2033
+ "origin_slot": 0,
2034
+ "target_id": 8,
2035
+ "target_slot": 0,
2036
+ "type": "LATENT"
2037
+ },
2038
+ {
2039
+ "id": 12,
2040
+ "origin_id": 12,
2041
+ "origin_slot": 0,
2042
+ "target_id": 8,
2043
+ "target_slot": 1,
2044
+ "type": "VAE"
2045
+ },
2046
+ {
2047
+ "id": 13,
2048
+ "origin_id": 6,
2049
+ "origin_slot": 0,
2050
+ "target_id": 13,
2051
+ "target_slot": 0,
2052
+ "type": "CONDITIONING"
2053
+ },
2054
+ {
2055
+ "id": 16,
2056
+ "origin_id": 10,
2057
+ "origin_slot": 0,
2058
+ "target_id": 15,
2059
+ "target_slot": 0,
2060
+ "type": "MODEL"
2061
+ },
2062
+ {
2063
+ "id": 18,
2064
+ "origin_id": 11,
2065
+ "origin_slot": 0,
2066
+ "target_id": 16,
2067
+ "target_slot": 0,
2068
+ "type": "CLIP"
2069
+ },
2070
+ {
2071
+ "id": 19,
2072
+ "origin_id": 17,
2073
+ "origin_slot": 0,
2074
+ "target_id": 16,
2075
+ "target_slot": 4,
2076
+ "type": "STRING"
2077
+ },
2078
+ {
2079
+ "id": 21,
2080
+ "origin_id": 18,
2081
+ "origin_slot": 0,
2082
+ "target_id": 17,
2083
+ "target_slot": 0,
2084
+ "type": "STRING"
2085
+ },
2086
+ {
2087
+ "id": 22,
2088
+ "origin_id": 19,
2089
+ "origin_slot": 0,
2090
+ "target_id": 17,
2091
+ "target_slot": 1,
2092
+ "type": "STRING"
2093
+ },
2094
+ {
2095
+ "id": 27,
2096
+ "origin_id": 21,
2097
+ "origin_slot": 0,
2098
+ "target_id": 20,
2099
+ "target_slot": 0,
2100
+ "type": "STRING"
2101
+ },
2102
+ {
2103
+ "id": 34,
2104
+ "origin_id": 19,
2105
+ "origin_slot": 0,
2106
+ "target_id": 21,
2107
+ "target_slot": 0,
2108
+ "type": "STRING"
2109
+ },
2110
+ {
2111
+ "id": 33,
2112
+ "origin_id": 16,
2113
+ "origin_slot": 0,
2114
+ "target_id": 21,
2115
+ "target_slot": 1,
2116
+ "type": "STRING"
2117
+ },
2118
+ {
2119
+ "id": 32,
2120
+ "origin_id": 24,
2121
+ "origin_slot": 0,
2122
+ "target_id": 21,
2123
+ "target_slot": 2,
2124
+ "type": "BOOLEAN"
2125
+ },
2126
+ {
2127
+ "id": 28,
2128
+ "origin_id": 10,
2129
+ "origin_slot": 0,
2130
+ "target_id": 22,
2131
+ "target_slot": 0,
2132
+ "type": "MODEL"
2133
+ },
2134
+ {
2135
+ "id": 29,
2136
+ "origin_id": 15,
2137
+ "origin_slot": 0,
2138
+ "target_id": 22,
2139
+ "target_slot": 1,
2140
+ "type": "MODEL"
2141
+ },
2142
+ {
2143
+ "id": 31,
2144
+ "origin_id": 23,
2145
+ "origin_slot": 0,
2146
+ "target_id": 22,
2147
+ "target_slot": 2,
2148
+ "type": "BOOLEAN"
2149
+ },
2150
+ {
2151
+ "id": 41,
2152
+ "origin_id": 20,
2153
+ "origin_slot": 0,
2154
+ "target_id": 27,
2155
+ "target_slot": 0,
2156
+ "type": "STRING"
2157
+ },
2158
+ {
2159
+ "id": 37,
2160
+ "origin_id": 20,
2161
+ "origin_slot": 0,
2162
+ "target_id": 28,
2163
+ "target_slot": 0,
2164
+ "type": "STRING"
2165
+ },
2166
+ {
2167
+ "id": 38,
2168
+ "origin_id": 27,
2169
+ "origin_slot": 0,
2170
+ "target_id": 28,
2171
+ "target_slot": 1,
2172
+ "type": "STRING"
2173
+ },
2174
+ {
2175
+ "id": 42,
2176
+ "origin_id": 23,
2177
+ "origin_slot": 0,
2178
+ "target_id": 28,
2179
+ "target_slot": 2,
2180
+ "type": "BOOLEAN"
2181
+ },
2182
+ {
2183
+ "id": 43,
2184
+ "origin_id": 8,
2185
+ "origin_slot": 0,
2186
+ "target_id": -20,
2187
+ "target_slot": 0,
2188
+ "type": "IMAGE"
2189
+ },
2190
+ {
2191
+ "id": 45,
2192
+ "origin_id": -10,
2193
+ "origin_slot": 0,
2194
+ "target_id": 19,
2195
+ "target_slot": 0,
2196
+ "type": "STRING"
2197
+ },
2198
+ {
2199
+ "id": 46,
2200
+ "origin_id": -10,
2201
+ "origin_slot": 1,
2202
+ "target_id": 24,
2203
+ "target_slot": 0,
2204
+ "type": "BOOLEAN"
2205
+ },
2206
+ {
2207
+ "id": 49,
2208
+ "origin_id": -10,
2209
+ "origin_slot": 2,
2210
+ "target_id": 16,
2211
+ "target_slot": 5,
2212
+ "type": "INT"
2213
+ },
2214
+ {
2215
+ "id": 50,
2216
+ "origin_id": -10,
2217
+ "origin_slot": 3,
2218
+ "target_id": 5,
2219
+ "target_slot": 0,
2220
+ "type": "INT"
2221
+ },
2222
+ {
2223
+ "id": 51,
2224
+ "origin_id": -10,
2225
+ "origin_slot": 4,
2226
+ "target_id": 5,
2227
+ "target_slot": 1,
2228
+ "type": "INT"
2229
+ },
2230
+ {
2231
+ "id": 56,
2232
+ "origin_id": -10,
2233
+ "origin_slot": 5,
2234
+ "target_id": 3,
2235
+ "target_slot": 4,
2236
+ "type": "INT"
2237
+ },
2238
+ {
2239
+ "id": 57,
2240
+ "origin_id": -10,
2241
+ "origin_slot": 6,
2242
+ "target_id": 23,
2243
+ "target_slot": 0,
2244
+ "type": "BOOLEAN"
2245
+ },
2246
+ {
2247
+ "id": 58,
2248
+ "origin_id": -10,
2249
+ "origin_slot": 7,
2250
+ "target_id": 15,
2251
+ "target_slot": 1,
2252
+ "type": "COMBO"
2253
+ },
2254
+ {
2255
+ "id": 59,
2256
+ "origin_id": -10,
2257
+ "origin_slot": 8,
2258
+ "target_id": 15,
2259
+ "target_slot": 2,
2260
+ "type": "FLOAT"
2261
+ },
2262
+ {
2263
+ "id": 60,
2264
+ "origin_id": -10,
2265
+ "origin_slot": 9,
2266
+ "target_id": 27,
2267
+ "target_slot": 1,
2268
+ "type": "STRING"
2269
+ },
2270
+ {
2271
+ "id": 61,
2272
+ "origin_id": -10,
2273
+ "origin_slot": 10,
2274
+ "target_id": 10,
2275
+ "target_slot": 0,
2276
+ "type": "COMBO"
2277
+ },
2278
+ {
2279
+ "id": 62,
2280
+ "origin_id": -10,
2281
+ "origin_slot": 11,
2282
+ "target_id": 11,
2283
+ "target_slot": 0,
2284
+ "type": "COMBO"
2285
+ },
2286
+ {
2287
+ "id": 63,
2288
+ "origin_id": -10,
2289
+ "origin_slot": 12,
2290
+ "target_id": 12,
2291
+ "target_slot": 0,
2292
+ "type": "COMBO"
2293
+ },
2294
+ {
2295
+ "id": 72,
2296
+ "origin_id": 6,
2297
+ "origin_slot": 0,
2298
+ "target_id": 56,
2299
+ "target_slot": 0,
2300
+ "type": "CONDITIONING"
2301
+ },
2302
+ {
2303
+ "id": 73,
2304
+ "origin_id": 56,
2305
+ "origin_slot": 0,
2306
+ "target_id": 3,
2307
+ "target_slot": 1,
2308
+ "type": "CONDITIONING"
2309
+ },
2310
+ {
2311
+ "id": 74,
2312
+ "origin_id": 56,
2313
+ "origin_slot": 0,
2314
+ "target_id": 3,
2315
+ "target_slot": 2,
2316
+ "type": "CONDITIONING"
2317
+ },
2318
+ {
2319
+ "id": 75,
2320
+ "origin_id": 8,
2321
+ "origin_slot": 0,
2322
+ "target_id": 57,
2323
+ "target_slot": 0,
2324
+ "type": "IMAGE"
2325
+ }
2326
+ ],
2327
+ "extra": {}
2328
+ },
2329
+ {
2330
+ "id": "460e1a4e-4b3b-455a-8ab0-e7581839db23",
2331
+ "version": 1,
2332
+ "state": {
2333
+ "lastGroupId": 10,
2334
+ "lastNodeId": 58,
2335
+ "lastLinkId": 75,
2336
+ "lastRerouteId": 0
2337
+ },
2338
+ "revision": 0,
2339
+ "config": {},
2340
+ "name": "Select Per-Line Text by Index",
2341
+ "description": "Selects one line from multiline text by zero-based index for batch or list-driven prompt workflows.",
2342
+ "inputNode": {
2343
+ "id": -10,
2344
+ "bounding": [
2345
+ -990,
2346
+ 8595,
2347
+ 128,
2348
+ 88
2349
+ ]
2350
+ },
2351
+ "outputNode": {
2352
+ "id": -20,
2353
+ "bounding": [
2354
+ 710,
2355
+ 8585,
2356
+ 128,
2357
+ 68
2358
+ ]
2359
+ },
2360
+ "inputs": [
2361
+ {
2362
+ "id": "75417d82-a934-4ac9-b667-d8dcd5a3bfb3",
2363
+ "name": "text_per_line",
2364
+ "type": "STRING",
2365
+ "linkIds": [
2366
+ 13
2367
+ ],
2368
+ "localized_name": "text_per_line",
2369
+ "pos": [
2370
+ -886,
2371
+ 8619
2372
+ ]
2373
+ },
2374
+ {
2375
+ "id": "46e69a73-1804-4ca6-9175-31445bf0be96",
2376
+ "name": "index",
2377
+ "type": "INT",
2378
+ "linkIds": [
2379
+ 14
2380
+ ],
2381
+ "localized_name": "index",
2382
+ "pos": [
2383
+ -886,
2384
+ 8639
2385
+ ]
2386
+ }
2387
+ ],
2388
+ "outputs": [
2389
+ {
2390
+ "id": "e34e8ad1-84d2-4bd2-a460-eb7de6067c10",
2391
+ "name": "selected_line",
2392
+ "type": "STRING",
2393
+ "linkIds": [
2394
+ 10
2395
+ ],
2396
+ "localized_name": "selected_line",
2397
+ "pos": [
2398
+ 734,
2399
+ 8609
2400
+ ]
2401
+ }
2402
+ ],
2403
+ "widgets": [],
2404
+ "nodes": [
2405
+ {
2406
+ "id": 1,
2407
+ "type": "PreviewAny",
2408
+ "pos": [
2409
+ -500,
2410
+ 8400
2411
+ ],
2412
+ "size": [
2413
+ 230,
2414
+ 180
2415
+ ],
2416
+ "flags": {},
2417
+ "order": 0,
2418
+ "mode": 0,
2419
+ "inputs": [
2420
+ {
2421
+ "localized_name": "source",
2422
+ "name": "source",
2423
+ "type": "*",
2424
+ "link": 1
2425
+ }
2426
+ ],
2427
+ "outputs": [
2428
+ {
2429
+ "localized_name": "STRING",
2430
+ "name": "STRING",
2431
+ "type": "STRING",
2432
+ "links": [
2433
+ 6
2434
+ ]
2435
+ }
2436
+ ],
2437
+ "properties": {
2438
+ "cnr_id": "comfy-core",
2439
+ "ver": "0.19.0",
2440
+ "Node name for S&R": "PreviewAny",
2441
+ "ue_properties": {
2442
+ "widget_ue_connectable": {},
2443
+ "input_ue_unconnectable": {}
2444
+ }
2445
+ },
2446
+ "widgets_values": [
2447
+ null,
2448
+ null,
2449
+ null
2450
+ ]
2451
+ },
2452
+ {
2453
+ "id": 2,
2454
+ "type": "RegexExtract",
2455
+ "pos": [
2456
+ -240,
2457
+ 8740
2458
+ ],
2459
+ "size": [
2460
+ 470,
2461
+ 460
2462
+ ],
2463
+ "flags": {},
2464
+ "order": 1,
2465
+ "mode": 0,
2466
+ "showAdvanced": false,
2467
+ "inputs": [
2468
+ {
2469
+ "localized_name": "string",
2470
+ "name": "string",
2471
+ "type": "STRING",
2472
+ "widget": {
2473
+ "name": "string"
2474
+ },
2475
+ "link": 13
2476
+ },
2477
+ {
2478
+ "localized_name": "regex_pattern",
2479
+ "name": "regex_pattern",
2480
+ "type": "STRING",
2481
+ "widget": {
2482
+ "name": "regex_pattern"
2483
+ },
2484
+ "link": 9
2485
+ }
2486
+ ],
2487
+ "outputs": [
2488
+ {
2489
+ "localized_name": "STRING",
2490
+ "name": "STRING",
2491
+ "type": "STRING",
2492
+ "links": [
2493
+ 10
2494
+ ]
2495
+ }
2496
+ ],
2497
+ "properties": {
2498
+ "cnr_id": "comfy-core",
2499
+ "ver": "0.19.0",
2500
+ "Node name for S&R": "RegexExtract",
2501
+ "ue_properties": {
2502
+ "widget_ue_connectable": {},
2503
+ "input_ue_unconnectable": {}
2504
+ }
2505
+ },
2506
+ "widgets_values": [
2507
+ "Teal watercolor illustration style\nMonochrome ink wash style\nEthereal shimmering light style\nMuted minimalist sketch style",
2508
+ "",
2509
+ "First Group",
2510
+ false,
2511
+ false,
2512
+ false,
2513
+ 1
2514
+ ]
2515
+ },
2516
+ {
2517
+ "id": 43,
2518
+ "type": "PrimitiveInt",
2519
+ "pos": [
2520
+ -810,
2521
+ 8400
2522
+ ],
2523
+ "size": [
2524
+ 270,
2525
+ 110
2526
+ ],
2527
+ "flags": {},
2528
+ "order": 2,
2529
+ "mode": 0,
2530
+ "inputs": [
2531
+ {
2532
+ "localized_name": "value",
2533
+ "name": "value",
2534
+ "type": "INT",
2535
+ "widget": {
2536
+ "name": "value"
2537
+ },
2538
+ "link": 14
2539
+ }
2540
+ ],
2541
+ "outputs": [
2542
+ {
2543
+ "localized_name": "INT",
2544
+ "name": "INT",
2545
+ "type": "INT",
2546
+ "links": [
2547
+ 1
2548
+ ]
2549
+ }
2550
+ ],
2551
+ "title": "Int (line index)",
2552
+ "properties": {
2553
+ "cnr_id": "comfy-core",
2554
+ "ver": "0.19.0",
2555
+ "Node name for S&R": "Int (line index)",
2556
+ "ue_properties": {
2557
+ "widget_ue_connectable": {},
2558
+ "input_ue_unconnectable": {}
2559
+ }
2560
+ },
2561
+ "widgets_values": [
2562
+ 0,
2563
+ "fixed"
2564
+ ]
2565
+ },
2566
+ {
2567
+ "id": 44,
2568
+ "type": "StringReplace",
2569
+ "pos": [
2570
+ -240,
2571
+ 8400
2572
+ ],
2573
+ "size": [
2574
+ 400,
2575
+ 280
2576
+ ],
2577
+ "flags": {},
2578
+ "order": 3,
2579
+ "mode": 0,
2580
+ "inputs": [
2581
+ {
2582
+ "localized_name": "replace",
2583
+ "name": "replace",
2584
+ "type": "STRING",
2585
+ "widget": {
2586
+ "name": "replace"
2587
+ },
2588
+ "link": 6
2589
+ }
2590
+ ],
2591
+ "outputs": [
2592
+ {
2593
+ "localized_name": "STRING",
2594
+ "name": "STRING",
2595
+ "type": "STRING",
2596
+ "links": [
2597
+ 9
2598
+ ]
2599
+ }
2600
+ ],
2601
+ "properties": {
2602
+ "cnr_id": "comfy-core",
2603
+ "ver": "0.19.0",
2604
+ "Node name for S&R": "StringReplace",
2605
+ "ue_properties": {
2606
+ "widget_ue_connectable": {},
2607
+ "input_ue_unconnectable": {}
2608
+ }
2609
+ },
2610
+ "widgets_values": [
2611
+ "^(?:[^\\n]*\\n){index}([^\\n]*)(?:\\n|$)",
2612
+ "index",
2613
+ ""
2614
+ ]
2615
+ }
2616
+ ],
2617
+ "groups": [],
2618
+ "links": [
2619
+ {
2620
+ "id": 1,
2621
+ "origin_id": 43,
2622
+ "origin_slot": 0,
2623
+ "target_id": 1,
2624
+ "target_slot": 0,
2625
+ "type": "INT"
2626
+ },
2627
+ {
2628
+ "id": 9,
2629
+ "origin_id": 44,
2630
+ "origin_slot": 0,
2631
+ "target_id": 2,
2632
+ "target_slot": 1,
2633
+ "type": "STRING"
2634
+ },
2635
+ {
2636
+ "id": 6,
2637
+ "origin_id": 1,
2638
+ "origin_slot": 0,
2639
+ "target_id": 44,
2640
+ "target_slot": 0,
2641
+ "type": "STRING"
2642
+ },
2643
+ {
2644
+ "id": 10,
2645
+ "origin_id": 2,
2646
+ "origin_slot": 0,
2647
+ "target_id": -20,
2648
+ "target_slot": 0,
2649
+ "type": "STRING"
2650
+ },
2651
+ {
2652
+ "id": 13,
2653
+ "origin_id": -10,
2654
+ "origin_slot": 0,
2655
+ "target_id": 2,
2656
+ "target_slot": 0,
2657
+ "type": "STRING"
2658
+ },
2659
+ {
2660
+ "id": 14,
2661
+ "origin_id": -10,
2662
+ "origin_slot": 1,
2663
+ "target_id": 43,
2664
+ "target_slot": 0,
2665
+ "type": "INT"
2666
+ }
2667
+ ],
2668
+ "extra": {
2669
+ "ue_links": [],
2670
+ "links_added_by_ue": []
2671
+ }
2672
+ }
2673
+ ]
2674
+ },
2675
+ "config": {},
2676
+ "extra": {
2677
+ "frontendVersion": "1.45.19",
2678
+ "VHS_latentpreview": false,
2679
+ "VHS_latentpreviewrate": 0,
2680
+ "VHS_MetadataImage": true,
2681
+ "VHS_KeepIntermediate": true,
2682
+ "ds": {
2683
+ "scale": 1.6105100000000008,
2684
+ "offset": [
2685
+ 988.750233876706,
2686
+ 444.4485777281068
2687
+ ]
2688
+ }
2689
+ },
2690
+ "version": 0.4
2691
+ }