workflows/p-h3-image_lora_edit.json
| 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, |
| 9 | "type": "UNETLoader", |
| 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": "unet_name", |
| 24 | "name": "unet_name", |
| 25 | "type": "COMBO", |
| 26 | "widget": { |
| 27 | "name": "unet_name" |
| 28 | }, |
| 29 | "link": null |
| 30 | }, |
| 31 | { |
| 32 | "localized_name": "weight_dtype", |
| 33 | "name": "weight_dtype", |
| 34 | "type": "COMBO", |
| 35 | "widget": { |
| 36 | "name": "weight_dtype" |
| 37 | }, |
| 38 | "link": null |
| 39 | } |
| 40 | ], |
| 41 | "outputs": [ |
| 42 | { |
| 43 | "localized_name": "MODEL", |
| 44 | "name": "MODEL", |
| 45 | "type": "MODEL", |
| 46 | "links": [ |
| 47 | 15 |
| 48 | ] |
| 49 | } |
| 50 | ], |
| 51 | "properties": { |
| 52 | "Node name for S&R": "UNETLoader", |
| 53 | "cnr_id": "comfy-core", |
| 54 | "ver": "0.43.0", |
| 55 | "models": [ |
| 56 | { |
| 57 | "name": "minimax_h3_fl2va_bf16.safetensors", |
| 58 | "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_bf16.safetensors", |
| 59 | "directory": "diffusion_models" |
| 60 | } |
| 61 | ] |
| 62 | }, |
| 63 | "widgets_values": [ |
| 64 | "minimax_h3_fl2va_bf16.safetensors", |
| 65 | "default" |
| 66 | ], |
| 67 | "widgets_values_named": { |
| 68 | "unet_name": "minimax_h3_fl2va_bf16.safetensors", |
| 69 | "weight_dtype": "default" |
| 70 | } |
| 71 | }, |
| 72 | { |
| 73 | "id": 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 | { |
| 88 | "localized_name": "image", |
| 89 | "name": "image", |
| 90 | "type": "COMBO", |
| 91 | "widget": { |
| 92 | "name": "image" |
| 93 | }, |
| 94 | "link": null |
| 95 | }, |
| 96 | { |
| 97 | "localized_name": "choose file to upload", |
| 98 | "name": "upload", |
| 99 | "type": "IMAGEUPLOAD", |
| 100 | "widget": { |
| 101 | "name": "upload" |
| 102 | }, |
| 103 | "link": null |
| 104 | } |
| 105 | ], |
| 106 | "outputs": [ |
| 107 | { |
| 108 | "localized_name": "IMAGE", |
| 109 | "name": "IMAGE", |
| 110 | "type": "IMAGE", |
| 111 | "links": [ |
| 112 | 23, |
| 113 | 42 |
| 114 | ] |
| 115 | }, |
| 116 | { |
| 117 | "localized_name": "MASK", |
| 118 | "name": "MASK", |
| 119 | "type": "MASK", |
| 120 | "links": null |
| 121 | } |
| 122 | ], |
| 123 | "title": "image_1 (edited)", |
| 124 | "properties": { |
| 125 | "Node name for S&R": "LoadImage", |
| 126 | "cnr_id": "comfy-core", |
| 127 | "ver": "0.43.0" |
| 128 | }, |
| 129 | "widgets_values": [ |
| 130 | "example.png", |
| 131 | "image" |
| 132 | ], |
| 133 | "widgets_values_named": { |
| 134 | "image": "example.png", |
| 135 | "upload": "image" |
| 136 | } |
| 137 | }, |
| 138 | { |
| 139 | "id": 5, |
| 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 | { |
| 154 | "localized_name": "image", |
| 155 | "name": "image", |
| 156 | "type": "COMBO", |
| 157 | "widget": { |
| 158 | "name": "image" |
| 159 | }, |
| 160 | "link": null |
| 161 | }, |
| 162 | { |
| 163 | "localized_name": "choose file to upload", |
| 164 | "name": "upload", |
| 165 | "type": "IMAGEUPLOAD", |
| 166 | "widget": { |
| 167 | "name": "upload" |
| 168 | }, |
| 169 | "link": null |
| 170 | } |
| 171 | ], |
| 172 | "outputs": [ |
| 173 | { |
| 174 | "localized_name": "IMAGE", |
| 175 | "name": "IMAGE", |
| 176 | "type": "IMAGE", |
| 177 | "links": [ |
| 178 | 25, |
| 179 | 44 |
| 180 | ] |
| 181 | }, |
| 182 | { |
| 183 | "localized_name": "MASK", |
| 184 | "name": "MASK", |
| 185 | "type": "MASK", |
| 186 | "links": null |
| 187 | } |
| 188 | ], |
| 189 | "title": "image_2 (reference)", |
| 190 | "properties": { |
| 191 | "Node name for S&R": "LoadImage", |
| 192 | "cnr_id": "comfy-core", |
| 193 | "ver": "0.43.0" |
| 194 | }, |
| 195 | "widgets_values": [ |
| 196 | "example.png", |
| 197 | "image" |
| 198 | ], |
| 199 | "widgets_values_named": { |
| 200 | "image": "example.png", |
| 201 | "upload": "image" |
| 202 | } |
| 203 | }, |
| 204 | { |
| 205 | "id": 7, |
| 206 | "type": "ManualSigmas", |
| 207 | "pos": [ |
| 208 | 1340, |
| 209 | 560 |
| 210 | ], |
| 211 | "size": [ |
| 212 | 320, |
| 213 | 82 |
| 214 | ], |
| 215 | "flags": {}, |
| 216 | "order": 3, |
| 217 | "mode": 0, |
| 218 | "inputs": [ |
| 219 | { |
| 220 | "localized_name": "sigmas", |
| 221 | "name": "sigmas", |
| 222 | "type": "STRING", |
| 223 | "widget": { |
| 224 | "name": "sigmas" |
| 225 | }, |
| 226 | "link": null |
| 227 | } |
| 228 | ], |
| 229 | "outputs": [ |
| 230 | { |
| 231 | "localized_name": "SIGMAS", |
| 232 | "name": "SIGMAS", |
| 233 | "type": "SIGMAS", |
| 234 | "links": [ |
| 235 | 10 |
| 236 | ] |
| 237 | } |
| 238 | ], |
| 239 | "properties": { |
| 240 | "Node name for S&R": "ManualSigmas", |
| 241 | "cnr_id": "comfy-core", |
| 242 | "ver": "0.43.0" |
| 243 | }, |
| 244 | "widgets_values": [ |
| 245 | "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" |
| 246 | ], |
| 247 | "widgets_values_named": { |
| 248 | "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" |
| 249 | } |
| 250 | }, |
| 251 | { |
| 252 | "id": 8, |
| 253 | "type": "BasicGuider", |
| 254 | "pos": [ |
| 255 | 1340, |
| 256 | 100 |
| 257 | ], |
| 258 | "size": [ |
| 259 | 240, |
| 260 | 46 |
| 261 | ], |
| 262 | "flags": {}, |
| 263 | "order": 23, |
| 264 | "mode": 0, |
| 265 | "inputs": [ |
| 266 | { |
| 267 | "localized_name": "model", |
| 268 | "name": "model", |
| 269 | "type": "MODEL", |
| 270 | "link": 5 |
| 271 | }, |
| 272 | { |
| 273 | "localized_name": "conditioning", |
| 274 | "name": "conditioning", |
| 275 | "type": "CONDITIONING", |
| 276 | "link": 45 |
| 277 | } |
| 278 | ], |
| 279 | "outputs": [ |
| 280 | { |
| 281 | "localized_name": "GUIDER", |
| 282 | "name": "GUIDER", |
| 283 | "type": "GUIDER", |
| 284 | "links": [ |
| 285 | 8 |
| 286 | ] |
| 287 | } |
| 288 | ], |
| 289 | "properties": { |
| 290 | "Node name for S&R": "BasicGuider", |
| 291 | "cnr_id": "comfy-core", |
| 292 | "ver": "0.43.0" |
| 293 | } |
| 294 | }, |
| 295 | { |
| 296 | "id": 9, |
| 297 | "type": "KSamplerSelect", |
| 298 | "pos": [ |
| 299 | 1340, |
| 300 | 220 |
| 301 | ], |
| 302 | "size": [ |
| 303 | 270, |
| 304 | 58 |
| 305 | ], |
| 306 | "flags": {}, |
| 307 | "order": 4, |
| 308 | "mode": 0, |
| 309 | "inputs": [ |
| 310 | { |
| 311 | "localized_name": "sampler_name", |
| 312 | "name": "sampler_name", |
| 313 | "type": "COMBO", |
| 314 | "widget": { |
| 315 | "name": "sampler_name" |
| 316 | }, |
| 317 | "link": null |
| 318 | } |
| 319 | ], |
| 320 | "outputs": [ |
| 321 | { |
| 322 | "localized_name": "SAMPLER", |
| 323 | "name": "SAMPLER", |
| 324 | "type": "SAMPLER", |
| 325 | "links": [ |
| 326 | 9 |
| 327 | ] |
| 328 | } |
| 329 | ], |
| 330 | "properties": { |
| 331 | "Node name for S&R": "KSamplerSelect", |
| 332 | "cnr_id": "comfy-core", |
| 333 | "ver": "0.43.0" |
| 334 | }, |
| 335 | "widgets_values": [ |
| 336 | "euler" |
| 337 | ], |
| 338 | "widgets_values_named": { |
| 339 | "sampler_name": "euler" |
| 340 | } |
| 341 | }, |
| 342 | { |
| 343 | "id": 10, |
| 344 | "type": "RandomNoise", |
| 345 | "pos": [ |
| 346 | 1340, |
| 347 | 340 |
| 348 | ], |
| 349 | "size": [ |
| 350 | 270, |
| 351 | 82 |
| 352 | ], |
| 353 | "flags": {}, |
| 354 | "order": 5, |
| 355 | "mode": 0, |
| 356 | "inputs": [ |
| 357 | { |
| 358 | "localized_name": "noise_seed", |
| 359 | "name": "noise_seed", |
| 360 | "type": "INT", |
| 361 | "widget": { |
| 362 | "name": "noise_seed" |
| 363 | }, |
| 364 | "link": null |
| 365 | } |
| 366 | ], |
| 367 | "outputs": [ |
| 368 | { |
| 369 | "localized_name": "NOISE", |
| 370 | "name": "NOISE", |
| 371 | "type": "NOISE", |
| 372 | "links": [ |
| 373 | 7 |
| 374 | ] |
| 375 | } |
| 376 | ], |
| 377 | "properties": { |
| 378 | "Node name for S&R": "RandomNoise", |
| 379 | "cnr_id": "comfy-core", |
| 380 | "ver": "0.43.0" |
| 381 | }, |
| 382 | "widgets_values": [ |
| 383 | 0, |
| 384 | "randomize" |
| 385 | ], |
| 386 | "widgets_values_named": { |
| 387 | "noise_seed": 0, |
| 388 | "control_after_generate": "randomize" |
| 389 | } |
| 390 | }, |
| 391 | { |
| 392 | "id": 11, |
| 393 | "type": "SamplerCustomAdvanced", |
| 394 | "pos": [ |
| 395 | 1700, |
| 396 | 100 |
| 397 | ], |
| 398 | "size": [ |
| 399 | 270, |
| 400 | 330 |
| 401 | ], |
| 402 | "flags": {}, |
| 403 | "order": 24, |
| 404 | "mode": 0, |
| 405 | "inputs": [ |
| 406 | { |
| 407 | "localized_name": "noise", |
| 408 | "name": "noise", |
| 409 | "type": "NOISE", |
| 410 | "link": 7 |
| 411 | }, |
| 412 | { |
| 413 | "localized_name": "guider", |
| 414 | "name": "guider", |
| 415 | "type": "GUIDER", |
| 416 | "link": 8 |
| 417 | }, |
| 418 | { |
| 419 | "localized_name": "sampler", |
| 420 | "name": "sampler", |
| 421 | "type": "SAMPLER", |
| 422 | "link": 9 |
| 423 | }, |
| 424 | { |
| 425 | "localized_name": "sigmas", |
| 426 | "name": "sigmas", |
| 427 | "type": "SIGMAS", |
| 428 | "link": 10 |
| 429 | }, |
| 430 | { |
| 431 | "localized_name": "latent_image", |
| 432 | "name": "latent_image", |
| 433 | "type": "LATENT", |
| 434 | "link": 46 |
| 435 | } |
| 436 | ], |
| 437 | "outputs": [ |
| 438 | { |
| 439 | "localized_name": "output", |
| 440 | "name": "output", |
| 441 | "type": "LATENT", |
| 442 | "links": [ |
| 443 | 12 |
| 444 | ] |
| 445 | }, |
| 446 | { |
| 447 | "localized_name": "denoised_output", |
| 448 | "name": "denoised_output", |
| 449 | "type": "LATENT", |
| 450 | "links": [] |
| 451 | } |
| 452 | ], |
| 453 | "properties": { |
| 454 | "Node name for S&R": "SamplerCustomAdvanced", |
| 455 | "cnr_id": "comfy-core", |
| 456 | "ver": "0.43.0" |
| 457 | } |
| 458 | }, |
| 459 | { |
| 460 | "id": 12, |
| 461 | "type": "VAEDecode", |
| 462 | "pos": [ |
| 463 | 2020, |
| 464 | 100 |
| 465 | ], |
| 466 | "size": [ |
| 467 | 210, |
| 468 | 46 |
| 469 | ], |
| 470 | "flags": {}, |
| 471 | "order": 25, |
| 472 | "mode": 0, |
| 473 | "inputs": [ |
| 474 | { |
| 475 | "localized_name": "samples", |
| 476 | "name": "samples", |
| 477 | "type": "LATENT", |
| 478 | "link": 12 |
| 479 | }, |
| 480 | { |
| 481 | "localized_name": "vae", |
| 482 | "name": "vae", |
| 483 | "type": "VAE", |
| 484 | "link": 38 |
| 485 | } |
| 486 | ], |
| 487 | "outputs": [ |
| 488 | { |
| 489 | "localized_name": "IMAGE", |
| 490 | "name": "IMAGE", |
| 491 | "type": "IMAGE", |
| 492 | "links": [ |
| 493 | 14 |
| 494 | ] |
| 495 | } |
| 496 | ], |
| 497 | "properties": { |
| 498 | "Node name for S&R": "VAEDecode", |
| 499 | "cnr_id": "comfy-core", |
| 500 | "ver": "0.43.0" |
| 501 | } |
| 502 | }, |
| 503 | { |
| 504 | "id": 13, |
| 505 | "type": "SaveImage", |
| 506 | "pos": [ |
| 507 | 2280, |
| 508 | 100 |
| 509 | ], |
| 510 | "size": [ |
| 511 | 520, |
| 512 | 560 |
| 513 | ], |
| 514 | "flags": {}, |
| 515 | "order": 26, |
| 516 | "mode": 0, |
| 517 | "inputs": [ |
| 518 | { |
| 519 | "localized_name": "images", |
| 520 | "name": "images", |
| 521 | "type": "IMAGE", |
| 522 | "link": 14 |
| 523 | }, |
| 524 | { |
| 525 | "localized_name": "filename_prefix", |
| 526 | "name": "filename_prefix", |
| 527 | "type": "STRING", |
| 528 | "widget": { |
| 529 | "name": "filename_prefix" |
| 530 | }, |
| 531 | "link": null |
| 532 | } |
| 533 | ], |
| 534 | "outputs": [ |
| 535 | { |
| 536 | "localized_name": "images", |
| 537 | "name": "images", |
| 538 | "type": "IMAGE", |
| 539 | "links": null |
| 540 | } |
| 541 | ], |
| 542 | "properties": { |
| 543 | "Node name for S&R": "SaveImage", |
| 544 | "cnr_id": "comfy-core", |
| 545 | "ver": "0.43.0" |
| 546 | }, |
| 547 | "widgets_values": [ |
| 548 | "p-h3-image" |
| 549 | ], |
| 550 | "widgets_values_named": { |
| 551 | "filename_prefix": "p-h3-image" |
| 552 | } |
| 553 | }, |
| 554 | { |
| 555 | "id": 14, |
| 556 | "type": "LoraLoaderBypassModelOnly", |
| 557 | "pos": [ |
| 558 | 0, |
| 559 | 242 |
| 560 | ], |
| 561 | "size": [ |
| 562 | 365.1333984375, |
| 563 | 82 |
| 564 | ], |
| 565 | "flags": {}, |
| 566 | "order": 11, |
| 567 | "mode": 0, |
| 568 | "inputs": [ |
| 569 | { |
| 570 | "localized_name": "model", |
| 571 | "name": "model", |
| 572 | "type": "MODEL", |
| 573 | "link": 15 |
| 574 | }, |
| 575 | { |
| 576 | "localized_name": "lora_name", |
| 577 | "name": "lora_name", |
| 578 | "type": "COMBO", |
| 579 | "widget": { |
| 580 | "name": "lora_name" |
| 581 | }, |
| 582 | "link": null |
| 583 | }, |
| 584 | { |
| 585 | "localized_name": "strength_model", |
| 586 | "name": "strength_model", |
| 587 | "type": "FLOAT", |
| 588 | "widget": { |
| 589 | "name": "strength_model" |
| 590 | }, |
| 591 | "link": null |
| 592 | } |
| 593 | ], |
| 594 | "outputs": [ |
| 595 | { |
| 596 | "localized_name": "MODEL", |
| 597 | "name": "MODEL", |
| 598 | "type": "MODEL", |
| 599 | "links": [ |
| 600 | 16 |
| 601 | ] |
| 602 | } |
| 603 | ], |
| 604 | "properties": { |
| 605 | "Node name for S&R": "LoraLoaderBypassModelOnly", |
| 606 | "cnr_id": "comfy-core", |
| 607 | "ver": "0.43.0", |
| 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 | ] |
| 615 | }, |
| 616 | "widgets_values": [ |
| 617 | "p-h3-image_lora_bf16.safetensors", |
| 618 | 1 |
| 619 | ], |
| 620 | "widgets_values_named": { |
| 621 | "lora_name": "p-h3-image_lora_bf16.safetensors", |
| 622 | "strength_model": 1 |
| 623 | } |
| 624 | }, |
| 625 | { |
| 626 | "id": 15, |
| 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 | { |
| 641 | "localized_name": "model", |
| 642 | "name": "model", |
| 643 | "type": "MODEL", |
| 644 | "link": 16 |
| 645 | }, |
| 646 | { |
| 647 | "localized_name": "shift_video", |
| 648 | "name": "shift_video", |
| 649 | "type": "FLOAT", |
| 650 | "widget": { |
| 651 | "name": "shift_video" |
| 652 | }, |
| 653 | "link": null |
| 654 | }, |
| 655 | { |
| 656 | "localized_name": "shift_audio", |
| 657 | "name": "shift_audio", |
| 658 | "type": "FLOAT", |
| 659 | "widget": { |
| 660 | "name": "shift_audio" |
| 661 | }, |
| 662 | "link": null |
| 663 | } |
| 664 | ], |
| 665 | "outputs": [ |
| 666 | { |
| 667 | "localized_name": "MODEL", |
| 668 | "name": "MODEL", |
| 669 | "type": "MODEL", |
| 670 | "links": [ |
| 671 | 5 |
| 672 | ] |
| 673 | } |
| 674 | ], |
| 675 | "properties": { |
| 676 | "Node name for S&R": "MiniMaxH3SigmaShift", |
| 677 | "cnr_id": "comfy-core", |
| 678 | "ver": "0.43.0" |
| 679 | }, |
| 680 | "widgets_values": [ |
| 681 | 1, |
| 682 | 1 |
| 683 | ], |
| 684 | "widgets_values_named": { |
| 685 | "shift_video": 1, |
| 686 | "shift_audio": 1 |
| 687 | } |
| 688 | }, |
| 689 | { |
| 690 | "id": 16, |
| 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 | { |
| 705 | "localized_name": "clip_name", |
| 706 | "name": "clip_name", |
| 707 | "type": "COMBO", |
| 708 | "widget": { |
| 709 | "name": "clip_name" |
| 710 | }, |
| 711 | "link": null |
| 712 | }, |
| 713 | { |
| 714 | "localized_name": "type", |
| 715 | "name": "type", |
| 716 | "type": "COMBO", |
| 717 | "widget": { |
| 718 | "name": "type" |
| 719 | }, |
| 720 | "link": null |
| 721 | }, |
| 722 | { |
| 723 | "localized_name": "device", |
| 724 | "name": "device", |
| 725 | "shape": 7, |
| 726 | "type": "COMBO", |
| 727 | "widget": { |
| 728 | "name": "device" |
| 729 | }, |
| 730 | "link": null |
| 731 | } |
| 732 | ], |
| 733 | "outputs": [ |
| 734 | { |
| 735 | "localized_name": "CLIP", |
| 736 | "name": "CLIP", |
| 737 | "type": "CLIP", |
| 738 | "links": [ |
| 739 | 30 |
| 740 | ] |
| 741 | } |
| 742 | ], |
| 743 | "title": "p-h3-image prompt upsampler", |
| 744 | "properties": { |
| 745 | "Node name for S&R": "CLIPLoader", |
| 746 | "cnr_id": "comfy-core", |
| 747 | "ver": "0.43.0", |
| 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 | ] |
| 755 | }, |
| 756 | "widgets_values": [ |
| 757 | "p-h3-image_prompt_upsampler_bf16.safetensors", |
| 758 | "minimax", |
| 759 | "default" |
| 760 | ], |
| 761 | "widgets_values_named": { |
| 762 | "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors", |
| 763 | "type": "minimax", |
| 764 | "device": "default" |
| 765 | } |
| 766 | }, |
| 767 | { |
| 768 | "id": 18, |
| 769 | "type": "PreviewAny", |
| 770 | "pos": [ |
| 771 | 1640, |
| 772 | 700 |
| 773 | ], |
| 774 | "size": [ |
| 775 | 480, |
| 776 | 360 |
| 777 | ], |
| 778 | "flags": {}, |
| 779 | "order": 21, |
| 780 | "mode": 0, |
| 781 | "inputs": [ |
| 782 | { |
| 783 | "localized_name": "source", |
| 784 | "name": "source", |
| 785 | "type": "*", |
| 786 | "link": 36 |
| 787 | } |
| 788 | ], |
| 789 | "outputs": [ |
| 790 | { |
| 791 | "localized_name": "STRING", |
| 792 | "name": "STRING", |
| 793 | "type": "STRING", |
| 794 | "links": [] |
| 795 | } |
| 796 | ], |
| 797 | "title": "Upsampled prompt", |
| 798 | "properties": { |
| 799 | "Node name for S&R": "PreviewAny", |
| 800 | "cnr_id": "comfy-core", |
| 801 | "ver": "0.43.0" |
| 802 | }, |
| 803 | "widgets_values": [], |
| 804 | "widgets_values_named": {} |
| 805 | }, |
| 806 | { |
| 807 | "id": 19, |
| 808 | "type": "PrimitiveStringMultiline", |
| 809 | "pos": [ |
| 810 | 380, |
| 811 | 700 |
| 812 | ], |
| 813 | "size": [ |
| 814 | 400, |
| 815 | 180 |
| 816 | ], |
| 817 | "flags": {}, |
| 818 | "order": 7, |
| 819 | "mode": 0, |
| 820 | "inputs": [ |
| 821 | { |
| 822 | "localized_name": "value", |
| 823 | "name": "value", |
| 824 | "type": "STRING", |
| 825 | "widget": { |
| 826 | "name": "value" |
| 827 | }, |
| 828 | "link": null |
| 829 | } |
| 830 | ], |
| 831 | "outputs": [ |
| 832 | { |
| 833 | "localized_name": "STRING", |
| 834 | "name": "STRING", |
| 835 | "type": "STRING", |
| 836 | "links": [ |
| 837 | 22, |
| 838 | 33 |
| 839 | ] |
| 840 | } |
| 841 | ], |
| 842 | "title": "Request", |
| 843 | "properties": { |
| 844 | "Node name for S&R": "PrimitiveStringMultiline" |
| 845 | }, |
| 846 | "widgets_values": [ |
| 847 | "Put the hat from <Picture 2> on the person in <Picture 1>." |
| 848 | ], |
| 849 | "widgets_values_named": { |
| 850 | "value": "Put the hat from <Picture 2> on the person in <Picture 1>." |
| 851 | } |
| 852 | }, |
| 853 | { |
| 854 | "id": 20, |
| 855 | "type": "StringFormat", |
| 856 | "pos": [ |
| 857 | 380, |
| 858 | 920 |
| 859 | ], |
| 860 | "size": [ |
| 861 | 400, |
| 862 | 240 |
| 863 | ], |
| 864 | "flags": {}, |
| 865 | "order": 14, |
| 866 | "mode": 0, |
| 867 | "inputs": [ |
| 868 | { |
| 869 | "localized_name": "a", |
| 870 | "name": "values.a", |
| 871 | "shape": 7, |
| 872 | "type": "*", |
| 873 | "link": 22 |
| 874 | }, |
| 875 | { |
| 876 | "localized_name": "b", |
| 877 | "name": "values.b", |
| 878 | "shape": 7, |
| 879 | "type": "*", |
| 880 | "link": null |
| 881 | }, |
| 882 | { |
| 883 | "localized_name": "f_string", |
| 884 | "name": "f_string", |
| 885 | "type": "STRING", |
| 886 | "widget": { |
| 887 | "name": "f_string" |
| 888 | }, |
| 889 | "link": null |
| 890 | } |
| 891 | ], |
| 892 | "outputs": [ |
| 893 | { |
| 894 | "localized_name": "STRING", |
| 895 | "name": "STRING", |
| 896 | "type": "STRING", |
| 897 | "links": [ |
| 898 | 32 |
| 899 | ] |
| 900 | } |
| 901 | ], |
| 902 | "title": "Upsampler input", |
| 903 | "properties": { |
| 904 | "Node name for S&R": "StringFormat" |
| 905 | }, |
| 906 | "widgets_values": [ |
| 907 | "<|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" |
| 908 | ], |
| 909 | "widgets_values_named": { |
| 910 | "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" |
| 911 | } |
| 912 | }, |
| 913 | { |
| 914 | "id": 21, |
| 915 | "type": "ImageScaleToTotalPixels", |
| 916 | "pos": [ |
| 917 | 820, |
| 918 | 700 |
| 919 | ], |
| 920 | "size": [ |
| 921 | 300, |
| 922 | 110 |
| 923 | ], |
| 924 | "flags": {}, |
| 925 | "order": 12, |
| 926 | "mode": 0, |
| 927 | "inputs": [ |
| 928 | { |
| 929 | "localized_name": "image", |
| 930 | "name": "image", |
| 931 | "type": "IMAGE", |
| 932 | "link": 23 |
| 933 | }, |
| 934 | { |
| 935 | "localized_name": "upscale_method", |
| 936 | "name": "upscale_method", |
| 937 | "type": "COMBO", |
| 938 | "widget": { |
| 939 | "name": "upscale_method" |
| 940 | }, |
| 941 | "link": null |
| 942 | }, |
| 943 | { |
| 944 | "localized_name": "megapixels", |
| 945 | "name": "megapixels", |
| 946 | "type": "FLOAT", |
| 947 | "widget": { |
| 948 | "name": "megapixels" |
| 949 | }, |
| 950 | "link": null |
| 951 | }, |
| 952 | { |
| 953 | "localized_name": "resolution_steps", |
| 954 | "name": "resolution_steps", |
| 955 | "type": "INT", |
| 956 | "widget": { |
| 957 | "name": "resolution_steps" |
| 958 | }, |
| 959 | "link": null |
| 960 | } |
| 961 | ], |
| 962 | "outputs": [ |
| 963 | { |
| 964 | "localized_name": "IMAGE", |
| 965 | "name": "IMAGE", |
| 966 | "type": "IMAGE", |
| 967 | "links": [ |
| 968 | 24, |
| 969 | 28 |
| 970 | ] |
| 971 | } |
| 972 | ], |
| 973 | "title": "image_1 at 1 MP", |
| 974 | "properties": { |
| 975 | "Node name for S&R": "ImageScaleToTotalPixels" |
| 976 | }, |
| 977 | "widgets_values": [ |
| 978 | "lanczos", |
| 979 | 1, |
| 980 | 1 |
| 981 | ], |
| 982 | "widgets_values_named": { |
| 983 | "upscale_method": "lanczos", |
| 984 | "megapixels": 1, |
| 985 | "resolution_steps": 1 |
| 986 | } |
| 987 | }, |
| 988 | { |
| 989 | "id": 22, |
| 990 | "type": "GetImageSize", |
| 991 | "pos": [ |
| 992 | 820, |
| 993 | 850 |
| 994 | ], |
| 995 | "size": [ |
| 996 | 220, |
| 997 | 90 |
| 998 | ], |
| 999 | "flags": {}, |
| 1000 | "order": 16, |
| 1001 | "mode": 0, |
| 1002 | "inputs": [ |
| 1003 | { |
| 1004 | "localized_name": "image", |
| 1005 | "name": "image", |
| 1006 | "type": "IMAGE", |
| 1007 | "link": 24 |
| 1008 | } |
| 1009 | ], |
| 1010 | "outputs": [ |
| 1011 | { |
| 1012 | "localized_name": "width", |
| 1013 | "name": "width", |
| 1014 | "type": "INT", |
| 1015 | "links": [ |
| 1016 | 26 |
| 1017 | ] |
| 1018 | }, |
| 1019 | { |
| 1020 | "localized_name": "height", |
| 1021 | "name": "height", |
| 1022 | "type": "INT", |
| 1023 | "links": [ |
| 1024 | 27 |
| 1025 | ] |
| 1026 | }, |
| 1027 | { |
| 1028 | "localized_name": "batch_size", |
| 1029 | "name": "batch_size", |
| 1030 | "type": "INT", |
| 1031 | "links": null |
| 1032 | } |
| 1033 | ], |
| 1034 | "properties": { |
| 1035 | "Node name for S&R": "GetImageSize" |
| 1036 | } |
| 1037 | }, |
| 1038 | { |
| 1039 | "id": 23, |
| 1040 | "type": "ResizeAndPadImage", |
| 1041 | "pos": [ |
| 1042 | 820, |
| 1043 | 980 |
| 1044 | ], |
| 1045 | "size": [ |
| 1046 | 300, |
| 1047 | 170 |
| 1048 | ], |
| 1049 | "flags": {}, |
| 1050 | "order": 17, |
| 1051 | "mode": 0, |
| 1052 | "inputs": [ |
| 1053 | { |
| 1054 | "localized_name": "image", |
| 1055 | "name": "image", |
| 1056 | "type": "IMAGE", |
| 1057 | "link": 25 |
| 1058 | }, |
| 1059 | { |
| 1060 | "localized_name": "target_width", |
| 1061 | "name": "target_width", |
| 1062 | "type": "INT", |
| 1063 | "widget": { |
| 1064 | "name": "target_width" |
| 1065 | }, |
| 1066 | "link": 26 |
| 1067 | }, |
| 1068 | { |
| 1069 | "localized_name": "target_height", |
| 1070 | "name": "target_height", |
| 1071 | "type": "INT", |
| 1072 | "widget": { |
| 1073 | "name": "target_height" |
| 1074 | }, |
| 1075 | "link": 27 |
| 1076 | }, |
| 1077 | { |
| 1078 | "localized_name": "padding_color", |
| 1079 | "name": "padding_color", |
| 1080 | "type": "COMBO", |
| 1081 | "widget": { |
| 1082 | "name": "padding_color" |
| 1083 | }, |
| 1084 | "link": null |
| 1085 | }, |
| 1086 | { |
| 1087 | "localized_name": "interpolation", |
| 1088 | "name": "interpolation", |
| 1089 | "type": "COMBO", |
| 1090 | "widget": { |
| 1091 | "name": "interpolation" |
| 1092 | }, |
| 1093 | "link": null |
| 1094 | } |
| 1095 | ], |
| 1096 | "outputs": [ |
| 1097 | { |
| 1098 | "localized_name": "IMAGE", |
| 1099 | "name": "IMAGE", |
| 1100 | "type": "IMAGE", |
| 1101 | "links": [ |
| 1102 | 29 |
| 1103 | ] |
| 1104 | } |
| 1105 | ], |
| 1106 | "title": "image_2 padded to image_1", |
| 1107 | "properties": { |
| 1108 | "Node name for S&R": "ResizeAndPadImage" |
| 1109 | }, |
| 1110 | "widgets_values": [ |
| 1111 | 512, |
| 1112 | 512, |
| 1113 | "white", |
| 1114 | "lanczos" |
| 1115 | ], |
| 1116 | "widgets_values_named": { |
| 1117 | "target_width": 512, |
| 1118 | "target_height": 512, |
| 1119 | "padding_color": "white", |
| 1120 | "interpolation": "lanczos" |
| 1121 | } |
| 1122 | }, |
| 1123 | { |
| 1124 | "id": 24, |
| 1125 | "type": "BatchImagesNode", |
| 1126 | "pos": [ |
| 1127 | 820, |
| 1128 | 1190 |
| 1129 | ], |
| 1130 | "size": [ |
| 1131 | 220, |
| 1132 | 86 |
| 1133 | ], |
| 1134 | "flags": {}, |
| 1135 | "order": 18, |
| 1136 | "mode": 0, |
| 1137 | "inputs": [ |
| 1138 | { |
| 1139 | "localized_name": "image0", |
| 1140 | "name": "images.image0", |
| 1141 | "type": "IMAGE", |
| 1142 | "link": 28 |
| 1143 | }, |
| 1144 | { |
| 1145 | "localized_name": "image1", |
| 1146 | "name": "images.image1", |
| 1147 | "shape": 7, |
| 1148 | "type": "IMAGE", |
| 1149 | "link": 29 |
| 1150 | }, |
| 1151 | { |
| 1152 | "localized_name": "image2", |
| 1153 | "name": "images.image2", |
| 1154 | "shape": 7, |
| 1155 | "type": "IMAGE", |
| 1156 | "link": null |
| 1157 | } |
| 1158 | ], |
| 1159 | "outputs": [ |
| 1160 | { |
| 1161 | "localized_name": "IMAGE", |
| 1162 | "name": "IMAGE", |
| 1163 | "type": "IMAGE", |
| 1164 | "links": [ |
| 1165 | 31 |
| 1166 | ] |
| 1167 | } |
| 1168 | ], |
| 1169 | "properties": { |
| 1170 | "Node name for S&R": "BatchImagesNode" |
| 1171 | } |
| 1172 | }, |
| 1173 | { |
| 1174 | "id": 25, |
| 1175 | "type": "TextGenerate", |
| 1176 | "pos": [ |
| 1177 | 1180, |
| 1178 | 700 |
| 1179 | ], |
| 1180 | "size": [ |
| 1181 | 400, |
| 1182 | 288 |
| 1183 | ], |
| 1184 | "flags": {}, |
| 1185 | "order": 19, |
| 1186 | "mode": 0, |
| 1187 | "inputs": [ |
| 1188 | { |
| 1189 | "localized_name": "clip", |
| 1190 | "name": "clip", |
| 1191 | "type": "CLIP", |
| 1192 | "link": 30 |
| 1193 | }, |
| 1194 | { |
| 1195 | "localized_name": "image", |
| 1196 | "name": "image", |
| 1197 | "shape": 7, |
| 1198 | "type": "IMAGE", |
| 1199 | "link": 31 |
| 1200 | }, |
| 1201 | { |
| 1202 | "localized_name": "video", |
| 1203 | "name": "video", |
| 1204 | "shape": 7, |
| 1205 | "type": "IMAGE", |
| 1206 | "link": null |
| 1207 | }, |
| 1208 | { |
| 1209 | "localized_name": "audio", |
| 1210 | "name": "audio", |
| 1211 | "shape": 7, |
| 1212 | "type": "AUDIO", |
| 1213 | "link": null |
| 1214 | }, |
| 1215 | { |
| 1216 | "localized_name": "system_prompt", |
| 1217 | "name": "system_prompt", |
| 1218 | "shape": 7, |
| 1219 | "type": "STRING", |
| 1220 | "link": null |
| 1221 | }, |
| 1222 | { |
| 1223 | "localized_name": "prompt", |
| 1224 | "name": "prompt", |
| 1225 | "type": "STRING", |
| 1226 | "widget": { |
| 1227 | "name": "prompt" |
| 1228 | }, |
| 1229 | "link": 32 |
| 1230 | }, |
| 1231 | { |
| 1232 | "localized_name": "max_length", |
| 1233 | "name": "max_length", |
| 1234 | "type": "INT", |
| 1235 | "widget": { |
| 1236 | "name": "max_length" |
| 1237 | }, |
| 1238 | "link": null |
| 1239 | }, |
| 1240 | { |
| 1241 | "localized_name": "Sampling Mode", |
| 1242 | "name": "sampling_mode", |
| 1243 | "type": "COMFY_DYNAMICCOMBO_V3", |
| 1244 | "widget": { |
| 1245 | "name": "sampling_mode" |
| 1246 | }, |
| 1247 | "link": null |
| 1248 | }, |
| 1249 | { |
| 1250 | "localized_name": "thinking", |
| 1251 | "name": "thinking", |
| 1252 | "shape": 7, |
| 1253 | "type": "BOOLEAN", |
| 1254 | "widget": { |
| 1255 | "name": "thinking" |
| 1256 | }, |
| 1257 | "link": null |
| 1258 | }, |
| 1259 | { |
| 1260 | "localized_name": "use_default_template", |
| 1261 | "name": "use_default_template", |
| 1262 | "shape": 7, |
| 1263 | "type": "BOOLEAN", |
| 1264 | "widget": { |
| 1265 | "name": "use_default_template" |
| 1266 | }, |
| 1267 | "link": null |
| 1268 | }, |
| 1269 | { |
| 1270 | "localized_name": "mtp", |
| 1271 | "name": "mtp", |
| 1272 | "shape": 7, |
| 1273 | "type": "COMBO", |
| 1274 | "widget": { |
| 1275 | "name": "mtp" |
| 1276 | }, |
| 1277 | "link": null |
| 1278 | } |
| 1279 | ], |
| 1280 | "outputs": [ |
| 1281 | { |
| 1282 | "localized_name": "generated_text", |
| 1283 | "name": "generated_text", |
| 1284 | "type": "STRING", |
| 1285 | "links": [ |
| 1286 | 34 |
| 1287 | ] |
| 1288 | }, |
| 1289 | { |
| 1290 | "localized_name": "thinking", |
| 1291 | "name": "thinking", |
| 1292 | "type": "STRING", |
| 1293 | "links": null |
| 1294 | } |
| 1295 | ], |
| 1296 | "title": "Prompt upsampler", |
| 1297 | "properties": { |
| 1298 | "Node name for S&R": "TextGenerate" |
| 1299 | }, |
| 1300 | "widgets_values": [ |
| 1301 | "", |
| 1302 | 3072, |
| 1303 | "off", |
| 1304 | false, |
| 1305 | true, |
| 1306 | "auto" |
| 1307 | ], |
| 1308 | "widgets_values_named": { |
| 1309 | "prompt": "", |
| 1310 | "max_length": 3072, |
| 1311 | "sampling_mode": "off", |
| 1312 | "thinking": false, |
| 1313 | "use_default_template": true, |
| 1314 | "mtp": "auto" |
| 1315 | } |
| 1316 | }, |
| 1317 | { |
| 1318 | "id": 26, |
| 1319 | "type": "ComfySwitchNode", |
| 1320 | "pos": [ |
| 1321 | 1180, |
| 1322 | 1030 |
| 1323 | ], |
| 1324 | "size": [ |
| 1325 | 300, |
| 1326 | 80 |
| 1327 | ], |
| 1328 | "flags": {}, |
| 1329 | "order": 20, |
| 1330 | "mode": 0, |
| 1331 | "inputs": [ |
| 1332 | { |
| 1333 | "localized_name": "on_false", |
| 1334 | "name": "on_false", |
| 1335 | "shape": 7, |
| 1336 | "type": "STRING", |
| 1337 | "link": 33 |
| 1338 | }, |
| 1339 | { |
| 1340 | "localized_name": "on_true", |
| 1341 | "name": "on_true", |
| 1342 | "shape": 7, |
| 1343 | "type": "STRING", |
| 1344 | "link": 34 |
| 1345 | }, |
| 1346 | { |
| 1347 | "localized_name": "switch", |
| 1348 | "name": "switch", |
| 1349 | "type": "BOOLEAN", |
| 1350 | "widget": { |
| 1351 | "name": "switch" |
| 1352 | }, |
| 1353 | "link": null |
| 1354 | } |
| 1355 | ], |
| 1356 | "outputs": [ |
| 1357 | { |
| 1358 | "localized_name": "output", |
| 1359 | "name": "output", |
| 1360 | "type": "STRING", |
| 1361 | "links": [ |
| 1362 | 36, |
| 1363 | 41 |
| 1364 | ] |
| 1365 | } |
| 1366 | ], |
| 1367 | "title": "Use prompt upsampler", |
| 1368 | "properties": { |
| 1369 | "Node name for S&R": "ComfySwitchNode" |
| 1370 | }, |
| 1371 | "widgets_values": [ |
| 1372 | true |
| 1373 | ], |
| 1374 | "widgets_values_named": { |
| 1375 | "switch": true |
| 1376 | } |
| 1377 | }, |
| 1378 | { |
| 1379 | "id": 27, |
| 1380 | "type": "MarkdownNote", |
| 1381 | "pos": [ |
| 1382 | 380, |
| 1383 | 1200 |
| 1384 | ], |
| 1385 | "size": [ |
| 1386 | 400, |
| 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, |
| 1729 | 10, |
| 1730 | 0, |
| 1731 | 11, |
| 1732 | 0, |
| 1733 | "NOISE" |
| 1734 | ], |
| 1735 | [ |
| 1736 | 8, |
| 1737 | 8, |
| 1738 | 0, |
| 1739 | 11, |
| 1740 | 1, |
| 1741 | "GUIDER" |
| 1742 | ], |
| 1743 | [ |
| 1744 | 9, |
| 1745 | 9, |
| 1746 | 0, |
| 1747 | 11, |
| 1748 | 2, |
| 1749 | "SAMPLER" |
| 1750 | ], |
| 1751 | [ |
| 1752 | 10, |
| 1753 | 7, |
| 1754 | 0, |
| 1755 | 11, |
| 1756 | 3, |
| 1757 | "SIGMAS" |
| 1758 | ], |
| 1759 | [ |
| 1760 | 12, |
| 1761 | 11, |
| 1762 | 0, |
| 1763 | 12, |
| 1764 | 0, |
| 1765 | "LATENT" |
| 1766 | ], |
| 1767 | [ |
| 1768 | 14, |
| 1769 | 12, |
| 1770 | 0, |
| 1771 | 13, |
| 1772 | 0, |
| 1773 | "IMAGE" |
| 1774 | ], |
| 1775 | [ |
| 1776 | 15, |
| 1777 | 1, |
| 1778 | 0, |
| 1779 | 14, |
| 1780 | 0, |
| 1781 | "MODEL" |
| 1782 | ], |
| 1783 | [ |
| 1784 | 16, |
| 1785 | 14, |
| 1786 | 0, |
| 1787 | 15, |
| 1788 | 0, |
| 1789 | "MODEL" |
| 1790 | ], |
| 1791 | [ |
| 1792 | 23, |
| 1793 | 4, |
| 1794 | 0, |
| 1795 | 21, |
| 1796 | 0, |
| 1797 | "IMAGE" |
| 1798 | ], |
| 1799 | [ |
| 1800 | 24, |
| 1801 | 21, |
| 1802 | 0, |
| 1803 | 22, |
| 1804 | 0, |
| 1805 | "IMAGE" |
| 1806 | ], |
| 1807 | [ |
| 1808 | 25, |
| 1809 | 5, |
| 1810 | 0, |
| 1811 | 23, |
| 1812 | 0, |
| 1813 | "IMAGE" |
| 1814 | ], |
| 1815 | [ |
| 1816 | 26, |
| 1817 | 22, |
| 1818 | 0, |
| 1819 | 23, |
| 1820 | 1, |
| 1821 | "INT" |
| 1822 | ], |
| 1823 | [ |
| 1824 | 27, |
| 1825 | 22, |
| 1826 | 1, |
| 1827 | 23, |
| 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, |
| 1898 | 0, |
| 1899 | 24, |
| 1900 | 0, |
| 1901 | "IMAGE" |
| 1902 | ], |
| 1903 | [ |
| 1904 | 29, |
| 1905 | 23, |
| 1906 | 0, |
| 1907 | 24, |
| 1908 | 1, |
| 1909 | "IMAGE" |
| 1910 | ], |
| 1911 | [ |
| 1912 | 30, |
| 1913 | 16, |
| 1914 | 0, |
| 1915 | 25, |
| 1916 | 0, |
| 1917 | "CLIP" |
| 1918 | ], |
| 1919 | [ |
| 1920 | 31, |
| 1921 | 24, |
| 1922 | 0, |
| 1923 | 25, |
| 1924 | 1, |
| 1925 | "IMAGE" |
| 1926 | ], |
| 1927 | [ |
| 1928 | 32, |
| 1929 | 20, |
| 1930 | 0, |
| 1931 | 25, |
| 1932 | 5, |
| 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 | ], |
| 1976 | "groups": [], |
| 1977 | "config": {}, |
| 1978 | "extra": { |
| 1979 | "ds": { |
| 1980 | "scale": 0.6, |
| 1981 | "offset": [ |
| 1982 | 40, |
| 1983 | 40 |
| 1984 | ] |
| 1985 | } |
| 1986 | }, |
| 1987 | "version": 0.4 |
| 1988 | } |