nifleisch commited on
Commit
44a0fb7
·
verified ·
1 Parent(s): fce9491

Run the workflows on ComfyUI's native P-H3-Image support

Browse files

The workflows use only ComfyUI's own nodes (Load Diffusion Model, Load CLIP, Load VAE, p-h3-image Conditioning). The README points to the latest ComfyUI instead of the node pack.

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