workflows/p-h3-image_lora_text_to_image.json
| 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, |
| 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 | 12 |
| 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": 6, |
| 74 | "type": "ManualSigmas", |
| 75 | "pos": [ |
| 76 | 1340, |
| 77 | 560 |
| 78 | ], |
| 79 | "size": [ |
| 80 | 320, |
| 81 | 82 |
| 82 | ], |
| 83 | "flags": {}, |
| 84 | "order": 1, |
| 85 | "mode": 0, |
| 86 | "inputs": [ |
| 87 | { |
| 88 | "localized_name": "sigmas", |
| 89 | "name": "sigmas", |
| 90 | "type": "STRING", |
| 91 | "widget": { |
| 92 | "name": "sigmas" |
| 93 | }, |
| 94 | "link": null |
| 95 | } |
| 96 | ], |
| 97 | "outputs": [ |
| 98 | { |
| 99 | "localized_name": "SIGMAS", |
| 100 | "name": "SIGMAS", |
| 101 | "type": "SIGMAS", |
| 102 | "links": [ |
| 103 | 7 |
| 104 | ] |
| 105 | } |
| 106 | ], |
| 107 | "properties": { |
| 108 | "Node name for S&R": "ManualSigmas", |
| 109 | "cnr_id": "comfy-core", |
| 110 | "ver": "0.43.0" |
| 111 | }, |
| 112 | "widgets_values": [ |
| 113 | "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" |
| 114 | ], |
| 115 | "widgets_values_named": { |
| 116 | "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" |
| 117 | } |
| 118 | }, |
| 119 | { |
| 120 | "id": 7, |
| 121 | "type": "BasicGuider", |
| 122 | "pos": [ |
| 123 | 1340, |
| 124 | 100 |
| 125 | ], |
| 126 | "size": [ |
| 127 | 240, |
| 128 | 46 |
| 129 | ], |
| 130 | "flags": {}, |
| 131 | "order": 17, |
| 132 | "mode": 0, |
| 133 | "inputs": [ |
| 134 | { |
| 135 | "localized_name": "model", |
| 136 | "name": "model", |
| 137 | "type": "MODEL", |
| 138 | "link": 2 |
| 139 | }, |
| 140 | { |
| 141 | "localized_name": "conditioning", |
| 142 | "name": "conditioning", |
| 143 | "type": "CONDITIONING", |
| 144 | "link": 33 |
| 145 | } |
| 146 | ], |
| 147 | "outputs": [ |
| 148 | { |
| 149 | "localized_name": "GUIDER", |
| 150 | "name": "GUIDER", |
| 151 | "type": "GUIDER", |
| 152 | "links": [ |
| 153 | 5 |
| 154 | ] |
| 155 | } |
| 156 | ], |
| 157 | "properties": { |
| 158 | "Node name for S&R": "BasicGuider", |
| 159 | "cnr_id": "comfy-core", |
| 160 | "ver": "0.43.0" |
| 161 | } |
| 162 | }, |
| 163 | { |
| 164 | "id": 8, |
| 165 | "type": "KSamplerSelect", |
| 166 | "pos": [ |
| 167 | 1340, |
| 168 | 220 |
| 169 | ], |
| 170 | "size": [ |
| 171 | 270, |
| 172 | 58 |
| 173 | ], |
| 174 | "flags": {}, |
| 175 | "order": 2, |
| 176 | "mode": 0, |
| 177 | "inputs": [ |
| 178 | { |
| 179 | "localized_name": "sampler_name", |
| 180 | "name": "sampler_name", |
| 181 | "type": "COMBO", |
| 182 | "widget": { |
| 183 | "name": "sampler_name" |
| 184 | }, |
| 185 | "link": null |
| 186 | } |
| 187 | ], |
| 188 | "outputs": [ |
| 189 | { |
| 190 | "localized_name": "SAMPLER", |
| 191 | "name": "SAMPLER", |
| 192 | "type": "SAMPLER", |
| 193 | "links": [ |
| 194 | 6 |
| 195 | ] |
| 196 | } |
| 197 | ], |
| 198 | "properties": { |
| 199 | "Node name for S&R": "KSamplerSelect", |
| 200 | "cnr_id": "comfy-core", |
| 201 | "ver": "0.43.0" |
| 202 | }, |
| 203 | "widgets_values": [ |
| 204 | "euler" |
| 205 | ], |
| 206 | "widgets_values_named": { |
| 207 | "sampler_name": "euler" |
| 208 | } |
| 209 | }, |
| 210 | { |
| 211 | "id": 9, |
| 212 | "type": "RandomNoise", |
| 213 | "pos": [ |
| 214 | 1340, |
| 215 | 340 |
| 216 | ], |
| 217 | "size": [ |
| 218 | 270, |
| 219 | 82 |
| 220 | ], |
| 221 | "flags": {}, |
| 222 | "order": 3, |
| 223 | "mode": 0, |
| 224 | "inputs": [ |
| 225 | { |
| 226 | "localized_name": "noise_seed", |
| 227 | "name": "noise_seed", |
| 228 | "type": "INT", |
| 229 | "widget": { |
| 230 | "name": "noise_seed" |
| 231 | }, |
| 232 | "link": null |
| 233 | } |
| 234 | ], |
| 235 | "outputs": [ |
| 236 | { |
| 237 | "localized_name": "NOISE", |
| 238 | "name": "NOISE", |
| 239 | "type": "NOISE", |
| 240 | "links": [ |
| 241 | 4 |
| 242 | ] |
| 243 | } |
| 244 | ], |
| 245 | "properties": { |
| 246 | "Node name for S&R": "RandomNoise", |
| 247 | "cnr_id": "comfy-core", |
| 248 | "ver": "0.43.0" |
| 249 | }, |
| 250 | "widgets_values": [ |
| 251 | 0, |
| 252 | "randomize" |
| 253 | ], |
| 254 | "widgets_values_named": { |
| 255 | "noise_seed": 0, |
| 256 | "control_after_generate": "randomize" |
| 257 | } |
| 258 | }, |
| 259 | { |
| 260 | "id": 10, |
| 261 | "type": "SamplerCustomAdvanced", |
| 262 | "pos": [ |
| 263 | 1700, |
| 264 | 100 |
| 265 | ], |
| 266 | "size": [ |
| 267 | 270, |
| 268 | 330 |
| 269 | ], |
| 270 | "flags": {}, |
| 271 | "order": 18, |
| 272 | "mode": 0, |
| 273 | "inputs": [ |
| 274 | { |
| 275 | "localized_name": "noise", |
| 276 | "name": "noise", |
| 277 | "type": "NOISE", |
| 278 | "link": 4 |
| 279 | }, |
| 280 | { |
| 281 | "localized_name": "guider", |
| 282 | "name": "guider", |
| 283 | "type": "GUIDER", |
| 284 | "link": 5 |
| 285 | }, |
| 286 | { |
| 287 | "localized_name": "sampler", |
| 288 | "name": "sampler", |
| 289 | "type": "SAMPLER", |
| 290 | "link": 6 |
| 291 | }, |
| 292 | { |
| 293 | "localized_name": "sigmas", |
| 294 | "name": "sigmas", |
| 295 | "type": "SIGMAS", |
| 296 | "link": 7 |
| 297 | }, |
| 298 | { |
| 299 | "localized_name": "latent_image", |
| 300 | "name": "latent_image", |
| 301 | "type": "LATENT", |
| 302 | "link": 34 |
| 303 | } |
| 304 | ], |
| 305 | "outputs": [ |
| 306 | { |
| 307 | "localized_name": "output", |
| 308 | "name": "output", |
| 309 | "type": "LATENT", |
| 310 | "links": [ |
| 311 | 9 |
| 312 | ] |
| 313 | }, |
| 314 | { |
| 315 | "localized_name": "denoised_output", |
| 316 | "name": "denoised_output", |
| 317 | "type": "LATENT", |
| 318 | "links": [] |
| 319 | } |
| 320 | ], |
| 321 | "properties": { |
| 322 | "Node name for S&R": "SamplerCustomAdvanced", |
| 323 | "cnr_id": "comfy-core", |
| 324 | "ver": "0.43.0" |
| 325 | } |
| 326 | }, |
| 327 | { |
| 328 | "id": 11, |
| 329 | "type": "VAEDecode", |
| 330 | "pos": [ |
| 331 | 2020, |
| 332 | 100 |
| 333 | ], |
| 334 | "size": [ |
| 335 | 210, |
| 336 | 46 |
| 337 | ], |
| 338 | "flags": {}, |
| 339 | "order": 19, |
| 340 | "mode": 0, |
| 341 | "inputs": [ |
| 342 | { |
| 343 | "localized_name": "samples", |
| 344 | "name": "samples", |
| 345 | "type": "LATENT", |
| 346 | "link": 9 |
| 347 | }, |
| 348 | { |
| 349 | "localized_name": "vae", |
| 350 | "name": "vae", |
| 351 | "type": "VAE", |
| 352 | "link": 28 |
| 353 | } |
| 354 | ], |
| 355 | "outputs": [ |
| 356 | { |
| 357 | "localized_name": "IMAGE", |
| 358 | "name": "IMAGE", |
| 359 | "type": "IMAGE", |
| 360 | "links": [ |
| 361 | 11 |
| 362 | ] |
| 363 | } |
| 364 | ], |
| 365 | "properties": { |
| 366 | "Node name for S&R": "VAEDecode", |
| 367 | "cnr_id": "comfy-core", |
| 368 | "ver": "0.43.0" |
| 369 | } |
| 370 | }, |
| 371 | { |
| 372 | "id": 12, |
| 373 | "type": "SaveImage", |
| 374 | "pos": [ |
| 375 | 2280, |
| 376 | 100 |
| 377 | ], |
| 378 | "size": [ |
| 379 | 520, |
| 380 | 560 |
| 381 | ], |
| 382 | "flags": {}, |
| 383 | "order": 20, |
| 384 | "mode": 0, |
| 385 | "inputs": [ |
| 386 | { |
| 387 | "localized_name": "images", |
| 388 | "name": "images", |
| 389 | "type": "IMAGE", |
| 390 | "link": 11 |
| 391 | }, |
| 392 | { |
| 393 | "localized_name": "filename_prefix", |
| 394 | "name": "filename_prefix", |
| 395 | "type": "STRING", |
| 396 | "widget": { |
| 397 | "name": "filename_prefix" |
| 398 | }, |
| 399 | "link": null |
| 400 | } |
| 401 | ], |
| 402 | "outputs": [ |
| 403 | { |
| 404 | "localized_name": "images", |
| 405 | "name": "images", |
| 406 | "type": "IMAGE", |
| 407 | "links": null |
| 408 | } |
| 409 | ], |
| 410 | "properties": { |
| 411 | "Node name for S&R": "SaveImage", |
| 412 | "cnr_id": "comfy-core", |
| 413 | "ver": "0.43.0" |
| 414 | }, |
| 415 | "widgets_values": [ |
| 416 | "p-h3-image" |
| 417 | ], |
| 418 | "widgets_values_named": { |
| 419 | "filename_prefix": "p-h3-image" |
| 420 | } |
| 421 | }, |
| 422 | { |
| 423 | "id": 13, |
| 424 | "type": "LoraLoaderBypassModelOnly", |
| 425 | "pos": [ |
| 426 | 0, |
| 427 | 232 |
| 428 | ], |
| 429 | "size": [ |
| 430 | 365.1333984375, |
| 431 | 82 |
| 432 | ], |
| 433 | "flags": {}, |
| 434 | "order": 10, |
| 435 | "mode": 0, |
| 436 | "inputs": [ |
| 437 | { |
| 438 | "localized_name": "model", |
| 439 | "name": "model", |
| 440 | "type": "MODEL", |
| 441 | "link": 12 |
| 442 | }, |
| 443 | { |
| 444 | "localized_name": "lora_name", |
| 445 | "name": "lora_name", |
| 446 | "type": "COMBO", |
| 447 | "widget": { |
| 448 | "name": "lora_name" |
| 449 | }, |
| 450 | "link": null |
| 451 | }, |
| 452 | { |
| 453 | "localized_name": "strength_model", |
| 454 | "name": "strength_model", |
| 455 | "type": "FLOAT", |
| 456 | "widget": { |
| 457 | "name": "strength_model" |
| 458 | }, |
| 459 | "link": null |
| 460 | } |
| 461 | ], |
| 462 | "outputs": [ |
| 463 | { |
| 464 | "localized_name": "MODEL", |
| 465 | "name": "MODEL", |
| 466 | "type": "MODEL", |
| 467 | "links": [ |
| 468 | 13 |
| 469 | ] |
| 470 | } |
| 471 | ], |
| 472 | "properties": { |
| 473 | "Node name for S&R": "LoraLoaderBypassModelOnly", |
| 474 | "cnr_id": "comfy-core", |
| 475 | "ver": "0.43.0", |
| 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 | ] |
| 483 | }, |
| 484 | "widgets_values": [ |
| 485 | "p-h3-image_lora_bf16.safetensors", |
| 486 | 1 |
| 487 | ], |
| 488 | "widgets_values_named": { |
| 489 | "lora_name": "p-h3-image_lora_bf16.safetensors", |
| 490 | "strength_model": 1 |
| 491 | } |
| 492 | }, |
| 493 | { |
| 494 | "id": 14, |
| 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 | { |
| 509 | "localized_name": "model", |
| 510 | "name": "model", |
| 511 | "type": "MODEL", |
| 512 | "link": 13 |
| 513 | }, |
| 514 | { |
| 515 | "localized_name": "shift_video", |
| 516 | "name": "shift_video", |
| 517 | "type": "FLOAT", |
| 518 | "widget": { |
| 519 | "name": "shift_video" |
| 520 | }, |
| 521 | "link": null |
| 522 | }, |
| 523 | { |
| 524 | "localized_name": "shift_audio", |
| 525 | "name": "shift_audio", |
| 526 | "type": "FLOAT", |
| 527 | "widget": { |
| 528 | "name": "shift_audio" |
| 529 | }, |
| 530 | "link": null |
| 531 | } |
| 532 | ], |
| 533 | "outputs": [ |
| 534 | { |
| 535 | "localized_name": "MODEL", |
| 536 | "name": "MODEL", |
| 537 | "type": "MODEL", |
| 538 | "links": [ |
| 539 | 2 |
| 540 | ] |
| 541 | } |
| 542 | ], |
| 543 | "properties": { |
| 544 | "Node name for S&R": "MiniMaxH3SigmaShift", |
| 545 | "cnr_id": "comfy-core", |
| 546 | "ver": "0.43.0" |
| 547 | }, |
| 548 | "widgets_values": [ |
| 549 | 1, |
| 550 | 1 |
| 551 | ], |
| 552 | "widgets_values_named": { |
| 553 | "shift_video": 1, |
| 554 | "shift_audio": 1 |
| 555 | } |
| 556 | }, |
| 557 | { |
| 558 | "id": 15, |
| 559 | "type": "CLIPLoader", |
| 560 | "pos": [ |
| 561 | 0, |
| 562 | 760 |
| 563 | ], |
| 564 | "size": [ |
| 565 | 320, |
| 566 | 106 |
| 567 | ], |
| 568 | "flags": {}, |
| 569 | "order": 4, |
| 570 | "mode": 0, |
| 571 | "inputs": [ |
| 572 | { |
| 573 | "localized_name": "clip_name", |
| 574 | "name": "clip_name", |
| 575 | "type": "COMBO", |
| 576 | "widget": { |
| 577 | "name": "clip_name" |
| 578 | }, |
| 579 | "link": null |
| 580 | }, |
| 581 | { |
| 582 | "localized_name": "type", |
| 583 | "name": "type", |
| 584 | "type": "COMBO", |
| 585 | "widget": { |
| 586 | "name": "type" |
| 587 | }, |
| 588 | "link": null |
| 589 | }, |
| 590 | { |
| 591 | "localized_name": "device", |
| 592 | "name": "device", |
| 593 | "shape": 7, |
| 594 | "type": "COMBO", |
| 595 | "widget": { |
| 596 | "name": "device" |
| 597 | }, |
| 598 | "link": null |
| 599 | } |
| 600 | ], |
| 601 | "outputs": [ |
| 602 | { |
| 603 | "localized_name": "CLIP", |
| 604 | "name": "CLIP", |
| 605 | "type": "CLIP", |
| 606 | "links": [ |
| 607 | 20 |
| 608 | ] |
| 609 | } |
| 610 | ], |
| 611 | "title": "p-h3-image prompt upsampler", |
| 612 | "properties": { |
| 613 | "Node name for S&R": "CLIPLoader", |
| 614 | "cnr_id": "comfy-core", |
| 615 | "ver": "0.43.0", |
| 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 | ] |
| 623 | }, |
| 624 | "widgets_values": [ |
| 625 | "p-h3-image_prompt_upsampler_bf16.safetensors", |
| 626 | "minimax", |
| 627 | "default" |
| 628 | ], |
| 629 | "widgets_values_named": { |
| 630 | "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors", |
| 631 | "type": "minimax", |
| 632 | "device": "default" |
| 633 | } |
| 634 | }, |
| 635 | { |
| 636 | "id": 17, |
| 637 | "type": "PreviewAny", |
| 638 | "pos": [ |
| 639 | 1700, |
| 640 | 880 |
| 641 | ], |
| 642 | "size": [ |
| 643 | 480, |
| 644 | 360 |
| 645 | ], |
| 646 | "flags": {}, |
| 647 | "order": 15, |
| 648 | "mode": 0, |
| 649 | "inputs": [ |
| 650 | { |
| 651 | "localized_name": "source", |
| 652 | "name": "source", |
| 653 | "type": "*", |
| 654 | "link": 25 |
| 655 | } |
| 656 | ], |
| 657 | "outputs": [ |
| 658 | { |
| 659 | "localized_name": "STRING", |
| 660 | "name": "STRING", |
| 661 | "type": "STRING", |
| 662 | "links": [] |
| 663 | } |
| 664 | ], |
| 665 | "title": "Upsampled prompt", |
| 666 | "properties": { |
| 667 | "Node name for S&R": "PreviewAny", |
| 668 | "cnr_id": "comfy-core", |
| 669 | "ver": "0.43.0" |
| 670 | }, |
| 671 | "widgets_values": [], |
| 672 | "widgets_values_named": {} |
| 673 | }, |
| 674 | { |
| 675 | "id": 18, |
| 676 | "type": "PrimitiveStringMultiline", |
| 677 | "pos": [ |
| 678 | 380, |
| 679 | 760 |
| 680 | ], |
| 681 | "size": [ |
| 682 | 400, |
| 683 | 200 |
| 684 | ], |
| 685 | "flags": {}, |
| 686 | "order": 5, |
| 687 | "mode": 0, |
| 688 | "inputs": [ |
| 689 | { |
| 690 | "localized_name": "value", |
| 691 | "name": "value", |
| 692 | "type": "STRING", |
| 693 | "widget": { |
| 694 | "name": "value" |
| 695 | }, |
| 696 | "link": null |
| 697 | } |
| 698 | ], |
| 699 | "outputs": [ |
| 700 | { |
| 701 | "localized_name": "STRING", |
| 702 | "name": "STRING", |
| 703 | "type": "STRING", |
| 704 | "links": [ |
| 705 | 19, |
| 706 | 22 |
| 707 | ] |
| 708 | } |
| 709 | ], |
| 710 | "title": "Request", |
| 711 | "properties": { |
| 712 | "Node name for S&R": "PrimitiveStringMultiline" |
| 713 | }, |
| 714 | "widgets_values": [ |
| 715 | "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo" |
| 716 | ], |
| 717 | "widgets_values_named": { |
| 718 | "value": "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo" |
| 719 | } |
| 720 | }, |
| 721 | { |
| 722 | "id": 19, |
| 723 | "type": "StringFormat", |
| 724 | "pos": [ |
| 725 | 820, |
| 726 | 760 |
| 727 | ], |
| 728 | "size": [ |
| 729 | 400, |
| 730 | 160 |
| 731 | ], |
| 732 | "flags": {}, |
| 733 | "order": 11, |
| 734 | "mode": 0, |
| 735 | "inputs": [ |
| 736 | { |
| 737 | "localized_name": "a", |
| 738 | "name": "values.a", |
| 739 | "shape": 7, |
| 740 | "type": "*", |
| 741 | "link": 19 |
| 742 | }, |
| 743 | { |
| 744 | "localized_name": "b", |
| 745 | "name": "values.b", |
| 746 | "shape": 7, |
| 747 | "type": "*", |
| 748 | "link": null |
| 749 | }, |
| 750 | { |
| 751 | "localized_name": "f_string", |
| 752 | "name": "f_string", |
| 753 | "type": "STRING", |
| 754 | "widget": { |
| 755 | "name": "f_string" |
| 756 | }, |
| 757 | "link": null |
| 758 | } |
| 759 | ], |
| 760 | "outputs": [ |
| 761 | { |
| 762 | "localized_name": "STRING", |
| 763 | "name": "STRING", |
| 764 | "type": "STRING", |
| 765 | "links": [ |
| 766 | 21 |
| 767 | ] |
| 768 | } |
| 769 | ], |
| 770 | "title": "Upsampler input", |
| 771 | "properties": { |
| 772 | "Node name for S&R": "StringFormat" |
| 773 | }, |
| 774 | "widgets_values": [ |
| 775 | "Aspect ratio: 1:1\nRequest: {a}" |
| 776 | ], |
| 777 | "widgets_values_named": { |
| 778 | "f_string": "Aspect ratio: 1:1\nRequest: {a}" |
| 779 | } |
| 780 | }, |
| 781 | { |
| 782 | "id": 20, |
| 783 | "type": "TextGenerate", |
| 784 | "pos": [ |
| 785 | 1260, |
| 786 | 760 |
| 787 | ], |
| 788 | "size": [ |
| 789 | 400, |
| 790 | 290 |
| 791 | ], |
| 792 | "flags": {}, |
| 793 | "order": 13, |
| 794 | "mode": 0, |
| 795 | "inputs": [ |
| 796 | { |
| 797 | "localized_name": "clip", |
| 798 | "name": "clip", |
| 799 | "type": "CLIP", |
| 800 | "link": 20 |
| 801 | }, |
| 802 | { |
| 803 | "localized_name": "image", |
| 804 | "name": "image", |
| 805 | "shape": 7, |
| 806 | "type": "IMAGE", |
| 807 | "link": null |
| 808 | }, |
| 809 | { |
| 810 | "localized_name": "video", |
| 811 | "name": "video", |
| 812 | "shape": 7, |
| 813 | "type": "IMAGE", |
| 814 | "link": null |
| 815 | }, |
| 816 | { |
| 817 | "localized_name": "audio", |
| 818 | "name": "audio", |
| 819 | "shape": 7, |
| 820 | "type": "AUDIO", |
| 821 | "link": null |
| 822 | }, |
| 823 | { |
| 824 | "localized_name": "system_prompt", |
| 825 | "name": "system_prompt", |
| 826 | "shape": 7, |
| 827 | "type": "STRING", |
| 828 | "link": null |
| 829 | }, |
| 830 | { |
| 831 | "localized_name": "prompt", |
| 832 | "name": "prompt", |
| 833 | "type": "STRING", |
| 834 | "widget": { |
| 835 | "name": "prompt" |
| 836 | }, |
| 837 | "link": 21 |
| 838 | }, |
| 839 | { |
| 840 | "localized_name": "max_length", |
| 841 | "name": "max_length", |
| 842 | "type": "INT", |
| 843 | "widget": { |
| 844 | "name": "max_length" |
| 845 | }, |
| 846 | "link": null |
| 847 | }, |
| 848 | { |
| 849 | "localized_name": "Sampling Mode", |
| 850 | "name": "sampling_mode", |
| 851 | "type": "COMFY_DYNAMICCOMBO_V3", |
| 852 | "widget": { |
| 853 | "name": "sampling_mode" |
| 854 | }, |
| 855 | "link": null |
| 856 | }, |
| 857 | { |
| 858 | "localized_name": "thinking", |
| 859 | "name": "thinking", |
| 860 | "shape": 7, |
| 861 | "type": "BOOLEAN", |
| 862 | "widget": { |
| 863 | "name": "thinking" |
| 864 | }, |
| 865 | "link": null |
| 866 | }, |
| 867 | { |
| 868 | "localized_name": "use_default_template", |
| 869 | "name": "use_default_template", |
| 870 | "shape": 7, |
| 871 | "type": "BOOLEAN", |
| 872 | "widget": { |
| 873 | "name": "use_default_template" |
| 874 | }, |
| 875 | "link": null |
| 876 | }, |
| 877 | { |
| 878 | "localized_name": "mtp", |
| 879 | "name": "mtp", |
| 880 | "shape": 7, |
| 881 | "type": "COMBO", |
| 882 | "widget": { |
| 883 | "name": "mtp" |
| 884 | }, |
| 885 | "link": null |
| 886 | } |
| 887 | ], |
| 888 | "outputs": [ |
| 889 | { |
| 890 | "localized_name": "generated_text", |
| 891 | "name": "generated_text", |
| 892 | "type": "STRING", |
| 893 | "links": [ |
| 894 | 23 |
| 895 | ] |
| 896 | }, |
| 897 | { |
| 898 | "localized_name": "thinking", |
| 899 | "name": "thinking", |
| 900 | "type": "STRING", |
| 901 | "links": null |
| 902 | } |
| 903 | ], |
| 904 | "title": "Prompt upsampler", |
| 905 | "properties": { |
| 906 | "Node name for S&R": "TextGenerate" |
| 907 | }, |
| 908 | "widgets_values": [ |
| 909 | "", |
| 910 | 2048, |
| 911 | "off", |
| 912 | true, |
| 913 | true, |
| 914 | "auto" |
| 915 | ], |
| 916 | "widgets_values_named": { |
| 917 | "prompt": "", |
| 918 | "max_length": 2048, |
| 919 | "sampling_mode": "off", |
| 920 | "thinking": true, |
| 921 | "use_default_template": true, |
| 922 | "mtp": "auto" |
| 923 | } |
| 924 | }, |
| 925 | { |
| 926 | "id": 21, |
| 927 | "type": "ComfySwitchNode", |
| 928 | "pos": [ |
| 929 | 1700, |
| 930 | 760 |
| 931 | ], |
| 932 | "size": [ |
| 933 | 300, |
| 934 | 80 |
| 935 | ], |
| 936 | "flags": {}, |
| 937 | "order": 14, |
| 938 | "mode": 0, |
| 939 | "inputs": [ |
| 940 | { |
| 941 | "localized_name": "on_false", |
| 942 | "name": "on_false", |
| 943 | "shape": 7, |
| 944 | "type": "STRING", |
| 945 | "link": 22 |
| 946 | }, |
| 947 | { |
| 948 | "localized_name": "on_true", |
| 949 | "name": "on_true", |
| 950 | "shape": 7, |
| 951 | "type": "STRING", |
| 952 | "link": 23 |
| 953 | }, |
| 954 | { |
| 955 | "localized_name": "switch", |
| 956 | "name": "switch", |
| 957 | "type": "BOOLEAN", |
| 958 | "widget": { |
| 959 | "name": "switch" |
| 960 | }, |
| 961 | "link": null |
| 962 | } |
| 963 | ], |
| 964 | "outputs": [ |
| 965 | { |
| 966 | "localized_name": "output", |
| 967 | "name": "output", |
| 968 | "type": "STRING", |
| 969 | "links": [ |
| 970 | 25, |
| 971 | 30 |
| 972 | ] |
| 973 | } |
| 974 | ], |
| 975 | "title": "Use prompt upsampler", |
| 976 | "properties": { |
| 977 | "Node name for S&R": "ComfySwitchNode" |
| 978 | }, |
| 979 | "widgets_values": [ |
| 980 | true |
| 981 | ], |
| 982 | "widgets_values_named": { |
| 983 | "switch": true |
| 984 | } |
| 985 | }, |
| 986 | { |
| 987 | "id": 22, |
| 988 | "type": "ResolutionSelector", |
| 989 | "pos": [ |
| 990 | 420, |
| 991 | 360 |
| 992 | ], |
| 993 | "size": [ |
| 994 | 300, |
| 995 | 150 |
| 996 | ], |
| 997 | "flags": {}, |
| 998 | "order": 6, |
| 999 | "mode": 0, |
| 1000 | "inputs": [ |
| 1001 | { |
| 1002 | "localized_name": "aspect_ratio", |
| 1003 | "name": "aspect_ratio", |
| 1004 | "type": "COMBO", |
| 1005 | "widget": { |
| 1006 | "name": "aspect_ratio" |
| 1007 | }, |
| 1008 | "link": null |
| 1009 | }, |
| 1010 | { |
| 1011 | "localized_name": "megapixels", |
| 1012 | "name": "megapixels", |
| 1013 | "type": "FLOAT", |
| 1014 | "widget": { |
| 1015 | "name": "megapixels" |
| 1016 | }, |
| 1017 | "link": null |
| 1018 | }, |
| 1019 | { |
| 1020 | "localized_name": "multiple", |
| 1021 | "name": "multiple", |
| 1022 | "type": "INT", |
| 1023 | "widget": { |
| 1024 | "name": "multiple" |
| 1025 | }, |
| 1026 | "link": null |
| 1027 | }, |
| 1028 | { |
| 1029 | "localized_name": "preview", |
| 1030 | "name": "preview", |
| 1031 | "shape": 7, |
| 1032 | "type": "RESOLUTION_PREVIEW", |
| 1033 | "widget": { |
| 1034 | "name": "preview" |
| 1035 | }, |
| 1036 | "link": null |
| 1037 | } |
| 1038 | ], |
| 1039 | "outputs": [ |
| 1040 | { |
| 1041 | "localized_name": "width", |
| 1042 | "name": "width", |
| 1043 | "type": "INT", |
| 1044 | "links": [ |
| 1045 | 31 |
| 1046 | ] |
| 1047 | }, |
| 1048 | { |
| 1049 | "localized_name": "height", |
| 1050 | "name": "height", |
| 1051 | "type": "INT", |
| 1052 | "links": [ |
| 1053 | 32 |
| 1054 | ] |
| 1055 | } |
| 1056 | ], |
| 1057 | "properties": { |
| 1058 | "Node name for S&R": "ResolutionSelector" |
| 1059 | }, |
| 1060 | "widgets_values": [ |
| 1061 | "1:1 (Square)", |
| 1062 | 8, |
| 1063 | 32 |
| 1064 | ], |
| 1065 | "widgets_values_named": { |
| 1066 | "aspect_ratio": "1:1 (Square)", |
| 1067 | "megapixels": 8, |
| 1068 | "multiple": 32 |
| 1069 | } |
| 1070 | }, |
| 1071 | { |
| 1072 | "id": 23, |
| 1073 | "type": "MarkdownNote", |
| 1074 | "pos": [ |
| 1075 | 0, |
| 1076 | 960 |
| 1077 | ], |
| 1078 | "size": [ |
| 1079 | 340, |
| 1080 | 230 |
| 1081 | ], |
| 1082 | "flags": {}, |
| 1083 | "order": 7, |
| 1084 | "mode": 0, |
| 1085 | "inputs": [], |
| 1086 | "outputs": [], |
| 1087 | "title": "Prompt upsampler", |
| 1088 | "properties": {}, |
| 1089 | "widgets_values": [ |
| 1090 | "**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." |
| 1091 | ], |
| 1092 | "widgets_values_named": { |
| 1093 | "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." |
| 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, |
| 1326 | 0, |
| 1327 | 7, |
| 1328 | 0, |
| 1329 | "MODEL" |
| 1330 | ], |
| 1331 | [ |
| 1332 | 4, |
| 1333 | 9, |
| 1334 | 0, |
| 1335 | 10, |
| 1336 | 0, |
| 1337 | "NOISE" |
| 1338 | ], |
| 1339 | [ |
| 1340 | 5, |
| 1341 | 7, |
| 1342 | 0, |
| 1343 | 10, |
| 1344 | 1, |
| 1345 | "GUIDER" |
| 1346 | ], |
| 1347 | [ |
| 1348 | 6, |
| 1349 | 8, |
| 1350 | 0, |
| 1351 | 10, |
| 1352 | 2, |
| 1353 | "SAMPLER" |
| 1354 | ], |
| 1355 | [ |
| 1356 | 7, |
| 1357 | 6, |
| 1358 | 0, |
| 1359 | 10, |
| 1360 | 3, |
| 1361 | "SIGMAS" |
| 1362 | ], |
| 1363 | [ |
| 1364 | 9, |
| 1365 | 10, |
| 1366 | 0, |
| 1367 | 11, |
| 1368 | 0, |
| 1369 | "LATENT" |
| 1370 | ], |
| 1371 | [ |
| 1372 | 11, |
| 1373 | 11, |
| 1374 | 0, |
| 1375 | 12, |
| 1376 | 0, |
| 1377 | "IMAGE" |
| 1378 | ], |
| 1379 | [ |
| 1380 | 12, |
| 1381 | 1, |
| 1382 | 0, |
| 1383 | 13, |
| 1384 | 0, |
| 1385 | "MODEL" |
| 1386 | ], |
| 1387 | [ |
| 1388 | 13, |
| 1389 | 13, |
| 1390 | 0, |
| 1391 | 14, |
| 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, |
| 1422 | 0, |
| 1423 | 19, |
| 1424 | 0, |
| 1425 | "STRING" |
| 1426 | ], |
| 1427 | [ |
| 1428 | 20, |
| 1429 | 15, |
| 1430 | 0, |
| 1431 | 20, |
| 1432 | 0, |
| 1433 | "CLIP" |
| 1434 | ], |
| 1435 | [ |
| 1436 | 21, |
| 1437 | 19, |
| 1438 | 0, |
| 1439 | 20, |
| 1440 | 5, |
| 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": [], |
| 1501 | "config": {}, |
| 1502 | "extra": { |
| 1503 | "ds": { |
| 1504 | "scale": 0.6, |
| 1505 | "offset": [ |
| 1506 | 40, |
| 1507 | 40 |
| 1508 | ] |
| 1509 | } |
| 1510 | }, |
| 1511 | "version": 0.4 |
| 1512 | } |