nifleisch commited on
Commit
d0667bb
·
verified ·
1 Parent(s): 24c7d21

Run the prompt upsampler on ComfyUI's Generate Text in the workflows

Browse files
README.md CHANGED
@@ -151,10 +151,10 @@ NVIDIA Ampere or newer and AMD RDNA3/4.
151
  | `p-h3-image_lora_text_to_image.json` | Text-to-image with the LoRA on your own MiniMax-H3 |
152
  | `p-h3-image_lora_edit.json` | Editing with the LoRA on your own MiniMax-H3 |
153
 
154
- The pack adds loaders for the model, text encoder and VAE, an Empty Latent node, an Edit node and two prompt upsampler
155
- nodes, one for text-to-image and one for edits. Sampling uses ComfyUI's ManualSigmas with the 8-step grid, Basic Guider,
156
- `euler` and Sampler Custom Advanced, with no CFG or negative prompt. The LoRA loads with ComfyUI's Load LoRA (Bypass,
157
- Model Only).
158
 
159
  ## Recommended resolutions
160
 
@@ -172,8 +172,8 @@ Model Only).
172
  | 16:9 | **3872 × 2176** | 2720 × 1536 |
173
  | 9:16 | **2176 × 3872** | 1536 × 2720 |
174
 
175
- Text-to-image works best at 8 MP. The text-to-image upsampler node returns the 8 MP width and height for the aspect
176
- ratio you pick. Edits work best at 4 or 8 MP. The Edit node scales `image_1`, the image being edited, up to at least
177
  4 MP and generates the edit at its size, unless `width` and `height` are set. Reference images keep their size between
178
  1 and 8 MP.
179
 
@@ -183,14 +183,18 @@ p-h3-image is sensitive to prompting and renders full, specific prompts much bet
183
  upsampler, based on Qwen3.5-9B, turns a one-line request into that prompt, and all example workflows use it. It thinks
184
  about the request first and then writes the prompt.
185
 
186
- - **p-h3-image Prompt Upsampler.** For text-to-image. Takes the request and an aspect ratio, and returns the prompt for
187
- CLIP Text Encode and the 8 MP width and height for p-h3-image Empty Latent.
188
- - **p-h3-image Edit Prompt Upsampler.** For edits. Takes the request and 1 to 8 images, the image to edit first, and
189
- returns the edit prompt for the p-h3-image Edit node. Give the Edit node the same images in the same order.
190
 
191
- Load it with Load CLIP, type `minimax`. It runs before p-h3-image, and ComfyUI moves it out of VRAM when p-h3-image
192
- needs the memory. Its output is cached, so it only runs again when the request or the images change. Decoding is
193
- greedy, so a request always gives the same prompt. Turn on `sampling` for a different prompt per seed.
 
 
 
 
 
 
194
 
195
  | Upsampler file | Size | Peak VRAM | Time per prompt, L40S |
196
  |---|:---:|:---:|:---:|
@@ -202,8 +206,9 @@ The w4a8 prompts differ most from bf16. Use the smaller files only when 21 GB do
202
 
203
  ## Editing
204
 
205
- Connect the image to edit as `image_1` and up to 7 references after it, in the same order on the Edit Prompt Upsampler
206
- and the Edit node. The request can name the images however you like, such as "the hat from the second photo".
 
207
 
208
  <p align="center">
209
  <img src="assets/multi_image.jpg" width="100%">
 
151
  | `p-h3-image_lora_text_to_image.json` | Text-to-image with the LoRA on your own MiniMax-H3 |
152
  | `p-h3-image_lora_edit.json` | Editing with the LoRA on your own MiniMax-H3 |
153
 
154
+ The pack adds loaders for the model, text encoder and VAE, an Empty Latent node and an Edit node. Everything else runs
155
+ on ComfyUI's own nodes: the prompt upsampler on Generate Text, and sampling on ManualSigmas with the 8-step grid, Basic
156
+ Guider, `euler` and Sampler Custom Advanced, with no CFG or negative prompt. The LoRA loads with ComfyUI's Load LoRA
157
+ (Bypass, Model Only).
158
 
159
  ## Recommended resolutions
160
 
 
172
  | 16:9 | **3872 × 2176** | 2720 × 1536 |
173
  | 9:16 | **2176 × 3872** | 1536 × 2720 |
174
 
175
+ Text-to-image works best at 8 MP. In the workflows, Resolution Selector at 8 megapixels and a multiple of 32 gives
176
+ these sizes. Edits work best at 4 or 8 MP. The Edit node scales `image_1`, the image being edited, up to at least
177
  4 MP and generates the edit at its size, unless `width` and `height` are set. Reference images keep their size between
178
  1 and 8 MP.
179
 
 
183
  upsampler, based on Qwen3.5-9B, turns a one-line request into that prompt, and all example workflows use it. It thinks
184
  about the request first and then writes the prompt.
185
 
186
+ It runs on ComfyUI's own nodes, the way FLUX.3 Klein's templates run theirs: Load CLIP (type `minimax`) and Generate
187
+ Text, with greedy decoding, so a request always gives the same prompt.
 
 
188
 
189
+ - **Text-to-image.** Format Text turns the request into the upsampler's input, `Aspect ratio: 1:1` and `Request: ...`
190
+ on two lines, and Generate Text runs with `thinking` on. Keep the aspect ratio the same as in Resolution Selector.
191
+ - **Edits.** Format Text writes the upsampler's input with a `<Picture N>` block for every image, and the images reach
192
+ Generate Text through Batch Images: `image_1` at 1 MP, the references padded to its size. The result is the edit
193
+ prompt for the p-h3-image Edit node.
194
+ - **Use prompt upsampler**, an If/Else switch, set to false sends the request to the model as it is.
195
+
196
+ The upsampler runs before p-h3-image, and ComfyUI moves it out of VRAM when p-h3-image needs the memory. Its output is
197
+ cached, so it only runs again when the request or the images change.
198
 
199
  | Upsampler file | Size | Peak VRAM | Time per prompt, L40S |
200
  |---|:---:|:---:|:---:|
 
206
 
207
  ## Editing
208
 
209
+ Connect the image to edit as `image_1` and up to 7 references after it, in the same order in Batch Images and on the
210
+ Edit node, with a `<Picture N>` block in Upsampler input for every image. The request can name the images however you
211
+ like, such as "the hat from the second photo".
212
 
213
  <p align="center">
214
  <img src="assets/multi_image.jpg" width="100%">
workflows/p-h3-image_edit.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "id": "00000000-0000-0000-0000-000000000000",
3
  "revision": 0,
4
- "last_node_id": 16,
5
- "last_link_id": 19,
6
  "nodes": [
7
  {
8
  "id": 1,
@@ -23,19 +23,19 @@
23
  "localized_name": "model_name",
24
  "name": "model_name",
25
  "type": "COMBO",
26
- "link": null,
27
  "widget": {
28
  "name": "model_name"
29
- }
 
30
  },
31
  {
32
  "localized_name": "weight_dtype",
33
  "name": "weight_dtype",
34
  "type": "COMBO",
35
- "link": null,
36
  "widget": {
37
  "name": "weight_dtype"
38
- }
 
39
  }
40
  ],
41
  "outputs": [
@@ -63,7 +63,11 @@
63
  "widgets_values": [
64
  "p-h3-image_bf16.safetensors",
65
  "default"
66
- ]
 
 
 
 
67
  },
68
  {
69
  "id": 2,
@@ -84,10 +88,10 @@
84
  "localized_name": "text_encoder_name",
85
  "name": "text_encoder_name",
86
  "type": "COMBO",
87
- "link": null,
88
  "widget": {
89
  "name": "text_encoder_name"
90
- }
 
91
  }
92
  ],
93
  "outputs": [
@@ -114,7 +118,10 @@
114
  },
115
  "widgets_values": [
116
  "p-h3-image_text_encoder_bf16.safetensors"
117
- ]
 
 
 
118
  },
119
  {
120
  "id": 3,
@@ -135,10 +142,10 @@
135
  "localized_name": "vae_name",
136
  "name": "vae_name",
137
  "type": "COMBO",
138
- "link": null,
139
  "widget": {
140
  "name": "vae_name"
141
- }
 
142
  }
143
  ],
144
  "outputs": [
@@ -166,7 +173,10 @@
166
  },
167
  "widgets_values": [
168
  "p-h3-image_vae_bf16.safetensors"
169
- ]
 
 
 
170
  },
171
  {
172
  "id": 4,
@@ -187,19 +197,19 @@
187
  "localized_name": "image",
188
  "name": "image",
189
  "type": "COMBO",
190
- "link": null,
191
  "widget": {
192
  "name": "image"
193
- }
 
194
  },
195
  {
196
  "localized_name": "choose file to upload",
197
  "name": "upload",
198
  "type": "IMAGEUPLOAD",
199
- "link": null,
200
  "widget": {
201
  "name": "upload"
202
- }
 
203
  }
204
  ],
205
  "outputs": [
@@ -209,7 +219,7 @@
209
  "type": "IMAGE",
210
  "links": [
211
  3,
212
- 16
213
  ]
214
  },
215
  {
@@ -219,6 +229,7 @@
219
  "links": null
220
  }
221
  ],
 
222
  "properties": {
223
  "Node name for S&R": "LoadImage",
224
  "cnr_id": "comfy-core",
@@ -228,7 +239,10 @@
228
  "example.png",
229
  "image"
230
  ],
231
- "title": "image_1 (edited)"
 
 
 
232
  },
233
  {
234
  "id": 5,
@@ -249,19 +263,19 @@
249
  "localized_name": "image",
250
  "name": "image",
251
  "type": "COMBO",
252
- "link": null,
253
  "widget": {
254
  "name": "image"
255
- }
 
256
  },
257
  {
258
  "localized_name": "choose file to upload",
259
  "name": "upload",
260
  "type": "IMAGEUPLOAD",
261
- "link": null,
262
  "widget": {
263
  "name": "upload"
264
- }
 
265
  }
266
  ],
267
  "outputs": [
@@ -271,7 +285,7 @@
271
  "type": "IMAGE",
272
  "links": [
273
  4,
274
- 17
275
  ]
276
  },
277
  {
@@ -281,6 +295,7 @@
281
  "links": null
282
  }
283
  ],
 
284
  "properties": {
285
  "Node name for S&R": "LoadImage",
286
  "cnr_id": "comfy-core",
@@ -290,7 +305,10 @@
290
  "example.png",
291
  "image"
292
  ],
293
- "title": "image_2 (reference)"
 
 
 
294
  },
295
  {
296
  "id": 6,
@@ -304,7 +322,7 @@
304
  480
305
  ],
306
  "flags": {},
307
- "order": 5,
308
  "mode": 0,
309
  "inputs": [
310
  {
@@ -320,90 +338,97 @@
320
  "link": 2
321
  },
322
  {
323
- "localized_name": "images.image_1",
 
324
  "name": "images.image_1",
325
  "type": "IMAGE",
326
- "link": 3,
327
- "label": "image_1"
328
  },
329
  {
330
- "localized_name": "images.image_2",
 
331
  "name": "images.image_2",
 
332
  "type": "IMAGE",
333
- "link": 4,
334
- "label": "image_2",
335
- "shape": 7
336
  },
337
  {
338
- "localized_name": "images.image_3",
 
339
  "name": "images.image_3",
 
340
  "type": "IMAGE",
341
- "link": null,
342
- "label": "image_3",
343
- "shape": 7
 
 
 
 
 
344
  },
345
  {
346
  "localized_name": "prompt",
347
  "name": "prompt",
348
  "type": "STRING",
349
- "link": 18,
350
  "widget": {
351
  "name": "prompt"
352
- }
 
353
  },
354
  {
355
  "localized_name": "image_1_min_megapixels",
356
  "name": "image_1_min_megapixels",
357
  "type": "FLOAT",
358
- "link": null,
359
  "widget": {
360
  "name": "image_1_min_megapixels"
361
- }
 
362
  },
363
  {
364
  "localized_name": "min_megapixels",
365
  "name": "min_megapixels",
366
  "type": "FLOAT",
367
- "link": null,
368
  "widget": {
369
  "name": "min_megapixels"
370
- }
 
371
  },
372
  {
373
  "localized_name": "max_megapixels",
374
  "name": "max_megapixels",
375
  "type": "FLOAT",
376
- "link": null,
377
  "widget": {
378
  "name": "max_megapixels"
379
- }
 
380
  },
381
  {
382
  "localized_name": "width",
383
  "name": "width",
384
  "type": "INT",
385
- "link": null,
386
  "widget": {
387
  "name": "width"
388
- }
 
389
  },
390
  {
391
  "localized_name": "height",
392
  "name": "height",
393
  "type": "INT",
394
- "link": null,
395
  "widget": {
396
  "name": "height"
397
- }
 
398
  },
399
  {
400
  "localized_name": "vision_megapixels",
401
  "name": "vision_megapixels",
402
  "type": "FLOAT",
403
- "link": null,
404
  "widget": {
405
  "name": "vision_megapixels"
406
- }
 
407
  }
408
  ],
409
  "outputs": [
@@ -431,13 +456,22 @@
431
  },
432
  "widgets_values": [
433
  "Put the hat from <Picture 2> on the person in <Picture 1>.",
434
- 4.0,
435
- 1.0,
436
- 8.0,
437
  0,
438
  0,
439
- 1.0
440
- ]
 
 
 
 
 
 
 
 
 
441
  },
442
  {
443
  "id": 7,
@@ -451,17 +485,17 @@
451
  82
452
  ],
453
  "flags": {},
454
- "order": 6,
455
  "mode": 0,
456
  "inputs": [
457
  {
458
  "localized_name": "sigmas",
459
  "name": "sigmas",
460
  "type": "STRING",
461
- "link": null,
462
  "widget": {
463
  "name": "sigmas"
464
- }
 
465
  }
466
  ],
467
  "outputs": [
@@ -481,7 +515,10 @@
481
  },
482
  "widgets_values": [
483
  "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
484
- ]
 
 
 
485
  },
486
  {
487
  "id": 8,
@@ -495,7 +532,7 @@
495
  46
496
  ],
497
  "flags": {},
498
- "order": 7,
499
  "mode": 0,
500
  "inputs": [
501
  {
@@ -525,8 +562,7 @@
525
  "Node name for S&R": "BasicGuider",
526
  "cnr_id": "comfy-core",
527
  "ver": "0.43.0"
528
- },
529
- "widgets_values": []
530
  },
531
  {
532
  "id": 9,
@@ -540,17 +576,17 @@
540
  58
541
  ],
542
  "flags": {},
543
- "order": 8,
544
  "mode": 0,
545
  "inputs": [
546
  {
547
  "localized_name": "sampler_name",
548
  "name": "sampler_name",
549
  "type": "COMBO",
550
- "link": null,
551
  "widget": {
552
  "name": "sampler_name"
553
- }
 
554
  }
555
  ],
556
  "outputs": [
@@ -570,7 +606,10 @@
570
  },
571
  "widgets_values": [
572
  "euler"
573
- ]
 
 
 
574
  },
575
  {
576
  "id": 10,
@@ -584,17 +623,17 @@
584
  82
585
  ],
586
  "flags": {},
587
- "order": 9,
588
  "mode": 0,
589
  "inputs": [
590
  {
591
  "localized_name": "noise_seed",
592
  "name": "noise_seed",
593
  "type": "INT",
594
- "link": null,
595
  "widget": {
596
  "name": "noise_seed"
597
- }
 
598
  }
599
  ],
600
  "outputs": [
@@ -615,7 +654,11 @@
615
  "widgets_values": [
616
  0,
617
  "randomize"
618
- ]
 
 
 
 
619
  },
620
  {
621
  "id": 11,
@@ -629,7 +672,7 @@
629
  330
630
  ],
631
  "flags": {},
632
- "order": 10,
633
  "mode": 0,
634
  "inputs": [
635
  {
@@ -683,8 +726,7 @@
683
  "Node name for S&R": "SamplerCustomAdvanced",
684
  "cnr_id": "comfy-core",
685
  "ver": "0.43.0"
686
- },
687
- "widgets_values": []
688
  },
689
  {
690
  "id": 12,
@@ -698,7 +740,7 @@
698
  46
699
  ],
700
  "flags": {},
701
- "order": 11,
702
  "mode": 0,
703
  "inputs": [
704
  {
@@ -728,8 +770,7 @@
728
  "Node name for S&R": "VAEDecode",
729
  "cnr_id": "comfy-core",
730
  "ver": "0.43.0"
731
- },
732
- "widgets_values": []
733
  },
734
  {
735
  "id": 13,
@@ -743,7 +784,7 @@
743
  560
744
  ],
745
  "flags": {},
746
- "order": 12,
747
  "mode": 0,
748
  "inputs": [
749
  {
@@ -756,13 +797,20 @@
756
  "localized_name": "filename_prefix",
757
  "name": "filename_prefix",
758
  "type": "STRING",
759
- "link": null,
760
  "widget": {
761
  "name": "filename_prefix"
762
- }
 
 
 
 
 
 
 
 
 
763
  }
764
  ],
765
- "outputs": [],
766
  "properties": {
767
  "Node name for S&R": "SaveImage",
768
  "cnr_id": "comfy-core",
@@ -770,7 +818,10 @@
770
  },
771
  "widgets_values": [
772
  "p-h3-image"
773
- ]
 
 
 
774
  },
775
  {
776
  "id": 14,
@@ -784,35 +835,36 @@
784
  106
785
  ],
786
  "flags": {},
787
- "order": 13,
788
  "mode": 0,
789
  "inputs": [
790
  {
791
  "localized_name": "clip_name",
792
  "name": "clip_name",
793
  "type": "COMBO",
794
- "link": null,
795
  "widget": {
796
  "name": "clip_name"
797
- }
 
798
  },
799
  {
800
  "localized_name": "type",
801
  "name": "type",
802
  "type": "COMBO",
803
- "link": null,
804
  "widget": {
805
  "name": "type"
806
- }
 
807
  },
808
  {
809
  "localized_name": "device",
810
  "name": "device",
 
811
  "type": "COMBO",
812
- "link": null,
813
  "widget": {
814
  "name": "device"
815
- }
 
816
  }
817
  ],
818
  "outputs": [
@@ -821,10 +873,11 @@
821
  "name": "CLIP",
822
  "type": "CLIP",
823
  "links": [
824
- 15
825
  ]
826
  }
827
  ],
 
828
  "properties": {
829
  "Node name for S&R": "CLIPLoader",
830
  "cnr_id": "comfy-core",
@@ -842,201 +895,652 @@
842
  "minimax",
843
  "default"
844
  ],
845
- "title": "p-h3-image prompt upsampler"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
846
  },
847
  {
848
- "id": 15,
849
- "type": "p-h3-image_edit_prompt_upsampler",
850
  "pos": [
851
  380,
852
- 100
853
  ],
854
  "size": [
855
- 420,
856
- 380
857
  ],
858
  "flags": {},
859
- "order": 14,
860
  "mode": 0,
861
  "inputs": [
862
  {
863
- "localized_name": "clip",
864
- "name": "clip",
865
- "type": "CLIP",
866
- "link": 15
867
- },
 
 
 
 
 
868
  {
869
- "localized_name": "images.image_1",
870
- "name": "images.image_1",
871
- "type": "IMAGE",
872
- "link": 16,
873
- "label": "image_1"
874
- },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
875
  {
876
- "localized_name": "images.image_2",
877
- "name": "images.image_2",
878
- "type": "IMAGE",
879
- "link": 17,
880
- "label": "image_2",
881
- "shape": 7
882
  },
883
  {
884
- "localized_name": "images.image_3",
885
- "name": "images.image_3",
886
- "type": "IMAGE",
887
- "link": null,
888
- "label": "image_3",
889
- "shape": 7
890
  },
891
  {
892
- "localized_name": "request",
893
- "name": "request",
894
  "type": "STRING",
895
- "link": null,
896
  "widget": {
897
- "name": "request"
898
- }
899
- },
 
 
 
900
  {
901
- "localized_name": "sampling",
902
- "name": "sampling",
903
- "type": "BOOLEAN",
904
- "link": null,
905
- "widget": {
906
- "name": "sampling"
907
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
908
  },
909
  {
910
- "localized_name": "seed",
911
- "name": "seed",
912
- "type": "INT",
913
- "link": null,
914
  "widget": {
915
- "name": "seed"
916
- }
 
917
  },
918
  {
919
- "localized_name": "retries",
920
- "name": "retries",
921
- "type": "INT",
922
- "link": null,
923
  "widget": {
924
- "name": "retries"
925
- }
 
926
  },
927
  {
928
- "localized_name": "max_new_tokens",
929
- "name": "max_new_tokens",
930
  "type": "INT",
931
- "link": null,
932
  "widget": {
933
- "name": "max_new_tokens"
934
- }
 
935
  }
936
  ],
937
  "outputs": [
938
  {
939
- "localized_name": "prompt",
940
- "name": "prompt",
941
- "type": "STRING",
942
  "links": [
943
- 18,
944
- 19
945
  ]
946
- },
947
- {
948
- "localized_name": "thinking",
949
- "name": "thinking",
950
- "type": "STRING",
951
- "links": []
952
  }
953
  ],
 
954
  "properties": {
955
- "Node name for S&R": "p-h3-image_edit_prompt_upsampler",
956
- "cnr_id": "p-h3-image",
957
- "ver": "0.1.0"
958
  },
959
  "widgets_values": [
960
- "Put the hat from <Picture 2> on the person in <Picture 1>.",
961
- false,
962
- 0,
963
- "fixed",
964
- 2,
965
- 1536
966
- ]
 
 
967
  },
968
  {
969
- "id": 16,
970
- "type": "PreviewAny",
971
  "pos": [
972
- 860,
973
- 620
974
  ],
975
  "size": [
976
- 420,
977
- 360
978
  ],
979
  "flags": {},
980
- "order": 15,
981
  "mode": 0,
982
  "inputs": [
983
  {
984
- "localized_name": "source",
985
- "name": "source",
986
- "type": "*",
987
- "link": 19
988
  }
989
  ],
990
  "outputs": [
991
  {
992
- "localized_name": "STRING",
993
- "name": "STRING",
994
- "type": "STRING",
995
- "links": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
996
  }
997
  ],
998
  "properties": {
999
- "Node name for S&R": "PreviewAny",
1000
- "cnr_id": "comfy-core",
1001
- "ver": "0.43.0"
1002
- },
1003
- "widgets_values": [],
1004
- "title": "Upsampled prompt"
1005
- }
1006
- ],
1007
- "links": [
1008
- [
1009
- 1,
1010
- 2,
1011
- 0,
1012
- 6,
1013
- 0,
1014
- "CLIP"
1015
- ],
1016
- [
1017
- 2,
1018
- 3,
1019
- 0,
1020
- 6,
1021
- 1,
1022
- "VAE"
1023
- ],
1024
- [
1025
- 3,
1026
- 4,
1027
- 0,
1028
- 6,
1029
- 2,
1030
- "IMAGE"
1031
- ],
1032
- [
1033
- 4,
1034
- 5,
1035
- 0,
1036
- 6,
1037
- 3,
1038
- "IMAGE"
1039
- ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1040
  [
1041
  5,
1042
  1,
@@ -1118,40 +1622,152 @@
1118
  "IMAGE"
1119
  ],
1120
  [
1121
- 15,
1122
- 14,
1123
  0,
1124
- 15,
1125
  0,
1126
  "CLIP"
1127
  ],
1128
  [
1129
- 16,
1130
- 4,
1131
  0,
1132
- 15,
1133
  1,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1134
  "IMAGE"
1135
  ],
1136
  [
 
1137
  17,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1138
  5,
1139
  0,
1140
- 15,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1141
  2,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1142
  "IMAGE"
1143
  ],
1144
  [
 
1145
  18,
1146
- 15,
1147
  0,
1148
- 6,
1149
  5,
1150
  "STRING"
1151
  ],
1152
  [
1153
- 19,
1154
- 15,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1155
  0,
1156
  16,
1157
  0,
@@ -1162,10 +1778,10 @@
1162
  "config": {},
1163
  "extra": {
1164
  "ds": {
1165
- "scale": 0.8,
1166
  "offset": [
1167
- 0,
1168
- 0
1169
  ]
1170
  }
1171
  },
 
1
  {
2
  "id": "00000000-0000-0000-0000-000000000000",
3
  "revision": 0,
4
+ "last_node_id": 25,
5
+ "last_link_id": 34,
6
  "nodes": [
7
  {
8
  "id": 1,
 
23
  "localized_name": "model_name",
24
  "name": "model_name",
25
  "type": "COMBO",
 
26
  "widget": {
27
  "name": "model_name"
28
+ },
29
+ "link": null
30
  },
31
  {
32
  "localized_name": "weight_dtype",
33
  "name": "weight_dtype",
34
  "type": "COMBO",
 
35
  "widget": {
36
  "name": "weight_dtype"
37
+ },
38
+ "link": null
39
  }
40
  ],
41
  "outputs": [
 
63
  "widgets_values": [
64
  "p-h3-image_bf16.safetensors",
65
  "default"
66
+ ],
67
+ "widgets_values_named": {
68
+ "model_name": "p-h3-image_bf16.safetensors",
69
+ "weight_dtype": "default"
70
+ }
71
  },
72
  {
73
  "id": 2,
 
88
  "localized_name": "text_encoder_name",
89
  "name": "text_encoder_name",
90
  "type": "COMBO",
 
91
  "widget": {
92
  "name": "text_encoder_name"
93
+ },
94
+ "link": null
95
  }
96
  ],
97
  "outputs": [
 
118
  },
119
  "widgets_values": [
120
  "p-h3-image_text_encoder_bf16.safetensors"
121
+ ],
122
+ "widgets_values_named": {
123
+ "text_encoder_name": "p-h3-image_text_encoder_bf16.safetensors"
124
+ }
125
  },
126
  {
127
  "id": 3,
 
142
  "localized_name": "vae_name",
143
  "name": "vae_name",
144
  "type": "COMBO",
 
145
  "widget": {
146
  "name": "vae_name"
147
+ },
148
+ "link": null
149
  }
150
  ],
151
  "outputs": [
 
173
  },
174
  "widgets_values": [
175
  "p-h3-image_vae_bf16.safetensors"
176
+ ],
177
+ "widgets_values_named": {
178
+ "vae_name": "p-h3-image_vae_bf16.safetensors"
179
+ }
180
  },
181
  {
182
  "id": 4,
 
197
  "localized_name": "image",
198
  "name": "image",
199
  "type": "COMBO",
 
200
  "widget": {
201
  "name": "image"
202
+ },
203
+ "link": null
204
  },
205
  {
206
  "localized_name": "choose file to upload",
207
  "name": "upload",
208
  "type": "IMAGEUPLOAD",
 
209
  "widget": {
210
  "name": "upload"
211
+ },
212
+ "link": null
213
  }
214
  ],
215
  "outputs": [
 
219
  "type": "IMAGE",
220
  "links": [
221
  3,
222
+ 21
223
  ]
224
  },
225
  {
 
229
  "links": null
230
  }
231
  ],
232
+ "title": "image_1 (edited)",
233
  "properties": {
234
  "Node name for S&R": "LoadImage",
235
  "cnr_id": "comfy-core",
 
239
  "example.png",
240
  "image"
241
  ],
242
+ "widgets_values_named": {
243
+ "image": "example.png",
244
+ "upload": "image"
245
+ }
246
  },
247
  {
248
  "id": 5,
 
263
  "localized_name": "image",
264
  "name": "image",
265
  "type": "COMBO",
 
266
  "widget": {
267
  "name": "image"
268
+ },
269
+ "link": null
270
  },
271
  {
272
  "localized_name": "choose file to upload",
273
  "name": "upload",
274
  "type": "IMAGEUPLOAD",
 
275
  "widget": {
276
  "name": "upload"
277
+ },
278
+ "link": null
279
  }
280
  ],
281
  "outputs": [
 
285
  "type": "IMAGE",
286
  "links": [
287
  4,
288
+ 23
289
  ]
290
  },
291
  {
 
295
  "links": null
296
  }
297
  ],
298
+ "title": "image_2 (reference)",
299
  "properties": {
300
  "Node name for S&R": "LoadImage",
301
  "cnr_id": "comfy-core",
 
305
  "example.png",
306
  "image"
307
  ],
308
+ "widgets_values_named": {
309
+ "image": "example.png",
310
+ "upload": "image"
311
+ }
312
  },
313
  {
314
  "id": 6,
 
322
  480
323
  ],
324
  "flags": {},
325
+ "order": 18,
326
  "mode": 0,
327
  "inputs": [
328
  {
 
338
  "link": 2
339
  },
340
  {
341
+ "label": "image_1",
342
+ "localized_name": "image_1",
343
  "name": "images.image_1",
344
  "type": "IMAGE",
345
+ "link": 3
 
346
  },
347
  {
348
+ "label": "image_2",
349
+ "localized_name": "image_2",
350
  "name": "images.image_2",
351
+ "shape": 7,
352
  "type": "IMAGE",
353
+ "link": 4
 
 
354
  },
355
  {
356
+ "label": "image_3",
357
+ "localized_name": "image_3",
358
  "name": "images.image_3",
359
+ "shape": 7,
360
  "type": "IMAGE",
361
+ "link": null
362
+ },
363
+ {
364
+ "localized_name": "image_4",
365
+ "name": "images.image_4",
366
+ "shape": 7,
367
+ "type": "IMAGE",
368
+ "link": null
369
  },
370
  {
371
  "localized_name": "prompt",
372
  "name": "prompt",
373
  "type": "STRING",
 
374
  "widget": {
375
  "name": "prompt"
376
+ },
377
+ "link": 33
378
  },
379
  {
380
  "localized_name": "image_1_min_megapixels",
381
  "name": "image_1_min_megapixels",
382
  "type": "FLOAT",
 
383
  "widget": {
384
  "name": "image_1_min_megapixels"
385
+ },
386
+ "link": null
387
  },
388
  {
389
  "localized_name": "min_megapixels",
390
  "name": "min_megapixels",
391
  "type": "FLOAT",
 
392
  "widget": {
393
  "name": "min_megapixels"
394
+ },
395
+ "link": null
396
  },
397
  {
398
  "localized_name": "max_megapixels",
399
  "name": "max_megapixels",
400
  "type": "FLOAT",
 
401
  "widget": {
402
  "name": "max_megapixels"
403
+ },
404
+ "link": null
405
  },
406
  {
407
  "localized_name": "width",
408
  "name": "width",
409
  "type": "INT",
 
410
  "widget": {
411
  "name": "width"
412
+ },
413
+ "link": null
414
  },
415
  {
416
  "localized_name": "height",
417
  "name": "height",
418
  "type": "INT",
 
419
  "widget": {
420
  "name": "height"
421
+ },
422
+ "link": null
423
  },
424
  {
425
  "localized_name": "vision_megapixels",
426
  "name": "vision_megapixels",
427
  "type": "FLOAT",
 
428
  "widget": {
429
  "name": "vision_megapixels"
430
+ },
431
+ "link": null
432
  }
433
  ],
434
  "outputs": [
 
456
  },
457
  "widgets_values": [
458
  "Put the hat from <Picture 2> on the person in <Picture 1>.",
459
+ 4,
460
+ 1,
461
+ 8,
462
  0,
463
  0,
464
+ 1
465
+ ],
466
+ "widgets_values_named": {
467
+ "prompt": "Put the hat from <Picture 2> on the person in <Picture 1>.",
468
+ "image_1_min_megapixels": 4,
469
+ "min_megapixels": 1,
470
+ "max_megapixels": 8,
471
+ "width": 0,
472
+ "height": 0,
473
+ "vision_megapixels": 1
474
+ }
475
  },
476
  {
477
  "id": 7,
 
485
  82
486
  ],
487
  "flags": {},
488
+ "order": 5,
489
  "mode": 0,
490
  "inputs": [
491
  {
492
  "localized_name": "sigmas",
493
  "name": "sigmas",
494
  "type": "STRING",
 
495
  "widget": {
496
  "name": "sigmas"
497
+ },
498
+ "link": null
499
  }
500
  ],
501
  "outputs": [
 
515
  },
516
  "widgets_values": [
517
  "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
518
+ ],
519
+ "widgets_values_named": {
520
+ "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
521
+ }
522
  },
523
  {
524
  "id": 8,
 
532
  46
533
  ],
534
  "flags": {},
535
+ "order": 20,
536
  "mode": 0,
537
  "inputs": [
538
  {
 
562
  "Node name for S&R": "BasicGuider",
563
  "cnr_id": "comfy-core",
564
  "ver": "0.43.0"
565
+ }
 
566
  },
567
  {
568
  "id": 9,
 
576
  58
577
  ],
578
  "flags": {},
579
+ "order": 6,
580
  "mode": 0,
581
  "inputs": [
582
  {
583
  "localized_name": "sampler_name",
584
  "name": "sampler_name",
585
  "type": "COMBO",
 
586
  "widget": {
587
  "name": "sampler_name"
588
+ },
589
+ "link": null
590
  }
591
  ],
592
  "outputs": [
 
606
  },
607
  "widgets_values": [
608
  "euler"
609
+ ],
610
+ "widgets_values_named": {
611
+ "sampler_name": "euler"
612
+ }
613
  },
614
  {
615
  "id": 10,
 
623
  82
624
  ],
625
  "flags": {},
626
+ "order": 7,
627
  "mode": 0,
628
  "inputs": [
629
  {
630
  "localized_name": "noise_seed",
631
  "name": "noise_seed",
632
  "type": "INT",
 
633
  "widget": {
634
  "name": "noise_seed"
635
+ },
636
+ "link": null
637
  }
638
  ],
639
  "outputs": [
 
654
  "widgets_values": [
655
  0,
656
  "randomize"
657
+ ],
658
+ "widgets_values_named": {
659
+ "noise_seed": 0,
660
+ "control_after_generate": "randomize"
661
+ }
662
  },
663
  {
664
  "id": 11,
 
672
  330
673
  ],
674
  "flags": {},
675
+ "order": 21,
676
  "mode": 0,
677
  "inputs": [
678
  {
 
726
  "Node name for S&R": "SamplerCustomAdvanced",
727
  "cnr_id": "comfy-core",
728
  "ver": "0.43.0"
729
+ }
 
730
  },
731
  {
732
  "id": 12,
 
740
  46
741
  ],
742
  "flags": {},
743
+ "order": 22,
744
  "mode": 0,
745
  "inputs": [
746
  {
 
770
  "Node name for S&R": "VAEDecode",
771
  "cnr_id": "comfy-core",
772
  "ver": "0.43.0"
773
+ }
 
774
  },
775
  {
776
  "id": 13,
 
784
  560
785
  ],
786
  "flags": {},
787
+ "order": 23,
788
  "mode": 0,
789
  "inputs": [
790
  {
 
797
  "localized_name": "filename_prefix",
798
  "name": "filename_prefix",
799
  "type": "STRING",
 
800
  "widget": {
801
  "name": "filename_prefix"
802
+ },
803
+ "link": null
804
+ }
805
+ ],
806
+ "outputs": [
807
+ {
808
+ "localized_name": "images",
809
+ "name": "images",
810
+ "type": "IMAGE",
811
+ "links": null
812
  }
813
  ],
 
814
  "properties": {
815
  "Node name for S&R": "SaveImage",
816
  "cnr_id": "comfy-core",
 
818
  },
819
  "widgets_values": [
820
  "p-h3-image"
821
+ ],
822
+ "widgets_values_named": {
823
+ "filename_prefix": "p-h3-image"
824
+ }
825
  },
826
  {
827
  "id": 14,
 
835
  106
836
  ],
837
  "flags": {},
838
+ "order": 8,
839
  "mode": 0,
840
  "inputs": [
841
  {
842
  "localized_name": "clip_name",
843
  "name": "clip_name",
844
  "type": "COMBO",
 
845
  "widget": {
846
  "name": "clip_name"
847
+ },
848
+ "link": null
849
  },
850
  {
851
  "localized_name": "type",
852
  "name": "type",
853
  "type": "COMBO",
 
854
  "widget": {
855
  "name": "type"
856
+ },
857
+ "link": null
858
  },
859
  {
860
  "localized_name": "device",
861
  "name": "device",
862
+ "shape": 7,
863
  "type": "COMBO",
 
864
  "widget": {
865
  "name": "device"
866
+ },
867
+ "link": null
868
  }
869
  ],
870
  "outputs": [
 
873
  "name": "CLIP",
874
  "type": "CLIP",
875
  "links": [
876
+ 28
877
  ]
878
  }
879
  ],
880
+ "title": "p-h3-image prompt upsampler",
881
  "properties": {
882
  "Node name for S&R": "CLIPLoader",
883
  "cnr_id": "comfy-core",
 
895
  "minimax",
896
  "default"
897
  ],
898
+ "widgets_values_named": {
899
+ "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors",
900
+ "type": "minimax",
901
+ "device": "default"
902
+ }
903
+ },
904
+ {
905
+ "id": 16,
906
+ "type": "PreviewAny",
907
+ "pos": [
908
+ 1640,
909
+ 700
910
+ ],
911
+ "size": [
912
+ 480,
913
+ 360
914
+ ],
915
+ "flags": {},
916
+ "order": 19,
917
+ "mode": 0,
918
+ "inputs": [
919
+ {
920
+ "localized_name": "source",
921
+ "name": "source",
922
+ "type": "*",
923
+ "link": 34
924
+ }
925
+ ],
926
+ "outputs": [
927
+ {
928
+ "localized_name": "STRING",
929
+ "name": "STRING",
930
+ "type": "STRING",
931
+ "links": []
932
+ }
933
+ ],
934
+ "title": "Upsampled prompt",
935
+ "properties": {
936
+ "Node name for S&R": "PreviewAny",
937
+ "cnr_id": "comfy-core",
938
+ "ver": "0.43.0"
939
+ },
940
+ "widgets_values": [],
941
+ "widgets_values_named": {}
942
  },
943
  {
944
+ "id": 17,
945
+ "type": "PrimitiveStringMultiline",
946
  "pos": [
947
  380,
948
+ 700
949
  ],
950
  "size": [
951
+ 400,
952
+ 180
953
  ],
954
  "flags": {},
955
+ "order": 9,
956
  "mode": 0,
957
  "inputs": [
958
  {
959
+ "localized_name": "value",
960
+ "name": "value",
961
+ "type": "STRING",
962
+ "widget": {
963
+ "name": "value"
964
+ },
965
+ "link": null
966
+ }
967
+ ],
968
+ "outputs": [
969
  {
970
+ "localized_name": "STRING",
971
+ "name": "STRING",
972
+ "type": "STRING",
973
+ "links": [
974
+ 20,
975
+ 31
976
+ ]
977
+ }
978
+ ],
979
+ "title": "Request",
980
+ "properties": {
981
+ "Node name for S&R": "PrimitiveStringMultiline"
982
+ },
983
+ "widgets_values": [
984
+ "Put the hat from <Picture 2> on the person in <Picture 1>."
985
+ ],
986
+ "widgets_values_named": {
987
+ "value": "Put the hat from <Picture 2> on the person in <Picture 1>."
988
+ }
989
+ },
990
+ {
991
+ "id": 18,
992
+ "type": "StringFormat",
993
+ "pos": [
994
+ 380,
995
+ 920
996
+ ],
997
+ "size": [
998
+ 400,
999
+ 240
1000
+ ],
1001
+ "flags": {},
1002
+ "order": 12,
1003
+ "mode": 0,
1004
+ "inputs": [
1005
  {
1006
+ "localized_name": "a",
1007
+ "name": "values.a",
1008
+ "shape": 7,
1009
+ "type": "*",
1010
+ "link": 20
 
1011
  },
1012
  {
1013
+ "localized_name": "b",
1014
+ "name": "values.b",
1015
+ "shape": 7,
1016
+ "type": "*",
1017
+ "link": null
 
1018
  },
1019
  {
1020
+ "localized_name": "f_string",
1021
+ "name": "f_string",
1022
  "type": "STRING",
 
1023
  "widget": {
1024
+ "name": "f_string"
1025
+ },
1026
+ "link": null
1027
+ }
1028
+ ],
1029
+ "outputs": [
1030
  {
1031
+ "localized_name": "STRING",
1032
+ "name": "STRING",
1033
+ "type": "STRING",
1034
+ "links": [
1035
+ 30
1036
+ ]
1037
+ }
1038
+ ],
1039
+ "title": "Upsampler input",
1040
+ "properties": {
1041
+ "Node name for S&R": "StringFormat"
1042
+ },
1043
+ "widgets_values": [
1044
+ "<|im_start|>user\n<Picture 1>: <|vision_start|><|image_pad|><|vision_end|><Picture 2>: <|vision_start|><|image_pad|><|vision_end|>Edit <Picture 1>. {a}<|im_end|>\n<|im_start|>assistant\n<think>\n"
1045
+ ],
1046
+ "widgets_values_named": {
1047
+ "f_string": "<|im_start|>user\n<Picture 1>: <|vision_start|><|image_pad|><|vision_end|><Picture 2>: <|vision_start|><|image_pad|><|vision_end|>Edit <Picture 1>. {a}<|im_end|>\n<|im_start|>assistant\n<think>\n"
1048
+ }
1049
+ },
1050
+ {
1051
+ "id": 19,
1052
+ "type": "ImageScaleToTotalPixels",
1053
+ "pos": [
1054
+ 820,
1055
+ 700
1056
+ ],
1057
+ "size": [
1058
+ 300,
1059
+ 110
1060
+ ],
1061
+ "flags": {},
1062
+ "order": 11,
1063
+ "mode": 0,
1064
+ "inputs": [
1065
+ {
1066
+ "localized_name": "image",
1067
+ "name": "image",
1068
+ "type": "IMAGE",
1069
+ "link": 21
1070
  },
1071
  {
1072
+ "localized_name": "upscale_method",
1073
+ "name": "upscale_method",
1074
+ "type": "COMBO",
 
1075
  "widget": {
1076
+ "name": "upscale_method"
1077
+ },
1078
+ "link": null
1079
  },
1080
  {
1081
+ "localized_name": "megapixels",
1082
+ "name": "megapixels",
1083
+ "type": "FLOAT",
 
1084
  "widget": {
1085
+ "name": "megapixels"
1086
+ },
1087
+ "link": null
1088
  },
1089
  {
1090
+ "localized_name": "resolution_steps",
1091
+ "name": "resolution_steps",
1092
  "type": "INT",
 
1093
  "widget": {
1094
+ "name": "resolution_steps"
1095
+ },
1096
+ "link": null
1097
  }
1098
  ],
1099
  "outputs": [
1100
  {
1101
+ "localized_name": "IMAGE",
1102
+ "name": "IMAGE",
1103
+ "type": "IMAGE",
1104
  "links": [
1105
+ 22,
1106
+ 26
1107
  ]
 
 
 
 
 
 
1108
  }
1109
  ],
1110
+ "title": "image_1 at 1 MP",
1111
  "properties": {
1112
+ "Node name for S&R": "ImageScaleToTotalPixels"
 
 
1113
  },
1114
  "widgets_values": [
1115
+ "lanczos",
1116
+ 1,
1117
+ 1
1118
+ ],
1119
+ "widgets_values_named": {
1120
+ "upscale_method": "lanczos",
1121
+ "megapixels": 1,
1122
+ "resolution_steps": 1
1123
+ }
1124
  },
1125
  {
1126
+ "id": 20,
1127
+ "type": "GetImageSize",
1128
  "pos": [
1129
+ 820,
1130
+ 850
1131
  ],
1132
  "size": [
1133
+ 220,
1134
+ 90
1135
  ],
1136
  "flags": {},
1137
+ "order": 13,
1138
  "mode": 0,
1139
  "inputs": [
1140
  {
1141
+ "localized_name": "image",
1142
+ "name": "image",
1143
+ "type": "IMAGE",
1144
+ "link": 22
1145
  }
1146
  ],
1147
  "outputs": [
1148
  {
1149
+ "localized_name": "width",
1150
+ "name": "width",
1151
+ "type": "INT",
1152
+ "links": [
1153
+ 24
1154
+ ]
1155
+ },
1156
+ {
1157
+ "localized_name": "height",
1158
+ "name": "height",
1159
+ "type": "INT",
1160
+ "links": [
1161
+ 25
1162
+ ]
1163
+ },
1164
+ {
1165
+ "localized_name": "batch_size",
1166
+ "name": "batch_size",
1167
+ "type": "INT",
1168
+ "links": null
1169
  }
1170
  ],
1171
  "properties": {
1172
+ "Node name for S&R": "GetImageSize"
1173
+ }
1174
+ },
1175
+ {
1176
+ "id": 21,
1177
+ "type": "ResizeAndPadImage",
1178
+ "pos": [
1179
+ 820,
1180
+ 980
1181
+ ],
1182
+ "size": [
1183
+ 300,
1184
+ 170
1185
+ ],
1186
+ "flags": {},
1187
+ "order": 14,
1188
+ "mode": 0,
1189
+ "inputs": [
1190
+ {
1191
+ "localized_name": "image",
1192
+ "name": "image",
1193
+ "type": "IMAGE",
1194
+ "link": 23
1195
+ },
1196
+ {
1197
+ "localized_name": "target_width",
1198
+ "name": "target_width",
1199
+ "type": "INT",
1200
+ "widget": {
1201
+ "name": "target_width"
1202
+ },
1203
+ "link": 24
1204
+ },
1205
+ {
1206
+ "localized_name": "target_height",
1207
+ "name": "target_height",
1208
+ "type": "INT",
1209
+ "widget": {
1210
+ "name": "target_height"
1211
+ },
1212
+ "link": 25
1213
+ },
1214
+ {
1215
+ "localized_name": "padding_color",
1216
+ "name": "padding_color",
1217
+ "type": "COMBO",
1218
+ "widget": {
1219
+ "name": "padding_color"
1220
+ },
1221
+ "link": null
1222
+ },
1223
+ {
1224
+ "localized_name": "interpolation",
1225
+ "name": "interpolation",
1226
+ "type": "COMBO",
1227
+ "widget": {
1228
+ "name": "interpolation"
1229
+ },
1230
+ "link": null
1231
+ }
1232
+ ],
1233
+ "outputs": [
1234
+ {
1235
+ "localized_name": "IMAGE",
1236
+ "name": "IMAGE",
1237
+ "type": "IMAGE",
1238
+ "links": [
1239
+ 27
1240
+ ]
1241
+ }
1242
+ ],
1243
+ "title": "image_2 padded to image_1",
1244
+ "properties": {
1245
+ "Node name for S&R": "ResizeAndPadImage"
1246
+ },
1247
+ "widgets_values": [
1248
+ 512,
1249
+ 512,
1250
+ "white",
1251
+ "lanczos"
1252
+ ],
1253
+ "widgets_values_named": {
1254
+ "target_width": 512,
1255
+ "target_height": 512,
1256
+ "padding_color": "white",
1257
+ "interpolation": "lanczos"
1258
+ }
1259
+ },
1260
+ {
1261
+ "id": 22,
1262
+ "type": "BatchImagesNode",
1263
+ "pos": [
1264
+ 820,
1265
+ 1190
1266
+ ],
1267
+ "size": [
1268
+ 220,
1269
+ 70
1270
+ ],
1271
+ "flags": {},
1272
+ "order": 15,
1273
+ "mode": 0,
1274
+ "inputs": [
1275
+ {
1276
+ "localized_name": "image0",
1277
+ "name": "images.image0",
1278
+ "type": "IMAGE",
1279
+ "link": 26
1280
+ },
1281
+ {
1282
+ "localized_name": "image1",
1283
+ "name": "images.image1",
1284
+ "shape": 7,
1285
+ "type": "IMAGE",
1286
+ "link": 27
1287
+ },
1288
+ {
1289
+ "localized_name": "image2",
1290
+ "name": "images.image2",
1291
+ "shape": 7,
1292
+ "type": "IMAGE",
1293
+ "link": null
1294
+ }
1295
+ ],
1296
+ "outputs": [
1297
+ {
1298
+ "localized_name": "IMAGE",
1299
+ "name": "IMAGE",
1300
+ "type": "IMAGE",
1301
+ "links": [
1302
+ 29
1303
+ ]
1304
+ }
1305
+ ],
1306
+ "properties": {
1307
+ "Node name for S&R": "BatchImagesNode"
1308
+ }
1309
+ },
1310
+ {
1311
+ "id": 23,
1312
+ "type": "TextGenerate",
1313
+ "pos": [
1314
+ 1180,
1315
+ 700
1316
+ ],
1317
+ "size": [
1318
+ 400,
1319
+ 288
1320
+ ],
1321
+ "flags": {},
1322
+ "order": 16,
1323
+ "mode": 0,
1324
+ "inputs": [
1325
+ {
1326
+ "localized_name": "clip",
1327
+ "name": "clip",
1328
+ "type": "CLIP",
1329
+ "link": 28
1330
+ },
1331
+ {
1332
+ "localized_name": "image",
1333
+ "name": "image",
1334
+ "shape": 7,
1335
+ "type": "IMAGE",
1336
+ "link": 29
1337
+ },
1338
+ {
1339
+ "localized_name": "video",
1340
+ "name": "video",
1341
+ "shape": 7,
1342
+ "type": "IMAGE",
1343
+ "link": null
1344
+ },
1345
+ {
1346
+ "localized_name": "audio",
1347
+ "name": "audio",
1348
+ "shape": 7,
1349
+ "type": "AUDIO",
1350
+ "link": null
1351
+ },
1352
+ {
1353
+ "localized_name": "system_prompt",
1354
+ "name": "system_prompt",
1355
+ "shape": 7,
1356
+ "type": "STRING",
1357
+ "link": null
1358
+ },
1359
+ {
1360
+ "localized_name": "prompt",
1361
+ "name": "prompt",
1362
+ "type": "STRING",
1363
+ "widget": {
1364
+ "name": "prompt"
1365
+ },
1366
+ "link": 30
1367
+ },
1368
+ {
1369
+ "localized_name": "max_length",
1370
+ "name": "max_length",
1371
+ "type": "INT",
1372
+ "widget": {
1373
+ "name": "max_length"
1374
+ },
1375
+ "link": null
1376
+ },
1377
+ {
1378
+ "localized_name": "Sampling Mode",
1379
+ "name": "sampling_mode",
1380
+ "type": "COMFY_DYNAMICCOMBO_V3",
1381
+ "widget": {
1382
+ "name": "sampling_mode"
1383
+ },
1384
+ "link": null
1385
+ },
1386
+ {
1387
+ "localized_name": "thinking",
1388
+ "name": "thinking",
1389
+ "shape": 7,
1390
+ "type": "BOOLEAN",
1391
+ "widget": {
1392
+ "name": "thinking"
1393
+ },
1394
+ "link": null
1395
+ },
1396
+ {
1397
+ "localized_name": "use_default_template",
1398
+ "name": "use_default_template",
1399
+ "shape": 7,
1400
+ "type": "BOOLEAN",
1401
+ "widget": {
1402
+ "name": "use_default_template"
1403
+ },
1404
+ "link": null
1405
+ },
1406
+ {
1407
+ "localized_name": "mtp",
1408
+ "name": "mtp",
1409
+ "shape": 7,
1410
+ "type": "COMBO",
1411
+ "widget": {
1412
+ "name": "mtp"
1413
+ },
1414
+ "link": null
1415
+ }
1416
+ ],
1417
+ "outputs": [
1418
+ {
1419
+ "localized_name": "generated_text",
1420
+ "name": "generated_text",
1421
+ "type": "STRING",
1422
+ "links": [
1423
+ 32
1424
+ ]
1425
+ },
1426
+ {
1427
+ "localized_name": "thinking",
1428
+ "name": "thinking",
1429
+ "type": "STRING",
1430
+ "links": null
1431
+ }
1432
+ ],
1433
+ "title": "Prompt upsampler",
1434
+ "properties": {
1435
+ "Node name for S&R": "TextGenerate"
1436
+ },
1437
+ "widgets_values": [
1438
+ "",
1439
+ 3072,
1440
+ "off",
1441
+ false,
1442
+ true,
1443
+ "auto"
1444
+ ],
1445
+ "widgets_values_named": {
1446
+ "prompt": "",
1447
+ "max_length": 3072,
1448
+ "sampling_mode": "off",
1449
+ "thinking": false,
1450
+ "use_default_template": true,
1451
+ "mtp": "auto"
1452
+ }
1453
+ },
1454
+ {
1455
+ "id": 24,
1456
+ "type": "ComfySwitchNode",
1457
+ "pos": [
1458
+ 1180,
1459
+ 1030
1460
+ ],
1461
+ "size": [
1462
+ 300,
1463
+ 80
1464
+ ],
1465
+ "flags": {},
1466
+ "order": 17,
1467
+ "mode": 0,
1468
+ "inputs": [
1469
+ {
1470
+ "localized_name": "on_false",
1471
+ "name": "on_false",
1472
+ "shape": 7,
1473
+ "type": "STRING",
1474
+ "link": 31
1475
+ },
1476
+ {
1477
+ "localized_name": "on_true",
1478
+ "name": "on_true",
1479
+ "shape": 7,
1480
+ "type": "STRING",
1481
+ "link": 32
1482
+ },
1483
+ {
1484
+ "localized_name": "switch",
1485
+ "name": "switch",
1486
+ "type": "BOOLEAN",
1487
+ "widget": {
1488
+ "name": "switch"
1489
+ },
1490
+ "link": null
1491
+ }
1492
+ ],
1493
+ "outputs": [
1494
+ {
1495
+ "localized_name": "output",
1496
+ "name": "output",
1497
+ "type": "STRING",
1498
+ "links": [
1499
+ 33,
1500
+ 34
1501
+ ]
1502
+ }
1503
+ ],
1504
+ "title": "Use prompt upsampler",
1505
+ "properties": {
1506
+ "Node name for S&R": "ComfySwitchNode"
1507
+ },
1508
+ "widgets_values": [
1509
+ true
1510
+ ],
1511
+ "widgets_values_named": {
1512
+ "switch": true
1513
+ }
1514
+ },
1515
+ {
1516
+ "id": 25,
1517
+ "type": "MarkdownNote",
1518
+ "pos": [
1519
+ 380,
1520
+ 1200
1521
+ ],
1522
+ "size": [
1523
+ 400,
1524
+ 260
1525
+ ],
1526
+ "flags": {},
1527
+ "order": 10,
1528
+ "mode": 0,
1529
+ "inputs": [],
1530
+ "outputs": [],
1531
+ "title": "Prompt upsampler",
1532
+ "properties": {},
1533
+ "widgets_values": [
1534
+ "**Prompt upsampler.** Type a short edit request in **Request**, with `<Picture 1>` for the image to edit and `<Picture 2>` for the reference. The upsampler (Generate Text) sees both images and turns the request into an edit brief, shown in the preview.\n\nFor another number of images, add or remove a `<Picture N>: <|vision_start|><|image_pad|><|vision_end|>` block in **Upsampler input** and the image in **Batch Images**, padded to image_1's size.\n\nSet **Use prompt upsampler** to false to send the request to the model as it is."
1535
+ ],
1536
+ "widgets_values_named": {
1537
+ "text": "**Prompt upsampler.** Type a short edit request in **Request**, with `<Picture 1>` for the image to edit and `<Picture 2>` for the reference. The upsampler (Generate Text) sees both images and turns the request into an edit brief, shown in the preview.\n\nFor another number of images, add or remove a `<Picture N>: <|vision_start|><|image_pad|><|vision_end|>` block in **Upsampler input** and the image in **Batch Images**, padded to image_1's size.\n\nSet **Use prompt upsampler** to false to send the request to the model as it is."
1538
+ },
1539
+ "color": "#432",
1540
+ "bgcolor": "#653"
1541
+ }
1542
+ ],
1543
+ "links": [
1544
  [
1545
  5,
1546
  1,
 
1622
  "IMAGE"
1623
  ],
1624
  [
1625
+ 1,
1626
+ 2,
1627
  0,
1628
+ 6,
1629
  0,
1630
  "CLIP"
1631
  ],
1632
  [
1633
+ 2,
1634
+ 3,
1635
  0,
1636
+ 6,
1637
  1,
1638
+ "VAE"
1639
+ ],
1640
+ [
1641
+ 3,
1642
+ 4,
1643
+ 0,
1644
+ 6,
1645
+ 2,
1646
+ "IMAGE"
1647
+ ],
1648
+ [
1649
+ 4,
1650
+ 5,
1651
+ 0,
1652
+ 6,
1653
+ 3,
1654
  "IMAGE"
1655
  ],
1656
  [
1657
+ 20,
1658
  17,
1659
+ 0,
1660
+ 18,
1661
+ 0,
1662
+ "STRING"
1663
+ ],
1664
+ [
1665
+ 21,
1666
+ 4,
1667
+ 0,
1668
+ 19,
1669
+ 0,
1670
+ "IMAGE"
1671
+ ],
1672
+ [
1673
+ 22,
1674
+ 19,
1675
+ 0,
1676
+ 20,
1677
+ 0,
1678
+ "IMAGE"
1679
+ ],
1680
+ [
1681
+ 23,
1682
  5,
1683
  0,
1684
+ 21,
1685
+ 0,
1686
+ "IMAGE"
1687
+ ],
1688
+ [
1689
+ 24,
1690
+ 20,
1691
+ 0,
1692
+ 21,
1693
+ 1,
1694
+ "INT"
1695
+ ],
1696
+ [
1697
+ 25,
1698
+ 20,
1699
+ 1,
1700
+ 21,
1701
  2,
1702
+ "INT"
1703
+ ],
1704
+ [
1705
+ 26,
1706
+ 19,
1707
+ 0,
1708
+ 22,
1709
+ 0,
1710
+ "IMAGE"
1711
+ ],
1712
+ [
1713
+ 27,
1714
+ 21,
1715
+ 0,
1716
+ 22,
1717
+ 1,
1718
+ "IMAGE"
1719
+ ],
1720
+ [
1721
+ 28,
1722
+ 14,
1723
+ 0,
1724
+ 23,
1725
+ 0,
1726
+ "CLIP"
1727
+ ],
1728
+ [
1729
+ 29,
1730
+ 22,
1731
+ 0,
1732
+ 23,
1733
+ 1,
1734
  "IMAGE"
1735
  ],
1736
  [
1737
+ 30,
1738
  18,
 
1739
  0,
1740
+ 23,
1741
  5,
1742
  "STRING"
1743
  ],
1744
  [
1745
+ 31,
1746
+ 17,
1747
+ 0,
1748
+ 24,
1749
+ 0,
1750
+ "STRING"
1751
+ ],
1752
+ [
1753
+ 32,
1754
+ 23,
1755
+ 0,
1756
+ 24,
1757
+ 1,
1758
+ "STRING"
1759
+ ],
1760
+ [
1761
+ 33,
1762
+ 24,
1763
+ 0,
1764
+ 6,
1765
+ 6,
1766
+ "STRING"
1767
+ ],
1768
+ [
1769
+ 34,
1770
+ 24,
1771
  0,
1772
  16,
1773
  0,
 
1778
  "config": {},
1779
  "extra": {
1780
  "ds": {
1781
+ "scale": 0.6,
1782
  "offset": [
1783
+ 40,
1784
+ 40
1785
  ]
1786
  }
1787
  },
workflows/p-h3-image_lora_edit.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "id": "00000000-0000-0000-0000-000000000000",
3
  "revision": 0,
4
- "last_node_id": 18,
5
- "last_link_id": 21,
6
  "nodes": [
7
  {
8
  "id": 1,
@@ -23,19 +23,19 @@
23
  "localized_name": "unet_name",
24
  "name": "unet_name",
25
  "type": "COMBO",
26
- "link": null,
27
  "widget": {
28
  "name": "unet_name"
29
- }
 
30
  },
31
  {
32
  "localized_name": "weight_dtype",
33
  "name": "weight_dtype",
34
  "type": "COMBO",
35
- "link": null,
36
  "widget": {
37
  "name": "weight_dtype"
38
- }
 
39
  }
40
  ],
41
  "outputs": [
@@ -63,7 +63,11 @@
63
  "widgets_values": [
64
  "minimax_h3_fl2va_bf16.safetensors",
65
  "default"
66
- ]
 
 
 
 
67
  },
68
  {
69
  "id": 2,
@@ -77,17 +81,17 @@
77
  58
78
  ],
79
  "flags": {},
80
- "order": 3,
81
  "mode": 0,
82
  "inputs": [
83
  {
84
  "localized_name": "text_encoder_name",
85
  "name": "text_encoder_name",
86
  "type": "COMBO",
87
- "link": null,
88
  "widget": {
89
  "name": "text_encoder_name"
90
- }
 
91
  }
92
  ],
93
  "outputs": [
@@ -114,7 +118,10 @@
114
  },
115
  "widgets_values": [
116
  "p-h3-image_text_encoder_bf16.safetensors"
117
- ]
 
 
 
118
  },
119
  {
120
  "id": 3,
@@ -128,17 +135,17 @@
128
  58
129
  ],
130
  "flags": {},
131
- "order": 4,
132
  "mode": 0,
133
  "inputs": [
134
  {
135
  "localized_name": "vae_name",
136
  "name": "vae_name",
137
  "type": "COMBO",
138
- "link": null,
139
  "widget": {
140
  "name": "vae_name"
141
- }
 
142
  }
143
  ],
144
  "outputs": [
@@ -166,7 +173,10 @@
166
  },
167
  "widgets_values": [
168
  "p-h3-image_vae_bf16.safetensors"
169
- ]
 
 
 
170
  },
171
  {
172
  "id": 4,
@@ -180,26 +190,26 @@
180
  360
181
  ],
182
  "flags": {},
183
- "order": 5,
184
  "mode": 0,
185
  "inputs": [
186
  {
187
  "localized_name": "image",
188
  "name": "image",
189
  "type": "COMBO",
190
- "link": null,
191
  "widget": {
192
  "name": "image"
193
- }
 
194
  },
195
  {
196
  "localized_name": "choose file to upload",
197
  "name": "upload",
198
  "type": "IMAGEUPLOAD",
199
- "link": null,
200
  "widget": {
201
  "name": "upload"
202
- }
 
203
  }
204
  ],
205
  "outputs": [
@@ -209,7 +219,7 @@
209
  "type": "IMAGE",
210
  "links": [
211
  3,
212
- 18
213
  ]
214
  },
215
  {
@@ -219,6 +229,7 @@
219
  "links": null
220
  }
221
  ],
 
222
  "properties": {
223
  "Node name for S&R": "LoadImage",
224
  "cnr_id": "comfy-core",
@@ -228,7 +239,10 @@
228
  "example.png",
229
  "image"
230
  ],
231
- "title": "image_1 (edited)"
 
 
 
232
  },
233
  {
234
  "id": 5,
@@ -242,26 +256,26 @@
242
  360
243
  ],
244
  "flags": {},
245
- "order": 6,
246
  "mode": 0,
247
  "inputs": [
248
  {
249
  "localized_name": "image",
250
  "name": "image",
251
  "type": "COMBO",
252
- "link": null,
253
  "widget": {
254
  "name": "image"
255
- }
 
256
  },
257
  {
258
  "localized_name": "choose file to upload",
259
  "name": "upload",
260
  "type": "IMAGEUPLOAD",
261
- "link": null,
262
  "widget": {
263
  "name": "upload"
264
- }
 
265
  }
266
  ],
267
  "outputs": [
@@ -271,7 +285,7 @@
271
  "type": "IMAGE",
272
  "links": [
273
  4,
274
- 19
275
  ]
276
  },
277
  {
@@ -281,6 +295,7 @@
281
  "links": null
282
  }
283
  ],
 
284
  "properties": {
285
  "Node name for S&R": "LoadImage",
286
  "cnr_id": "comfy-core",
@@ -290,7 +305,10 @@
290
  "example.png",
291
  "image"
292
  ],
293
- "title": "image_2 (reference)"
 
 
 
294
  },
295
  {
296
  "id": 6,
@@ -304,7 +322,7 @@
304
  480
305
  ],
306
  "flags": {},
307
- "order": 7,
308
  "mode": 0,
309
  "inputs": [
310
  {
@@ -320,90 +338,97 @@
320
  "link": 2
321
  },
322
  {
323
- "localized_name": "images.image_1",
 
324
  "name": "images.image_1",
325
  "type": "IMAGE",
326
- "link": 3,
327
- "label": "image_1"
328
  },
329
  {
330
- "localized_name": "images.image_2",
 
331
  "name": "images.image_2",
 
332
  "type": "IMAGE",
333
- "link": 4,
334
- "label": "image_2",
335
- "shape": 7
336
  },
337
  {
338
- "localized_name": "images.image_3",
 
339
  "name": "images.image_3",
 
340
  "type": "IMAGE",
341
- "link": null,
342
- "label": "image_3",
343
- "shape": 7
 
 
 
 
 
344
  },
345
  {
346
  "localized_name": "prompt",
347
  "name": "prompt",
348
  "type": "STRING",
349
- "link": 20,
350
  "widget": {
351
  "name": "prompt"
352
- }
 
353
  },
354
  {
355
  "localized_name": "image_1_min_megapixels",
356
  "name": "image_1_min_megapixels",
357
  "type": "FLOAT",
358
- "link": null,
359
  "widget": {
360
  "name": "image_1_min_megapixels"
361
- }
 
362
  },
363
  {
364
  "localized_name": "min_megapixels",
365
  "name": "min_megapixels",
366
  "type": "FLOAT",
367
- "link": null,
368
  "widget": {
369
  "name": "min_megapixels"
370
- }
 
371
  },
372
  {
373
  "localized_name": "max_megapixels",
374
  "name": "max_megapixels",
375
  "type": "FLOAT",
376
- "link": null,
377
  "widget": {
378
  "name": "max_megapixels"
379
- }
 
380
  },
381
  {
382
  "localized_name": "width",
383
  "name": "width",
384
  "type": "INT",
385
- "link": null,
386
  "widget": {
387
  "name": "width"
388
- }
 
389
  },
390
  {
391
  "localized_name": "height",
392
  "name": "height",
393
  "type": "INT",
394
- "link": null,
395
  "widget": {
396
  "name": "height"
397
- }
 
398
  },
399
  {
400
  "localized_name": "vision_megapixels",
401
  "name": "vision_megapixels",
402
  "type": "FLOAT",
403
- "link": null,
404
  "widget": {
405
  "name": "vision_megapixels"
406
- }
 
407
  }
408
  ],
409
  "outputs": [
@@ -431,13 +456,22 @@
431
  },
432
  "widgets_values": [
433
  "Put the hat from <Picture 2> on the person in <Picture 1>.",
434
- 4.0,
435
- 1.0,
436
- 8.0,
437
  0,
438
  0,
439
- 1.0
440
- ]
 
 
 
 
 
 
 
 
 
441
  },
442
  {
443
  "id": 7,
@@ -451,17 +485,17 @@
451
  82
452
  ],
453
  "flags": {},
454
- "order": 8,
455
  "mode": 0,
456
  "inputs": [
457
  {
458
  "localized_name": "sigmas",
459
  "name": "sigmas",
460
  "type": "STRING",
461
- "link": null,
462
  "widget": {
463
  "name": "sigmas"
464
- }
 
465
  }
466
  ],
467
  "outputs": [
@@ -481,7 +515,10 @@
481
  },
482
  "widgets_values": [
483
  "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
484
- ]
 
 
 
485
  },
486
  {
487
  "id": 8,
@@ -495,7 +532,7 @@
495
  46
496
  ],
497
  "flags": {},
498
- "order": 9,
499
  "mode": 0,
500
  "inputs": [
501
  {
@@ -525,8 +562,7 @@
525
  "Node name for S&R": "BasicGuider",
526
  "cnr_id": "comfy-core",
527
  "ver": "0.43.0"
528
- },
529
- "widgets_values": []
530
  },
531
  {
532
  "id": 9,
@@ -540,17 +576,17 @@
540
  58
541
  ],
542
  "flags": {},
543
- "order": 10,
544
  "mode": 0,
545
  "inputs": [
546
  {
547
  "localized_name": "sampler_name",
548
  "name": "sampler_name",
549
  "type": "COMBO",
550
- "link": null,
551
  "widget": {
552
  "name": "sampler_name"
553
- }
 
554
  }
555
  ],
556
  "outputs": [
@@ -570,7 +606,10 @@
570
  },
571
  "widgets_values": [
572
  "euler"
573
- ]
 
 
 
574
  },
575
  {
576
  "id": 10,
@@ -584,17 +623,17 @@
584
  82
585
  ],
586
  "flags": {},
587
- "order": 11,
588
  "mode": 0,
589
  "inputs": [
590
  {
591
  "localized_name": "noise_seed",
592
  "name": "noise_seed",
593
  "type": "INT",
594
- "link": null,
595
  "widget": {
596
  "name": "noise_seed"
597
- }
 
598
  }
599
  ],
600
  "outputs": [
@@ -615,7 +654,11 @@
615
  "widgets_values": [
616
  0,
617
  "randomize"
618
- ]
 
 
 
 
619
  },
620
  {
621
  "id": 11,
@@ -629,7 +672,7 @@
629
  330
630
  ],
631
  "flags": {},
632
- "order": 12,
633
  "mode": 0,
634
  "inputs": [
635
  {
@@ -683,8 +726,7 @@
683
  "Node name for S&R": "SamplerCustomAdvanced",
684
  "cnr_id": "comfy-core",
685
  "ver": "0.43.0"
686
- },
687
- "widgets_values": []
688
  },
689
  {
690
  "id": 12,
@@ -698,7 +740,7 @@
698
  46
699
  ],
700
  "flags": {},
701
- "order": 13,
702
  "mode": 0,
703
  "inputs": [
704
  {
@@ -728,8 +770,7 @@
728
  "Node name for S&R": "VAEDecode",
729
  "cnr_id": "comfy-core",
730
  "ver": "0.43.0"
731
- },
732
- "widgets_values": []
733
  },
734
  {
735
  "id": 13,
@@ -743,7 +784,7 @@
743
  560
744
  ],
745
  "flags": {},
746
- "order": 14,
747
  "mode": 0,
748
  "inputs": [
749
  {
@@ -756,13 +797,20 @@
756
  "localized_name": "filename_prefix",
757
  "name": "filename_prefix",
758
  "type": "STRING",
759
- "link": null,
760
  "widget": {
761
  "name": "filename_prefix"
762
- }
 
 
 
 
 
 
 
 
 
763
  }
764
  ],
765
- "outputs": [],
766
  "properties": {
767
  "Node name for S&R": "SaveImage",
768
  "cnr_id": "comfy-core",
@@ -770,7 +818,10 @@
770
  },
771
  "widgets_values": [
772
  "p-h3-image"
773
- ]
 
 
 
774
  },
775
  {
776
  "id": 14,
@@ -780,11 +831,11 @@
780
  220
781
  ],
782
  "size": [
783
- 320,
784
  82
785
  ],
786
  "flags": {},
787
- "order": 1,
788
  "mode": 0,
789
  "inputs": [
790
  {
@@ -797,19 +848,19 @@
797
  "localized_name": "lora_name",
798
  "name": "lora_name",
799
  "type": "COMBO",
800
- "link": null,
801
  "widget": {
802
  "name": "lora_name"
803
- }
 
804
  },
805
  {
806
  "localized_name": "strength_model",
807
  "name": "strength_model",
808
  "type": "FLOAT",
809
- "link": null,
810
  "widget": {
811
  "name": "strength_model"
812
- }
 
813
  }
814
  ],
815
  "outputs": [
@@ -836,8 +887,12 @@
836
  },
837
  "widgets_values": [
838
  "p-h3-image_lora_bf16.safetensors",
839
- 1.0
840
- ]
 
 
 
 
841
  },
842
  {
843
  "id": 15,
@@ -851,7 +906,7 @@
851
  82
852
  ],
853
  "flags": {},
854
- "order": 2,
855
  "mode": 0,
856
  "inputs": [
857
  {
@@ -864,19 +919,19 @@
864
  "localized_name": "shift_video",
865
  "name": "shift_video",
866
  "type": "FLOAT",
867
- "link": null,
868
  "widget": {
869
  "name": "shift_video"
870
- }
 
871
  },
872
  {
873
  "localized_name": "shift_audio",
874
  "name": "shift_audio",
875
  "type": "FLOAT",
876
- "link": null,
877
  "widget": {
878
  "name": "shift_audio"
879
- }
 
880
  }
881
  ],
882
  "outputs": [
@@ -895,9 +950,13 @@
895
  "ver": "0.43.0"
896
  },
897
  "widgets_values": [
898
- 1.0,
899
- 1.0
900
- ]
 
 
 
 
901
  },
902
  {
903
  "id": 16,
@@ -911,35 +970,36 @@
911
  106
912
  ],
913
  "flags": {},
914
- "order": 15,
915
  "mode": 0,
916
  "inputs": [
917
  {
918
  "localized_name": "clip_name",
919
  "name": "clip_name",
920
  "type": "COMBO",
921
- "link": null,
922
  "widget": {
923
  "name": "clip_name"
924
- }
 
925
  },
926
  {
927
  "localized_name": "type",
928
  "name": "type",
929
  "type": "COMBO",
930
- "link": null,
931
  "widget": {
932
  "name": "type"
933
- }
 
934
  },
935
  {
936
  "localized_name": "device",
937
  "name": "device",
 
938
  "type": "COMBO",
939
- "link": null,
940
  "widget": {
941
  "name": "device"
942
- }
 
943
  }
944
  ],
945
  "outputs": [
@@ -948,10 +1008,11 @@
948
  "name": "CLIP",
949
  "type": "CLIP",
950
  "links": [
951
- 17
952
  ]
953
  }
954
  ],
 
955
  "properties": {
956
  "Node name for S&R": "CLIPLoader",
957
  "cnr_id": "comfy-core",
@@ -969,201 +1030,652 @@
969
  "minimax",
970
  "default"
971
  ],
972
- "title": "p-h3-image prompt upsampler"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
973
  },
974
  {
975
- "id": 17,
976
- "type": "p-h3-image_edit_prompt_upsampler",
977
  "pos": [
978
  380,
979
- 100
980
  ],
981
  "size": [
982
- 420,
983
- 380
984
  ],
985
  "flags": {},
986
- "order": 16,
987
  "mode": 0,
988
  "inputs": [
989
  {
990
- "localized_name": "clip",
991
- "name": "clip",
992
- "type": "CLIP",
993
- "link": 17
994
- },
 
 
 
 
 
995
  {
996
- "localized_name": "images.image_1",
997
- "name": "images.image_1",
998
- "type": "IMAGE",
999
- "link": 18,
1000
- "label": "image_1"
1001
- },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1002
  {
1003
- "localized_name": "images.image_2",
1004
- "name": "images.image_2",
1005
- "type": "IMAGE",
1006
- "link": 19,
1007
- "label": "image_2",
1008
- "shape": 7
1009
  },
1010
  {
1011
- "localized_name": "images.image_3",
1012
- "name": "images.image_3",
1013
- "type": "IMAGE",
1014
- "link": null,
1015
- "label": "image_3",
1016
- "shape": 7
1017
  },
1018
  {
1019
- "localized_name": "request",
1020
- "name": "request",
1021
  "type": "STRING",
1022
- "link": null,
1023
  "widget": {
1024
- "name": "request"
1025
- }
1026
- },
 
 
 
1027
  {
1028
- "localized_name": "sampling",
1029
- "name": "sampling",
1030
- "type": "BOOLEAN",
1031
- "link": null,
1032
- "widget": {
1033
- "name": "sampling"
1034
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1035
  },
1036
  {
1037
- "localized_name": "seed",
1038
- "name": "seed",
1039
- "type": "INT",
1040
- "link": null,
1041
  "widget": {
1042
- "name": "seed"
1043
- }
 
1044
  },
1045
  {
1046
- "localized_name": "retries",
1047
- "name": "retries",
1048
- "type": "INT",
1049
- "link": null,
1050
  "widget": {
1051
- "name": "retries"
1052
- }
 
1053
  },
1054
  {
1055
- "localized_name": "max_new_tokens",
1056
- "name": "max_new_tokens",
1057
  "type": "INT",
1058
- "link": null,
1059
  "widget": {
1060
- "name": "max_new_tokens"
1061
- }
 
1062
  }
1063
  ],
1064
  "outputs": [
1065
  {
1066
- "localized_name": "prompt",
1067
- "name": "prompt",
1068
- "type": "STRING",
1069
  "links": [
1070
- 20,
1071
- 21
1072
  ]
1073
- },
1074
- {
1075
- "localized_name": "thinking",
1076
- "name": "thinking",
1077
- "type": "STRING",
1078
- "links": []
1079
  }
1080
  ],
 
1081
  "properties": {
1082
- "Node name for S&R": "p-h3-image_edit_prompt_upsampler",
1083
- "cnr_id": "p-h3-image",
1084
- "ver": "0.1.0"
1085
  },
1086
  "widgets_values": [
1087
- "Put the hat from <Picture 2> on the person in <Picture 1>.",
1088
- false,
1089
- 0,
1090
- "fixed",
1091
- 2,
1092
- 1536
1093
- ]
 
 
1094
  },
1095
  {
1096
- "id": 18,
1097
- "type": "PreviewAny",
1098
  "pos": [
1099
- 860,
1100
- 620
1101
  ],
1102
  "size": [
1103
- 420,
1104
- 360
1105
  ],
1106
  "flags": {},
1107
- "order": 17,
1108
  "mode": 0,
1109
  "inputs": [
1110
  {
1111
- "localized_name": "source",
1112
- "name": "source",
1113
- "type": "*",
1114
- "link": 21
1115
  }
1116
  ],
1117
  "outputs": [
1118
  {
1119
- "localized_name": "STRING",
1120
- "name": "STRING",
1121
- "type": "STRING",
1122
- "links": []
1123
- }
1124
- ],
1125
- "properties": {
1126
- "Node name for S&R": "PreviewAny",
1127
- "cnr_id": "comfy-core",
1128
- "ver": "0.43.0"
1129
- },
1130
- "widgets_values": [],
1131
- "title": "Upsampled prompt"
1132
- }
1133
- ],
1134
- "links": [
1135
- [
1136
- 1,
1137
- 2,
1138
- 0,
1139
- 6,
1140
- 0,
1141
- "CLIP"
1142
- ],
1143
- [
1144
- 2,
1145
- 3,
1146
- 0,
1147
- 6,
1148
- 1,
1149
- "VAE"
1150
- ],
1151
- [
1152
- 3,
1153
- 4,
1154
- 0,
1155
- 6,
1156
- 2,
1157
- "IMAGE"
1158
- ],
1159
- [
1160
- 4,
1161
- 5,
1162
- 0,
1163
- 6,
1164
- 3,
1165
- "IMAGE"
1166
- ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1167
  [
1168
  5,
1169
  15,
@@ -1261,40 +1773,152 @@
1261
  "MODEL"
1262
  ],
1263
  [
1264
- 17,
1265
- 16,
1266
  0,
1267
- 17,
1268
  0,
1269
  "CLIP"
1270
  ],
1271
  [
1272
- 18,
1273
- 4,
1274
  0,
1275
- 17,
1276
  1,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1277
  "IMAGE"
1278
  ],
1279
  [
 
1280
  19,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1281
  5,
1282
  0,
1283
- 17,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1284
  2,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1285
  "IMAGE"
1286
  ],
1287
  [
 
1288
  20,
1289
- 17,
1290
  0,
1291
- 6,
1292
  5,
1293
  "STRING"
1294
  ],
1295
  [
1296
- 21,
1297
- 17,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1298
  0,
1299
  18,
1300
  0,
@@ -1305,10 +1929,10 @@
1305
  "config": {},
1306
  "extra": {
1307
  "ds": {
1308
- "scale": 0.8,
1309
  "offset": [
1310
- 0,
1311
- 0
1312
  ]
1313
  }
1314
  },
 
1
  {
2
  "id": "00000000-0000-0000-0000-000000000000",
3
  "revision": 0,
4
+ "last_node_id": 27,
5
+ "last_link_id": 36,
6
  "nodes": [
7
  {
8
  "id": 1,
 
23
  "localized_name": "unet_name",
24
  "name": "unet_name",
25
  "type": "COMBO",
 
26
  "widget": {
27
  "name": "unet_name"
28
+ },
29
+ "link": null
30
  },
31
  {
32
  "localized_name": "weight_dtype",
33
  "name": "weight_dtype",
34
  "type": "COMBO",
 
35
  "widget": {
36
  "name": "weight_dtype"
37
+ },
38
+ "link": null
39
  }
40
  ],
41
  "outputs": [
 
63
  "widgets_values": [
64
  "minimax_h3_fl2va_bf16.safetensors",
65
  "default"
66
+ ],
67
+ "widgets_values_named": {
68
+ "unet_name": "minimax_h3_fl2va_bf16.safetensors",
69
+ "weight_dtype": "default"
70
+ }
71
  },
72
  {
73
  "id": 2,
 
81
  58
82
  ],
83
  "flags": {},
84
+ "order": 1,
85
  "mode": 0,
86
  "inputs": [
87
  {
88
  "localized_name": "text_encoder_name",
89
  "name": "text_encoder_name",
90
  "type": "COMBO",
 
91
  "widget": {
92
  "name": "text_encoder_name"
93
+ },
94
+ "link": null
95
  }
96
  ],
97
  "outputs": [
 
118
  },
119
  "widgets_values": [
120
  "p-h3-image_text_encoder_bf16.safetensors"
121
+ ],
122
+ "widgets_values_named": {
123
+ "text_encoder_name": "p-h3-image_text_encoder_bf16.safetensors"
124
+ }
125
  },
126
  {
127
  "id": 3,
 
135
  58
136
  ],
137
  "flags": {},
138
+ "order": 2,
139
  "mode": 0,
140
  "inputs": [
141
  {
142
  "localized_name": "vae_name",
143
  "name": "vae_name",
144
  "type": "COMBO",
 
145
  "widget": {
146
  "name": "vae_name"
147
+ },
148
+ "link": null
149
  }
150
  ],
151
  "outputs": [
 
173
  },
174
  "widgets_values": [
175
  "p-h3-image_vae_bf16.safetensors"
176
+ ],
177
+ "widgets_values_named": {
178
+ "vae_name": "p-h3-image_vae_bf16.safetensors"
179
+ }
180
  },
181
  {
182
  "id": 4,
 
190
  360
191
  ],
192
  "flags": {},
193
+ "order": 3,
194
  "mode": 0,
195
  "inputs": [
196
  {
197
  "localized_name": "image",
198
  "name": "image",
199
  "type": "COMBO",
 
200
  "widget": {
201
  "name": "image"
202
+ },
203
+ "link": null
204
  },
205
  {
206
  "localized_name": "choose file to upload",
207
  "name": "upload",
208
  "type": "IMAGEUPLOAD",
 
209
  "widget": {
210
  "name": "upload"
211
+ },
212
+ "link": null
213
  }
214
  ],
215
  "outputs": [
 
219
  "type": "IMAGE",
220
  "links": [
221
  3,
222
+ 23
223
  ]
224
  },
225
  {
 
229
  "links": null
230
  }
231
  ],
232
+ "title": "image_1 (edited)",
233
  "properties": {
234
  "Node name for S&R": "LoadImage",
235
  "cnr_id": "comfy-core",
 
239
  "example.png",
240
  "image"
241
  ],
242
+ "widgets_values_named": {
243
+ "image": "example.png",
244
+ "upload": "image"
245
+ }
246
  },
247
  {
248
  "id": 5,
 
256
  360
257
  ],
258
  "flags": {},
259
+ "order": 4,
260
  "mode": 0,
261
  "inputs": [
262
  {
263
  "localized_name": "image",
264
  "name": "image",
265
  "type": "COMBO",
 
266
  "widget": {
267
  "name": "image"
268
+ },
269
+ "link": null
270
  },
271
  {
272
  "localized_name": "choose file to upload",
273
  "name": "upload",
274
  "type": "IMAGEUPLOAD",
 
275
  "widget": {
276
  "name": "upload"
277
+ },
278
+ "link": null
279
  }
280
  ],
281
  "outputs": [
 
285
  "type": "IMAGE",
286
  "links": [
287
  4,
288
+ 25
289
  ]
290
  },
291
  {
 
295
  "links": null
296
  }
297
  ],
298
+ "title": "image_2 (reference)",
299
  "properties": {
300
  "Node name for S&R": "LoadImage",
301
  "cnr_id": "comfy-core",
 
305
  "example.png",
306
  "image"
307
  ],
308
+ "widgets_values_named": {
309
+ "image": "example.png",
310
+ "upload": "image"
311
+ }
312
  },
313
  {
314
  "id": 6,
 
322
  480
323
  ],
324
  "flags": {},
325
+ "order": 20,
326
  "mode": 0,
327
  "inputs": [
328
  {
 
338
  "link": 2
339
  },
340
  {
341
+ "label": "image_1",
342
+ "localized_name": "image_1",
343
  "name": "images.image_1",
344
  "type": "IMAGE",
345
+ "link": 3
 
346
  },
347
  {
348
+ "label": "image_2",
349
+ "localized_name": "image_2",
350
  "name": "images.image_2",
351
+ "shape": 7,
352
  "type": "IMAGE",
353
+ "link": 4
 
 
354
  },
355
  {
356
+ "label": "image_3",
357
+ "localized_name": "image_3",
358
  "name": "images.image_3",
359
+ "shape": 7,
360
  "type": "IMAGE",
361
+ "link": null
362
+ },
363
+ {
364
+ "localized_name": "image_4",
365
+ "name": "images.image_4",
366
+ "shape": 7,
367
+ "type": "IMAGE",
368
+ "link": null
369
  },
370
  {
371
  "localized_name": "prompt",
372
  "name": "prompt",
373
  "type": "STRING",
 
374
  "widget": {
375
  "name": "prompt"
376
+ },
377
+ "link": 35
378
  },
379
  {
380
  "localized_name": "image_1_min_megapixels",
381
  "name": "image_1_min_megapixels",
382
  "type": "FLOAT",
 
383
  "widget": {
384
  "name": "image_1_min_megapixels"
385
+ },
386
+ "link": null
387
  },
388
  {
389
  "localized_name": "min_megapixels",
390
  "name": "min_megapixels",
391
  "type": "FLOAT",
 
392
  "widget": {
393
  "name": "min_megapixels"
394
+ },
395
+ "link": null
396
  },
397
  {
398
  "localized_name": "max_megapixels",
399
  "name": "max_megapixels",
400
  "type": "FLOAT",
 
401
  "widget": {
402
  "name": "max_megapixels"
403
+ },
404
+ "link": null
405
  },
406
  {
407
  "localized_name": "width",
408
  "name": "width",
409
  "type": "INT",
 
410
  "widget": {
411
  "name": "width"
412
+ },
413
+ "link": null
414
  },
415
  {
416
  "localized_name": "height",
417
  "name": "height",
418
  "type": "INT",
 
419
  "widget": {
420
  "name": "height"
421
+ },
422
+ "link": null
423
  },
424
  {
425
  "localized_name": "vision_megapixels",
426
  "name": "vision_megapixels",
427
  "type": "FLOAT",
 
428
  "widget": {
429
  "name": "vision_megapixels"
430
+ },
431
+ "link": null
432
  }
433
  ],
434
  "outputs": [
 
456
  },
457
  "widgets_values": [
458
  "Put the hat from <Picture 2> on the person in <Picture 1>.",
459
+ 4,
460
+ 1,
461
+ 8,
462
  0,
463
  0,
464
+ 1
465
+ ],
466
+ "widgets_values_named": {
467
+ "prompt": "Put the hat from <Picture 2> on the person in <Picture 1>.",
468
+ "image_1_min_megapixels": 4,
469
+ "min_megapixels": 1,
470
+ "max_megapixels": 8,
471
+ "width": 0,
472
+ "height": 0,
473
+ "vision_megapixels": 1
474
+ }
475
  },
476
  {
477
  "id": 7,
 
485
  82
486
  ],
487
  "flags": {},
488
+ "order": 5,
489
  "mode": 0,
490
  "inputs": [
491
  {
492
  "localized_name": "sigmas",
493
  "name": "sigmas",
494
  "type": "STRING",
 
495
  "widget": {
496
  "name": "sigmas"
497
+ },
498
+ "link": null
499
  }
500
  ],
501
  "outputs": [
 
515
  },
516
  "widgets_values": [
517
  "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
518
+ ],
519
+ "widgets_values_named": {
520
+ "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
521
+ }
522
  },
523
  {
524
  "id": 8,
 
532
  46
533
  ],
534
  "flags": {},
535
+ "order": 22,
536
  "mode": 0,
537
  "inputs": [
538
  {
 
562
  "Node name for S&R": "BasicGuider",
563
  "cnr_id": "comfy-core",
564
  "ver": "0.43.0"
565
+ }
 
566
  },
567
  {
568
  "id": 9,
 
576
  58
577
  ],
578
  "flags": {},
579
+ "order": 6,
580
  "mode": 0,
581
  "inputs": [
582
  {
583
  "localized_name": "sampler_name",
584
  "name": "sampler_name",
585
  "type": "COMBO",
 
586
  "widget": {
587
  "name": "sampler_name"
588
+ },
589
+ "link": null
590
  }
591
  ],
592
  "outputs": [
 
606
  },
607
  "widgets_values": [
608
  "euler"
609
+ ],
610
+ "widgets_values_named": {
611
+ "sampler_name": "euler"
612
+ }
613
  },
614
  {
615
  "id": 10,
 
623
  82
624
  ],
625
  "flags": {},
626
+ "order": 7,
627
  "mode": 0,
628
  "inputs": [
629
  {
630
  "localized_name": "noise_seed",
631
  "name": "noise_seed",
632
  "type": "INT",
 
633
  "widget": {
634
  "name": "noise_seed"
635
+ },
636
+ "link": null
637
  }
638
  ],
639
  "outputs": [
 
654
  "widgets_values": [
655
  0,
656
  "randomize"
657
+ ],
658
+ "widgets_values_named": {
659
+ "noise_seed": 0,
660
+ "control_after_generate": "randomize"
661
+ }
662
  },
663
  {
664
  "id": 11,
 
672
  330
673
  ],
674
  "flags": {},
675
+ "order": 23,
676
  "mode": 0,
677
  "inputs": [
678
  {
 
726
  "Node name for S&R": "SamplerCustomAdvanced",
727
  "cnr_id": "comfy-core",
728
  "ver": "0.43.0"
729
+ }
 
730
  },
731
  {
732
  "id": 12,
 
740
  46
741
  ],
742
  "flags": {},
743
+ "order": 24,
744
  "mode": 0,
745
  "inputs": [
746
  {
 
770
  "Node name for S&R": "VAEDecode",
771
  "cnr_id": "comfy-core",
772
  "ver": "0.43.0"
773
+ }
 
774
  },
775
  {
776
  "id": 13,
 
784
  560
785
  ],
786
  "flags": {},
787
+ "order": 25,
788
  "mode": 0,
789
  "inputs": [
790
  {
 
797
  "localized_name": "filename_prefix",
798
  "name": "filename_prefix",
799
  "type": "STRING",
 
800
  "widget": {
801
  "name": "filename_prefix"
802
+ },
803
+ "link": null
804
+ }
805
+ ],
806
+ "outputs": [
807
+ {
808
+ "localized_name": "images",
809
+ "name": "images",
810
+ "type": "IMAGE",
811
+ "links": null
812
  }
813
  ],
 
814
  "properties": {
815
  "Node name for S&R": "SaveImage",
816
  "cnr_id": "comfy-core",
 
818
  },
819
  "widgets_values": [
820
  "p-h3-image"
821
+ ],
822
+ "widgets_values_named": {
823
+ "filename_prefix": "p-h3-image"
824
+ }
825
  },
826
  {
827
  "id": 14,
 
831
  220
832
  ],
833
  "size": [
834
+ 365.1333984375,
835
  82
836
  ],
837
  "flags": {},
838
+ "order": 11,
839
  "mode": 0,
840
  "inputs": [
841
  {
 
848
  "localized_name": "lora_name",
849
  "name": "lora_name",
850
  "type": "COMBO",
 
851
  "widget": {
852
  "name": "lora_name"
853
+ },
854
+ "link": null
855
  },
856
  {
857
  "localized_name": "strength_model",
858
  "name": "strength_model",
859
  "type": "FLOAT",
 
860
  "widget": {
861
  "name": "strength_model"
862
+ },
863
+ "link": null
864
  }
865
  ],
866
  "outputs": [
 
887
  },
888
  "widgets_values": [
889
  "p-h3-image_lora_bf16.safetensors",
890
+ 1
891
+ ],
892
+ "widgets_values_named": {
893
+ "lora_name": "p-h3-image_lora_bf16.safetensors",
894
+ "strength_model": 1
895
+ }
896
  },
897
  {
898
  "id": 15,
 
906
  82
907
  ],
908
  "flags": {},
909
+ "order": 14,
910
  "mode": 0,
911
  "inputs": [
912
  {
 
919
  "localized_name": "shift_video",
920
  "name": "shift_video",
921
  "type": "FLOAT",
 
922
  "widget": {
923
  "name": "shift_video"
924
+ },
925
+ "link": null
926
  },
927
  {
928
  "localized_name": "shift_audio",
929
  "name": "shift_audio",
930
  "type": "FLOAT",
 
931
  "widget": {
932
  "name": "shift_audio"
933
+ },
934
+ "link": null
935
  }
936
  ],
937
  "outputs": [
 
950
  "ver": "0.43.0"
951
  },
952
  "widgets_values": [
953
+ 1,
954
+ 1
955
+ ],
956
+ "widgets_values_named": {
957
+ "shift_video": 1,
958
+ "shift_audio": 1
959
+ }
960
  },
961
  {
962
  "id": 16,
 
970
  106
971
  ],
972
  "flags": {},
973
+ "order": 8,
974
  "mode": 0,
975
  "inputs": [
976
  {
977
  "localized_name": "clip_name",
978
  "name": "clip_name",
979
  "type": "COMBO",
 
980
  "widget": {
981
  "name": "clip_name"
982
+ },
983
+ "link": null
984
  },
985
  {
986
  "localized_name": "type",
987
  "name": "type",
988
  "type": "COMBO",
 
989
  "widget": {
990
  "name": "type"
991
+ },
992
+ "link": null
993
  },
994
  {
995
  "localized_name": "device",
996
  "name": "device",
997
+ "shape": 7,
998
  "type": "COMBO",
 
999
  "widget": {
1000
  "name": "device"
1001
+ },
1002
+ "link": null
1003
  }
1004
  ],
1005
  "outputs": [
 
1008
  "name": "CLIP",
1009
  "type": "CLIP",
1010
  "links": [
1011
+ 30
1012
  ]
1013
  }
1014
  ],
1015
+ "title": "p-h3-image prompt upsampler",
1016
  "properties": {
1017
  "Node name for S&R": "CLIPLoader",
1018
  "cnr_id": "comfy-core",
 
1030
  "minimax",
1031
  "default"
1032
  ],
1033
+ "widgets_values_named": {
1034
+ "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors",
1035
+ "type": "minimax",
1036
+ "device": "default"
1037
+ }
1038
+ },
1039
+ {
1040
+ "id": 18,
1041
+ "type": "PreviewAny",
1042
+ "pos": [
1043
+ 1640,
1044
+ 700
1045
+ ],
1046
+ "size": [
1047
+ 480,
1048
+ 360
1049
+ ],
1050
+ "flags": {},
1051
+ "order": 21,
1052
+ "mode": 0,
1053
+ "inputs": [
1054
+ {
1055
+ "localized_name": "source",
1056
+ "name": "source",
1057
+ "type": "*",
1058
+ "link": 36
1059
+ }
1060
+ ],
1061
+ "outputs": [
1062
+ {
1063
+ "localized_name": "STRING",
1064
+ "name": "STRING",
1065
+ "type": "STRING",
1066
+ "links": []
1067
+ }
1068
+ ],
1069
+ "title": "Upsampled prompt",
1070
+ "properties": {
1071
+ "Node name for S&R": "PreviewAny",
1072
+ "cnr_id": "comfy-core",
1073
+ "ver": "0.43.0"
1074
+ },
1075
+ "widgets_values": [],
1076
+ "widgets_values_named": {}
1077
  },
1078
  {
1079
+ "id": 19,
1080
+ "type": "PrimitiveStringMultiline",
1081
  "pos": [
1082
  380,
1083
+ 700
1084
  ],
1085
  "size": [
1086
+ 400,
1087
+ 180
1088
  ],
1089
  "flags": {},
1090
+ "order": 9,
1091
  "mode": 0,
1092
  "inputs": [
1093
  {
1094
+ "localized_name": "value",
1095
+ "name": "value",
1096
+ "type": "STRING",
1097
+ "widget": {
1098
+ "name": "value"
1099
+ },
1100
+ "link": null
1101
+ }
1102
+ ],
1103
+ "outputs": [
1104
  {
1105
+ "localized_name": "STRING",
1106
+ "name": "STRING",
1107
+ "type": "STRING",
1108
+ "links": [
1109
+ 22,
1110
+ 33
1111
+ ]
1112
+ }
1113
+ ],
1114
+ "title": "Request",
1115
+ "properties": {
1116
+ "Node name for S&R": "PrimitiveStringMultiline"
1117
+ },
1118
+ "widgets_values": [
1119
+ "Put the hat from <Picture 2> on the person in <Picture 1>."
1120
+ ],
1121
+ "widgets_values_named": {
1122
+ "value": "Put the hat from <Picture 2> on the person in <Picture 1>."
1123
+ }
1124
+ },
1125
+ {
1126
+ "id": 20,
1127
+ "type": "StringFormat",
1128
+ "pos": [
1129
+ 380,
1130
+ 920
1131
+ ],
1132
+ "size": [
1133
+ 400,
1134
+ 240
1135
+ ],
1136
+ "flags": {},
1137
+ "order": 13,
1138
+ "mode": 0,
1139
+ "inputs": [
1140
  {
1141
+ "localized_name": "a",
1142
+ "name": "values.a",
1143
+ "shape": 7,
1144
+ "type": "*",
1145
+ "link": 22
 
1146
  },
1147
  {
1148
+ "localized_name": "b",
1149
+ "name": "values.b",
1150
+ "shape": 7,
1151
+ "type": "*",
1152
+ "link": null
 
1153
  },
1154
  {
1155
+ "localized_name": "f_string",
1156
+ "name": "f_string",
1157
  "type": "STRING",
 
1158
  "widget": {
1159
+ "name": "f_string"
1160
+ },
1161
+ "link": null
1162
+ }
1163
+ ],
1164
+ "outputs": [
1165
  {
1166
+ "localized_name": "STRING",
1167
+ "name": "STRING",
1168
+ "type": "STRING",
1169
+ "links": [
1170
+ 32
1171
+ ]
1172
+ }
1173
+ ],
1174
+ "title": "Upsampler input",
1175
+ "properties": {
1176
+ "Node name for S&R": "StringFormat"
1177
+ },
1178
+ "widgets_values": [
1179
+ "<|im_start|>user\n<Picture 1>: <|vision_start|><|image_pad|><|vision_end|><Picture 2>: <|vision_start|><|image_pad|><|vision_end|>Edit <Picture 1>. {a}<|im_end|>\n<|im_start|>assistant\n<think>\n"
1180
+ ],
1181
+ "widgets_values_named": {
1182
+ "f_string": "<|im_start|>user\n<Picture 1>: <|vision_start|><|image_pad|><|vision_end|><Picture 2>: <|vision_start|><|image_pad|><|vision_end|>Edit <Picture 1>. {a}<|im_end|>\n<|im_start|>assistant\n<think>\n"
1183
+ }
1184
+ },
1185
+ {
1186
+ "id": 21,
1187
+ "type": "ImageScaleToTotalPixels",
1188
+ "pos": [
1189
+ 820,
1190
+ 700
1191
+ ],
1192
+ "size": [
1193
+ 300,
1194
+ 110
1195
+ ],
1196
+ "flags": {},
1197
+ "order": 12,
1198
+ "mode": 0,
1199
+ "inputs": [
1200
+ {
1201
+ "localized_name": "image",
1202
+ "name": "image",
1203
+ "type": "IMAGE",
1204
+ "link": 23
1205
  },
1206
  {
1207
+ "localized_name": "upscale_method",
1208
+ "name": "upscale_method",
1209
+ "type": "COMBO",
 
1210
  "widget": {
1211
+ "name": "upscale_method"
1212
+ },
1213
+ "link": null
1214
  },
1215
  {
1216
+ "localized_name": "megapixels",
1217
+ "name": "megapixels",
1218
+ "type": "FLOAT",
 
1219
  "widget": {
1220
+ "name": "megapixels"
1221
+ },
1222
+ "link": null
1223
  },
1224
  {
1225
+ "localized_name": "resolution_steps",
1226
+ "name": "resolution_steps",
1227
  "type": "INT",
 
1228
  "widget": {
1229
+ "name": "resolution_steps"
1230
+ },
1231
+ "link": null
1232
  }
1233
  ],
1234
  "outputs": [
1235
  {
1236
+ "localized_name": "IMAGE",
1237
+ "name": "IMAGE",
1238
+ "type": "IMAGE",
1239
  "links": [
1240
+ 24,
1241
+ 28
1242
  ]
 
 
 
 
 
 
1243
  }
1244
  ],
1245
+ "title": "image_1 at 1 MP",
1246
  "properties": {
1247
+ "Node name for S&R": "ImageScaleToTotalPixels"
 
 
1248
  },
1249
  "widgets_values": [
1250
+ "lanczos",
1251
+ 1,
1252
+ 1
1253
+ ],
1254
+ "widgets_values_named": {
1255
+ "upscale_method": "lanczos",
1256
+ "megapixels": 1,
1257
+ "resolution_steps": 1
1258
+ }
1259
  },
1260
  {
1261
+ "id": 22,
1262
+ "type": "GetImageSize",
1263
  "pos": [
1264
+ 820,
1265
+ 850
1266
  ],
1267
  "size": [
1268
+ 220,
1269
+ 90
1270
  ],
1271
  "flags": {},
1272
+ "order": 15,
1273
  "mode": 0,
1274
  "inputs": [
1275
  {
1276
+ "localized_name": "image",
1277
+ "name": "image",
1278
+ "type": "IMAGE",
1279
+ "link": 24
1280
  }
1281
  ],
1282
  "outputs": [
1283
  {
1284
+ "localized_name": "width",
1285
+ "name": "width",
1286
+ "type": "INT",
1287
+ "links": [
1288
+ 26
1289
+ ]
1290
+ },
1291
+ {
1292
+ "localized_name": "height",
1293
+ "name": "height",
1294
+ "type": "INT",
1295
+ "links": [
1296
+ 27
1297
+ ]
1298
+ },
1299
+ {
1300
+ "localized_name": "batch_size",
1301
+ "name": "batch_size",
1302
+ "type": "INT",
1303
+ "links": null
1304
+ }
1305
+ ],
1306
+ "properties": {
1307
+ "Node name for S&R": "GetImageSize"
1308
+ }
1309
+ },
1310
+ {
1311
+ "id": 23,
1312
+ "type": "ResizeAndPadImage",
1313
+ "pos": [
1314
+ 820,
1315
+ 980
1316
+ ],
1317
+ "size": [
1318
+ 300,
1319
+ 170
1320
+ ],
1321
+ "flags": {},
1322
+ "order": 16,
1323
+ "mode": 0,
1324
+ "inputs": [
1325
+ {
1326
+ "localized_name": "image",
1327
+ "name": "image",
1328
+ "type": "IMAGE",
1329
+ "link": 25
1330
+ },
1331
+ {
1332
+ "localized_name": "target_width",
1333
+ "name": "target_width",
1334
+ "type": "INT",
1335
+ "widget": {
1336
+ "name": "target_width"
1337
+ },
1338
+ "link": 26
1339
+ },
1340
+ {
1341
+ "localized_name": "target_height",
1342
+ "name": "target_height",
1343
+ "type": "INT",
1344
+ "widget": {
1345
+ "name": "target_height"
1346
+ },
1347
+ "link": 27
1348
+ },
1349
+ {
1350
+ "localized_name": "padding_color",
1351
+ "name": "padding_color",
1352
+ "type": "COMBO",
1353
+ "widget": {
1354
+ "name": "padding_color"
1355
+ },
1356
+ "link": null
1357
+ },
1358
+ {
1359
+ "localized_name": "interpolation",
1360
+ "name": "interpolation",
1361
+ "type": "COMBO",
1362
+ "widget": {
1363
+ "name": "interpolation"
1364
+ },
1365
+ "link": null
1366
+ }
1367
+ ],
1368
+ "outputs": [
1369
+ {
1370
+ "localized_name": "IMAGE",
1371
+ "name": "IMAGE",
1372
+ "type": "IMAGE",
1373
+ "links": [
1374
+ 29
1375
+ ]
1376
+ }
1377
+ ],
1378
+ "title": "image_2 padded to image_1",
1379
+ "properties": {
1380
+ "Node name for S&R": "ResizeAndPadImage"
1381
+ },
1382
+ "widgets_values": [
1383
+ 512,
1384
+ 512,
1385
+ "white",
1386
+ "lanczos"
1387
+ ],
1388
+ "widgets_values_named": {
1389
+ "target_width": 512,
1390
+ "target_height": 512,
1391
+ "padding_color": "white",
1392
+ "interpolation": "lanczos"
1393
+ }
1394
+ },
1395
+ {
1396
+ "id": 24,
1397
+ "type": "BatchImagesNode",
1398
+ "pos": [
1399
+ 820,
1400
+ 1190
1401
+ ],
1402
+ "size": [
1403
+ 220,
1404
+ 70
1405
+ ],
1406
+ "flags": {},
1407
+ "order": 17,
1408
+ "mode": 0,
1409
+ "inputs": [
1410
+ {
1411
+ "localized_name": "image0",
1412
+ "name": "images.image0",
1413
+ "type": "IMAGE",
1414
+ "link": 28
1415
+ },
1416
+ {
1417
+ "localized_name": "image1",
1418
+ "name": "images.image1",
1419
+ "shape": 7,
1420
+ "type": "IMAGE",
1421
+ "link": 29
1422
+ },
1423
+ {
1424
+ "localized_name": "image2",
1425
+ "name": "images.image2",
1426
+ "shape": 7,
1427
+ "type": "IMAGE",
1428
+ "link": null
1429
+ }
1430
+ ],
1431
+ "outputs": [
1432
+ {
1433
+ "localized_name": "IMAGE",
1434
+ "name": "IMAGE",
1435
+ "type": "IMAGE",
1436
+ "links": [
1437
+ 31
1438
+ ]
1439
+ }
1440
+ ],
1441
+ "properties": {
1442
+ "Node name for S&R": "BatchImagesNode"
1443
+ }
1444
+ },
1445
+ {
1446
+ "id": 25,
1447
+ "type": "TextGenerate",
1448
+ "pos": [
1449
+ 1180,
1450
+ 700
1451
+ ],
1452
+ "size": [
1453
+ 400,
1454
+ 288
1455
+ ],
1456
+ "flags": {},
1457
+ "order": 18,
1458
+ "mode": 0,
1459
+ "inputs": [
1460
+ {
1461
+ "localized_name": "clip",
1462
+ "name": "clip",
1463
+ "type": "CLIP",
1464
+ "link": 30
1465
+ },
1466
+ {
1467
+ "localized_name": "image",
1468
+ "name": "image",
1469
+ "shape": 7,
1470
+ "type": "IMAGE",
1471
+ "link": 31
1472
+ },
1473
+ {
1474
+ "localized_name": "video",
1475
+ "name": "video",
1476
+ "shape": 7,
1477
+ "type": "IMAGE",
1478
+ "link": null
1479
+ },
1480
+ {
1481
+ "localized_name": "audio",
1482
+ "name": "audio",
1483
+ "shape": 7,
1484
+ "type": "AUDIO",
1485
+ "link": null
1486
+ },
1487
+ {
1488
+ "localized_name": "system_prompt",
1489
+ "name": "system_prompt",
1490
+ "shape": 7,
1491
+ "type": "STRING",
1492
+ "link": null
1493
+ },
1494
+ {
1495
+ "localized_name": "prompt",
1496
+ "name": "prompt",
1497
+ "type": "STRING",
1498
+ "widget": {
1499
+ "name": "prompt"
1500
+ },
1501
+ "link": 32
1502
+ },
1503
+ {
1504
+ "localized_name": "max_length",
1505
+ "name": "max_length",
1506
+ "type": "INT",
1507
+ "widget": {
1508
+ "name": "max_length"
1509
+ },
1510
+ "link": null
1511
+ },
1512
+ {
1513
+ "localized_name": "Sampling Mode",
1514
+ "name": "sampling_mode",
1515
+ "type": "COMFY_DYNAMICCOMBO_V3",
1516
+ "widget": {
1517
+ "name": "sampling_mode"
1518
+ },
1519
+ "link": null
1520
+ },
1521
+ {
1522
+ "localized_name": "thinking",
1523
+ "name": "thinking",
1524
+ "shape": 7,
1525
+ "type": "BOOLEAN",
1526
+ "widget": {
1527
+ "name": "thinking"
1528
+ },
1529
+ "link": null
1530
+ },
1531
+ {
1532
+ "localized_name": "use_default_template",
1533
+ "name": "use_default_template",
1534
+ "shape": 7,
1535
+ "type": "BOOLEAN",
1536
+ "widget": {
1537
+ "name": "use_default_template"
1538
+ },
1539
+ "link": null
1540
+ },
1541
+ {
1542
+ "localized_name": "mtp",
1543
+ "name": "mtp",
1544
+ "shape": 7,
1545
+ "type": "COMBO",
1546
+ "widget": {
1547
+ "name": "mtp"
1548
+ },
1549
+ "link": null
1550
+ }
1551
+ ],
1552
+ "outputs": [
1553
+ {
1554
+ "localized_name": "generated_text",
1555
+ "name": "generated_text",
1556
+ "type": "STRING",
1557
+ "links": [
1558
+ 34
1559
+ ]
1560
+ },
1561
+ {
1562
+ "localized_name": "thinking",
1563
+ "name": "thinking",
1564
+ "type": "STRING",
1565
+ "links": null
1566
+ }
1567
+ ],
1568
+ "title": "Prompt upsampler",
1569
+ "properties": {
1570
+ "Node name for S&R": "TextGenerate"
1571
+ },
1572
+ "widgets_values": [
1573
+ "",
1574
+ 3072,
1575
+ "off",
1576
+ false,
1577
+ true,
1578
+ "auto"
1579
+ ],
1580
+ "widgets_values_named": {
1581
+ "prompt": "",
1582
+ "max_length": 3072,
1583
+ "sampling_mode": "off",
1584
+ "thinking": false,
1585
+ "use_default_template": true,
1586
+ "mtp": "auto"
1587
+ }
1588
+ },
1589
+ {
1590
+ "id": 26,
1591
+ "type": "ComfySwitchNode",
1592
+ "pos": [
1593
+ 1180,
1594
+ 1030
1595
+ ],
1596
+ "size": [
1597
+ 300,
1598
+ 80
1599
+ ],
1600
+ "flags": {},
1601
+ "order": 19,
1602
+ "mode": 0,
1603
+ "inputs": [
1604
+ {
1605
+ "localized_name": "on_false",
1606
+ "name": "on_false",
1607
+ "shape": 7,
1608
+ "type": "STRING",
1609
+ "link": 33
1610
+ },
1611
+ {
1612
+ "localized_name": "on_true",
1613
+ "name": "on_true",
1614
+ "shape": 7,
1615
+ "type": "STRING",
1616
+ "link": 34
1617
+ },
1618
+ {
1619
+ "localized_name": "switch",
1620
+ "name": "switch",
1621
+ "type": "BOOLEAN",
1622
+ "widget": {
1623
+ "name": "switch"
1624
+ },
1625
+ "link": null
1626
+ }
1627
+ ],
1628
+ "outputs": [
1629
+ {
1630
+ "localized_name": "output",
1631
+ "name": "output",
1632
+ "type": "STRING",
1633
+ "links": [
1634
+ 35,
1635
+ 36
1636
+ ]
1637
+ }
1638
+ ],
1639
+ "title": "Use prompt upsampler",
1640
+ "properties": {
1641
+ "Node name for S&R": "ComfySwitchNode"
1642
+ },
1643
+ "widgets_values": [
1644
+ true
1645
+ ],
1646
+ "widgets_values_named": {
1647
+ "switch": true
1648
+ }
1649
+ },
1650
+ {
1651
+ "id": 27,
1652
+ "type": "MarkdownNote",
1653
+ "pos": [
1654
+ 380,
1655
+ 1200
1656
+ ],
1657
+ "size": [
1658
+ 400,
1659
+ 260
1660
+ ],
1661
+ "flags": {},
1662
+ "order": 10,
1663
+ "mode": 0,
1664
+ "inputs": [],
1665
+ "outputs": [],
1666
+ "title": "Prompt upsampler",
1667
+ "properties": {},
1668
+ "widgets_values": [
1669
+ "**Prompt upsampler.** Type a short edit request in **Request**, with `<Picture 1>` for the image to edit and `<Picture 2>` for the reference. The upsampler (Generate Text) sees both images and turns the request into an edit brief, shown in the preview.\n\nFor another number of images, add or remove a `<Picture N>: <|vision_start|><|image_pad|><|vision_end|>` block in **Upsampler input** and the image in **Batch Images**, padded to image_1's size.\n\nSet **Use prompt upsampler** to false to send the request to the model as it is."
1670
+ ],
1671
+ "widgets_values_named": {
1672
+ "text": "**Prompt upsampler.** Type a short edit request in **Request**, with `<Picture 1>` for the image to edit and `<Picture 2>` for the reference. The upsampler (Generate Text) sees both images and turns the request into an edit brief, shown in the preview.\n\nFor another number of images, add or remove a `<Picture N>: <|vision_start|><|image_pad|><|vision_end|>` block in **Upsampler input** and the image in **Batch Images**, padded to image_1's size.\n\nSet **Use prompt upsampler** to false to send the request to the model as it is."
1673
+ },
1674
+ "color": "#432",
1675
+ "bgcolor": "#653"
1676
+ }
1677
+ ],
1678
+ "links": [
1679
  [
1680
  5,
1681
  15,
 
1773
  "MODEL"
1774
  ],
1775
  [
1776
+ 1,
1777
+ 2,
1778
  0,
1779
+ 6,
1780
  0,
1781
  "CLIP"
1782
  ],
1783
  [
1784
+ 2,
1785
+ 3,
1786
  0,
1787
+ 6,
1788
  1,
1789
+ "VAE"
1790
+ ],
1791
+ [
1792
+ 3,
1793
+ 4,
1794
+ 0,
1795
+ 6,
1796
+ 2,
1797
+ "IMAGE"
1798
+ ],
1799
+ [
1800
+ 4,
1801
+ 5,
1802
+ 0,
1803
+ 6,
1804
+ 3,
1805
  "IMAGE"
1806
  ],
1807
  [
1808
+ 22,
1809
  19,
1810
+ 0,
1811
+ 20,
1812
+ 0,
1813
+ "STRING"
1814
+ ],
1815
+ [
1816
+ 23,
1817
+ 4,
1818
+ 0,
1819
+ 21,
1820
+ 0,
1821
+ "IMAGE"
1822
+ ],
1823
+ [
1824
+ 24,
1825
+ 21,
1826
+ 0,
1827
+ 22,
1828
+ 0,
1829
+ "IMAGE"
1830
+ ],
1831
+ [
1832
+ 25,
1833
  5,
1834
  0,
1835
+ 23,
1836
+ 0,
1837
+ "IMAGE"
1838
+ ],
1839
+ [
1840
+ 26,
1841
+ 22,
1842
+ 0,
1843
+ 23,
1844
+ 1,
1845
+ "INT"
1846
+ ],
1847
+ [
1848
+ 27,
1849
+ 22,
1850
+ 1,
1851
+ 23,
1852
  2,
1853
+ "INT"
1854
+ ],
1855
+ [
1856
+ 28,
1857
+ 21,
1858
+ 0,
1859
+ 24,
1860
+ 0,
1861
+ "IMAGE"
1862
+ ],
1863
+ [
1864
+ 29,
1865
+ 23,
1866
+ 0,
1867
+ 24,
1868
+ 1,
1869
+ "IMAGE"
1870
+ ],
1871
+ [
1872
+ 30,
1873
+ 16,
1874
+ 0,
1875
+ 25,
1876
+ 0,
1877
+ "CLIP"
1878
+ ],
1879
+ [
1880
+ 31,
1881
+ 24,
1882
+ 0,
1883
+ 25,
1884
+ 1,
1885
  "IMAGE"
1886
  ],
1887
  [
1888
+ 32,
1889
  20,
 
1890
  0,
1891
+ 25,
1892
  5,
1893
  "STRING"
1894
  ],
1895
  [
1896
+ 33,
1897
+ 19,
1898
+ 0,
1899
+ 26,
1900
+ 0,
1901
+ "STRING"
1902
+ ],
1903
+ [
1904
+ 34,
1905
+ 25,
1906
+ 0,
1907
+ 26,
1908
+ 1,
1909
+ "STRING"
1910
+ ],
1911
+ [
1912
+ 35,
1913
+ 26,
1914
+ 0,
1915
+ 6,
1916
+ 6,
1917
+ "STRING"
1918
+ ],
1919
+ [
1920
+ 36,
1921
+ 26,
1922
  0,
1923
  18,
1924
  0,
 
1929
  "config": {},
1930
  "extra": {
1931
  "ds": {
1932
+ "scale": 0.6,
1933
  "offset": [
1934
+ 40,
1935
+ 40
1936
  ]
1937
  }
1938
  },
workflows/p-h3-image_lora_text_to_image.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "id": "00000000-0000-0000-0000-000000000000",
3
  "revision": 0,
4
- "last_node_id": 17,
5
- "last_link_id": 18,
6
  "nodes": [
7
  {
8
  "id": 1,
@@ -23,19 +23,19 @@
23
  "localized_name": "unet_name",
24
  "name": "unet_name",
25
  "type": "COMBO",
26
- "link": null,
27
  "widget": {
28
  "name": "unet_name"
29
- }
 
30
  },
31
  {
32
  "localized_name": "weight_dtype",
33
  "name": "weight_dtype",
34
  "type": "COMBO",
35
- "link": null,
36
  "widget": {
37
  "name": "weight_dtype"
38
- }
 
39
  }
40
  ],
41
  "outputs": [
@@ -63,7 +63,11 @@
63
  "widgets_values": [
64
  "minimax_h3_fl2va_bf16.safetensors",
65
  "default"
66
- ]
 
 
 
 
67
  },
68
  {
69
  "id": 2,
@@ -77,17 +81,17 @@
77
  58
78
  ],
79
  "flags": {},
80
- "order": 3,
81
  "mode": 0,
82
  "inputs": [
83
  {
84
  "localized_name": "text_encoder_name",
85
  "name": "text_encoder_name",
86
  "type": "COMBO",
87
- "link": null,
88
  "widget": {
89
  "name": "text_encoder_name"
90
- }
 
91
  }
92
  ],
93
  "outputs": [
@@ -114,7 +118,10 @@
114
  },
115
  "widgets_values": [
116
  "p-h3-image_text_encoder_bf16.safetensors"
117
- ]
 
 
 
118
  },
119
  {
120
  "id": 3,
@@ -128,17 +135,17 @@
128
  58
129
  ],
130
  "flags": {},
131
- "order": 4,
132
  "mode": 0,
133
  "inputs": [
134
  {
135
  "localized_name": "vae_name",
136
  "name": "vae_name",
137
  "type": "COMBO",
138
- "link": null,
139
  "widget": {
140
  "name": "vae_name"
141
- }
 
142
  }
143
  ],
144
  "outputs": [
@@ -165,7 +172,10 @@
165
  },
166
  "widgets_values": [
167
  "p-h3-image_vae_bf16.safetensors"
168
- ]
 
 
 
169
  },
170
  {
171
  "id": 4,
@@ -179,7 +189,7 @@
179
  200
180
  ],
181
  "flags": {},
182
- "order": 5,
183
  "mode": 0,
184
  "inputs": [
185
  {
@@ -192,10 +202,10 @@
192
  "localized_name": "text",
193
  "name": "text",
194
  "type": "STRING",
195
- "link": 15,
196
  "widget": {
197
  "name": "text"
198
- }
 
199
  }
200
  ],
201
  "outputs": [
@@ -215,7 +225,10 @@
215
  },
216
  "widgets_values": [
217
  "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
218
- ]
 
 
 
219
  },
220
  {
221
  "id": 5,
@@ -229,26 +242,26 @@
229
  82
230
  ],
231
  "flags": {},
232
- "order": 6,
233
  "mode": 0,
234
  "inputs": [
235
  {
236
  "localized_name": "width",
237
  "name": "width",
238
  "type": "INT",
239
- "link": 16,
240
  "widget": {
241
  "name": "width"
242
- }
 
243
  },
244
  {
245
  "localized_name": "height",
246
  "name": "height",
247
  "type": "INT",
248
- "link": 17,
249
  "widget": {
250
  "name": "height"
251
- }
 
252
  }
253
  ],
254
  "outputs": [
@@ -269,7 +282,11 @@
269
  "widgets_values": [
270
  2912,
271
  2912
272
- ]
 
 
 
 
273
  },
274
  {
275
  "id": 6,
@@ -283,17 +300,17 @@
283
  82
284
  ],
285
  "flags": {},
286
- "order": 7,
287
  "mode": 0,
288
  "inputs": [
289
  {
290
  "localized_name": "sigmas",
291
  "name": "sigmas",
292
  "type": "STRING",
293
- "link": null,
294
  "widget": {
295
  "name": "sigmas"
296
- }
 
297
  }
298
  ],
299
  "outputs": [
@@ -313,7 +330,10 @@
313
  },
314
  "widgets_values": [
315
  "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
316
- ]
 
 
 
317
  },
318
  {
319
  "id": 7,
@@ -327,7 +347,7 @@
327
  46
328
  ],
329
  "flags": {},
330
- "order": 8,
331
  "mode": 0,
332
  "inputs": [
333
  {
@@ -357,8 +377,7 @@
357
  "Node name for S&R": "BasicGuider",
358
  "cnr_id": "comfy-core",
359
  "ver": "0.43.0"
360
- },
361
- "widgets_values": []
362
  },
363
  {
364
  "id": 8,
@@ -372,17 +391,17 @@
372
  58
373
  ],
374
  "flags": {},
375
- "order": 9,
376
  "mode": 0,
377
  "inputs": [
378
  {
379
  "localized_name": "sampler_name",
380
  "name": "sampler_name",
381
  "type": "COMBO",
382
- "link": null,
383
  "widget": {
384
  "name": "sampler_name"
385
- }
 
386
  }
387
  ],
388
  "outputs": [
@@ -402,7 +421,10 @@
402
  },
403
  "widgets_values": [
404
  "euler"
405
- ]
 
 
 
406
  },
407
  {
408
  "id": 9,
@@ -416,17 +438,17 @@
416
  82
417
  ],
418
  "flags": {},
419
- "order": 10,
420
  "mode": 0,
421
  "inputs": [
422
  {
423
  "localized_name": "noise_seed",
424
  "name": "noise_seed",
425
  "type": "INT",
426
- "link": null,
427
  "widget": {
428
  "name": "noise_seed"
429
- }
 
430
  }
431
  ],
432
  "outputs": [
@@ -447,7 +469,11 @@
447
  "widgets_values": [
448
  0,
449
  "randomize"
450
- ]
 
 
 
 
451
  },
452
  {
453
  "id": 10,
@@ -461,7 +487,7 @@
461
  330
462
  ],
463
  "flags": {},
464
- "order": 11,
465
  "mode": 0,
466
  "inputs": [
467
  {
@@ -515,8 +541,7 @@
515
  "Node name for S&R": "SamplerCustomAdvanced",
516
  "cnr_id": "comfy-core",
517
  "ver": "0.43.0"
518
- },
519
- "widgets_values": []
520
  },
521
  {
522
  "id": 11,
@@ -530,7 +555,7 @@
530
  46
531
  ],
532
  "flags": {},
533
- "order": 12,
534
  "mode": 0,
535
  "inputs": [
536
  {
@@ -560,8 +585,7 @@
560
  "Node name for S&R": "VAEDecode",
561
  "cnr_id": "comfy-core",
562
  "ver": "0.43.0"
563
- },
564
- "widgets_values": []
565
  },
566
  {
567
  "id": 12,
@@ -575,7 +599,7 @@
575
  560
576
  ],
577
  "flags": {},
578
- "order": 13,
579
  "mode": 0,
580
  "inputs": [
581
  {
@@ -588,13 +612,20 @@
588
  "localized_name": "filename_prefix",
589
  "name": "filename_prefix",
590
  "type": "STRING",
591
- "link": null,
592
  "widget": {
593
  "name": "filename_prefix"
594
- }
 
 
 
 
 
 
 
 
 
595
  }
596
  ],
597
- "outputs": [],
598
  "properties": {
599
  "Node name for S&R": "SaveImage",
600
  "cnr_id": "comfy-core",
@@ -602,7 +633,10 @@
602
  },
603
  "widgets_values": [
604
  "p-h3-image"
605
- ]
 
 
 
606
  },
607
  {
608
  "id": 13,
@@ -612,11 +646,11 @@
612
  220
613
  ],
614
  "size": [
615
- 320,
616
  82
617
  ],
618
  "flags": {},
619
- "order": 1,
620
  "mode": 0,
621
  "inputs": [
622
  {
@@ -629,19 +663,19 @@
629
  "localized_name": "lora_name",
630
  "name": "lora_name",
631
  "type": "COMBO",
632
- "link": null,
633
  "widget": {
634
  "name": "lora_name"
635
- }
 
636
  },
637
  {
638
  "localized_name": "strength_model",
639
  "name": "strength_model",
640
  "type": "FLOAT",
641
- "link": null,
642
  "widget": {
643
  "name": "strength_model"
644
- }
 
645
  }
646
  ],
647
  "outputs": [
@@ -668,8 +702,12 @@
668
  },
669
  "widgets_values": [
670
  "p-h3-image_lora_bf16.safetensors",
671
- 1.0
672
- ]
 
 
 
 
673
  },
674
  {
675
  "id": 14,
@@ -683,7 +721,7 @@
683
  82
684
  ],
685
  "flags": {},
686
- "order": 2,
687
  "mode": 0,
688
  "inputs": [
689
  {
@@ -696,19 +734,19 @@
696
  "localized_name": "shift_video",
697
  "name": "shift_video",
698
  "type": "FLOAT",
699
- "link": null,
700
  "widget": {
701
  "name": "shift_video"
702
- }
 
703
  },
704
  {
705
  "localized_name": "shift_audio",
706
  "name": "shift_audio",
707
  "type": "FLOAT",
708
- "link": null,
709
  "widget": {
710
  "name": "shift_audio"
711
- }
 
712
  }
713
  ],
714
  "outputs": [
@@ -727,9 +765,13 @@
727
  "ver": "0.43.0"
728
  },
729
  "widgets_values": [
730
- 1.0,
731
- 1.0
732
- ]
 
 
 
 
733
  },
734
  {
735
  "id": 15,
@@ -743,35 +785,36 @@
743
  106
744
  ],
745
  "flags": {},
746
- "order": 14,
747
  "mode": 0,
748
  "inputs": [
749
  {
750
  "localized_name": "clip_name",
751
  "name": "clip_name",
752
  "type": "COMBO",
753
- "link": null,
754
  "widget": {
755
  "name": "clip_name"
756
- }
 
757
  },
758
  {
759
  "localized_name": "type",
760
  "name": "type",
761
  "type": "COMBO",
762
- "link": null,
763
  "widget": {
764
  "name": "type"
765
- }
 
766
  },
767
  {
768
  "localized_name": "device",
769
  "name": "device",
 
770
  "type": "COMBO",
771
- "link": null,
772
  "widget": {
773
  "name": "device"
774
- }
 
775
  }
776
  ],
777
  "outputs": [
@@ -780,10 +823,11 @@
780
  "name": "CLIP",
781
  "type": "CLIP",
782
  "links": [
783
- 14
784
  ]
785
  }
786
  ],
 
787
  "properties": {
788
  "Node name for S&R": "CLIPLoader",
789
  "cnr_id": "comfy-core",
@@ -801,169 +845,474 @@
801
  "minimax",
802
  "default"
803
  ],
804
- "title": "p-h3-image prompt upsampler"
 
 
 
 
805
  },
806
  {
807
- "id": 16,
808
- "type": "p-h3-image_prompt_upsampler",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
809
  "pos": [
810
  380,
811
- 100
812
  ],
813
  "size": [
814
- 420,
815
- 340
816
  ],
817
  "flags": {},
818
- "order": 15,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
819
  "mode": 0,
820
  "inputs": [
821
  {
822
  "localized_name": "clip",
823
  "name": "clip",
824
  "type": "CLIP",
825
- "link": 14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
826
  },
827
  {
828
- "localized_name": "request",
829
- "name": "request",
 
 
 
 
 
 
 
830
  "type": "STRING",
831
- "link": null,
832
  "widget": {
833
- "name": "request"
834
- }
 
835
  },
836
  {
837
- "localized_name": "aspect_ratio",
838
- "name": "aspect_ratio",
839
- "type": "COMBO",
840
- "link": null,
841
  "widget": {
842
- "name": "aspect_ratio"
843
- }
 
844
  },
845
  {
846
- "localized_name": "sampling",
847
- "name": "sampling",
848
- "type": "BOOLEAN",
849
- "link": null,
850
  "widget": {
851
- "name": "sampling"
852
- }
 
853
  },
854
  {
855
- "localized_name": "seed",
856
- "name": "seed",
857
- "type": "INT",
858
- "link": null,
859
  "widget": {
860
- "name": "seed"
861
- }
 
862
  },
863
  {
864
- "localized_name": "retries",
865
- "name": "retries",
866
- "type": "INT",
867
- "link": null,
868
  "widget": {
869
- "name": "retries"
870
- }
 
871
  },
872
  {
873
- "localized_name": "max_new_tokens",
874
- "name": "max_new_tokens",
875
- "type": "INT",
876
- "link": null,
877
  "widget": {
878
- "name": "max_new_tokens"
879
- }
 
880
  }
881
  ],
882
  "outputs": [
883
  {
884
- "localized_name": "prompt",
885
- "name": "prompt",
886
  "type": "STRING",
887
  "links": [
888
- 15,
889
- 18
890
  ]
891
  },
892
  {
893
  "localized_name": "thinking",
894
  "name": "thinking",
895
  "type": "STRING",
896
- "links": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
897
  },
898
  {
899
- "localized_name": "width",
900
- "name": "width",
901
- "type": "INT",
902
- "links": [
903
- 16
904
- ]
905
  },
906
  {
907
- "localized_name": "height",
908
- "name": "height",
909
- "type": "INT",
 
 
 
 
 
 
 
 
 
 
 
910
  "links": [
911
- 17
 
912
  ]
913
  }
914
  ],
 
915
  "properties": {
916
- "Node name for S&R": "p-h3-image_prompt_upsampler",
917
- "cnr_id": "p-h3-image",
918
- "ver": "0.1.0"
919
  },
920
  "widgets_values": [
921
- "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo",
922
- "1:1",
923
- false,
924
- 0,
925
- "fixed",
926
- 2,
927
- 1024
928
- ]
929
  },
930
  {
931
- "id": 17,
932
- "type": "PreviewAny",
933
  "pos": [
934
- 860,
935
- 560
936
- ],
937
- "size": [
938
  420,
939
  360
940
  ],
 
 
 
 
941
  "flags": {},
942
- "order": 16,
943
  "mode": 0,
944
  "inputs": [
945
  {
946
- "localized_name": "source",
947
- "name": "source",
948
- "type": "*",
949
- "link": 18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
950
  }
951
  ],
952
  "outputs": [
953
  {
954
- "localized_name": "STRING",
955
- "name": "STRING",
956
- "type": "STRING",
957
- "links": []
 
 
 
 
 
 
 
 
 
 
958
  }
959
  ],
960
  "properties": {
961
- "Node name for S&R": "PreviewAny",
962
- "cnr_id": "comfy-core",
963
- "ver": "0.43.0"
964
  },
965
- "widgets_values": [],
966
- "title": "Upsampled prompt"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
967
  }
968
  ],
969
  "links": [
@@ -1072,54 +1421,86 @@
1072
  "MODEL"
1073
  ],
1074
  [
1075
- 14,
 
 
 
 
 
 
 
 
1076
  15,
1077
  0,
1078
- 16,
1079
  0,
1080
  "CLIP"
1081
  ],
1082
  [
1083
- 15,
1084
- 16,
1085
  0,
1086
- 4,
1087
- 1,
1088
  "STRING"
1089
  ],
1090
  [
1091
- 16,
1092
- 16,
1093
- 2,
1094
- 5,
1095
  0,
1096
- "INT"
 
 
1097
  ],
1098
  [
1099
- 17,
1100
- 16,
1101
- 3,
1102
- 5,
1103
  1,
1104
- "INT"
1105
  ],
1106
  [
1107
- 18,
1108
- 16,
 
 
 
 
 
 
 
 
1109
  0,
1110
  17,
1111
  0,
1112
  "STRING"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1113
  ]
1114
  ],
1115
  "groups": [],
1116
  "config": {},
1117
  "extra": {
1118
  "ds": {
1119
- "scale": 0.8,
1120
  "offset": [
1121
- 0,
1122
- 0
1123
  ]
1124
  }
1125
  },
 
1
  {
2
  "id": "00000000-0000-0000-0000-000000000000",
3
  "revision": 0,
4
+ "last_node_id": 23,
5
+ "last_link_id": 27,
6
  "nodes": [
7
  {
8
  "id": 1,
 
23
  "localized_name": "unet_name",
24
  "name": "unet_name",
25
  "type": "COMBO",
 
26
  "widget": {
27
  "name": "unet_name"
28
+ },
29
+ "link": null
30
  },
31
  {
32
  "localized_name": "weight_dtype",
33
  "name": "weight_dtype",
34
  "type": "COMBO",
 
35
  "widget": {
36
  "name": "weight_dtype"
37
+ },
38
+ "link": null
39
  }
40
  ],
41
  "outputs": [
 
63
  "widgets_values": [
64
  "minimax_h3_fl2va_bf16.safetensors",
65
  "default"
66
+ ],
67
+ "widgets_values_named": {
68
+ "unet_name": "minimax_h3_fl2va_bf16.safetensors",
69
+ "weight_dtype": "default"
70
+ }
71
  },
72
  {
73
  "id": 2,
 
81
  58
82
  ],
83
  "flags": {},
84
+ "order": 1,
85
  "mode": 0,
86
  "inputs": [
87
  {
88
  "localized_name": "text_encoder_name",
89
  "name": "text_encoder_name",
90
  "type": "COMBO",
 
91
  "widget": {
92
  "name": "text_encoder_name"
93
+ },
94
+ "link": null
95
  }
96
  ],
97
  "outputs": [
 
118
  },
119
  "widgets_values": [
120
  "p-h3-image_text_encoder_bf16.safetensors"
121
+ ],
122
+ "widgets_values_named": {
123
+ "text_encoder_name": "p-h3-image_text_encoder_bf16.safetensors"
124
+ }
125
  },
126
  {
127
  "id": 3,
 
135
  58
136
  ],
137
  "flags": {},
138
+ "order": 2,
139
  "mode": 0,
140
  "inputs": [
141
  {
142
  "localized_name": "vae_name",
143
  "name": "vae_name",
144
  "type": "COMBO",
 
145
  "widget": {
146
  "name": "vae_name"
147
+ },
148
+ "link": null
149
  }
150
  ],
151
  "outputs": [
 
172
  },
173
  "widgets_values": [
174
  "p-h3-image_vae_bf16.safetensors"
175
+ ],
176
+ "widgets_values_named": {
177
+ "vae_name": "p-h3-image_vae_bf16.safetensors"
178
+ }
179
  },
180
  {
181
  "id": 4,
 
189
  200
190
  ],
191
  "flags": {},
192
+ "order": 16,
193
  "mode": 0,
194
  "inputs": [
195
  {
 
202
  "localized_name": "text",
203
  "name": "text",
204
  "type": "STRING",
 
205
  "widget": {
206
  "name": "text"
207
+ },
208
+ "link": 24
209
  }
210
  ],
211
  "outputs": [
 
225
  },
226
  "widgets_values": [
227
  "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
228
+ ],
229
+ "widgets_values_named": {
230
+ "text": "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
231
+ }
232
  },
233
  {
234
  "id": 5,
 
242
  82
243
  ],
244
  "flags": {},
245
+ "order": 12,
246
  "mode": 0,
247
  "inputs": [
248
  {
249
  "localized_name": "width",
250
  "name": "width",
251
  "type": "INT",
 
252
  "widget": {
253
  "name": "width"
254
+ },
255
+ "link": 26
256
  },
257
  {
258
  "localized_name": "height",
259
  "name": "height",
260
  "type": "INT",
 
261
  "widget": {
262
  "name": "height"
263
+ },
264
+ "link": 27
265
  }
266
  ],
267
  "outputs": [
 
282
  "widgets_values": [
283
  2912,
284
  2912
285
+ ],
286
+ "widgets_values_named": {
287
+ "width": 2912,
288
+ "height": 2912
289
+ }
290
  },
291
  {
292
  "id": 6,
 
300
  82
301
  ],
302
  "flags": {},
303
+ "order": 3,
304
  "mode": 0,
305
  "inputs": [
306
  {
307
  "localized_name": "sigmas",
308
  "name": "sigmas",
309
  "type": "STRING",
 
310
  "widget": {
311
  "name": "sigmas"
312
+ },
313
+ "link": null
314
  }
315
  ],
316
  "outputs": [
 
330
  },
331
  "widgets_values": [
332
  "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
333
+ ],
334
+ "widgets_values_named": {
335
+ "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
336
+ }
337
  },
338
  {
339
  "id": 7,
 
347
  46
348
  ],
349
  "flags": {},
350
+ "order": 18,
351
  "mode": 0,
352
  "inputs": [
353
  {
 
377
  "Node name for S&R": "BasicGuider",
378
  "cnr_id": "comfy-core",
379
  "ver": "0.43.0"
380
+ }
 
381
  },
382
  {
383
  "id": 8,
 
391
  58
392
  ],
393
  "flags": {},
394
+ "order": 4,
395
  "mode": 0,
396
  "inputs": [
397
  {
398
  "localized_name": "sampler_name",
399
  "name": "sampler_name",
400
  "type": "COMBO",
 
401
  "widget": {
402
  "name": "sampler_name"
403
+ },
404
+ "link": null
405
  }
406
  ],
407
  "outputs": [
 
421
  },
422
  "widgets_values": [
423
  "euler"
424
+ ],
425
+ "widgets_values_named": {
426
+ "sampler_name": "euler"
427
+ }
428
  },
429
  {
430
  "id": 9,
 
438
  82
439
  ],
440
  "flags": {},
441
+ "order": 5,
442
  "mode": 0,
443
  "inputs": [
444
  {
445
  "localized_name": "noise_seed",
446
  "name": "noise_seed",
447
  "type": "INT",
 
448
  "widget": {
449
  "name": "noise_seed"
450
+ },
451
+ "link": null
452
  }
453
  ],
454
  "outputs": [
 
469
  "widgets_values": [
470
  0,
471
  "randomize"
472
+ ],
473
+ "widgets_values_named": {
474
+ "noise_seed": 0,
475
+ "control_after_generate": "randomize"
476
+ }
477
  },
478
  {
479
  "id": 10,
 
487
  330
488
  ],
489
  "flags": {},
490
+ "order": 19,
491
  "mode": 0,
492
  "inputs": [
493
  {
 
541
  "Node name for S&R": "SamplerCustomAdvanced",
542
  "cnr_id": "comfy-core",
543
  "ver": "0.43.0"
544
+ }
 
545
  },
546
  {
547
  "id": 11,
 
555
  46
556
  ],
557
  "flags": {},
558
+ "order": 20,
559
  "mode": 0,
560
  "inputs": [
561
  {
 
585
  "Node name for S&R": "VAEDecode",
586
  "cnr_id": "comfy-core",
587
  "ver": "0.43.0"
588
+ }
 
589
  },
590
  {
591
  "id": 12,
 
599
  560
600
  ],
601
  "flags": {},
602
+ "order": 21,
603
  "mode": 0,
604
  "inputs": [
605
  {
 
612
  "localized_name": "filename_prefix",
613
  "name": "filename_prefix",
614
  "type": "STRING",
 
615
  "widget": {
616
  "name": "filename_prefix"
617
+ },
618
+ "link": null
619
+ }
620
+ ],
621
+ "outputs": [
622
+ {
623
+ "localized_name": "images",
624
+ "name": "images",
625
+ "type": "IMAGE",
626
+ "links": null
627
  }
628
  ],
 
629
  "properties": {
630
  "Node name for S&R": "SaveImage",
631
  "cnr_id": "comfy-core",
 
633
  },
634
  "widgets_values": [
635
  "p-h3-image"
636
+ ],
637
+ "widgets_values_named": {
638
+ "filename_prefix": "p-h3-image"
639
+ }
640
  },
641
  {
642
  "id": 13,
 
646
  220
647
  ],
648
  "size": [
649
+ 365.1333984375,
650
  82
651
  ],
652
  "flags": {},
653
+ "order": 10,
654
  "mode": 0,
655
  "inputs": [
656
  {
 
663
  "localized_name": "lora_name",
664
  "name": "lora_name",
665
  "type": "COMBO",
 
666
  "widget": {
667
  "name": "lora_name"
668
+ },
669
+ "link": null
670
  },
671
  {
672
  "localized_name": "strength_model",
673
  "name": "strength_model",
674
  "type": "FLOAT",
 
675
  "widget": {
676
  "name": "strength_model"
677
+ },
678
+ "link": null
679
  }
680
  ],
681
  "outputs": [
 
702
  },
703
  "widgets_values": [
704
  "p-h3-image_lora_bf16.safetensors",
705
+ 1
706
+ ],
707
+ "widgets_values_named": {
708
+ "lora_name": "p-h3-image_lora_bf16.safetensors",
709
+ "strength_model": 1
710
+ }
711
  },
712
  {
713
  "id": 14,
 
721
  82
722
  ],
723
  "flags": {},
724
+ "order": 13,
725
  "mode": 0,
726
  "inputs": [
727
  {
 
734
  "localized_name": "shift_video",
735
  "name": "shift_video",
736
  "type": "FLOAT",
 
737
  "widget": {
738
  "name": "shift_video"
739
+ },
740
+ "link": null
741
  },
742
  {
743
  "localized_name": "shift_audio",
744
  "name": "shift_audio",
745
  "type": "FLOAT",
 
746
  "widget": {
747
  "name": "shift_audio"
748
+ },
749
+ "link": null
750
  }
751
  ],
752
  "outputs": [
 
765
  "ver": "0.43.0"
766
  },
767
  "widgets_values": [
768
+ 1,
769
+ 1
770
+ ],
771
+ "widgets_values_named": {
772
+ "shift_video": 1,
773
+ "shift_audio": 1
774
+ }
775
  },
776
  {
777
  "id": 15,
 
785
  106
786
  ],
787
  "flags": {},
788
+ "order": 6,
789
  "mode": 0,
790
  "inputs": [
791
  {
792
  "localized_name": "clip_name",
793
  "name": "clip_name",
794
  "type": "COMBO",
 
795
  "widget": {
796
  "name": "clip_name"
797
+ },
798
+ "link": null
799
  },
800
  {
801
  "localized_name": "type",
802
  "name": "type",
803
  "type": "COMBO",
 
804
  "widget": {
805
  "name": "type"
806
+ },
807
+ "link": null
808
  },
809
  {
810
  "localized_name": "device",
811
  "name": "device",
812
+ "shape": 7,
813
  "type": "COMBO",
 
814
  "widget": {
815
  "name": "device"
816
+ },
817
+ "link": null
818
  }
819
  ],
820
  "outputs": [
 
823
  "name": "CLIP",
824
  "type": "CLIP",
825
  "links": [
826
+ 20
827
  ]
828
  }
829
  ],
830
+ "title": "p-h3-image prompt upsampler",
831
  "properties": {
832
  "Node name for S&R": "CLIPLoader",
833
  "cnr_id": "comfy-core",
 
845
  "minimax",
846
  "default"
847
  ],
848
+ "widgets_values_named": {
849
+ "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors",
850
+ "type": "minimax",
851
+ "device": "default"
852
+ }
853
  },
854
  {
855
+ "id": 17,
856
+ "type": "PreviewAny",
857
+ "pos": [
858
+ 1700,
859
+ 880
860
+ ],
861
+ "size": [
862
+ 480,
863
+ 360
864
+ ],
865
+ "flags": {},
866
+ "order": 17,
867
+ "mode": 0,
868
+ "inputs": [
869
+ {
870
+ "localized_name": "source",
871
+ "name": "source",
872
+ "type": "*",
873
+ "link": 25
874
+ }
875
+ ],
876
+ "outputs": [
877
+ {
878
+ "localized_name": "STRING",
879
+ "name": "STRING",
880
+ "type": "STRING",
881
+ "links": []
882
+ }
883
+ ],
884
+ "title": "Upsampled prompt",
885
+ "properties": {
886
+ "Node name for S&R": "PreviewAny",
887
+ "cnr_id": "comfy-core",
888
+ "ver": "0.43.0"
889
+ },
890
+ "widgets_values": [],
891
+ "widgets_values_named": {}
892
+ },
893
+ {
894
+ "id": 18,
895
+ "type": "PrimitiveStringMultiline",
896
  "pos": [
897
  380,
898
+ 760
899
  ],
900
  "size": [
901
+ 400,
902
+ 200
903
  ],
904
  "flags": {},
905
+ "order": 7,
906
+ "mode": 0,
907
+ "inputs": [
908
+ {
909
+ "localized_name": "value",
910
+ "name": "value",
911
+ "type": "STRING",
912
+ "widget": {
913
+ "name": "value"
914
+ },
915
+ "link": null
916
+ }
917
+ ],
918
+ "outputs": [
919
+ {
920
+ "localized_name": "STRING",
921
+ "name": "STRING",
922
+ "type": "STRING",
923
+ "links": [
924
+ 19,
925
+ 22
926
+ ]
927
+ }
928
+ ],
929
+ "title": "Request",
930
+ "properties": {
931
+ "Node name for S&R": "PrimitiveStringMultiline"
932
+ },
933
+ "widgets_values": [
934
+ "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
935
+ ],
936
+ "widgets_values_named": {
937
+ "value": "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
938
+ }
939
+ },
940
+ {
941
+ "id": 19,
942
+ "type": "StringFormat",
943
+ "pos": [
944
+ 820,
945
+ 760
946
+ ],
947
+ "size": [
948
+ 400,
949
+ 160
950
+ ],
951
+ "flags": {},
952
+ "order": 11,
953
+ "mode": 0,
954
+ "inputs": [
955
+ {
956
+ "localized_name": "a",
957
+ "name": "values.a",
958
+ "shape": 7,
959
+ "type": "*",
960
+ "link": 19
961
+ },
962
+ {
963
+ "localized_name": "b",
964
+ "name": "values.b",
965
+ "shape": 7,
966
+ "type": "*",
967
+ "link": null
968
+ },
969
+ {
970
+ "localized_name": "f_string",
971
+ "name": "f_string",
972
+ "type": "STRING",
973
+ "widget": {
974
+ "name": "f_string"
975
+ },
976
+ "link": null
977
+ }
978
+ ],
979
+ "outputs": [
980
+ {
981
+ "localized_name": "STRING",
982
+ "name": "STRING",
983
+ "type": "STRING",
984
+ "links": [
985
+ 21
986
+ ]
987
+ }
988
+ ],
989
+ "title": "Upsampler input",
990
+ "properties": {
991
+ "Node name for S&R": "StringFormat"
992
+ },
993
+ "widgets_values": [
994
+ "Aspect ratio: 1:1\nRequest: {a}"
995
+ ],
996
+ "widgets_values_named": {
997
+ "f_string": "Aspect ratio: 1:1\nRequest: {a}"
998
+ }
999
+ },
1000
+ {
1001
+ "id": 20,
1002
+ "type": "TextGenerate",
1003
+ "pos": [
1004
+ 1260,
1005
+ 760
1006
+ ],
1007
+ "size": [
1008
+ 400,
1009
+ 290
1010
+ ],
1011
+ "flags": {},
1012
+ "order": 14,
1013
  "mode": 0,
1014
  "inputs": [
1015
  {
1016
  "localized_name": "clip",
1017
  "name": "clip",
1018
  "type": "CLIP",
1019
+ "link": 20
1020
+ },
1021
+ {
1022
+ "localized_name": "image",
1023
+ "name": "image",
1024
+ "shape": 7,
1025
+ "type": "IMAGE",
1026
+ "link": null
1027
+ },
1028
+ {
1029
+ "localized_name": "video",
1030
+ "name": "video",
1031
+ "shape": 7,
1032
+ "type": "IMAGE",
1033
+ "link": null
1034
+ },
1035
+ {
1036
+ "localized_name": "audio",
1037
+ "name": "audio",
1038
+ "shape": 7,
1039
+ "type": "AUDIO",
1040
+ "link": null
1041
  },
1042
  {
1043
+ "localized_name": "system_prompt",
1044
+ "name": "system_prompt",
1045
+ "shape": 7,
1046
+ "type": "STRING",
1047
+ "link": null
1048
+ },
1049
+ {
1050
+ "localized_name": "prompt",
1051
+ "name": "prompt",
1052
  "type": "STRING",
 
1053
  "widget": {
1054
+ "name": "prompt"
1055
+ },
1056
+ "link": 21
1057
  },
1058
  {
1059
+ "localized_name": "max_length",
1060
+ "name": "max_length",
1061
+ "type": "INT",
 
1062
  "widget": {
1063
+ "name": "max_length"
1064
+ },
1065
+ "link": null
1066
  },
1067
  {
1068
+ "localized_name": "Sampling Mode",
1069
+ "name": "sampling_mode",
1070
+ "type": "COMFY_DYNAMICCOMBO_V3",
 
1071
  "widget": {
1072
+ "name": "sampling_mode"
1073
+ },
1074
+ "link": null
1075
  },
1076
  {
1077
+ "localized_name": "thinking",
1078
+ "name": "thinking",
1079
+ "shape": 7,
1080
+ "type": "BOOLEAN",
1081
  "widget": {
1082
+ "name": "thinking"
1083
+ },
1084
+ "link": null
1085
  },
1086
  {
1087
+ "localized_name": "use_default_template",
1088
+ "name": "use_default_template",
1089
+ "shape": 7,
1090
+ "type": "BOOLEAN",
1091
  "widget": {
1092
+ "name": "use_default_template"
1093
+ },
1094
+ "link": null
1095
  },
1096
  {
1097
+ "localized_name": "mtp",
1098
+ "name": "mtp",
1099
+ "shape": 7,
1100
+ "type": "COMBO",
1101
  "widget": {
1102
+ "name": "mtp"
1103
+ },
1104
+ "link": null
1105
  }
1106
  ],
1107
  "outputs": [
1108
  {
1109
+ "localized_name": "generated_text",
1110
+ "name": "generated_text",
1111
  "type": "STRING",
1112
  "links": [
1113
+ 23
 
1114
  ]
1115
  },
1116
  {
1117
  "localized_name": "thinking",
1118
  "name": "thinking",
1119
  "type": "STRING",
1120
+ "links": null
1121
+ }
1122
+ ],
1123
+ "title": "Prompt upsampler",
1124
+ "properties": {
1125
+ "Node name for S&R": "TextGenerate"
1126
+ },
1127
+ "widgets_values": [
1128
+ "",
1129
+ 2048,
1130
+ "off",
1131
+ true,
1132
+ true,
1133
+ "auto"
1134
+ ],
1135
+ "widgets_values_named": {
1136
+ "prompt": "",
1137
+ "max_length": 2048,
1138
+ "sampling_mode": "off",
1139
+ "thinking": true,
1140
+ "use_default_template": true,
1141
+ "mtp": "auto"
1142
+ }
1143
+ },
1144
+ {
1145
+ "id": 21,
1146
+ "type": "ComfySwitchNode",
1147
+ "pos": [
1148
+ 1700,
1149
+ 760
1150
+ ],
1151
+ "size": [
1152
+ 300,
1153
+ 80
1154
+ ],
1155
+ "flags": {},
1156
+ "order": 15,
1157
+ "mode": 0,
1158
+ "inputs": [
1159
+ {
1160
+ "localized_name": "on_false",
1161
+ "name": "on_false",
1162
+ "shape": 7,
1163
+ "type": "STRING",
1164
+ "link": 22
1165
  },
1166
  {
1167
+ "localized_name": "on_true",
1168
+ "name": "on_true",
1169
+ "shape": 7,
1170
+ "type": "STRING",
1171
+ "link": 23
 
1172
  },
1173
  {
1174
+ "localized_name": "switch",
1175
+ "name": "switch",
1176
+ "type": "BOOLEAN",
1177
+ "widget": {
1178
+ "name": "switch"
1179
+ },
1180
+ "link": null
1181
+ }
1182
+ ],
1183
+ "outputs": [
1184
+ {
1185
+ "localized_name": "output",
1186
+ "name": "output",
1187
+ "type": "STRING",
1188
  "links": [
1189
+ 24,
1190
+ 25
1191
  ]
1192
  }
1193
  ],
1194
+ "title": "Use prompt upsampler",
1195
  "properties": {
1196
+ "Node name for S&R": "ComfySwitchNode"
 
 
1197
  },
1198
  "widgets_values": [
1199
+ true
1200
+ ],
1201
+ "widgets_values_named": {
1202
+ "switch": true
1203
+ }
 
 
 
1204
  },
1205
  {
1206
+ "id": 22,
1207
+ "type": "ResolutionSelector",
1208
  "pos": [
 
 
 
 
1209
  420,
1210
  360
1211
  ],
1212
+ "size": [
1213
+ 300,
1214
+ 150
1215
+ ],
1216
  "flags": {},
1217
+ "order": 8,
1218
  "mode": 0,
1219
  "inputs": [
1220
  {
1221
+ "localized_name": "aspect_ratio",
1222
+ "name": "aspect_ratio",
1223
+ "type": "COMBO",
1224
+ "widget": {
1225
+ "name": "aspect_ratio"
1226
+ },
1227
+ "link": null
1228
+ },
1229
+ {
1230
+ "localized_name": "megapixels",
1231
+ "name": "megapixels",
1232
+ "type": "FLOAT",
1233
+ "widget": {
1234
+ "name": "megapixels"
1235
+ },
1236
+ "link": null
1237
+ },
1238
+ {
1239
+ "localized_name": "multiple",
1240
+ "name": "multiple",
1241
+ "type": "INT",
1242
+ "widget": {
1243
+ "name": "multiple"
1244
+ },
1245
+ "link": null
1246
+ },
1247
+ {
1248
+ "localized_name": "preview",
1249
+ "name": "preview",
1250
+ "shape": 7,
1251
+ "type": "RESOLUTION_PREVIEW",
1252
+ "widget": {
1253
+ "name": "preview"
1254
+ },
1255
+ "link": null
1256
  }
1257
  ],
1258
  "outputs": [
1259
  {
1260
+ "localized_name": "width",
1261
+ "name": "width",
1262
+ "type": "INT",
1263
+ "links": [
1264
+ 26
1265
+ ]
1266
+ },
1267
+ {
1268
+ "localized_name": "height",
1269
+ "name": "height",
1270
+ "type": "INT",
1271
+ "links": [
1272
+ 27
1273
+ ]
1274
  }
1275
  ],
1276
  "properties": {
1277
+ "Node name for S&R": "ResolutionSelector"
 
 
1278
  },
1279
+ "widgets_values": [
1280
+ "1:1 (Square)",
1281
+ 8,
1282
+ 32
1283
+ ],
1284
+ "widgets_values_named": {
1285
+ "aspect_ratio": "1:1 (Square)",
1286
+ "megapixels": 8,
1287
+ "multiple": 32
1288
+ }
1289
+ },
1290
+ {
1291
+ "id": 23,
1292
+ "type": "MarkdownNote",
1293
+ "pos": [
1294
+ 0,
1295
+ 960
1296
+ ],
1297
+ "size": [
1298
+ 340,
1299
+ 230
1300
+ ],
1301
+ "flags": {},
1302
+ "order": 9,
1303
+ "mode": 0,
1304
+ "inputs": [],
1305
+ "outputs": [],
1306
+ "title": "Prompt upsampler",
1307
+ "properties": {},
1308
+ "widgets_values": [
1309
+ "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is."
1310
+ ],
1311
+ "widgets_values_named": {
1312
+ "text": "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is."
1313
+ },
1314
+ "color": "#432",
1315
+ "bgcolor": "#653"
1316
  }
1317
  ],
1318
  "links": [
 
1421
  "MODEL"
1422
  ],
1423
  [
1424
+ 19,
1425
+ 18,
1426
+ 0,
1427
+ 19,
1428
+ 0,
1429
+ "STRING"
1430
+ ],
1431
+ [
1432
+ 20,
1433
  15,
1434
  0,
1435
+ 20,
1436
  0,
1437
  "CLIP"
1438
  ],
1439
  [
1440
+ 21,
1441
+ 19,
1442
  0,
1443
+ 20,
1444
+ 5,
1445
  "STRING"
1446
  ],
1447
  [
1448
+ 22,
1449
+ 18,
 
 
1450
  0,
1451
+ 21,
1452
+ 0,
1453
+ "STRING"
1454
  ],
1455
  [
1456
+ 23,
1457
+ 20,
1458
+ 0,
1459
+ 21,
1460
  1,
1461
+ "STRING"
1462
  ],
1463
  [
1464
+ 24,
1465
+ 21,
1466
+ 0,
1467
+ 4,
1468
+ 1,
1469
+ "STRING"
1470
+ ],
1471
+ [
1472
+ 25,
1473
+ 21,
1474
  0,
1475
  17,
1476
  0,
1477
  "STRING"
1478
+ ],
1479
+ [
1480
+ 26,
1481
+ 22,
1482
+ 0,
1483
+ 5,
1484
+ 0,
1485
+ "INT"
1486
+ ],
1487
+ [
1488
+ 27,
1489
+ 22,
1490
+ 1,
1491
+ 5,
1492
+ 1,
1493
+ "INT"
1494
  ]
1495
  ],
1496
  "groups": [],
1497
  "config": {},
1498
  "extra": {
1499
  "ds": {
1500
+ "scale": 0.6,
1501
  "offset": [
1502
+ 40,
1503
+ 40
1504
  ]
1505
  }
1506
  },
workflows/p-h3-image_text_to_image.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "id": "00000000-0000-0000-0000-000000000000",
3
  "revision": 0,
4
- "last_node_id": 15,
5
- "last_link_id": 16,
6
  "nodes": [
7
  {
8
  "id": 1,
@@ -23,19 +23,19 @@
23
  "localized_name": "model_name",
24
  "name": "model_name",
25
  "type": "COMBO",
26
- "link": null,
27
  "widget": {
28
  "name": "model_name"
29
- }
 
30
  },
31
  {
32
  "localized_name": "weight_dtype",
33
  "name": "weight_dtype",
34
  "type": "COMBO",
35
- "link": null,
36
  "widget": {
37
  "name": "weight_dtype"
38
- }
 
39
  }
40
  ],
41
  "outputs": [
@@ -63,7 +63,11 @@
63
  "widgets_values": [
64
  "p-h3-image_bf16.safetensors",
65
  "default"
66
- ]
 
 
 
 
67
  },
68
  {
69
  "id": 2,
@@ -84,10 +88,10 @@
84
  "localized_name": "text_encoder_name",
85
  "name": "text_encoder_name",
86
  "type": "COMBO",
87
- "link": null,
88
  "widget": {
89
  "name": "text_encoder_name"
90
- }
 
91
  }
92
  ],
93
  "outputs": [
@@ -114,7 +118,10 @@
114
  },
115
  "widgets_values": [
116
  "p-h3-image_text_encoder_bf16.safetensors"
117
- ]
 
 
 
118
  },
119
  {
120
  "id": 3,
@@ -135,10 +142,10 @@
135
  "localized_name": "vae_name",
136
  "name": "vae_name",
137
  "type": "COMBO",
138
- "link": null,
139
  "widget": {
140
  "name": "vae_name"
141
- }
 
142
  }
143
  ],
144
  "outputs": [
@@ -165,7 +172,10 @@
165
  },
166
  "widgets_values": [
167
  "p-h3-image_vae_bf16.safetensors"
168
- ]
 
 
 
169
  },
170
  {
171
  "id": 4,
@@ -179,7 +189,7 @@
179
  200
180
  ],
181
  "flags": {},
182
- "order": 3,
183
  "mode": 0,
184
  "inputs": [
185
  {
@@ -192,10 +202,10 @@
192
  "localized_name": "text",
193
  "name": "text",
194
  "type": "STRING",
195
- "link": 13,
196
  "widget": {
197
  "name": "text"
198
- }
 
199
  }
200
  ],
201
  "outputs": [
@@ -215,7 +225,10 @@
215
  },
216
  "widgets_values": [
217
  "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
218
- ]
 
 
 
219
  },
220
  {
221
  "id": 5,
@@ -229,26 +242,26 @@
229
  82
230
  ],
231
  "flags": {},
232
- "order": 4,
233
  "mode": 0,
234
  "inputs": [
235
  {
236
  "localized_name": "width",
237
  "name": "width",
238
  "type": "INT",
239
- "link": 14,
240
  "widget": {
241
  "name": "width"
242
- }
 
243
  },
244
  {
245
  "localized_name": "height",
246
  "name": "height",
247
  "type": "INT",
248
- "link": 15,
249
  "widget": {
250
  "name": "height"
251
- }
 
252
  }
253
  ],
254
  "outputs": [
@@ -269,7 +282,11 @@
269
  "widgets_values": [
270
  2912,
271
  2912
272
- ]
 
 
 
 
273
  },
274
  {
275
  "id": 6,
@@ -283,17 +300,17 @@
283
  82
284
  ],
285
  "flags": {},
286
- "order": 5,
287
  "mode": 0,
288
  "inputs": [
289
  {
290
  "localized_name": "sigmas",
291
  "name": "sigmas",
292
  "type": "STRING",
293
- "link": null,
294
  "widget": {
295
  "name": "sigmas"
296
- }
 
297
  }
298
  ],
299
  "outputs": [
@@ -313,7 +330,10 @@
313
  },
314
  "widgets_values": [
315
  "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
316
- ]
 
 
 
317
  },
318
  {
319
  "id": 7,
@@ -327,7 +347,7 @@
327
  46
328
  ],
329
  "flags": {},
330
- "order": 6,
331
  "mode": 0,
332
  "inputs": [
333
  {
@@ -357,8 +377,7 @@
357
  "Node name for S&R": "BasicGuider",
358
  "cnr_id": "comfy-core",
359
  "ver": "0.43.0"
360
- },
361
- "widgets_values": []
362
  },
363
  {
364
  "id": 8,
@@ -372,17 +391,17 @@
372
  58
373
  ],
374
  "flags": {},
375
- "order": 7,
376
  "mode": 0,
377
  "inputs": [
378
  {
379
  "localized_name": "sampler_name",
380
  "name": "sampler_name",
381
  "type": "COMBO",
382
- "link": null,
383
  "widget": {
384
  "name": "sampler_name"
385
- }
 
386
  }
387
  ],
388
  "outputs": [
@@ -402,7 +421,10 @@
402
  },
403
  "widgets_values": [
404
  "euler"
405
- ]
 
 
 
406
  },
407
  {
408
  "id": 9,
@@ -416,17 +438,17 @@
416
  82
417
  ],
418
  "flags": {},
419
- "order": 8,
420
  "mode": 0,
421
  "inputs": [
422
  {
423
  "localized_name": "noise_seed",
424
  "name": "noise_seed",
425
  "type": "INT",
426
- "link": null,
427
  "widget": {
428
  "name": "noise_seed"
429
- }
 
430
  }
431
  ],
432
  "outputs": [
@@ -447,7 +469,11 @@
447
  "widgets_values": [
448
  0,
449
  "randomize"
450
- ]
 
 
 
 
451
  },
452
  {
453
  "id": 10,
@@ -461,7 +487,7 @@
461
  330
462
  ],
463
  "flags": {},
464
- "order": 9,
465
  "mode": 0,
466
  "inputs": [
467
  {
@@ -515,8 +541,7 @@
515
  "Node name for S&R": "SamplerCustomAdvanced",
516
  "cnr_id": "comfy-core",
517
  "ver": "0.43.0"
518
- },
519
- "widgets_values": []
520
  },
521
  {
522
  "id": 11,
@@ -530,7 +555,7 @@
530
  46
531
  ],
532
  "flags": {},
533
- "order": 10,
534
  "mode": 0,
535
  "inputs": [
536
  {
@@ -560,8 +585,7 @@
560
  "Node name for S&R": "VAEDecode",
561
  "cnr_id": "comfy-core",
562
  "ver": "0.43.0"
563
- },
564
- "widgets_values": []
565
  },
566
  {
567
  "id": 12,
@@ -575,7 +599,7 @@
575
  560
576
  ],
577
  "flags": {},
578
- "order": 11,
579
  "mode": 0,
580
  "inputs": [
581
  {
@@ -588,13 +612,20 @@
588
  "localized_name": "filename_prefix",
589
  "name": "filename_prefix",
590
  "type": "STRING",
591
- "link": null,
592
  "widget": {
593
  "name": "filename_prefix"
594
- }
 
 
 
 
 
 
 
 
 
595
  }
596
  ],
597
- "outputs": [],
598
  "properties": {
599
  "Node name for S&R": "SaveImage",
600
  "cnr_id": "comfy-core",
@@ -602,49 +633,53 @@
602
  },
603
  "widgets_values": [
604
  "p-h3-image"
605
- ]
 
 
 
606
  },
607
  {
608
  "id": 13,
609
  "type": "CLIPLoader",
610
  "pos": [
611
  0,
612
- 480
613
  ],
614
  "size": [
615
  320,
616
  106
617
  ],
618
  "flags": {},
619
- "order": 12,
620
  "mode": 0,
621
  "inputs": [
622
  {
623
  "localized_name": "clip_name",
624
  "name": "clip_name",
625
  "type": "COMBO",
626
- "link": null,
627
  "widget": {
628
  "name": "clip_name"
629
- }
 
630
  },
631
  {
632
  "localized_name": "type",
633
  "name": "type",
634
  "type": "COMBO",
635
- "link": null,
636
  "widget": {
637
  "name": "type"
638
- }
 
639
  },
640
  {
641
  "localized_name": "device",
642
  "name": "device",
 
643
  "type": "COMBO",
644
- "link": null,
645
  "widget": {
646
  "name": "device"
647
- }
 
648
  }
649
  ],
650
  "outputs": [
@@ -653,10 +688,11 @@
653
  "name": "CLIP",
654
  "type": "CLIP",
655
  "links": [
656
- 12
657
  ]
658
  }
659
  ],
 
660
  "properties": {
661
  "Node name for S&R": "CLIPLoader",
662
  "cnr_id": "comfy-core",
@@ -674,169 +710,474 @@
674
  "minimax",
675
  "default"
676
  ],
677
- "title": "p-h3-image prompt upsampler"
 
 
 
 
678
  },
679
  {
680
- "id": 14,
681
- "type": "p-h3-image_prompt_upsampler",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
682
  "pos": [
683
  380,
684
- 100
685
  ],
686
  "size": [
687
- 420,
688
- 340
689
  ],
690
  "flags": {},
691
- "order": 13,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
692
  "mode": 0,
693
  "inputs": [
694
  {
695
  "localized_name": "clip",
696
  "name": "clip",
697
  "type": "CLIP",
698
- "link": 12
699
  },
700
  {
701
- "localized_name": "request",
702
- "name": "request",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
703
  "type": "STRING",
704
- "link": null,
705
  "widget": {
706
- "name": "request"
707
- }
 
708
  },
709
  {
710
- "localized_name": "aspect_ratio",
711
- "name": "aspect_ratio",
712
- "type": "COMBO",
713
- "link": null,
714
  "widget": {
715
- "name": "aspect_ratio"
716
- }
 
717
  },
718
  {
719
- "localized_name": "sampling",
720
- "name": "sampling",
721
- "type": "BOOLEAN",
722
- "link": null,
723
  "widget": {
724
- "name": "sampling"
725
- }
 
726
  },
727
  {
728
- "localized_name": "seed",
729
- "name": "seed",
730
- "type": "INT",
731
- "link": null,
732
  "widget": {
733
- "name": "seed"
734
- }
 
735
  },
736
  {
737
- "localized_name": "retries",
738
- "name": "retries",
739
- "type": "INT",
740
- "link": null,
741
  "widget": {
742
- "name": "retries"
743
- }
 
744
  },
745
  {
746
- "localized_name": "max_new_tokens",
747
- "name": "max_new_tokens",
748
- "type": "INT",
749
- "link": null,
750
  "widget": {
751
- "name": "max_new_tokens"
752
- }
 
753
  }
754
  ],
755
  "outputs": [
756
  {
757
- "localized_name": "prompt",
758
- "name": "prompt",
759
  "type": "STRING",
760
  "links": [
761
- 13,
762
- 16
763
  ]
764
  },
765
  {
766
  "localized_name": "thinking",
767
  "name": "thinking",
768
  "type": "STRING",
769
- "links": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
770
  },
771
  {
772
- "localized_name": "width",
773
- "name": "width",
774
- "type": "INT",
775
- "links": [
776
- 14
777
- ]
778
  },
779
  {
780
- "localized_name": "height",
781
- "name": "height",
782
- "type": "INT",
 
 
 
 
 
 
 
 
 
 
 
783
  "links": [
784
- 15
 
785
  ]
786
  }
787
  ],
 
788
  "properties": {
789
- "Node name for S&R": "p-h3-image_prompt_upsampler",
790
- "cnr_id": "p-h3-image",
791
- "ver": "0.1.0"
792
  },
793
  "widgets_values": [
794
- "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo",
795
- "1:1",
796
- false,
797
- 0,
798
- "fixed",
799
- 2,
800
- 1024
801
- ]
802
  },
803
  {
804
- "id": 15,
805
- "type": "PreviewAny",
806
  "pos": [
807
- 860,
808
- 560
809
- ],
810
- "size": [
811
  420,
812
  360
813
  ],
 
 
 
 
814
  "flags": {},
815
- "order": 14,
816
  "mode": 0,
817
  "inputs": [
818
  {
819
- "localized_name": "source",
820
- "name": "source",
821
- "type": "*",
822
- "link": 16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
823
  }
824
  ],
825
  "outputs": [
826
  {
827
- "localized_name": "STRING",
828
- "name": "STRING",
829
- "type": "STRING",
830
- "links": []
 
 
 
 
 
 
 
 
 
 
831
  }
832
  ],
833
  "properties": {
834
- "Node name for S&R": "PreviewAny",
835
- "cnr_id": "comfy-core",
836
- "ver": "0.43.0"
837
  },
838
- "widgets_values": [],
839
- "title": "Upsampled prompt"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
840
  }
841
  ],
842
  "links": [
@@ -929,54 +1270,86 @@
929
  "IMAGE"
930
  ],
931
  [
932
- 12,
 
 
 
 
 
 
 
 
933
  13,
934
  0,
935
- 14,
936
  0,
937
  "CLIP"
938
  ],
939
  [
940
- 13,
941
- 14,
942
  0,
943
- 4,
944
- 1,
945
  "STRING"
946
  ],
947
  [
948
- 14,
949
- 14,
950
- 2,
951
- 5,
952
  0,
953
- "INT"
 
 
954
  ],
955
  [
956
- 15,
957
- 14,
958
- 3,
959
- 5,
960
  1,
961
- "INT"
962
  ],
963
  [
964
- 16,
965
- 14,
 
 
 
 
 
 
 
 
966
  0,
967
  15,
968
  0,
969
  "STRING"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
970
  ]
971
  ],
972
  "groups": [],
973
  "config": {},
974
  "extra": {
975
  "ds": {
976
- "scale": 0.8,
977
  "offset": [
978
- 0,
979
- 0
980
  ]
981
  }
982
  },
 
1
  {
2
  "id": "00000000-0000-0000-0000-000000000000",
3
  "revision": 0,
4
+ "last_node_id": 21,
5
+ "last_link_id": 25,
6
  "nodes": [
7
  {
8
  "id": 1,
 
23
  "localized_name": "model_name",
24
  "name": "model_name",
25
  "type": "COMBO",
 
26
  "widget": {
27
  "name": "model_name"
28
+ },
29
+ "link": null
30
  },
31
  {
32
  "localized_name": "weight_dtype",
33
  "name": "weight_dtype",
34
  "type": "COMBO",
 
35
  "widget": {
36
  "name": "weight_dtype"
37
+ },
38
+ "link": null
39
  }
40
  ],
41
  "outputs": [
 
63
  "widgets_values": [
64
  "p-h3-image_bf16.safetensors",
65
  "default"
66
+ ],
67
+ "widgets_values_named": {
68
+ "model_name": "p-h3-image_bf16.safetensors",
69
+ "weight_dtype": "default"
70
+ }
71
  },
72
  {
73
  "id": 2,
 
88
  "localized_name": "text_encoder_name",
89
  "name": "text_encoder_name",
90
  "type": "COMBO",
 
91
  "widget": {
92
  "name": "text_encoder_name"
93
+ },
94
+ "link": null
95
  }
96
  ],
97
  "outputs": [
 
118
  },
119
  "widgets_values": [
120
  "p-h3-image_text_encoder_bf16.safetensors"
121
+ ],
122
+ "widgets_values_named": {
123
+ "text_encoder_name": "p-h3-image_text_encoder_bf16.safetensors"
124
+ }
125
  },
126
  {
127
  "id": 3,
 
142
  "localized_name": "vae_name",
143
  "name": "vae_name",
144
  "type": "COMBO",
 
145
  "widget": {
146
  "name": "vae_name"
147
+ },
148
+ "link": null
149
  }
150
  ],
151
  "outputs": [
 
172
  },
173
  "widgets_values": [
174
  "p-h3-image_vae_bf16.safetensors"
175
+ ],
176
+ "widgets_values_named": {
177
+ "vae_name": "p-h3-image_vae_bf16.safetensors"
178
+ }
179
  },
180
  {
181
  "id": 4,
 
189
  200
190
  ],
191
  "flags": {},
192
+ "order": 14,
193
  "mode": 0,
194
  "inputs": [
195
  {
 
202
  "localized_name": "text",
203
  "name": "text",
204
  "type": "STRING",
 
205
  "widget": {
206
  "name": "text"
207
+ },
208
+ "link": 22
209
  }
210
  ],
211
  "outputs": [
 
225
  },
226
  "widgets_values": [
227
  "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
228
+ ],
229
+ "widgets_values_named": {
230
+ "text": "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
231
+ }
232
  },
233
  {
234
  "id": 5,
 
242
  82
243
  ],
244
  "flags": {},
245
+ "order": 11,
246
  "mode": 0,
247
  "inputs": [
248
  {
249
  "localized_name": "width",
250
  "name": "width",
251
  "type": "INT",
 
252
  "widget": {
253
  "name": "width"
254
+ },
255
+ "link": 24
256
  },
257
  {
258
  "localized_name": "height",
259
  "name": "height",
260
  "type": "INT",
 
261
  "widget": {
262
  "name": "height"
263
+ },
264
+ "link": 25
265
  }
266
  ],
267
  "outputs": [
 
282
  "widgets_values": [
283
  2912,
284
  2912
285
+ ],
286
+ "widgets_values_named": {
287
+ "width": 2912,
288
+ "height": 2912
289
+ }
290
  },
291
  {
292
  "id": 6,
 
300
  82
301
  ],
302
  "flags": {},
303
+ "order": 3,
304
  "mode": 0,
305
  "inputs": [
306
  {
307
  "localized_name": "sigmas",
308
  "name": "sigmas",
309
  "type": "STRING",
 
310
  "widget": {
311
  "name": "sigmas"
312
+ },
313
+ "link": null
314
  }
315
  ],
316
  "outputs": [
 
330
  },
331
  "widgets_values": [
332
  "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
333
+ ],
334
+ "widgets_values_named": {
335
+ "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
336
+ }
337
  },
338
  {
339
  "id": 7,
 
347
  46
348
  ],
349
  "flags": {},
350
+ "order": 16,
351
  "mode": 0,
352
  "inputs": [
353
  {
 
377
  "Node name for S&R": "BasicGuider",
378
  "cnr_id": "comfy-core",
379
  "ver": "0.43.0"
380
+ }
 
381
  },
382
  {
383
  "id": 8,
 
391
  58
392
  ],
393
  "flags": {},
394
+ "order": 4,
395
  "mode": 0,
396
  "inputs": [
397
  {
398
  "localized_name": "sampler_name",
399
  "name": "sampler_name",
400
  "type": "COMBO",
 
401
  "widget": {
402
  "name": "sampler_name"
403
+ },
404
+ "link": null
405
  }
406
  ],
407
  "outputs": [
 
421
  },
422
  "widgets_values": [
423
  "euler"
424
+ ],
425
+ "widgets_values_named": {
426
+ "sampler_name": "euler"
427
+ }
428
  },
429
  {
430
  "id": 9,
 
438
  82
439
  ],
440
  "flags": {},
441
+ "order": 5,
442
  "mode": 0,
443
  "inputs": [
444
  {
445
  "localized_name": "noise_seed",
446
  "name": "noise_seed",
447
  "type": "INT",
 
448
  "widget": {
449
  "name": "noise_seed"
450
+ },
451
+ "link": null
452
  }
453
  ],
454
  "outputs": [
 
469
  "widgets_values": [
470
  0,
471
  "randomize"
472
+ ],
473
+ "widgets_values_named": {
474
+ "noise_seed": 0,
475
+ "control_after_generate": "randomize"
476
+ }
477
  },
478
  {
479
  "id": 10,
 
487
  330
488
  ],
489
  "flags": {},
490
+ "order": 17,
491
  "mode": 0,
492
  "inputs": [
493
  {
 
541
  "Node name for S&R": "SamplerCustomAdvanced",
542
  "cnr_id": "comfy-core",
543
  "ver": "0.43.0"
544
+ }
 
545
  },
546
  {
547
  "id": 11,
 
555
  46
556
  ],
557
  "flags": {},
558
+ "order": 18,
559
  "mode": 0,
560
  "inputs": [
561
  {
 
585
  "Node name for S&R": "VAEDecode",
586
  "cnr_id": "comfy-core",
587
  "ver": "0.43.0"
588
+ }
 
589
  },
590
  {
591
  "id": 12,
 
599
  560
600
  ],
601
  "flags": {},
602
+ "order": 19,
603
  "mode": 0,
604
  "inputs": [
605
  {
 
612
  "localized_name": "filename_prefix",
613
  "name": "filename_prefix",
614
  "type": "STRING",
 
615
  "widget": {
616
  "name": "filename_prefix"
617
+ },
618
+ "link": null
619
+ }
620
+ ],
621
+ "outputs": [
622
+ {
623
+ "localized_name": "images",
624
+ "name": "images",
625
+ "type": "IMAGE",
626
+ "links": null
627
  }
628
  ],
 
629
  "properties": {
630
  "Node name for S&R": "SaveImage",
631
  "cnr_id": "comfy-core",
 
633
  },
634
  "widgets_values": [
635
  "p-h3-image"
636
+ ],
637
+ "widgets_values_named": {
638
+ "filename_prefix": "p-h3-image"
639
+ }
640
  },
641
  {
642
  "id": 13,
643
  "type": "CLIPLoader",
644
  "pos": [
645
  0,
646
+ 760
647
  ],
648
  "size": [
649
  320,
650
  106
651
  ],
652
  "flags": {},
653
+ "order": 6,
654
  "mode": 0,
655
  "inputs": [
656
  {
657
  "localized_name": "clip_name",
658
  "name": "clip_name",
659
  "type": "COMBO",
 
660
  "widget": {
661
  "name": "clip_name"
662
+ },
663
+ "link": null
664
  },
665
  {
666
  "localized_name": "type",
667
  "name": "type",
668
  "type": "COMBO",
 
669
  "widget": {
670
  "name": "type"
671
+ },
672
+ "link": null
673
  },
674
  {
675
  "localized_name": "device",
676
  "name": "device",
677
+ "shape": 7,
678
  "type": "COMBO",
 
679
  "widget": {
680
  "name": "device"
681
+ },
682
+ "link": null
683
  }
684
  ],
685
  "outputs": [
 
688
  "name": "CLIP",
689
  "type": "CLIP",
690
  "links": [
691
+ 18
692
  ]
693
  }
694
  ],
695
+ "title": "p-h3-image prompt upsampler",
696
  "properties": {
697
  "Node name for S&R": "CLIPLoader",
698
  "cnr_id": "comfy-core",
 
710
  "minimax",
711
  "default"
712
  ],
713
+ "widgets_values_named": {
714
+ "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors",
715
+ "type": "minimax",
716
+ "device": "default"
717
+ }
718
  },
719
  {
720
+ "id": 15,
721
+ "type": "PreviewAny",
722
+ "pos": [
723
+ 1700,
724
+ 880
725
+ ],
726
+ "size": [
727
+ 480,
728
+ 360
729
+ ],
730
+ "flags": {},
731
+ "order": 15,
732
+ "mode": 0,
733
+ "inputs": [
734
+ {
735
+ "localized_name": "source",
736
+ "name": "source",
737
+ "type": "*",
738
+ "link": 23
739
+ }
740
+ ],
741
+ "outputs": [
742
+ {
743
+ "localized_name": "STRING",
744
+ "name": "STRING",
745
+ "type": "STRING",
746
+ "links": []
747
+ }
748
+ ],
749
+ "title": "Upsampled prompt",
750
+ "properties": {
751
+ "Node name for S&R": "PreviewAny",
752
+ "cnr_id": "comfy-core",
753
+ "ver": "0.43.0"
754
+ },
755
+ "widgets_values": [],
756
+ "widgets_values_named": {}
757
+ },
758
+ {
759
+ "id": 16,
760
+ "type": "PrimitiveStringMultiline",
761
  "pos": [
762
  380,
763
+ 760
764
  ],
765
  "size": [
766
+ 400,
767
+ 200
768
  ],
769
  "flags": {},
770
+ "order": 7,
771
+ "mode": 0,
772
+ "inputs": [
773
+ {
774
+ "localized_name": "value",
775
+ "name": "value",
776
+ "type": "STRING",
777
+ "widget": {
778
+ "name": "value"
779
+ },
780
+ "link": null
781
+ }
782
+ ],
783
+ "outputs": [
784
+ {
785
+ "localized_name": "STRING",
786
+ "name": "STRING",
787
+ "type": "STRING",
788
+ "links": [
789
+ 17,
790
+ 20
791
+ ]
792
+ }
793
+ ],
794
+ "title": "Request",
795
+ "properties": {
796
+ "Node name for S&R": "PrimitiveStringMultiline"
797
+ },
798
+ "widgets_values": [
799
+ "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
800
+ ],
801
+ "widgets_values_named": {
802
+ "value": "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
803
+ }
804
+ },
805
+ {
806
+ "id": 17,
807
+ "type": "StringFormat",
808
+ "pos": [
809
+ 820,
810
+ 760
811
+ ],
812
+ "size": [
813
+ 400,
814
+ 160
815
+ ],
816
+ "flags": {},
817
+ "order": 10,
818
+ "mode": 0,
819
+ "inputs": [
820
+ {
821
+ "localized_name": "a",
822
+ "name": "values.a",
823
+ "shape": 7,
824
+ "type": "*",
825
+ "link": 17
826
+ },
827
+ {
828
+ "localized_name": "b",
829
+ "name": "values.b",
830
+ "shape": 7,
831
+ "type": "*",
832
+ "link": null
833
+ },
834
+ {
835
+ "localized_name": "f_string",
836
+ "name": "f_string",
837
+ "type": "STRING",
838
+ "widget": {
839
+ "name": "f_string"
840
+ },
841
+ "link": null
842
+ }
843
+ ],
844
+ "outputs": [
845
+ {
846
+ "localized_name": "STRING",
847
+ "name": "STRING",
848
+ "type": "STRING",
849
+ "links": [
850
+ 19
851
+ ]
852
+ }
853
+ ],
854
+ "title": "Upsampler input",
855
+ "properties": {
856
+ "Node name for S&R": "StringFormat"
857
+ },
858
+ "widgets_values": [
859
+ "Aspect ratio: 1:1\nRequest: {a}"
860
+ ],
861
+ "widgets_values_named": {
862
+ "f_string": "Aspect ratio: 1:1\nRequest: {a}"
863
+ }
864
+ },
865
+ {
866
+ "id": 18,
867
+ "type": "TextGenerate",
868
+ "pos": [
869
+ 1260,
870
+ 760
871
+ ],
872
+ "size": [
873
+ 400,
874
+ 290
875
+ ],
876
+ "flags": {},
877
+ "order": 12,
878
  "mode": 0,
879
  "inputs": [
880
  {
881
  "localized_name": "clip",
882
  "name": "clip",
883
  "type": "CLIP",
884
+ "link": 18
885
  },
886
  {
887
+ "localized_name": "image",
888
+ "name": "image",
889
+ "shape": 7,
890
+ "type": "IMAGE",
891
+ "link": null
892
+ },
893
+ {
894
+ "localized_name": "video",
895
+ "name": "video",
896
+ "shape": 7,
897
+ "type": "IMAGE",
898
+ "link": null
899
+ },
900
+ {
901
+ "localized_name": "audio",
902
+ "name": "audio",
903
+ "shape": 7,
904
+ "type": "AUDIO",
905
+ "link": null
906
+ },
907
+ {
908
+ "localized_name": "system_prompt",
909
+ "name": "system_prompt",
910
+ "shape": 7,
911
+ "type": "STRING",
912
+ "link": null
913
+ },
914
+ {
915
+ "localized_name": "prompt",
916
+ "name": "prompt",
917
  "type": "STRING",
 
918
  "widget": {
919
+ "name": "prompt"
920
+ },
921
+ "link": 19
922
  },
923
  {
924
+ "localized_name": "max_length",
925
+ "name": "max_length",
926
+ "type": "INT",
 
927
  "widget": {
928
+ "name": "max_length"
929
+ },
930
+ "link": null
931
  },
932
  {
933
+ "localized_name": "Sampling Mode",
934
+ "name": "sampling_mode",
935
+ "type": "COMFY_DYNAMICCOMBO_V3",
 
936
  "widget": {
937
+ "name": "sampling_mode"
938
+ },
939
+ "link": null
940
  },
941
  {
942
+ "localized_name": "thinking",
943
+ "name": "thinking",
944
+ "shape": 7,
945
+ "type": "BOOLEAN",
946
  "widget": {
947
+ "name": "thinking"
948
+ },
949
+ "link": null
950
  },
951
  {
952
+ "localized_name": "use_default_template",
953
+ "name": "use_default_template",
954
+ "shape": 7,
955
+ "type": "BOOLEAN",
956
  "widget": {
957
+ "name": "use_default_template"
958
+ },
959
+ "link": null
960
  },
961
  {
962
+ "localized_name": "mtp",
963
+ "name": "mtp",
964
+ "shape": 7,
965
+ "type": "COMBO",
966
  "widget": {
967
+ "name": "mtp"
968
+ },
969
+ "link": null
970
  }
971
  ],
972
  "outputs": [
973
  {
974
+ "localized_name": "generated_text",
975
+ "name": "generated_text",
976
  "type": "STRING",
977
  "links": [
978
+ 21
 
979
  ]
980
  },
981
  {
982
  "localized_name": "thinking",
983
  "name": "thinking",
984
  "type": "STRING",
985
+ "links": null
986
+ }
987
+ ],
988
+ "title": "Prompt upsampler",
989
+ "properties": {
990
+ "Node name for S&R": "TextGenerate"
991
+ },
992
+ "widgets_values": [
993
+ "",
994
+ 2048,
995
+ "off",
996
+ true,
997
+ true,
998
+ "auto"
999
+ ],
1000
+ "widgets_values_named": {
1001
+ "prompt": "",
1002
+ "max_length": 2048,
1003
+ "sampling_mode": "off",
1004
+ "thinking": true,
1005
+ "use_default_template": true,
1006
+ "mtp": "auto"
1007
+ }
1008
+ },
1009
+ {
1010
+ "id": 19,
1011
+ "type": "ComfySwitchNode",
1012
+ "pos": [
1013
+ 1700,
1014
+ 760
1015
+ ],
1016
+ "size": [
1017
+ 300,
1018
+ 80
1019
+ ],
1020
+ "flags": {},
1021
+ "order": 13,
1022
+ "mode": 0,
1023
+ "inputs": [
1024
+ {
1025
+ "localized_name": "on_false",
1026
+ "name": "on_false",
1027
+ "shape": 7,
1028
+ "type": "STRING",
1029
+ "link": 20
1030
  },
1031
  {
1032
+ "localized_name": "on_true",
1033
+ "name": "on_true",
1034
+ "shape": 7,
1035
+ "type": "STRING",
1036
+ "link": 21
 
1037
  },
1038
  {
1039
+ "localized_name": "switch",
1040
+ "name": "switch",
1041
+ "type": "BOOLEAN",
1042
+ "widget": {
1043
+ "name": "switch"
1044
+ },
1045
+ "link": null
1046
+ }
1047
+ ],
1048
+ "outputs": [
1049
+ {
1050
+ "localized_name": "output",
1051
+ "name": "output",
1052
+ "type": "STRING",
1053
  "links": [
1054
+ 22,
1055
+ 23
1056
  ]
1057
  }
1058
  ],
1059
+ "title": "Use prompt upsampler",
1060
  "properties": {
1061
+ "Node name for S&R": "ComfySwitchNode"
 
 
1062
  },
1063
  "widgets_values": [
1064
+ true
1065
+ ],
1066
+ "widgets_values_named": {
1067
+ "switch": true
1068
+ }
 
 
 
1069
  },
1070
  {
1071
+ "id": 20,
1072
+ "type": "ResolutionSelector",
1073
  "pos": [
 
 
 
 
1074
  420,
1075
  360
1076
  ],
1077
+ "size": [
1078
+ 300,
1079
+ 150
1080
+ ],
1081
  "flags": {},
1082
+ "order": 8,
1083
  "mode": 0,
1084
  "inputs": [
1085
  {
1086
+ "localized_name": "aspect_ratio",
1087
+ "name": "aspect_ratio",
1088
+ "type": "COMBO",
1089
+ "widget": {
1090
+ "name": "aspect_ratio"
1091
+ },
1092
+ "link": null
1093
+ },
1094
+ {
1095
+ "localized_name": "megapixels",
1096
+ "name": "megapixels",
1097
+ "type": "FLOAT",
1098
+ "widget": {
1099
+ "name": "megapixels"
1100
+ },
1101
+ "link": null
1102
+ },
1103
+ {
1104
+ "localized_name": "multiple",
1105
+ "name": "multiple",
1106
+ "type": "INT",
1107
+ "widget": {
1108
+ "name": "multiple"
1109
+ },
1110
+ "link": null
1111
+ },
1112
+ {
1113
+ "localized_name": "preview",
1114
+ "name": "preview",
1115
+ "shape": 7,
1116
+ "type": "RESOLUTION_PREVIEW",
1117
+ "widget": {
1118
+ "name": "preview"
1119
+ },
1120
+ "link": null
1121
  }
1122
  ],
1123
  "outputs": [
1124
  {
1125
+ "localized_name": "width",
1126
+ "name": "width",
1127
+ "type": "INT",
1128
+ "links": [
1129
+ 24
1130
+ ]
1131
+ },
1132
+ {
1133
+ "localized_name": "height",
1134
+ "name": "height",
1135
+ "type": "INT",
1136
+ "links": [
1137
+ 25
1138
+ ]
1139
  }
1140
  ],
1141
  "properties": {
1142
+ "Node name for S&R": "ResolutionSelector"
 
 
1143
  },
1144
+ "widgets_values": [
1145
+ "1:1 (Square)",
1146
+ 8,
1147
+ 32
1148
+ ],
1149
+ "widgets_values_named": {
1150
+ "aspect_ratio": "1:1 (Square)",
1151
+ "megapixels": 8,
1152
+ "multiple": 32
1153
+ }
1154
+ },
1155
+ {
1156
+ "id": 21,
1157
+ "type": "MarkdownNote",
1158
+ "pos": [
1159
+ 0,
1160
+ 960
1161
+ ],
1162
+ "size": [
1163
+ 340,
1164
+ 230
1165
+ ],
1166
+ "flags": {},
1167
+ "order": 9,
1168
+ "mode": 0,
1169
+ "inputs": [],
1170
+ "outputs": [],
1171
+ "title": "Prompt upsampler",
1172
+ "properties": {},
1173
+ "widgets_values": [
1174
+ "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is."
1175
+ ],
1176
+ "widgets_values_named": {
1177
+ "text": "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is."
1178
+ },
1179
+ "color": "#432",
1180
+ "bgcolor": "#653"
1181
  }
1182
  ],
1183
  "links": [
 
1270
  "IMAGE"
1271
  ],
1272
  [
1273
+ 17,
1274
+ 16,
1275
+ 0,
1276
+ 17,
1277
+ 0,
1278
+ "STRING"
1279
+ ],
1280
+ [
1281
+ 18,
1282
  13,
1283
  0,
1284
+ 18,
1285
  0,
1286
  "CLIP"
1287
  ],
1288
  [
1289
+ 19,
1290
+ 17,
1291
  0,
1292
+ 18,
1293
+ 5,
1294
  "STRING"
1295
  ],
1296
  [
1297
+ 20,
1298
+ 16,
 
 
1299
  0,
1300
+ 19,
1301
+ 0,
1302
+ "STRING"
1303
  ],
1304
  [
1305
+ 21,
1306
+ 18,
1307
+ 0,
1308
+ 19,
1309
  1,
1310
+ "STRING"
1311
  ],
1312
  [
1313
+ 22,
1314
+ 19,
1315
+ 0,
1316
+ 4,
1317
+ 1,
1318
+ "STRING"
1319
+ ],
1320
+ [
1321
+ 23,
1322
+ 19,
1323
  0,
1324
  15,
1325
  0,
1326
  "STRING"
1327
+ ],
1328
+ [
1329
+ 24,
1330
+ 20,
1331
+ 0,
1332
+ 5,
1333
+ 0,
1334
+ "INT"
1335
+ ],
1336
+ [
1337
+ 25,
1338
+ 20,
1339
+ 1,
1340
+ 5,
1341
+ 1,
1342
+ "INT"
1343
  ]
1344
  ],
1345
  "groups": [],
1346
  "config": {},
1347
  "extra": {
1348
  "ds": {
1349
+ "scale": 0.6,
1350
  "offset": [
1351
+ 40,
1352
+ 40
1353
  ]
1354
  }
1355
  },