workflows/p-h3-image_text_to_image.json
| 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", |
| 10 | "pos": [ |
| 11 | 1340, |
| 12 | 560 |
| 13 | ], |
| 14 | "size": [ |
| 15 | 320, |
| 16 | 82 |
| 17 | ], |
| 18 | "flags": {}, |
| 19 | "order": 0, |
| 20 | "mode": 0, |
| 21 | "inputs": [ |
| 22 | { |
| 23 | "localized_name": "sigmas", |
| 24 | "name": "sigmas", |
| 25 | "type": "STRING", |
| 26 | "widget": { |
| 27 | "name": "sigmas" |
| 28 | }, |
| 29 | "link": null |
| 30 | } |
| 31 | ], |
| 32 | "outputs": [ |
| 33 | { |
| 34 | "localized_name": "SIGMAS", |
| 35 | "name": "SIGMAS", |
| 36 | "type": "SIGMAS", |
| 37 | "links": [ |
| 38 | 7 |
| 39 | ] |
| 40 | } |
| 41 | ], |
| 42 | "properties": { |
| 43 | "Node name for S&R": "ManualSigmas", |
| 44 | "cnr_id": "comfy-core", |
| 45 | "ver": "0.43.0" |
| 46 | }, |
| 47 | "widgets_values": [ |
| 48 | "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" |
| 49 | ], |
| 50 | "widgets_values_named": { |
| 51 | "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" |
| 52 | } |
| 53 | }, |
| 54 | { |
| 55 | "id": 7, |
| 56 | "type": "BasicGuider", |
| 57 | "pos": [ |
| 58 | 1340, |
| 59 | 100 |
| 60 | ], |
| 61 | "size": [ |
| 62 | 240, |
| 63 | 46 |
| 64 | ], |
| 65 | "flags": {}, |
| 66 | "order": 16, |
| 67 | "mode": 0, |
| 68 | "inputs": [ |
| 69 | { |
| 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": [ |
| 83 | { |
| 84 | "localized_name": "GUIDER", |
| 85 | "name": "GUIDER", |
| 86 | "type": "GUIDER", |
| 87 | "links": [ |
| 88 | 5 |
| 89 | ] |
| 90 | } |
| 91 | ], |
| 92 | "properties": { |
| 93 | "Node name for S&R": "BasicGuider", |
| 94 | "cnr_id": "comfy-core", |
| 95 | "ver": "0.43.0" |
| 96 | } |
| 97 | }, |
| 98 | { |
| 99 | "id": 8, |
| 100 | "type": "KSamplerSelect", |
| 101 | "pos": [ |
| 102 | 1340, |
| 103 | 220 |
| 104 | ], |
| 105 | "size": [ |
| 106 | 270, |
| 107 | 58 |
| 108 | ], |
| 109 | "flags": {}, |
| 110 | "order": 1, |
| 111 | "mode": 0, |
| 112 | "inputs": [ |
| 113 | { |
| 114 | "localized_name": "sampler_name", |
| 115 | "name": "sampler_name", |
| 116 | "type": "COMBO", |
| 117 | "widget": { |
| 118 | "name": "sampler_name" |
| 119 | }, |
| 120 | "link": null |
| 121 | } |
| 122 | ], |
| 123 | "outputs": [ |
| 124 | { |
| 125 | "localized_name": "SAMPLER", |
| 126 | "name": "SAMPLER", |
| 127 | "type": "SAMPLER", |
| 128 | "links": [ |
| 129 | 6 |
| 130 | ] |
| 131 | } |
| 132 | ], |
| 133 | "properties": { |
| 134 | "Node name for S&R": "KSamplerSelect", |
| 135 | "cnr_id": "comfy-core", |
| 136 | "ver": "0.43.0" |
| 137 | }, |
| 138 | "widgets_values": [ |
| 139 | "euler" |
| 140 | ], |
| 141 | "widgets_values_named": { |
| 142 | "sampler_name": "euler" |
| 143 | } |
| 144 | }, |
| 145 | { |
| 146 | "id": 9, |
| 147 | "type": "RandomNoise", |
| 148 | "pos": [ |
| 149 | 1340, |
| 150 | 340 |
| 151 | ], |
| 152 | "size": [ |
| 153 | 270, |
| 154 | 82 |
| 155 | ], |
| 156 | "flags": {}, |
| 157 | "order": 2, |
| 158 | "mode": 0, |
| 159 | "inputs": [ |
| 160 | { |
| 161 | "localized_name": "noise_seed", |
| 162 | "name": "noise_seed", |
| 163 | "type": "INT", |
| 164 | "widget": { |
| 165 | "name": "noise_seed" |
| 166 | }, |
| 167 | "link": null |
| 168 | } |
| 169 | ], |
| 170 | "outputs": [ |
| 171 | { |
| 172 | "localized_name": "NOISE", |
| 173 | "name": "NOISE", |
| 174 | "type": "NOISE", |
| 175 | "links": [ |
| 176 | 4 |
| 177 | ] |
| 178 | } |
| 179 | ], |
| 180 | "properties": { |
| 181 | "Node name for S&R": "RandomNoise", |
| 182 | "cnr_id": "comfy-core", |
| 183 | "ver": "0.43.0" |
| 184 | }, |
| 185 | "widgets_values": [ |
| 186 | 0, |
| 187 | "randomize" |
| 188 | ], |
| 189 | "widgets_values_named": { |
| 190 | "noise_seed": 0, |
| 191 | "control_after_generate": "randomize" |
| 192 | } |
| 193 | }, |
| 194 | { |
| 195 | "id": 10, |
| 196 | "type": "SamplerCustomAdvanced", |
| 197 | "pos": [ |
| 198 | 1700, |
| 199 | 100 |
| 200 | ], |
| 201 | "size": [ |
| 202 | 270, |
| 203 | 330 |
| 204 | ], |
| 205 | "flags": {}, |
| 206 | "order": 17, |
| 207 | "mode": 0, |
| 208 | "inputs": [ |
| 209 | { |
| 210 | "localized_name": "noise", |
| 211 | "name": "noise", |
| 212 | "type": "NOISE", |
| 213 | "link": 4 |
| 214 | }, |
| 215 | { |
| 216 | "localized_name": "guider", |
| 217 | "name": "guider", |
| 218 | "type": "GUIDER", |
| 219 | "link": 5 |
| 220 | }, |
| 221 | { |
| 222 | "localized_name": "sampler", |
| 223 | "name": "sampler", |
| 224 | "type": "SAMPLER", |
| 225 | "link": 6 |
| 226 | }, |
| 227 | { |
| 228 | "localized_name": "sigmas", |
| 229 | "name": "sigmas", |
| 230 | "type": "SIGMAS", |
| 231 | "link": 7 |
| 232 | }, |
| 233 | { |
| 234 | "localized_name": "latent_image", |
| 235 | "name": "latent_image", |
| 236 | "type": "LATENT", |
| 237 | "link": 34 |
| 238 | } |
| 239 | ], |
| 240 | "outputs": [ |
| 241 | { |
| 242 | "localized_name": "output", |
| 243 | "name": "output", |
| 244 | "type": "LATENT", |
| 245 | "links": [ |
| 246 | 9 |
| 247 | ] |
| 248 | }, |
| 249 | { |
| 250 | "localized_name": "denoised_output", |
| 251 | "name": "denoised_output", |
| 252 | "type": "LATENT", |
| 253 | "links": [] |
| 254 | } |
| 255 | ], |
| 256 | "properties": { |
| 257 | "Node name for S&R": "SamplerCustomAdvanced", |
| 258 | "cnr_id": "comfy-core", |
| 259 | "ver": "0.43.0" |
| 260 | } |
| 261 | }, |
| 262 | { |
| 263 | "id": 11, |
| 264 | "type": "VAEDecode", |
| 265 | "pos": [ |
| 266 | 2020, |
| 267 | 100 |
| 268 | ], |
| 269 | "size": [ |
| 270 | 210, |
| 271 | 46 |
| 272 | ], |
| 273 | "flags": {}, |
| 274 | "order": 18, |
| 275 | "mode": 0, |
| 276 | "inputs": [ |
| 277 | { |
| 278 | "localized_name": "samples", |
| 279 | "name": "samples", |
| 280 | "type": "LATENT", |
| 281 | "link": 9 |
| 282 | }, |
| 283 | { |
| 284 | "localized_name": "vae", |
| 285 | "name": "vae", |
| 286 | "type": "VAE", |
| 287 | "link": 28 |
| 288 | } |
| 289 | ], |
| 290 | "outputs": [ |
| 291 | { |
| 292 | "localized_name": "IMAGE", |
| 293 | "name": "IMAGE", |
| 294 | "type": "IMAGE", |
| 295 | "links": [ |
| 296 | 11 |
| 297 | ] |
| 298 | } |
| 299 | ], |
| 300 | "properties": { |
| 301 | "Node name for S&R": "VAEDecode", |
| 302 | "cnr_id": "comfy-core", |
| 303 | "ver": "0.43.0" |
| 304 | } |
| 305 | }, |
| 306 | { |
| 307 | "id": 12, |
| 308 | "type": "SaveImage", |
| 309 | "pos": [ |
| 310 | 2280, |
| 311 | 100 |
| 312 | ], |
| 313 | "size": [ |
| 314 | 520, |
| 315 | 560 |
| 316 | ], |
| 317 | "flags": {}, |
| 318 | "order": 19, |
| 319 | "mode": 0, |
| 320 | "inputs": [ |
| 321 | { |
| 322 | "localized_name": "images", |
| 323 | "name": "images", |
| 324 | "type": "IMAGE", |
| 325 | "link": 11 |
| 326 | }, |
| 327 | { |
| 328 | "localized_name": "filename_prefix", |
| 329 | "name": "filename_prefix", |
| 330 | "type": "STRING", |
| 331 | "widget": { |
| 332 | "name": "filename_prefix" |
| 333 | }, |
| 334 | "link": null |
| 335 | } |
| 336 | ], |
| 337 | "outputs": [ |
| 338 | { |
| 339 | "localized_name": "images", |
| 340 | "name": "images", |
| 341 | "type": "IMAGE", |
| 342 | "links": null |
| 343 | } |
| 344 | ], |
| 345 | "properties": { |
| 346 | "Node name for S&R": "SaveImage", |
| 347 | "cnr_id": "comfy-core", |
| 348 | "ver": "0.43.0" |
| 349 | }, |
| 350 | "widgets_values": [ |
| 351 | "p-h3-image" |
| 352 | ], |
| 353 | "widgets_values_named": { |
| 354 | "filename_prefix": "p-h3-image" |
| 355 | } |
| 356 | }, |
| 357 | { |
| 358 | "id": 13, |
| 359 | "type": "CLIPLoader", |
| 360 | "pos": [ |
| 361 | 0, |
| 362 | 760 |
| 363 | ], |
| 364 | "size": [ |
| 365 | 320, |
| 366 | 106 |
| 367 | ], |
| 368 | "flags": {}, |
| 369 | "order": 3, |
| 370 | "mode": 0, |
| 371 | "inputs": [ |
| 372 | { |
| 373 | "localized_name": "clip_name", |
| 374 | "name": "clip_name", |
| 375 | "type": "COMBO", |
| 376 | "widget": { |
| 377 | "name": "clip_name" |
| 378 | }, |
| 379 | "link": null |
| 380 | }, |
| 381 | { |
| 382 | "localized_name": "type", |
| 383 | "name": "type", |
| 384 | "type": "COMBO", |
| 385 | "widget": { |
| 386 | "name": "type" |
| 387 | }, |
| 388 | "link": null |
| 389 | }, |
| 390 | { |
| 391 | "localized_name": "device", |
| 392 | "name": "device", |
| 393 | "shape": 7, |
| 394 | "type": "COMBO", |
| 395 | "widget": { |
| 396 | "name": "device" |
| 397 | }, |
| 398 | "link": null |
| 399 | } |
| 400 | ], |
| 401 | "outputs": [ |
| 402 | { |
| 403 | "localized_name": "CLIP", |
| 404 | "name": "CLIP", |
| 405 | "type": "CLIP", |
| 406 | "links": [ |
| 407 | 18 |
| 408 | ] |
| 409 | } |
| 410 | ], |
| 411 | "title": "p-h3-image prompt upsampler", |
| 412 | "properties": { |
| 413 | "Node name for S&R": "CLIPLoader", |
| 414 | "cnr_id": "comfy-core", |
| 415 | "ver": "0.43.0", |
| 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 | ] |
| 423 | }, |
| 424 | "widgets_values": [ |
| 425 | "p-h3-image_prompt_upsampler_bf16.safetensors", |
| 426 | "minimax", |
| 427 | "default" |
| 428 | ], |
| 429 | "widgets_values_named": { |
| 430 | "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors", |
| 431 | "type": "minimax", |
| 432 | "device": "default" |
| 433 | } |
| 434 | }, |
| 435 | { |
| 436 | "id": 15, |
| 437 | "type": "PreviewAny", |
| 438 | "pos": [ |
| 439 | 1700, |
| 440 | 880 |
| 441 | ], |
| 442 | "size": [ |
| 443 | 480, |
| 444 | 360 |
| 445 | ], |
| 446 | "flags": {}, |
| 447 | "order": 14, |
| 448 | "mode": 0, |
| 449 | "inputs": [ |
| 450 | { |
| 451 | "localized_name": "source", |
| 452 | "name": "source", |
| 453 | "type": "*", |
| 454 | "link": 23 |
| 455 | } |
| 456 | ], |
| 457 | "outputs": [ |
| 458 | { |
| 459 | "localized_name": "STRING", |
| 460 | "name": "STRING", |
| 461 | "type": "STRING", |
| 462 | "links": [] |
| 463 | } |
| 464 | ], |
| 465 | "title": "Upsampled prompt", |
| 466 | "properties": { |
| 467 | "Node name for S&R": "PreviewAny", |
| 468 | "cnr_id": "comfy-core", |
| 469 | "ver": "0.43.0" |
| 470 | }, |
| 471 | "widgets_values": [], |
| 472 | "widgets_values_named": {} |
| 473 | }, |
| 474 | { |
| 475 | "id": 16, |
| 476 | "type": "PrimitiveStringMultiline", |
| 477 | "pos": [ |
| 478 | 380, |
| 479 | 760 |
| 480 | ], |
| 481 | "size": [ |
| 482 | 400, |
| 483 | 200 |
| 484 | ], |
| 485 | "flags": {}, |
| 486 | "order": 4, |
| 487 | "mode": 0, |
| 488 | "inputs": [ |
| 489 | { |
| 490 | "localized_name": "value", |
| 491 | "name": "value", |
| 492 | "type": "STRING", |
| 493 | "widget": { |
| 494 | "name": "value" |
| 495 | }, |
| 496 | "link": null |
| 497 | } |
| 498 | ], |
| 499 | "outputs": [ |
| 500 | { |
| 501 | "localized_name": "STRING", |
| 502 | "name": "STRING", |
| 503 | "type": "STRING", |
| 504 | "links": [ |
| 505 | 17, |
| 506 | 20 |
| 507 | ] |
| 508 | } |
| 509 | ], |
| 510 | "title": "Request", |
| 511 | "properties": { |
| 512 | "Node name for S&R": "PrimitiveStringMultiline" |
| 513 | }, |
| 514 | "widgets_values": [ |
| 515 | "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo" |
| 516 | ], |
| 517 | "widgets_values_named": { |
| 518 | "value": "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo" |
| 519 | } |
| 520 | }, |
| 521 | { |
| 522 | "id": 17, |
| 523 | "type": "StringFormat", |
| 524 | "pos": [ |
| 525 | 820, |
| 526 | 760 |
| 527 | ], |
| 528 | "size": [ |
| 529 | 400, |
| 530 | 160 |
| 531 | ], |
| 532 | "flags": {}, |
| 533 | "order": 10, |
| 534 | "mode": 0, |
| 535 | "inputs": [ |
| 536 | { |
| 537 | "localized_name": "a", |
| 538 | "name": "values.a", |
| 539 | "shape": 7, |
| 540 | "type": "*", |
| 541 | "link": 17 |
| 542 | }, |
| 543 | { |
| 544 | "localized_name": "b", |
| 545 | "name": "values.b", |
| 546 | "shape": 7, |
| 547 | "type": "*", |
| 548 | "link": null |
| 549 | }, |
| 550 | { |
| 551 | "localized_name": "f_string", |
| 552 | "name": "f_string", |
| 553 | "type": "STRING", |
| 554 | "widget": { |
| 555 | "name": "f_string" |
| 556 | }, |
| 557 | "link": null |
| 558 | } |
| 559 | ], |
| 560 | "outputs": [ |
| 561 | { |
| 562 | "localized_name": "STRING", |
| 563 | "name": "STRING", |
| 564 | "type": "STRING", |
| 565 | "links": [ |
| 566 | 19 |
| 567 | ] |
| 568 | } |
| 569 | ], |
| 570 | "title": "Upsampler input", |
| 571 | "properties": { |
| 572 | "Node name for S&R": "StringFormat" |
| 573 | }, |
| 574 | "widgets_values": [ |
| 575 | "Aspect ratio: 1:1\nRequest: {a}" |
| 576 | ], |
| 577 | "widgets_values_named": { |
| 578 | "f_string": "Aspect ratio: 1:1\nRequest: {a}" |
| 579 | } |
| 580 | }, |
| 581 | { |
| 582 | "id": 18, |
| 583 | "type": "TextGenerate", |
| 584 | "pos": [ |
| 585 | 1260, |
| 586 | 760 |
| 587 | ], |
| 588 | "size": [ |
| 589 | 400, |
| 590 | 290 |
| 591 | ], |
| 592 | "flags": {}, |
| 593 | "order": 12, |
| 594 | "mode": 0, |
| 595 | "inputs": [ |
| 596 | { |
| 597 | "localized_name": "clip", |
| 598 | "name": "clip", |
| 599 | "type": "CLIP", |
| 600 | "link": 18 |
| 601 | }, |
| 602 | { |
| 603 | "localized_name": "image", |
| 604 | "name": "image", |
| 605 | "shape": 7, |
| 606 | "type": "IMAGE", |
| 607 | "link": null |
| 608 | }, |
| 609 | { |
| 610 | "localized_name": "video", |
| 611 | "name": "video", |
| 612 | "shape": 7, |
| 613 | "type": "IMAGE", |
| 614 | "link": null |
| 615 | }, |
| 616 | { |
| 617 | "localized_name": "audio", |
| 618 | "name": "audio", |
| 619 | "shape": 7, |
| 620 | "type": "AUDIO", |
| 621 | "link": null |
| 622 | }, |
| 623 | { |
| 624 | "localized_name": "system_prompt", |
| 625 | "name": "system_prompt", |
| 626 | "shape": 7, |
| 627 | "type": "STRING", |
| 628 | "link": null |
| 629 | }, |
| 630 | { |
| 631 | "localized_name": "prompt", |
| 632 | "name": "prompt", |
| 633 | "type": "STRING", |
| 634 | "widget": { |
| 635 | "name": "prompt" |
| 636 | }, |
| 637 | "link": 19 |
| 638 | }, |
| 639 | { |
| 640 | "localized_name": "max_length", |
| 641 | "name": "max_length", |
| 642 | "type": "INT", |
| 643 | "widget": { |
| 644 | "name": "max_length" |
| 645 | }, |
| 646 | "link": null |
| 647 | }, |
| 648 | { |
| 649 | "localized_name": "Sampling Mode", |
| 650 | "name": "sampling_mode", |
| 651 | "type": "COMFY_DYNAMICCOMBO_V3", |
| 652 | "widget": { |
| 653 | "name": "sampling_mode" |
| 654 | }, |
| 655 | "link": null |
| 656 | }, |
| 657 | { |
| 658 | "localized_name": "thinking", |
| 659 | "name": "thinking", |
| 660 | "shape": 7, |
| 661 | "type": "BOOLEAN", |
| 662 | "widget": { |
| 663 | "name": "thinking" |
| 664 | }, |
| 665 | "link": null |
| 666 | }, |
| 667 | { |
| 668 | "localized_name": "use_default_template", |
| 669 | "name": "use_default_template", |
| 670 | "shape": 7, |
| 671 | "type": "BOOLEAN", |
| 672 | "widget": { |
| 673 | "name": "use_default_template" |
| 674 | }, |
| 675 | "link": null |
| 676 | }, |
| 677 | { |
| 678 | "localized_name": "mtp", |
| 679 | "name": "mtp", |
| 680 | "shape": 7, |
| 681 | "type": "COMBO", |
| 682 | "widget": { |
| 683 | "name": "mtp" |
| 684 | }, |
| 685 | "link": null |
| 686 | } |
| 687 | ], |
| 688 | "outputs": [ |
| 689 | { |
| 690 | "localized_name": "generated_text", |
| 691 | "name": "generated_text", |
| 692 | "type": "STRING", |
| 693 | "links": [ |
| 694 | 21 |
| 695 | ] |
| 696 | }, |
| 697 | { |
| 698 | "localized_name": "thinking", |
| 699 | "name": "thinking", |
| 700 | "type": "STRING", |
| 701 | "links": null |
| 702 | } |
| 703 | ], |
| 704 | "title": "Prompt upsampler", |
| 705 | "properties": { |
| 706 | "Node name for S&R": "TextGenerate" |
| 707 | }, |
| 708 | "widgets_values": [ |
| 709 | "", |
| 710 | 2048, |
| 711 | "off", |
| 712 | true, |
| 713 | true, |
| 714 | "auto" |
| 715 | ], |
| 716 | "widgets_values_named": { |
| 717 | "prompt": "", |
| 718 | "max_length": 2048, |
| 719 | "sampling_mode": "off", |
| 720 | "thinking": true, |
| 721 | "use_default_template": true, |
| 722 | "mtp": "auto" |
| 723 | } |
| 724 | }, |
| 725 | { |
| 726 | "id": 19, |
| 727 | "type": "ComfySwitchNode", |
| 728 | "pos": [ |
| 729 | 1700, |
| 730 | 760 |
| 731 | ], |
| 732 | "size": [ |
| 733 | 300, |
| 734 | 80 |
| 735 | ], |
| 736 | "flags": {}, |
| 737 | "order": 13, |
| 738 | "mode": 0, |
| 739 | "inputs": [ |
| 740 | { |
| 741 | "localized_name": "on_false", |
| 742 | "name": "on_false", |
| 743 | "shape": 7, |
| 744 | "type": "STRING", |
| 745 | "link": 20 |
| 746 | }, |
| 747 | { |
| 748 | "localized_name": "on_true", |
| 749 | "name": "on_true", |
| 750 | "shape": 7, |
| 751 | "type": "STRING", |
| 752 | "link": 21 |
| 753 | }, |
| 754 | { |
| 755 | "localized_name": "switch", |
| 756 | "name": "switch", |
| 757 | "type": "BOOLEAN", |
| 758 | "widget": { |
| 759 | "name": "switch" |
| 760 | }, |
| 761 | "link": null |
| 762 | } |
| 763 | ], |
| 764 | "outputs": [ |
| 765 | { |
| 766 | "localized_name": "output", |
| 767 | "name": "output", |
| 768 | "type": "STRING", |
| 769 | "links": [ |
| 770 | 23, |
| 771 | 30 |
| 772 | ] |
| 773 | } |
| 774 | ], |
| 775 | "title": "Use prompt upsampler", |
| 776 | "properties": { |
| 777 | "Node name for S&R": "ComfySwitchNode" |
| 778 | }, |
| 779 | "widgets_values": [ |
| 780 | true |
| 781 | ], |
| 782 | "widgets_values_named": { |
| 783 | "switch": true |
| 784 | } |
| 785 | }, |
| 786 | { |
| 787 | "id": 20, |
| 788 | "type": "ResolutionSelector", |
| 789 | "pos": [ |
| 790 | 420, |
| 791 | 360 |
| 792 | ], |
| 793 | "size": [ |
| 794 | 300, |
| 795 | 150 |
| 796 | ], |
| 797 | "flags": {}, |
| 798 | "order": 5, |
| 799 | "mode": 0, |
| 800 | "inputs": [ |
| 801 | { |
| 802 | "localized_name": "aspect_ratio", |
| 803 | "name": "aspect_ratio", |
| 804 | "type": "COMBO", |
| 805 | "widget": { |
| 806 | "name": "aspect_ratio" |
| 807 | }, |
| 808 | "link": null |
| 809 | }, |
| 810 | { |
| 811 | "localized_name": "megapixels", |
| 812 | "name": "megapixels", |
| 813 | "type": "FLOAT", |
| 814 | "widget": { |
| 815 | "name": "megapixels" |
| 816 | }, |
| 817 | "link": null |
| 818 | }, |
| 819 | { |
| 820 | "localized_name": "multiple", |
| 821 | "name": "multiple", |
| 822 | "type": "INT", |
| 823 | "widget": { |
| 824 | "name": "multiple" |
| 825 | }, |
| 826 | "link": null |
| 827 | }, |
| 828 | { |
| 829 | "localized_name": "preview", |
| 830 | "name": "preview", |
| 831 | "shape": 7, |
| 832 | "type": "RESOLUTION_PREVIEW", |
| 833 | "widget": { |
| 834 | "name": "preview" |
| 835 | }, |
| 836 | "link": null |
| 837 | } |
| 838 | ], |
| 839 | "outputs": [ |
| 840 | { |
| 841 | "localized_name": "width", |
| 842 | "name": "width", |
| 843 | "type": "INT", |
| 844 | "links": [ |
| 845 | 31 |
| 846 | ] |
| 847 | }, |
| 848 | { |
| 849 | "localized_name": "height", |
| 850 | "name": "height", |
| 851 | "type": "INT", |
| 852 | "links": [ |
| 853 | 32 |
| 854 | ] |
| 855 | } |
| 856 | ], |
| 857 | "properties": { |
| 858 | "Node name for S&R": "ResolutionSelector" |
| 859 | }, |
| 860 | "widgets_values": [ |
| 861 | "1:1 (Square)", |
| 862 | 8, |
| 863 | 32 |
| 864 | ], |
| 865 | "widgets_values_named": { |
| 866 | "aspect_ratio": "1:1 (Square)", |
| 867 | "megapixels": 8, |
| 868 | "multiple": 32 |
| 869 | } |
| 870 | }, |
| 871 | { |
| 872 | "id": 21, |
| 873 | "type": "MarkdownNote", |
| 874 | "pos": [ |
| 875 | 0, |
| 876 | 960 |
| 877 | ], |
| 878 | "size": [ |
| 879 | 340, |
| 880 | 230 |
| 881 | ], |
| 882 | "flags": {}, |
| 883 | "order": 6, |
| 884 | "mode": 0, |
| 885 | "inputs": [], |
| 886 | "outputs": [], |
| 887 | "title": "Prompt upsampler", |
| 888 | "properties": {}, |
| 889 | "widgets_values": [ |
| 890 | "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." |
| 891 | ], |
| 892 | "widgets_values_named": { |
| 893 | "text": "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." |
| 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, |
| 1251 | 0, |
| 1252 | 10, |
| 1253 | 0, |
| 1254 | "NOISE" |
| 1255 | ], |
| 1256 | [ |
| 1257 | 5, |
| 1258 | 7, |
| 1259 | 0, |
| 1260 | 10, |
| 1261 | 1, |
| 1262 | "GUIDER" |
| 1263 | ], |
| 1264 | [ |
| 1265 | 6, |
| 1266 | 8, |
| 1267 | 0, |
| 1268 | 10, |
| 1269 | 2, |
| 1270 | "SAMPLER" |
| 1271 | ], |
| 1272 | [ |
| 1273 | 7, |
| 1274 | 6, |
| 1275 | 0, |
| 1276 | 10, |
| 1277 | 3, |
| 1278 | "SIGMAS" |
| 1279 | ], |
| 1280 | [ |
| 1281 | 9, |
| 1282 | 10, |
| 1283 | 0, |
| 1284 | 11, |
| 1285 | 0, |
| 1286 | "LATENT" |
| 1287 | ], |
| 1288 | [ |
| 1289 | 11, |
| 1290 | 11, |
| 1291 | 0, |
| 1292 | 12, |
| 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, |
| 1323 | 0, |
| 1324 | 17, |
| 1325 | 0, |
| 1326 | "STRING" |
| 1327 | ], |
| 1328 | [ |
| 1329 | 18, |
| 1330 | 13, |
| 1331 | 0, |
| 1332 | 18, |
| 1333 | 0, |
| 1334 | "CLIP" |
| 1335 | ], |
| 1336 | [ |
| 1337 | 19, |
| 1338 | 17, |
| 1339 | 0, |
| 1340 | 18, |
| 1341 | 5, |
| 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 | } |