Instructions to use Alissonerdx/BFS-Best-Face-Swap-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Alissonerdx/BFS-Best-Face-Swap-Video with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Lightricks/LTX-2.3,ByteDance/Bernini-R", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Alissonerdx/BFS-Best-Face-Swap-Video") prompt = "A man with short gray hair plays a red electric guitar." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Upload folder using huggingface_hub
Browse files
workflows/workflow_wan22_bernini_head_swap_drag_and_drop_v1.0.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"id": "247ea069-731d-4b79-9d64-8807463de95c",
|
| 3 |
"revision": 0,
|
| 4 |
-
"last_node_id":
|
| 5 |
-
"last_link_id":
|
| 6 |
"nodes": [
|
| 7 |
{
|
| 8 |
"id": 101,
|
|
@@ -46,7 +46,7 @@
|
|
| 46 |
86
|
| 47 |
],
|
| 48 |
"flags": {},
|
| 49 |
-
"order":
|
| 50 |
"mode": 0,
|
| 51 |
"inputs": [
|
| 52 |
{
|
|
@@ -133,7 +133,7 @@
|
|
| 133 |
86
|
| 134 |
],
|
| 135 |
"flags": {},
|
| 136 |
-
"order":
|
| 137 |
"mode": 0,
|
| 138 |
"inputs": [
|
| 139 |
{
|
|
@@ -194,7 +194,7 @@
|
|
| 194 |
"flags": {
|
| 195 |
"collapsed": true
|
| 196 |
},
|
| 197 |
-
"order":
|
| 198 |
"mode": 0,
|
| 199 |
"inputs": [
|
| 200 |
{
|
|
@@ -254,7 +254,7 @@
|
|
| 254 |
"flags": {
|
| 255 |
"collapsed": true
|
| 256 |
},
|
| 257 |
-
"order":
|
| 258 |
"mode": 0,
|
| 259 |
"inputs": [
|
| 260 |
{
|
|
@@ -267,16 +267,12 @@
|
|
| 267 |
{
|
| 268 |
"name": "width",
|
| 269 |
"type": "INT",
|
| 270 |
-
"links": [
|
| 271 |
-
311
|
| 272 |
-
]
|
| 273 |
},
|
| 274 |
{
|
| 275 |
"name": "height",
|
| 276 |
"type": "INT",
|
| 277 |
-
"links": [
|
| 278 |
-
312
|
| 279 |
-
]
|
| 280 |
},
|
| 281 |
{
|
| 282 |
"name": "batch_size",
|
|
@@ -312,7 +308,7 @@
|
|
| 312 |
"flags": {
|
| 313 |
"collapsed": true
|
| 314 |
},
|
| 315 |
-
"order":
|
| 316 |
"mode": 0,
|
| 317 |
"inputs": [
|
| 318 |
{
|
|
@@ -369,33 +365,39 @@
|
|
| 369 |
"bgcolor": "#653"
|
| 370 |
},
|
| 371 |
{
|
| 372 |
-
"id":
|
| 373 |
-
"type": "
|
| 374 |
"pos": [
|
| 375 |
-
|
| 376 |
-
|
| 377 |
],
|
| 378 |
"size": [
|
| 379 |
270,
|
| 380 |
-
|
| 381 |
],
|
| 382 |
"flags": {},
|
| 383 |
-
"order":
|
| 384 |
"mode": 0,
|
| 385 |
-
"inputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 386 |
"outputs": [
|
| 387 |
{
|
| 388 |
-
"name": "
|
| 389 |
-
"type": "
|
| 390 |
"links": [
|
| 391 |
-
|
| 392 |
]
|
| 393 |
}
|
| 394 |
],
|
| 395 |
"properties": {
|
| 396 |
"cnr_id": "comfy-core",
|
| 397 |
"ver": "0.20.1",
|
| 398 |
-
"Node name for S&R": "
|
| 399 |
"ue_properties": {
|
| 400 |
"widget_ue_connectable": {},
|
| 401 |
"input_ue_unconnectable": {},
|
|
@@ -403,211 +405,248 @@
|
|
| 403 |
}
|
| 404 |
},
|
| 405 |
"widgets_values": [
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
"default"
|
| 409 |
]
|
| 410 |
},
|
| 411 |
{
|
| 412 |
-
"id":
|
| 413 |
-
"type": "
|
| 414 |
"pos": [
|
| 415 |
-
|
| 416 |
-
|
| 417 |
],
|
| 418 |
"size": [
|
| 419 |
270,
|
| 420 |
-
|
| 421 |
],
|
| 422 |
"flags": {},
|
| 423 |
-
"order":
|
| 424 |
"mode": 0,
|
| 425 |
"inputs": [
|
| 426 |
{
|
| 427 |
-
"name": "
|
| 428 |
-
"type": "
|
| 429 |
-
"link":
|
| 430 |
}
|
| 431 |
],
|
| 432 |
"outputs": [
|
| 433 |
{
|
| 434 |
-
"name": "
|
| 435 |
-
"type": "
|
| 436 |
"links": [
|
| 437 |
-
|
|
|
|
| 438 |
]
|
| 439 |
}
|
| 440 |
],
|
| 441 |
"properties": {
|
| 442 |
"cnr_id": "comfy-core",
|
| 443 |
-
"ver": "0.
|
| 444 |
-
"Node name for S&R": "
|
| 445 |
"ue_properties": {
|
| 446 |
"widget_ue_connectable": {},
|
| 447 |
-
"
|
| 448 |
-
"
|
| 449 |
}
|
| 450 |
},
|
| 451 |
"widgets_values": [
|
| 452 |
0,
|
| 453 |
-
|
|
|
|
| 454 |
]
|
| 455 |
},
|
| 456 |
{
|
| 457 |
-
"id":
|
| 458 |
-
"type": "
|
| 459 |
"pos": [
|
| 460 |
-
|
| 461 |
-
|
| 462 |
],
|
| 463 |
"size": [
|
| 464 |
-
|
| 465 |
-
|
| 466 |
],
|
| 467 |
-
"flags": {
|
| 468 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 469 |
},
|
| 470 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 471 |
"mode": 0,
|
| 472 |
"inputs": [
|
| 473 |
{
|
| 474 |
-
"name": "
|
| 475 |
-
"type": "
|
| 476 |
-
"link":
|
| 477 |
-
}
|
| 478 |
-
|
| 479 |
-
|
| 480 |
-
|
| 481 |
-
|
| 482 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 483 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 484 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 485 |
"outputs": [
|
| 486 |
{
|
| 487 |
"name": "IMAGE",
|
| 488 |
"type": "IMAGE",
|
| 489 |
"links": [
|
| 490 |
-
|
| 491 |
-
|
| 492 |
-
]
|
| 493 |
-
},
|
| 494 |
-
{
|
| 495 |
-
"name": "width",
|
| 496 |
-
"type": "INT",
|
| 497 |
-
"links": [
|
| 498 |
-
317
|
| 499 |
-
]
|
| 500 |
-
},
|
| 501 |
-
{
|
| 502 |
-
"name": "height",
|
| 503 |
-
"type": "INT",
|
| 504 |
-
"links": [
|
| 505 |
-
318
|
| 506 |
]
|
| 507 |
},
|
| 508 |
{
|
| 509 |
-
"name": "
|
| 510 |
"type": "MASK",
|
| 511 |
"links": null
|
| 512 |
}
|
| 513 |
],
|
| 514 |
"properties": {
|
| 515 |
-
"
|
| 516 |
-
"ver": "
|
| 517 |
-
"Node name for S&R": "
|
| 518 |
-
"cnr_id": "comfyui-kjnodes",
|
| 519 |
"ue_properties": {
|
| 520 |
"widget_ue_connectable": {},
|
| 521 |
-
"
|
| 522 |
-
"
|
| 523 |
}
|
| 524 |
},
|
| 525 |
"widgets_values": [
|
| 526 |
-
|
| 527 |
-
|
| 528 |
-
"lanczos",
|
| 529 |
-
"resize",
|
| 530 |
-
"0, 0, 0",
|
| 531 |
-
"center",
|
| 532 |
-
2,
|
| 533 |
-
"cpu"
|
| 534 |
]
|
| 535 |
},
|
| 536 |
{
|
| 537 |
-
"id":
|
| 538 |
-
"type": "
|
| 539 |
"pos": [
|
| 540 |
-
|
| 541 |
-
|
| 542 |
],
|
| 543 |
"size": [
|
| 544 |
270,
|
| 545 |
-
|
| 546 |
],
|
| 547 |
"flags": {
|
| 548 |
"collapsed": false
|
| 549 |
},
|
| 550 |
-
"order":
|
| 551 |
"mode": 0,
|
| 552 |
"inputs": [
|
| 553 |
{
|
| 554 |
-
"name": "
|
| 555 |
"type": "IMAGE",
|
| 556 |
-
"link":
|
| 557 |
},
|
| 558 |
{
|
| 559 |
-
"name": "
|
| 560 |
"shape": 7,
|
| 561 |
-
"type": "
|
| 562 |
-
"link":
|
| 563 |
-
},
|
| 564 |
-
{
|
| 565 |
-
"name": "width",
|
| 566 |
-
"type": "INT",
|
| 567 |
-
"widget": {
|
| 568 |
-
"name": "width"
|
| 569 |
-
},
|
| 570 |
-
"link": 311
|
| 571 |
},
|
| 572 |
{
|
| 573 |
-
"name": "
|
| 574 |
-
"
|
| 575 |
-
"
|
| 576 |
-
|
| 577 |
-
},
|
| 578 |
-
"link": 312
|
| 579 |
}
|
| 580 |
],
|
| 581 |
"outputs": [
|
| 582 |
{
|
| 583 |
-
"name": "
|
| 584 |
"type": "IMAGE",
|
| 585 |
"links": [
|
| 586 |
-
|
| 587 |
-
367,
|
| 588 |
-
377
|
| 589 |
]
|
| 590 |
-
},
|
| 591 |
-
{
|
| 592 |
-
"name": "width",
|
| 593 |
-
"type": "INT",
|
| 594 |
-
"links": null
|
| 595 |
-
},
|
| 596 |
-
{
|
| 597 |
-
"name": "height",
|
| 598 |
-
"type": "INT",
|
| 599 |
-
"links": null
|
| 600 |
-
},
|
| 601 |
-
{
|
| 602 |
-
"name": "mask",
|
| 603 |
-
"type": "MASK",
|
| 604 |
-
"links": null
|
| 605 |
}
|
| 606 |
],
|
| 607 |
"properties": {
|
| 608 |
"aux_id": "aining2022/ComfyUI_Swwan",
|
| 609 |
"ver": "d0d61754bf7fa57f2abb4714cdf79058f5862a55",
|
| 610 |
-
"Node name for S&R": "
|
| 611 |
"cnr_id": "comfyui-kjnodes",
|
| 612 |
"ue_properties": {
|
| 613 |
"widget_ue_connectable": {},
|
|
@@ -616,139 +655,223 @@
|
|
| 616 |
}
|
| 617 |
},
|
| 618 |
"widgets_values": [
|
| 619 |
-
|
| 620 |
-
|
| 621 |
-
|
| 622 |
-
"pad",
|
| 623 |
-
"0, 0, 0",
|
| 624 |
-
"center",
|
| 625 |
-
2,
|
| 626 |
-
"cpu"
|
| 627 |
]
|
| 628 |
},
|
| 629 |
{
|
| 630 |
-
"id":
|
| 631 |
-
"type": "
|
| 632 |
"pos": [
|
| 633 |
-
|
| 634 |
-
|
| 635 |
],
|
| 636 |
"size": [
|
| 637 |
-
|
| 638 |
-
|
| 639 |
],
|
| 640 |
"flags": {},
|
| 641 |
-
"order":
|
| 642 |
"mode": 0,
|
| 643 |
"inputs": [
|
| 644 |
{
|
| 645 |
-
"name": "
|
| 646 |
-
"type": "
|
| 647 |
-
"link":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 648 |
}
|
| 649 |
],
|
| 650 |
"outputs": [
|
| 651 |
{
|
| 652 |
-
"name": "
|
| 653 |
-
"type": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 654 |
"links": null
|
| 655 |
}
|
| 656 |
],
|
| 657 |
"properties": {
|
| 658 |
-
"
|
| 659 |
-
"ver": "
|
| 660 |
-
"Node name for S&R": "
|
| 661 |
},
|
| 662 |
"widgets_values": [
|
| 663 |
-
|
| 664 |
-
|
| 665 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 666 |
]
|
| 667 |
},
|
| 668 |
{
|
| 669 |
-
"id":
|
| 670 |
-
"type": "
|
| 671 |
"pos": [
|
| 672 |
-
|
| 673 |
-
|
| 674 |
],
|
| 675 |
"size": [
|
| 676 |
-
|
| 677 |
-
|
| 678 |
],
|
| 679 |
"flags": {},
|
| 680 |
-
"order":
|
| 681 |
"mode": 0,
|
| 682 |
"inputs": [
|
| 683 |
{
|
| 684 |
-
"name": "
|
| 685 |
-
"type": "
|
| 686 |
-
"link":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 687 |
}
|
| 688 |
],
|
| 689 |
"outputs": [
|
| 690 |
{
|
| 691 |
-
"name": "
|
| 692 |
-
"type": "
|
| 693 |
-
"links":
|
| 694 |
-
289,
|
| 695 |
-
290
|
| 696 |
-
]
|
| 697 |
}
|
| 698 |
],
|
| 699 |
"properties": {
|
| 700 |
-
"cnr_id": "
|
| 701 |
-
"ver": "
|
| 702 |
-
"Node name for S&R": "
|
| 703 |
"ue_properties": {
|
| 704 |
"widget_ue_connectable": {},
|
| 705 |
-
"
|
| 706 |
-
"
|
| 707 |
}
|
| 708 |
},
|
| 709 |
-
"widgets_values":
|
| 710 |
-
|
| 711 |
-
|
| 712 |
-
|
| 713 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 714 |
},
|
| 715 |
{
|
| 716 |
-
"id":
|
| 717 |
-
"type": "
|
| 718 |
"pos": [
|
| 719 |
-
|
| 720 |
-
|
| 721 |
],
|
| 722 |
"size": [
|
| 723 |
-
|
| 724 |
-
|
| 725 |
],
|
| 726 |
-
"flags": {
|
| 727 |
-
|
|
|
|
|
|
|
| 728 |
"mode": 0,
|
| 729 |
"inputs": [
|
| 730 |
{
|
| 731 |
-
"name": "
|
| 732 |
-
"type": "
|
| 733 |
-
"
|
| 734 |
-
|
| 735 |
-
|
| 736 |
-
"
|
|
|
|
|
|
|
|
|
|
| 737 |
}
|
| 738 |
],
|
| 739 |
"outputs": [
|
| 740 |
{
|
| 741 |
-
"name": "
|
| 742 |
-
"type": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 743 |
"links": [
|
| 744 |
-
|
| 745 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 746 |
}
|
| 747 |
],
|
| 748 |
"properties": {
|
| 749 |
-
"
|
| 750 |
-
"ver": "
|
| 751 |
-
"Node name for S&R": "
|
|
|
|
| 752 |
"ue_properties": {
|
| 753 |
"widget_ue_connectable": {},
|
| 754 |
"input_ue_unconnectable": {},
|
|
@@ -756,118 +879,76 @@
|
|
| 756 |
}
|
| 757 |
},
|
| 758 |
"widgets_values": [
|
| 759 |
-
|
| 760 |
-
|
| 761 |
-
""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 762 |
]
|
| 763 |
},
|
| 764 |
{
|
| 765 |
-
"id":
|
| 766 |
-
"type": "
|
| 767 |
"pos": [
|
| 768 |
-
|
| 769 |
-
|
| 770 |
],
|
| 771 |
"size": [
|
| 772 |
-
|
| 773 |
-
|
| 774 |
],
|
| 775 |
-
"flags": {
|
| 776 |
-
|
| 777 |
-
"mode": 0,
|
| 778 |
-
"inputs": [],
|
| 779 |
-
"outputs": [],
|
| 780 |
-
"title": "Model Links",
|
| 781 |
-
"properties": {
|
| 782 |
-
"ue_properties": {
|
| 783 |
-
"widget_ue_connectable": {},
|
| 784 |
-
"version": "7.5.1",
|
| 785 |
-
"input_ue_unconnectable": {}
|
| 786 |
-
}
|
| 787 |
},
|
| 788 |
-
"
|
| 789 |
-
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\n**text_encoders**\n\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true)\n\n**vae**\n\n- [Wan2_1_VAE_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1_VAE_bf16.safetensors?download=true)\n\n**loras**\n\n- [lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors?download=true)\n\n**diffusion_models**\n\n- [wan2.2_bernini_r_high_noise_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_high_noise_fp8_scaled.safetensors)\n- [wan2.2_bernini_r_low_noise_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_low_noise_fp8_scaled.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── umt5_xxl_fp8_e4m3fn_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── Wan2_1_VAE_bf16.safetensors\n│ ├── 📂 loras/\n│ │ └── lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors\n│ └── 📂 diffusion_models/\n│ ├── wan2.2_bernini_r_high_noise_fp8_scaled.safetensors\n│ └── wan2.2_bernini_r_low_noise_fp8_scaled.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
|
| 790 |
-
],
|
| 791 |
-
"color": "#222",
|
| 792 |
-
"bgcolor": "#000"
|
| 793 |
-
},
|
| 794 |
-
{
|
| 795 |
-
"id": 151,
|
| 796 |
-
"type": "MarkdownNote",
|
| 797 |
-
"pos": [
|
| 798 |
-
860.4671201811404,
|
| 799 |
-
4454.173416084291
|
| 800 |
-
],
|
| 801 |
-
"size": [
|
| 802 |
-
508.9531999999997,
|
| 803 |
-
625.1425999999992
|
| 804 |
-
],
|
| 805 |
-
"flags": {},
|
| 806 |
-
"order": 5,
|
| 807 |
-
"mode": 0,
|
| 808 |
-
"inputs": [],
|
| 809 |
-
"outputs": [],
|
| 810 |
-
"properties": {},
|
| 811 |
-
"widgets_values": [
|
| 812 |
-
"# Head-Swap Bernini LoRA — inference cheat-sheet\n\n Match these to training or the LoRA degrades / loses consistency.\n\n ## Base model (required)\n - **Bernini-R** high + low — NOT vanilla Wan2.2.\n - wan2.2_bernini_r_high_noise_fp8_scaled → high-noise model\n - wan2.2_bernini_r_low_noise_fp8_scaled → low-noise model\n\n ## LoRA\n - ..._high_noise → **high** model · ..._low_noise → **low** model\n - rank 64 / alpha 64 (scaling 1.0). Start **strength 0.7–1.0**; lower if body/identity over-applies.\n - Check with **Head-Swap LoRA Debug**: patched keys > 0 (≈200/expert), not 0.\n\n ## Resolution & frames (trained)\n - **73 frames**, **640 px long edge**. Stay close — going far above is where consistency broke.\n - The conditioning node auto-follows the guide size; feed a guide ~640 long edge.\n\n ## Conditioning / wiring (Head-Swap Bernini Conditioning, BFS)\n - guide_video → source_id 1 (scene/body kept)\n - head_image → source_id 2 (identity)\n - target (generated) → source_id 0 · don't swap roles.\n\n ## Reference image\n - **Crop to head/shoulders only** — full-body ref makes the body bleed in.\n\n ## ArcFace identity similarity (this LoRA, 73f/640 rank64)\n | step | arcface |\n |------|---------|\n | 0 (base) | ~0.00 |\n | 500 | 0.37 |\n | 1000 | 0.39 |\n | 1500 | 0.43 |\n | 2000 | 0.47 |\n | 2500 | **0.57** |\n | 3000 | 0.57 (per-clip 0.47 / 0.63 / 0.61) |\n\n Plateaus ~0.57 — **step 2500–3000 are the best checkpoints**.\n\n ## Prompt\n - Trigger `head_swap:` alone works (≈59% of training was just that).\n - Optional: short natural-language, or the FACE/ACTION template below.\n\n **FACE template example:**\n```\n head_swap:\n\n FACE:\n Female, fair skin, approximately 20-30 years old, oval head shape,\n long dark hair pulled back, brown eyes, no facial hair, smooth skin, no headwear.\n\n ACTION:\n A woman sits by a window and turns her head toward the camera; keep her clothing,\n body posture, the room background and the static camera framing unchanged.\n ```\n\n FACE = describe ONLY the head. ACTION = describe the guide's body/scene/motion to preserve.\n\n ## Sampler\n - Standard Wan2.2 A14B dual high/low-noise (split sigmas at the boundary)."
|
| 813 |
-
],
|
| 814 |
-
"color": "#432",
|
| 815 |
-
"bgcolor": "#653"
|
| 816 |
-
},
|
| 817 |
-
{
|
| 818 |
-
"id": 141,
|
| 819 |
-
"type": "TextGenerate",
|
| 820 |
-
"pos": [
|
| 821 |
-
3741.1553480271587,
|
| 822 |
-
3387.297827507101
|
| 823 |
-
],
|
| 824 |
-
"size": [
|
| 825 |
-
400,
|
| 826 |
-
412
|
| 827 |
-
],
|
| 828 |
-
"flags": {},
|
| 829 |
-
"order": 16,
|
| 830 |
"mode": 0,
|
| 831 |
"inputs": [
|
| 832 |
-
{
|
| 833 |
-
"name": "clip",
|
| 834 |
-
"type": "CLIP",
|
| 835 |
-
"link": 376
|
| 836 |
-
},
|
| 837 |
{
|
| 838 |
"name": "image",
|
| 839 |
-
"shape": 7,
|
| 840 |
-
"type": "IMAGE",
|
| 841 |
-
"link": 377
|
| 842 |
-
},
|
| 843 |
-
{
|
| 844 |
-
"name": "video",
|
| 845 |
-
"shape": 7,
|
| 846 |
"type": "IMAGE",
|
| 847 |
-
"link":
|
| 848 |
},
|
| 849 |
{
|
| 850 |
-
"name": "
|
| 851 |
"shape": 7,
|
| 852 |
-
"type": "
|
| 853 |
"link": null
|
| 854 |
}
|
| 855 |
],
|
| 856 |
"outputs": [
|
| 857 |
{
|
| 858 |
-
"name": "
|
| 859 |
-
"type": "
|
| 860 |
"links": [
|
| 861 |
-
|
| 862 |
-
|
|
|
|
| 863 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 864 |
}
|
| 865 |
],
|
| 866 |
-
"title": "Face Auto Prompt",
|
| 867 |
"properties": {
|
| 868 |
-
"
|
| 869 |
-
"ver": "
|
| 870 |
-
"Node name for S&R": "
|
|
|
|
| 871 |
"ue_properties": {
|
| 872 |
"widget_ue_connectable": {},
|
| 873 |
"input_ue_unconnectable": {},
|
|
@@ -875,18 +956,14 @@
|
|
| 875 |
}
|
| 876 |
},
|
| 877 |
"widgets_values": [
|
| 878 |
-
|
| 879 |
-
|
| 880 |
-
"
|
| 881 |
-
|
| 882 |
-
|
| 883 |
-
|
| 884 |
-
|
| 885 |
-
|
| 886 |
-
0,
|
| 887 |
-
0,
|
| 888 |
-
false,
|
| 889 |
-
true
|
| 890 |
]
|
| 891 |
},
|
| 892 |
{
|
|
@@ -901,7 +978,7 @@
|
|
| 901 |
1250.9609858073393
|
| 902 |
],
|
| 903 |
"flags": {},
|
| 904 |
-
"order":
|
| 905 |
"mode": 0,
|
| 906 |
"inputs": [
|
| 907 |
{
|
|
@@ -928,7 +1005,7 @@
|
|
| 928 |
"widget": {
|
| 929 |
"name": "text"
|
| 930 |
},
|
| 931 |
-
"link":
|
| 932 |
},
|
| 933 |
{
|
| 934 |
"label": "task_type",
|
|
@@ -1059,80 +1136,35 @@
|
|
| 1059 |
"clip_name"
|
| 1060 |
],
|
| 1061 |
[
|
| 1062 |
-
"7",
|
| 1063 |
-
"vae_name"
|
| 1064 |
-
],
|
| 1065 |
-
[
|
| 1066 |
-
"115",
|
| 1067 |
-
"lora_name"
|
| 1068 |
-
],
|
| 1069 |
-
[
|
| 1070 |
-
"116",
|
| 1071 |
-
"lora_name"
|
| 1072 |
-
]
|
| 1073 |
-
],
|
| 1074 |
-
"cnr_id": "comfy-core",
|
| 1075 |
-
"ver": "0.24.0",
|
| 1076 |
-
"ue_properties": {
|
| 1077 |
-
"widget_ue_connectable": {
|
| 1078 |
-
"text": true,
|
| 1079 |
-
"choice": true,
|
| 1080 |
-
"length": true,
|
| 1081 |
-
"value": true,
|
| 1082 |
-
"unet_name": true,
|
| 1083 |
-
"unet_name_1": true,
|
| 1084 |
-
"lora_name": true
|
| 1085 |
-
},
|
| 1086 |
-
"version": "7.5.1",
|
| 1087 |
-
"input_ue_unconnectable": {}
|
| 1088 |
-
}
|
| 1089 |
-
},
|
| 1090 |
-
"widgets_values": []
|
| 1091 |
-
},
|
| 1092 |
-
{
|
| 1093 |
-
"id": 46,
|
| 1094 |
-
"type": "SaveVideo",
|
| 1095 |
-
"pos": [
|
| 1096 |
-
5710.752053769778,
|
| 1097 |
-
3880.7558846709844
|
| 1098 |
-
],
|
| 1099 |
-
"size": [
|
| 1100 |
-
390,
|
| 1101 |
-
859.96875
|
| 1102 |
-
],
|
| 1103 |
-
"flags": {},
|
| 1104 |
-
"order": 20,
|
| 1105 |
-
"mode": 0,
|
| 1106 |
-
"inputs": [
|
| 1107 |
-
{
|
| 1108 |
-
"name": "video",
|
| 1109 |
-
"type": "VIDEO",
|
| 1110 |
-
"link": 160
|
| 1111 |
-
}
|
| 1112 |
-
],
|
| 1113 |
-
"outputs": [],
|
| 1114 |
-
"properties": {
|
| 1115 |
"cnr_id": "comfy-core",
|
| 1116 |
"ver": "0.24.0",
|
| 1117 |
-
"Node name for S&R": "SaveVideo",
|
| 1118 |
-
"enableTabs": false,
|
| 1119 |
-
"tabWidth": 65,
|
| 1120 |
-
"tabXOffset": 10,
|
| 1121 |
-
"hasSecondTab": false,
|
| 1122 |
-
"secondTabText": "Send Back",
|
| 1123 |
-
"secondTabOffset": 80,
|
| 1124 |
-
"secondTabWidth": 65,
|
| 1125 |
"ue_properties": {
|
| 1126 |
-
"widget_ue_connectable": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1127 |
"version": "7.5.1",
|
| 1128 |
"input_ue_unconnectable": {}
|
| 1129 |
}
|
| 1130 |
},
|
| 1131 |
-
"widgets_values": [
|
| 1132 |
-
"video/Bernini_r",
|
| 1133 |
-
"auto",
|
| 1134 |
-
"auto"
|
| 1135 |
-
]
|
| 1136 |
},
|
| 1137 |
{
|
| 1138 |
"id": 47,
|
|
@@ -1176,20 +1208,20 @@
|
|
| 1176 |
}
|
| 1177 |
},
|
| 1178 |
"widgets_values": [
|
| 1179 |
-
"
|
| 1180 |
"image"
|
| 1181 |
]
|
| 1182 |
},
|
| 1183 |
{
|
| 1184 |
-
"id":
|
| 1185 |
-
"type": "
|
| 1186 |
"pos": [
|
| 1187 |
-
|
| 1188 |
-
|
| 1189 |
],
|
| 1190 |
"size": [
|
| 1191 |
-
|
| 1192 |
-
|
| 1193 |
],
|
| 1194 |
"flags": {},
|
| 1195 |
"order": 7,
|
|
@@ -1197,83 +1229,83 @@
|
|
| 1197 |
"inputs": [],
|
| 1198 |
"outputs": [
|
| 1199 |
{
|
| 1200 |
-
"name": "
|
| 1201 |
-
"type": "
|
| 1202 |
"links": [
|
| 1203 |
-
|
| 1204 |
-
364
|
| 1205 |
]
|
| 1206 |
-
},
|
| 1207 |
-
{
|
| 1208 |
-
"name": "MASK",
|
| 1209 |
-
"type": "MASK",
|
| 1210 |
-
"links": null
|
| 1211 |
}
|
| 1212 |
],
|
| 1213 |
"properties": {
|
| 1214 |
"cnr_id": "comfy-core",
|
| 1215 |
-
"ver": "0.
|
| 1216 |
-
"Node name for S&R": "
|
| 1217 |
"ue_properties": {
|
| 1218 |
"widget_ue_connectable": {},
|
| 1219 |
-
"
|
| 1220 |
-
"
|
| 1221 |
}
|
| 1222 |
},
|
| 1223 |
"widgets_values": [
|
| 1224 |
-
"
|
| 1225 |
-
"
|
|
|
|
| 1226 |
]
|
| 1227 |
},
|
| 1228 |
{
|
| 1229 |
-
"id":
|
| 1230 |
-
"type": "
|
| 1231 |
"pos": [
|
| 1232 |
-
|
| 1233 |
-
|
| 1234 |
],
|
| 1235 |
"size": [
|
| 1236 |
-
|
| 1237 |
-
|
| 1238 |
],
|
| 1239 |
-
"flags": {
|
| 1240 |
-
|
| 1241 |
-
|
| 1242 |
-
"order": 22,
|
| 1243 |
-
"mode": 0,
|
| 1244 |
"inputs": [
|
| 1245 |
{
|
| 1246 |
-
"name": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1247 |
"type": "IMAGE",
|
| 1248 |
-
"link":
|
| 1249 |
},
|
| 1250 |
{
|
| 1251 |
-
"name": "
|
| 1252 |
"shape": 7,
|
| 1253 |
"type": "IMAGE",
|
| 1254 |
-
"link":
|
| 1255 |
},
|
| 1256 |
{
|
| 1257 |
-
"name": "
|
| 1258 |
"shape": 7,
|
| 1259 |
-
"type": "
|
| 1260 |
-
"link":
|
| 1261 |
}
|
| 1262 |
],
|
| 1263 |
"outputs": [
|
| 1264 |
{
|
| 1265 |
-
"name": "
|
| 1266 |
-
"type": "
|
| 1267 |
"links": [
|
| 1268 |
-
|
|
|
|
| 1269 |
]
|
| 1270 |
}
|
| 1271 |
],
|
|
|
|
| 1272 |
"properties": {
|
| 1273 |
-
"
|
| 1274 |
-
"ver": "
|
| 1275 |
-
"Node name for S&R": "
|
| 1276 |
-
"cnr_id": "comfyui-kjnodes",
|
| 1277 |
"ue_properties": {
|
| 1278 |
"widget_ue_connectable": {},
|
| 1279 |
"input_ue_unconnectable": {},
|
|
@@ -1281,159 +1313,145 @@
|
|
| 1281 |
}
|
| 1282 |
},
|
| 1283 |
"widgets_values": [
|
| 1284 |
-
|
| 1285 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1286 |
true
|
| 1287 |
]
|
| 1288 |
},
|
| 1289 |
{
|
| 1290 |
-
"id":
|
| 1291 |
-
"type": "
|
| 1292 |
"pos": [
|
| 1293 |
-
|
| 1294 |
-
|
| 1295 |
],
|
| 1296 |
"size": [
|
| 1297 |
-
|
| 1298 |
-
|
| 1299 |
],
|
| 1300 |
"flags": {},
|
| 1301 |
-
"order":
|
| 1302 |
-
"mode":
|
| 1303 |
"inputs": [
|
| 1304 |
{
|
| 1305 |
-
"name": "
|
| 1306 |
-
"type": "
|
| 1307 |
-
"link":
|
| 1308 |
-
},
|
| 1309 |
-
{
|
| 1310 |
-
"name": "mask",
|
| 1311 |
-
"shape": 7,
|
| 1312 |
-
"type": "MASK",
|
| 1313 |
-
"link": null
|
| 1314 |
}
|
| 1315 |
],
|
| 1316 |
"outputs": [
|
| 1317 |
{
|
| 1318 |
-
"name": "
|
| 1319 |
-
"type": "
|
| 1320 |
-
"links": [
|
| 1321 |
-
416
|
| 1322 |
-
]
|
| 1323 |
-
},
|
| 1324 |
-
{
|
| 1325 |
-
"name": "width",
|
| 1326 |
-
"type": "INT",
|
| 1327 |
-
"links": null
|
| 1328 |
-
},
|
| 1329 |
-
{
|
| 1330 |
-
"name": "height",
|
| 1331 |
-
"type": "INT",
|
| 1332 |
-
"links": null
|
| 1333 |
-
},
|
| 1334 |
-
{
|
| 1335 |
-
"name": "mask",
|
| 1336 |
-
"type": "MASK",
|
| 1337 |
"links": null
|
| 1338 |
}
|
| 1339 |
],
|
| 1340 |
"properties": {
|
| 1341 |
-
"
|
| 1342 |
-
"ver": "
|
| 1343 |
-
"Node name for S&R": "
|
| 1344 |
},
|
| 1345 |
"widgets_values": [
|
| 1346 |
-
|
| 1347 |
-
|
| 1348 |
-
|
| 1349 |
-
"resize",
|
| 1350 |
-
"0, 0, 0",
|
| 1351 |
-
"center",
|
| 1352 |
-
2,
|
| 1353 |
-
"cpu"
|
| 1354 |
]
|
| 1355 |
},
|
| 1356 |
{
|
| 1357 |
-
"id":
|
| 1358 |
-
"type": "
|
| 1359 |
"pos": [
|
| 1360 |
-
|
| 1361 |
-
|
| 1362 |
],
|
| 1363 |
"size": [
|
| 1364 |
-
|
| 1365 |
-
|
| 1366 |
],
|
| 1367 |
"flags": {},
|
| 1368 |
-
"order":
|
| 1369 |
-
"mode":
|
| 1370 |
"inputs": [
|
| 1371 |
{
|
| 1372 |
-
"name": "
|
| 1373 |
-
"type": "
|
| 1374 |
-
"
|
| 1375 |
-
|
| 1376 |
-
|
| 1377 |
-
"
|
| 1378 |
-
|
| 1379 |
-
|
| 1380 |
-
|
| 1381 |
-
},
|
| 1382 |
-
{
|
| 1383 |
-
"name": "meta_batch",
|
| 1384 |
-
"shape": 7,
|
| 1385 |
-
"type": "VHS_BatchManager",
|
| 1386 |
-
"link": null
|
| 1387 |
-
},
|
| 1388 |
{
|
| 1389 |
-
"name": "
|
| 1390 |
-
"
|
| 1391 |
-
"
|
| 1392 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1393 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1394 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1395 |
"outputs": [
|
| 1396 |
{
|
| 1397 |
-
"name": "
|
| 1398 |
-
"type": "
|
| 1399 |
-
"links":
|
|
|
|
|
|
|
| 1400 |
}
|
| 1401 |
],
|
| 1402 |
"properties": {
|
| 1403 |
-
"cnr_id": "
|
| 1404 |
-
"ver": "
|
| 1405 |
-
"Node name for S&R": "
|
| 1406 |
"ue_properties": {
|
| 1407 |
"widget_ue_connectable": {},
|
| 1408 |
"input_ue_unconnectable": {},
|
| 1409 |
"version": "7.5.1"
|
| 1410 |
}
|
| 1411 |
},
|
| 1412 |
-
"widgets_values":
|
| 1413 |
-
"
|
| 1414 |
-
"
|
| 1415 |
-
"
|
| 1416 |
-
|
| 1417 |
-
"pix_fmt": "yuv420p",
|
| 1418 |
-
"crf": 19,
|
| 1419 |
-
"save_metadata": true,
|
| 1420 |
-
"trim_to_audio": false,
|
| 1421 |
-
"pingpong": false,
|
| 1422 |
-
"save_output": true,
|
| 1423 |
-
"videopreview": {
|
| 1424 |
-
"hidden": false,
|
| 1425 |
-
"paused": false,
|
| 1426 |
-
"params": {
|
| 1427 |
-
"filename": "head_bernini_00030-audio.mp4",
|
| 1428 |
-
"subfolder": "",
|
| 1429 |
-
"type": "output",
|
| 1430 |
-
"format": "video/h264-mp4",
|
| 1431 |
-
"frame_rate": 24,
|
| 1432 |
-
"workflow": "head_bernini_00030.png",
|
| 1433 |
-
"fullpath": "/data/comfyui/output/head_bernini_00030-audio.mp4"
|
| 1434 |
-
}
|
| 1435 |
-
}
|
| 1436 |
-
}
|
| 1437 |
}
|
| 1438 |
],
|
| 1439 |
"links": [
|
|
@@ -1493,22 +1511,6 @@
|
|
| 1493 |
0,
|
| 1494 |
"IMAGE"
|
| 1495 |
],
|
| 1496 |
-
[
|
| 1497 |
-
311,
|
| 1498 |
-
111,
|
| 1499 |
-
0,
|
| 1500 |
-
117,
|
| 1501 |
-
2,
|
| 1502 |
-
"INT"
|
| 1503 |
-
],
|
| 1504 |
-
[
|
| 1505 |
-
312,
|
| 1506 |
-
111,
|
| 1507 |
-
1,
|
| 1508 |
-
117,
|
| 1509 |
-
3,
|
| 1510 |
-
"INT"
|
| 1511 |
-
],
|
| 1512 |
[
|
| 1513 |
314,
|
| 1514 |
110,
|
|
@@ -1621,14 +1623,6 @@
|
|
| 1621 |
1,
|
| 1622 |
"IMAGE"
|
| 1623 |
],
|
| 1624 |
-
[
|
| 1625 |
-
393,
|
| 1626 |
-
144,
|
| 1627 |
-
0,
|
| 1628 |
-
76,
|
| 1629 |
-
3,
|
| 1630 |
-
"STRING"
|
| 1631 |
-
],
|
| 1632 |
[
|
| 1633 |
399,
|
| 1634 |
141,
|
|
@@ -1660,6 +1654,14 @@
|
|
| 1660 |
130,
|
| 1661 |
0,
|
| 1662 |
"IMAGE"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1663 |
]
|
| 1664 |
],
|
| 1665 |
"groups": [
|
|
@@ -1683,8 +1685,8 @@
|
|
| 1683 |
"version": 1,
|
| 1684 |
"state": {
|
| 1685 |
"lastGroupId": 9,
|
| 1686 |
-
"lastNodeId":
|
| 1687 |
-
"lastLinkId":
|
| 1688 |
"lastRerouteId": 0
|
| 1689 |
},
|
| 1690 |
"revision": 0,
|
|
@@ -2031,8 +2033,8 @@
|
|
| 2031 |
"version": 1,
|
| 2032 |
"state": {
|
| 2033 |
"lastGroupId": 9,
|
| 2034 |
-
"lastNodeId":
|
| 2035 |
-
"lastLinkId":
|
| 2036 |
"lastRerouteId": 0
|
| 2037 |
},
|
| 2038 |
"revision": 0,
|
|
@@ -2307,7 +2309,7 @@
|
|
| 2307 |
129.984375
|
| 2308 |
],
|
| 2309 |
"flags": {},
|
| 2310 |
-
"order":
|
| 2311 |
"mode": 0,
|
| 2312 |
"inputs": [
|
| 2313 |
{
|
|
@@ -2377,7 +2379,7 @@
|
|
| 2377 |
99.984375
|
| 2378 |
],
|
| 2379 |
"flags": {},
|
| 2380 |
-
"order":
|
| 2381 |
"mode": 0,
|
| 2382 |
"inputs": [
|
| 2383 |
{
|
|
@@ -2434,7 +2436,7 @@
|
|
| 2434 |
159.140625
|
| 2435 |
],
|
| 2436 |
"flags": {},
|
| 2437 |
-
"order":
|
| 2438 |
"mode": 0,
|
| 2439 |
"inputs": [
|
| 2440 |
{
|
|
@@ -2504,7 +2506,7 @@
|
|
| 2504 |
600
|
| 2505 |
],
|
| 2506 |
"flags": {},
|
| 2507 |
-
"order":
|
| 2508 |
"mode": 0,
|
| 2509 |
"inputs": [
|
| 2510 |
{
|
|
@@ -2655,7 +2657,7 @@
|
|
| 2655 |
129.984375
|
| 2656 |
],
|
| 2657 |
"flags": {},
|
| 2658 |
-
"order":
|
| 2659 |
"mode": 0,
|
| 2660 |
"inputs": [
|
| 2661 |
{
|
|
@@ -2799,7 +2801,7 @@
|
|
| 2799 |
129.984375
|
| 2800 |
],
|
| 2801 |
"flags": {},
|
| 2802 |
-
"order":
|
| 2803 |
"mode": 0,
|
| 2804 |
"inputs": [
|
| 2805 |
{
|
|
@@ -2861,7 +2863,7 @@
|
|
| 2861 |
129.984375
|
| 2862 |
],
|
| 2863 |
"flags": {},
|
| 2864 |
-
"order":
|
| 2865 |
"mode": 0,
|
| 2866 |
"inputs": [
|
| 2867 |
{
|
|
@@ -3004,7 +3006,7 @@
|
|
| 3004 |
99.984375
|
| 3005 |
],
|
| 3006 |
"flags": {},
|
| 3007 |
-
"order":
|
| 3008 |
"mode": 0,
|
| 3009 |
"inputs": [
|
| 3010 |
{
|
|
@@ -3058,7 +3060,7 @@
|
|
| 3058 |
439.96875
|
| 3059 |
],
|
| 3060 |
"flags": {},
|
| 3061 |
-
"order":
|
| 3062 |
"mode": 0,
|
| 3063 |
"inputs": [
|
| 3064 |
{
|
|
@@ -3141,7 +3143,7 @@
|
|
| 3141 |
249.984375
|
| 3142 |
],
|
| 3143 |
"flags": {},
|
| 3144 |
-
"order":
|
| 3145 |
"mode": 4,
|
| 3146 |
"inputs": [
|
| 3147 |
{
|
|
@@ -3190,7 +3192,7 @@
|
|
| 3190 |
76
|
| 3191 |
],
|
| 3192 |
"flags": {},
|
| 3193 |
-
"order":
|
| 3194 |
"mode": 0,
|
| 3195 |
"inputs": [
|
| 3196 |
{
|
|
@@ -3220,7 +3222,7 @@
|
|
| 3220 |
}
|
| 3221 |
},
|
| 3222 |
"widgets_values": [
|
| 3223 |
-
"=== Head-Swap Bernini Conditioning ===\nOUTPUT (source_id 0 / target):
|
| 3224 |
]
|
| 3225 |
},
|
| 3226 |
{
|
|
@@ -3235,7 +3237,7 @@
|
|
| 3235 |
229.984375
|
| 3236 |
],
|
| 3237 |
"flags": {},
|
| 3238 |
-
"order":
|
| 3239 |
"mode": 0,
|
| 3240 |
"inputs": [
|
| 3241 |
{
|
|
@@ -3285,7 +3287,7 @@
|
|
| 3285 |
572.0755208333333
|
| 3286 |
],
|
| 3287 |
"flags": {},
|
| 3288 |
-
"order":
|
| 3289 |
"mode": 0,
|
| 3290 |
"showAdvanced": false,
|
| 3291 |
"inputs": [
|
|
@@ -3387,7 +3389,7 @@
|
|
| 3387 |
129.984375
|
| 3388 |
],
|
| 3389 |
"flags": {},
|
| 3390 |
-
"order":
|
| 3391 |
"mode": 0,
|
| 3392 |
"inputs": [
|
| 3393 |
{
|
|
@@ -3449,7 +3451,7 @@
|
|
| 3449 |
169.96875
|
| 3450 |
],
|
| 3451 |
"flags": {},
|
| 3452 |
-
"order":
|
| 3453 |
"mode": 0,
|
| 3454 |
"inputs": [
|
| 3455 |
{
|
|
@@ -3513,7 +3515,7 @@
|
|
| 3513 |
129.984375
|
| 3514 |
],
|
| 3515 |
"flags": {},
|
| 3516 |
-
"order":
|
| 3517 |
"mode": 0,
|
| 3518 |
"inputs": [
|
| 3519 |
{
|
|
@@ -3575,7 +3577,7 @@
|
|
| 3575 |
139.96875
|
| 3576 |
],
|
| 3577 |
"flags": {},
|
| 3578 |
-
"order":
|
| 3579 |
"mode": 0,
|
| 3580 |
"inputs": [
|
| 3581 |
{
|
|
@@ -3639,7 +3641,7 @@
|
|
| 3639 |
139.96875
|
| 3640 |
],
|
| 3641 |
"flags": {},
|
| 3642 |
-
"order":
|
| 3643 |
"mode": 0,
|
| 3644 |
"inputs": [
|
| 3645 |
{
|
|
@@ -3703,7 +3705,7 @@
|
|
| 3703 |
143.171875
|
| 3704 |
],
|
| 3705 |
"flags": {},
|
| 3706 |
-
"order":
|
| 3707 |
"mode": 0,
|
| 3708 |
"inputs": [
|
| 3709 |
{
|
|
@@ -3774,7 +3776,7 @@
|
|
| 3774 |
390
|
| 3775 |
],
|
| 3776 |
"flags": {},
|
| 3777 |
-
"order":
|
| 3778 |
"mode": 0,
|
| 3779 |
"inputs": [
|
| 3780 |
{
|
|
@@ -3838,7 +3840,7 @@
|
|
| 3838 |
169.96875
|
| 3839 |
],
|
| 3840 |
"flags": {},
|
| 3841 |
-
"order":
|
| 3842 |
"mode": 0,
|
| 3843 |
"inputs": [
|
| 3844 |
{
|
|
@@ -3910,7 +3912,7 @@
|
|
| 3910 |
109.96875
|
| 3911 |
],
|
| 3912 |
"flags": {},
|
| 3913 |
-
"order":
|
| 3914 |
"mode": 0,
|
| 3915 |
"inputs": [
|
| 3916 |
{
|
|
@@ -3974,7 +3976,7 @@
|
|
| 3974 |
169.96875
|
| 3975 |
],
|
| 3976 |
"flags": {},
|
| 3977 |
-
"order":
|
| 3978 |
"mode": 0,
|
| 3979 |
"inputs": [
|
| 3980 |
{
|
|
@@ -4040,7 +4042,7 @@
|
|
| 4040 |
169.96875
|
| 4041 |
],
|
| 4042 |
"flags": {},
|
| 4043 |
-
"order":
|
| 4044 |
"mode": 0,
|
| 4045 |
"inputs": [
|
| 4046 |
{
|
|
@@ -4114,7 +4116,7 @@
|
|
| 4114 |
"flags": {
|
| 4115 |
"collapsed": false
|
| 4116 |
},
|
| 4117 |
-
"order":
|
| 4118 |
"mode": 0,
|
| 4119 |
"inputs": [
|
| 4120 |
{
|
|
@@ -4188,7 +4190,7 @@
|
|
| 4188 |
169.96875
|
| 4189 |
],
|
| 4190 |
"flags": {},
|
| 4191 |
-
"order":
|
| 4192 |
"mode": 0,
|
| 4193 |
"inputs": [
|
| 4194 |
{
|
|
@@ -4258,10 +4260,10 @@
|
|
| 4258 |
],
|
| 4259 |
"size": [
|
| 4260 |
316.1001953125,
|
| 4261 |
-
|
| 4262 |
],
|
| 4263 |
"flags": {},
|
| 4264 |
-
"order":
|
| 4265 |
"mode": 0,
|
| 4266 |
"inputs": [
|
| 4267 |
{
|
|
@@ -4346,7 +4348,8 @@
|
|
| 4346 |
"Node name for S&R": "BFSHeadSwapBerniniConditioning"
|
| 4347 |
},
|
| 4348 |
"widgets_values": [
|
| 4349 |
-
73
|
|
|
|
| 4350 |
]
|
| 4351 |
},
|
| 4352 |
{
|
|
@@ -4361,7 +4364,7 @@
|
|
| 4361 |
572.0755208333333
|
| 4362 |
],
|
| 4363 |
"flags": {},
|
| 4364 |
-
"order":
|
| 4365 |
"mode": 0,
|
| 4366 |
"showAdvanced": false,
|
| 4367 |
"inputs": [
|
|
@@ -4451,61 +4454,6 @@
|
|
| 4451 |
1
|
| 4452 |
]
|
| 4453 |
},
|
| 4454 |
-
{
|
| 4455 |
-
"id": 4,
|
| 4456 |
-
"type": "CLIPTextEncode",
|
| 4457 |
-
"pos": [
|
| 4458 |
-
1670,
|
| 4459 |
-
4670
|
| 4460 |
-
],
|
| 4461 |
-
"size": [
|
| 4462 |
-
699.984375,
|
| 4463 |
-
240
|
| 4464 |
-
],
|
| 4465 |
-
"flags": {},
|
| 4466 |
-
"order": 10,
|
| 4467 |
-
"mode": 0,
|
| 4468 |
-
"inputs": [
|
| 4469 |
-
{
|
| 4470 |
-
"localized_name": "clip",
|
| 4471 |
-
"name": "clip",
|
| 4472 |
-
"type": "CLIP",
|
| 4473 |
-
"link": 8
|
| 4474 |
-
}
|
| 4475 |
-
],
|
| 4476 |
-
"outputs": [
|
| 4477 |
-
{
|
| 4478 |
-
"localized_name": "CONDITIONING",
|
| 4479 |
-
"name": "CONDITIONING",
|
| 4480 |
-
"type": "CONDITIONING",
|
| 4481 |
-
"links": [
|
| 4482 |
-
397
|
| 4483 |
-
]
|
| 4484 |
-
}
|
| 4485 |
-
],
|
| 4486 |
-
"properties": {
|
| 4487 |
-
"cnr_id": "comfy-core",
|
| 4488 |
-
"ver": "0.24.0",
|
| 4489 |
-
"Node name for S&R": "CLIPTextEncode",
|
| 4490 |
-
"enableTabs": false,
|
| 4491 |
-
"tabWidth": 65,
|
| 4492 |
-
"tabXOffset": 10,
|
| 4493 |
-
"hasSecondTab": false,
|
| 4494 |
-
"secondTabText": "Send Back",
|
| 4495 |
-
"secondTabOffset": 80,
|
| 4496 |
-
"secondTabWidth": 65,
|
| 4497 |
-
"ue_properties": {
|
| 4498 |
-
"widget_ue_connectable": {},
|
| 4499 |
-
"version": "7.5.1",
|
| 4500 |
-
"input_ue_unconnectable": {}
|
| 4501 |
-
}
|
| 4502 |
-
},
|
| 4503 |
-
"widgets_values": [
|
| 4504 |
-
"overexposed, static, blurry, low quality, worst quality, jpeg artifacts, ugly, deformed, extra fingers,\nbad hands, bad face, malformed limbs, fused fingers, cluttered background, extra people, body swap,\nreplacing the body, copying the reference body, full-body replacement, changed body, changed body shape,\nchanged clothing, changed outfit, changed background, changed scene, changed pose, changed motion,\ninconsistent face, flickering face, identity mismatch, multiple faces, wrong face"
|
| 4505 |
-
],
|
| 4506 |
-
"color": "#223",
|
| 4507 |
-
"bgcolor": "#335"
|
| 4508 |
-
},
|
| 4509 |
{
|
| 4510 |
"id": 154,
|
| 4511 |
"type": "ContextWindowsVisualizerKJ",
|
|
@@ -4518,7 +4466,7 @@
|
|
| 4518 |
605.8799475722076
|
| 4519 |
],
|
| 4520 |
"flags": {},
|
| 4521 |
-
"order":
|
| 4522 |
"mode": 0,
|
| 4523 |
"inputs": [
|
| 4524 |
{
|
|
@@ -4577,7 +4525,7 @@
|
|
| 4577 |
559.0587475605944
|
| 4578 |
],
|
| 4579 |
"flags": {},
|
| 4580 |
-
"order":
|
| 4581 |
"mode": 0,
|
| 4582 |
"inputs": [
|
| 4583 |
{
|
|
@@ -4670,6 +4618,61 @@
|
|
| 4670 |
"widgets_values": [
|
| 4671 |
"er_sde"
|
| 4672 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4673 |
}
|
| 4674 |
],
|
| 4675 |
"groups": [
|
|
@@ -5341,10 +5344,10 @@
|
|
| 5341 |
"ue_links": [],
|
| 5342 |
"links_added_by_ue": [],
|
| 5343 |
"ds": {
|
| 5344 |
-
"scale": 0.
|
| 5345 |
"offset": [
|
| 5346 |
-
-
|
| 5347 |
-
-
|
| 5348 |
]
|
| 5349 |
}
|
| 5350 |
},
|
|
|
|
| 1 |
{
|
| 2 |
"id": "247ea069-731d-4b79-9d64-8807463de95c",
|
| 3 |
"revision": 0,
|
| 4 |
+
"last_node_id": 156,
|
| 5 |
+
"last_link_id": 417,
|
| 6 |
"nodes": [
|
| 7 |
{
|
| 8 |
"id": 101,
|
|
|
|
| 46 |
86
|
| 47 |
],
|
| 48 |
"flags": {},
|
| 49 |
+
"order": 10,
|
| 50 |
"mode": 0,
|
| 51 |
"inputs": [
|
| 52 |
{
|
|
|
|
| 133 |
86
|
| 134 |
],
|
| 135 |
"flags": {},
|
| 136 |
+
"order": 22,
|
| 137 |
"mode": 0,
|
| 138 |
"inputs": [
|
| 139 |
{
|
|
|
|
| 194 |
"flags": {
|
| 195 |
"collapsed": true
|
| 196 |
},
|
| 197 |
+
"order": 13,
|
| 198 |
"mode": 0,
|
| 199 |
"inputs": [
|
| 200 |
{
|
|
|
|
| 254 |
"flags": {
|
| 255 |
"collapsed": true
|
| 256 |
},
|
| 257 |
+
"order": 16,
|
| 258 |
"mode": 0,
|
| 259 |
"inputs": [
|
| 260 |
{
|
|
|
|
| 267 |
{
|
| 268 |
"name": "width",
|
| 269 |
"type": "INT",
|
| 270 |
+
"links": []
|
|
|
|
|
|
|
| 271 |
},
|
| 272 |
{
|
| 273 |
"name": "height",
|
| 274 |
"type": "INT",
|
| 275 |
+
"links": []
|
|
|
|
|
|
|
| 276 |
},
|
| 277 |
{
|
| 278 |
"name": "batch_size",
|
|
|
|
| 308 |
"flags": {
|
| 309 |
"collapsed": true
|
| 310 |
},
|
| 311 |
+
"order": 18,
|
| 312 |
"mode": 0,
|
| 313 |
"inputs": [
|
| 314 |
{
|
|
|
|
| 365 |
"bgcolor": "#653"
|
| 366 |
},
|
| 367 |
{
|
| 368 |
+
"id": 129,
|
| 369 |
+
"type": "ImageFromBatch",
|
| 370 |
"pos": [
|
| 371 |
+
4983.32792067138,
|
| 372 |
+
4684.83889295979
|
| 373 |
],
|
| 374 |
"size": [
|
| 375 |
270,
|
| 376 |
+
82
|
| 377 |
],
|
| 378 |
"flags": {},
|
| 379 |
+
"order": 19,
|
| 380 |
"mode": 0,
|
| 381 |
+
"inputs": [
|
| 382 |
+
{
|
| 383 |
+
"name": "image",
|
| 384 |
+
"type": "IMAGE",
|
| 385 |
+
"link": 350
|
| 386 |
+
}
|
| 387 |
+
],
|
| 388 |
"outputs": [
|
| 389 |
{
|
| 390 |
+
"name": "IMAGE",
|
| 391 |
+
"type": "IMAGE",
|
| 392 |
"links": [
|
| 393 |
+
357
|
| 394 |
]
|
| 395 |
}
|
| 396 |
],
|
| 397 |
"properties": {
|
| 398 |
"cnr_id": "comfy-core",
|
| 399 |
"ver": "0.20.1",
|
| 400 |
+
"Node name for S&R": "ImageFromBatch",
|
| 401 |
"ue_properties": {
|
| 402 |
"widget_ue_connectable": {},
|
| 403 |
"input_ue_unconnectable": {},
|
|
|
|
| 405 |
}
|
| 406 |
},
|
| 407 |
"widgets_values": [
|
| 408 |
+
0,
|
| 409 |
+
73
|
|
|
|
| 410 |
]
|
| 411 |
},
|
| 412 |
{
|
| 413 |
+
"id": 109,
|
| 414 |
+
"type": "Video Slice",
|
| 415 |
"pos": [
|
| 416 |
+
2807.6875568567457,
|
| 417 |
+
4039.7118326108207
|
| 418 |
],
|
| 419 |
"size": [
|
| 420 |
270,
|
| 421 |
+
169.96875
|
| 422 |
],
|
| 423 |
"flags": {},
|
| 424 |
+
"order": 11,
|
| 425 |
"mode": 0,
|
| 426 |
"inputs": [
|
| 427 |
{
|
| 428 |
+
"name": "video",
|
| 429 |
+
"type": "VIDEO",
|
| 430 |
+
"link": 288
|
| 431 |
}
|
| 432 |
],
|
| 433 |
"outputs": [
|
| 434 |
{
|
| 435 |
+
"name": "VIDEO",
|
| 436 |
+
"type": "VIDEO",
|
| 437 |
"links": [
|
| 438 |
+
289,
|
| 439 |
+
290
|
| 440 |
]
|
| 441 |
}
|
| 442 |
],
|
| 443 |
"properties": {
|
| 444 |
"cnr_id": "comfy-core",
|
| 445 |
+
"ver": "0.24.0",
|
| 446 |
+
"Node name for S&R": "Video Slice",
|
| 447 |
"ue_properties": {
|
| 448 |
"widget_ue_connectable": {},
|
| 449 |
+
"version": "7.5.1",
|
| 450 |
+
"input_ue_unconnectable": {}
|
| 451 |
}
|
| 452 |
},
|
| 453 |
"widgets_values": [
|
| 454 |
0,
|
| 455 |
+
5,
|
| 456 |
+
false
|
| 457 |
]
|
| 458 |
},
|
| 459 |
{
|
| 460 |
+
"id": 79,
|
| 461 |
+
"type": "MarkdownNote",
|
| 462 |
"pos": [
|
| 463 |
+
214.88302567100015,
|
| 464 |
+
4442.620065382
|
| 465 |
],
|
| 466 |
"size": [
|
| 467 |
+
609.984375,
|
| 468 |
+
1039.96875
|
| 469 |
],
|
| 470 |
+
"flags": {},
|
| 471 |
+
"order": 3,
|
| 472 |
+
"mode": 0,
|
| 473 |
+
"inputs": [],
|
| 474 |
+
"outputs": [],
|
| 475 |
+
"title": "Model Links",
|
| 476 |
+
"properties": {
|
| 477 |
+
"ue_properties": {
|
| 478 |
+
"widget_ue_connectable": {},
|
| 479 |
+
"version": "7.5.1",
|
| 480 |
+
"input_ue_unconnectable": {}
|
| 481 |
+
}
|
| 482 |
},
|
| 483 |
+
"widgets_values": [
|
| 484 |
+
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\n**text_encoders**\n\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true)\n\n**vae**\n\n- [Wan2_1_VAE_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1_VAE_bf16.safetensors?download=true)\n\n**loras**\n\n- [lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors?download=true)\n\n**diffusion_models**\n\n- [wan2.2_bernini_r_high_noise_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_high_noise_fp8_scaled.safetensors)\n- [wan2.2_bernini_r_low_noise_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_low_noise_fp8_scaled.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── umt5_xxl_fp8_e4m3fn_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── Wan2_1_VAE_bf16.safetensors\n│ ├── 📂 loras/\n│ │ └── lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors\n│ └── 📂 diffusion_models/\n│ ├── wan2.2_bernini_r_high_noise_fp8_scaled.safetensors\n│ └── wan2.2_bernini_r_low_noise_fp8_scaled.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
|
| 485 |
+
],
|
| 486 |
+
"color": "#222",
|
| 487 |
+
"bgcolor": "#000"
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"id": 151,
|
| 491 |
+
"type": "MarkdownNote",
|
| 492 |
+
"pos": [
|
| 493 |
+
860.4671201811404,
|
| 494 |
+
4454.173416084291
|
| 495 |
+
],
|
| 496 |
+
"size": [
|
| 497 |
+
508.9531999999997,
|
| 498 |
+
625.1425999999992
|
| 499 |
+
],
|
| 500 |
+
"flags": {},
|
| 501 |
+
"order": 4,
|
| 502 |
+
"mode": 0,
|
| 503 |
+
"inputs": [],
|
| 504 |
+
"outputs": [],
|
| 505 |
+
"properties": {},
|
| 506 |
+
"widgets_values": [
|
| 507 |
+
"# Head-Swap Bernini LoRA — inference cheat-sheet\n\n Match these to training or the LoRA degrades / loses consistency.\n\n ## Base model (required)\n - **Bernini-R** high + low — NOT vanilla Wan2.2.\n - wan2.2_bernini_r_high_noise_fp8_scaled → high-noise model\n - wan2.2_bernini_r_low_noise_fp8_scaled → low-noise model\n\n ## LoRA\n - ..._high_noise → **high** model · ..._low_noise → **low** model\n - rank 64 / alpha 64 (scaling 1.0). Start **strength 0.7–1.0**; lower if body/identity over-applies.\n - Check with **Head-Swap LoRA Debug**: patched keys > 0 (≈200/expert), not 0.\n\n ## Resolution & frames (trained)\n - **73 frames**, **640 px long edge**. Stay close — going far above is where consistency broke.\n - The conditioning node auto-follows the guide size; feed a guide ~640 long edge.\n\n ## Conditioning / wiring (Head-Swap Bernini Conditioning, BFS)\n - guide_video → source_id 1 (scene/body kept)\n - head_image → source_id 2 (identity)\n - target (generated) → source_id 0 · don't swap roles.\n\n ## Reference image\n - **Crop to head/shoulders only** — full-body ref makes the body bleed in.\n\n ## ArcFace identity similarity (this LoRA, 73f/640 rank64)\n | step | arcface |\n |------|---------|\n | 0 (base) | ~0.00 |\n | 500 | 0.37 |\n | 1000 | 0.39 |\n | 1500 | 0.43 |\n | 2000 | 0.47 |\n | 2500 | **0.57** |\n | 3000 | 0.57 (per-clip 0.47 / 0.63 / 0.61) |\n\n Plateaus ~0.57 — **step 2500–3000 are the best checkpoints**.\n\n ## Prompt\n - Trigger `head_swap:` alone works (≈59% of training was just that).\n - Optional: short natural-language, or the FACE/ACTION template below.\n\n **FACE template example:**\n```\n head_swap:\n\n FACE:\n Female, fair skin, approximately 20-30 years old, oval head shape,\n long dark hair pulled back, brown eyes, no facial hair, smooth skin, no headwear.\n\n ACTION:\n A woman sits by a window and turns her head toward the camera; keep her clothing,\n body posture, the room background and the static camera framing unchanged.\n ```\n\n FACE = describe ONLY the head. ACTION = describe the guide's body/scene/motion to preserve.\n\n ## Sampler\n - Standard Wan2.2 A14B dual high/low-noise (split sigmas at the boundary)."
|
| 508 |
+
],
|
| 509 |
+
"color": "#432",
|
| 510 |
+
"bgcolor": "#653"
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"id": 46,
|
| 514 |
+
"type": "SaveVideo",
|
| 515 |
+
"pos": [
|
| 516 |
+
5710.752053769778,
|
| 517 |
+
3880.7558846709844
|
| 518 |
+
],
|
| 519 |
+
"size": [
|
| 520 |
+
390,
|
| 521 |
+
859.96875
|
| 522 |
+
],
|
| 523 |
+
"flags": {},
|
| 524 |
+
"order": 21,
|
| 525 |
"mode": 0,
|
| 526 |
"inputs": [
|
| 527 |
{
|
| 528 |
+
"name": "video",
|
| 529 |
+
"type": "VIDEO",
|
| 530 |
+
"link": 160
|
| 531 |
+
}
|
| 532 |
+
],
|
| 533 |
+
"outputs": [],
|
| 534 |
+
"properties": {
|
| 535 |
+
"cnr_id": "comfy-core",
|
| 536 |
+
"ver": "0.24.0",
|
| 537 |
+
"Node name for S&R": "SaveVideo",
|
| 538 |
+
"enableTabs": false,
|
| 539 |
+
"tabWidth": 65,
|
| 540 |
+
"tabXOffset": 10,
|
| 541 |
+
"hasSecondTab": false,
|
| 542 |
+
"secondTabText": "Send Back",
|
| 543 |
+
"secondTabOffset": 80,
|
| 544 |
+
"secondTabWidth": 65,
|
| 545 |
+
"ue_properties": {
|
| 546 |
+
"widget_ue_connectable": {},
|
| 547 |
+
"version": "7.5.1",
|
| 548 |
+
"input_ue_unconnectable": {}
|
| 549 |
}
|
| 550 |
+
},
|
| 551 |
+
"widgets_values": [
|
| 552 |
+
"video/Bernini_r",
|
| 553 |
+
"auto",
|
| 554 |
+
"auto"
|
| 555 |
+
]
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"id": 104,
|
| 559 |
+
"type": "LoadImage",
|
| 560 |
+
"pos": [
|
| 561 |
+
2327.859317391624,
|
| 562 |
+
5335.998099007366
|
| 563 |
+
],
|
| 564 |
+
"size": [
|
| 565 |
+
289.96875,
|
| 566 |
+
369.984375
|
| 567 |
],
|
| 568 |
+
"flags": {},
|
| 569 |
+
"order": 5,
|
| 570 |
+
"mode": 0,
|
| 571 |
+
"inputs": [],
|
| 572 |
"outputs": [
|
| 573 |
{
|
| 574 |
"name": "IMAGE",
|
| 575 |
"type": "IMAGE",
|
| 576 |
"links": [
|
| 577 |
+
310,
|
| 578 |
+
364
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 579 |
]
|
| 580 |
},
|
| 581 |
{
|
| 582 |
+
"name": "MASK",
|
| 583 |
"type": "MASK",
|
| 584 |
"links": null
|
| 585 |
}
|
| 586 |
],
|
| 587 |
"properties": {
|
| 588 |
+
"cnr_id": "comfy-core",
|
| 589 |
+
"ver": "0.24.0",
|
| 590 |
+
"Node name for S&R": "LoadImage",
|
|
|
|
| 591 |
"ue_properties": {
|
| 592 |
"widget_ue_connectable": {},
|
| 593 |
+
"version": "7.5.1",
|
| 594 |
+
"input_ue_unconnectable": {}
|
| 595 |
}
|
| 596 |
},
|
| 597 |
"widgets_values": [
|
| 598 |
+
"Generated Image September 03, 2025 - 12_50PM.jpeg",
|
| 599 |
+
"image"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 600 |
]
|
| 601 |
},
|
| 602 |
{
|
| 603 |
+
"id": 125,
|
| 604 |
+
"type": "ImageConcatMulti",
|
| 605 |
"pos": [
|
| 606 |
+
5347.042102894794,
|
| 607 |
+
4748.648961184627
|
| 608 |
],
|
| 609 |
"size": [
|
| 610 |
270,
|
| 611 |
+
170
|
| 612 |
],
|
| 613 |
"flags": {
|
| 614 |
"collapsed": false
|
| 615 |
},
|
| 616 |
+
"order": 23,
|
| 617 |
"mode": 0,
|
| 618 |
"inputs": [
|
| 619 |
{
|
| 620 |
+
"name": "image_1",
|
| 621 |
"type": "IMAGE",
|
| 622 |
+
"link": 355
|
| 623 |
},
|
| 624 |
{
|
| 625 |
+
"name": "image_2",
|
| 626 |
"shape": 7,
|
| 627 |
+
"type": "IMAGE",
|
| 628 |
+
"link": 357
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 629 |
},
|
| 630 |
{
|
| 631 |
+
"name": "image_3",
|
| 632 |
+
"shape": 7,
|
| 633 |
+
"type": "IMAGE,MASK",
|
| 634 |
+
"link": 356
|
|
|
|
|
|
|
| 635 |
}
|
| 636 |
],
|
| 637 |
"outputs": [
|
| 638 |
{
|
| 639 |
+
"name": "images",
|
| 640 |
"type": "IMAGE",
|
| 641 |
"links": [
|
| 642 |
+
415
|
|
|
|
|
|
|
| 643 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 644 |
}
|
| 645 |
],
|
| 646 |
"properties": {
|
| 647 |
"aux_id": "aining2022/ComfyUI_Swwan",
|
| 648 |
"ver": "d0d61754bf7fa57f2abb4714cdf79058f5862a55",
|
| 649 |
+
"Node name for S&R": "ImageConcatMulti",
|
| 650 |
"cnr_id": "comfyui-kjnodes",
|
| 651 |
"ue_properties": {
|
| 652 |
"widget_ue_connectable": {},
|
|
|
|
| 655 |
}
|
| 656 |
},
|
| 657 |
"widgets_values": [
|
| 658 |
+
3,
|
| 659 |
+
"right",
|
| 660 |
+
true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 661 |
]
|
| 662 |
},
|
| 663 |
{
|
| 664 |
+
"id": 155,
|
| 665 |
+
"type": "ImageResizeKJv2",
|
| 666 |
"pos": [
|
| 667 |
+
5699.876783459777,
|
| 668 |
+
4830.251089624579
|
| 669 |
],
|
| 670 |
"size": [
|
| 671 |
+
291.7642578125,
|
| 672 |
+
336
|
| 673 |
],
|
| 674 |
"flags": {},
|
| 675 |
+
"order": 24,
|
| 676 |
"mode": 0,
|
| 677 |
"inputs": [
|
| 678 |
{
|
| 679 |
+
"name": "image",
|
| 680 |
+
"type": "IMAGE",
|
| 681 |
+
"link": 415
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"name": "mask",
|
| 685 |
+
"shape": 7,
|
| 686 |
+
"type": "MASK",
|
| 687 |
+
"link": null
|
| 688 |
}
|
| 689 |
],
|
| 690 |
"outputs": [
|
| 691 |
{
|
| 692 |
+
"name": "IMAGE",
|
| 693 |
+
"type": "IMAGE",
|
| 694 |
+
"links": [
|
| 695 |
+
416
|
| 696 |
+
]
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"name": "width",
|
| 700 |
+
"type": "INT",
|
| 701 |
+
"links": null
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"name": "height",
|
| 705 |
+
"type": "INT",
|
| 706 |
+
"links": null
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"name": "mask",
|
| 710 |
+
"type": "MASK",
|
| 711 |
"links": null
|
| 712 |
}
|
| 713 |
],
|
| 714 |
"properties": {
|
| 715 |
+
"aux_id": "aining2022/ComfyUI_Swwan",
|
| 716 |
+
"ver": "789eff2faf2f24bdcf00a6a5959f04e634bf5ad2",
|
| 717 |
+
"Node name for S&R": "ImageResizeKJv2"
|
| 718 |
},
|
| 719 |
"widgets_values": [
|
| 720 |
+
2048,
|
| 721 |
+
2048,
|
| 722 |
+
"lanczos",
|
| 723 |
+
"resize",
|
| 724 |
+
"0, 0, 0",
|
| 725 |
+
"center",
|
| 726 |
+
2,
|
| 727 |
+
"cpu"
|
| 728 |
]
|
| 729 |
},
|
| 730 |
{
|
| 731 |
+
"id": 130,
|
| 732 |
+
"type": "VHS_VideoCombine",
|
| 733 |
"pos": [
|
| 734 |
+
6074.981393290628,
|
| 735 |
+
4832.733015070812
|
| 736 |
],
|
| 737 |
"size": [
|
| 738 |
+
220.7333984375,
|
| 739 |
+
428.9598569869995
|
| 740 |
],
|
| 741 |
"flags": {},
|
| 742 |
+
"order": 25,
|
| 743 |
"mode": 0,
|
| 744 |
"inputs": [
|
| 745 |
{
|
| 746 |
+
"name": "images",
|
| 747 |
+
"type": "IMAGE",
|
| 748 |
+
"link": 416
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"name": "audio",
|
| 752 |
+
"shape": 7,
|
| 753 |
+
"type": "AUDIO",
|
| 754 |
+
"link": 354
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"name": "meta_batch",
|
| 758 |
+
"shape": 7,
|
| 759 |
+
"type": "VHS_BatchManager",
|
| 760 |
+
"link": null
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"name": "vae",
|
| 764 |
+
"shape": 7,
|
| 765 |
+
"type": "VAE",
|
| 766 |
+
"link": null
|
| 767 |
}
|
| 768 |
],
|
| 769 |
"outputs": [
|
| 770 |
{
|
| 771 |
+
"name": "Filenames",
|
| 772 |
+
"type": "VHS_FILENAMES",
|
| 773 |
+
"links": null
|
|
|
|
|
|
|
|
|
|
| 774 |
}
|
| 775 |
],
|
| 776 |
"properties": {
|
| 777 |
+
"cnr_id": "comfyui-videohelpersuite",
|
| 778 |
+
"ver": "993082e4f2473bf4acaf06f51e33877a7eb38960",
|
| 779 |
+
"Node name for S&R": "VHS_VideoCombine",
|
| 780 |
"ue_properties": {
|
| 781 |
"widget_ue_connectable": {},
|
| 782 |
+
"input_ue_unconnectable": {},
|
| 783 |
+
"version": "7.5.1"
|
| 784 |
}
|
| 785 |
},
|
| 786 |
+
"widgets_values": {
|
| 787 |
+
"frame_rate": 24,
|
| 788 |
+
"loop_count": 0,
|
| 789 |
+
"filename_prefix": "head_bernini",
|
| 790 |
+
"format": "video/h264-mp4",
|
| 791 |
+
"pix_fmt": "yuv420p",
|
| 792 |
+
"crf": 19,
|
| 793 |
+
"save_metadata": true,
|
| 794 |
+
"trim_to_audio": false,
|
| 795 |
+
"pingpong": false,
|
| 796 |
+
"save_output": true,
|
| 797 |
+
"videopreview": {
|
| 798 |
+
"hidden": false,
|
| 799 |
+
"paused": false,
|
| 800 |
+
"params": {
|
| 801 |
+
"filename": "head_bernini_00071.mp4",
|
| 802 |
+
"subfolder": "",
|
| 803 |
+
"type": "output",
|
| 804 |
+
"format": "video/h264-mp4",
|
| 805 |
+
"frame_rate": 24,
|
| 806 |
+
"workflow": "head_bernini_00071.png",
|
| 807 |
+
"fullpath": "/data/comfyui/output/head_bernini_00071.mp4"
|
| 808 |
+
}
|
| 809 |
+
}
|
| 810 |
+
}
|
| 811 |
},
|
| 812 |
{
|
| 813 |
+
"id": 118,
|
| 814 |
+
"type": "ImageResizeKJv2",
|
| 815 |
"pos": [
|
| 816 |
+
3500.883003470259,
|
| 817 |
+
3991.597330610957
|
| 818 |
],
|
| 819 |
"size": [
|
| 820 |
+
270,
|
| 821 |
+
336.00000000000045
|
| 822 |
],
|
| 823 |
+
"flags": {
|
| 824 |
+
"collapsed": false
|
| 825 |
+
},
|
| 826 |
+
"order": 17,
|
| 827 |
"mode": 0,
|
| 828 |
"inputs": [
|
| 829 |
{
|
| 830 |
+
"name": "image",
|
| 831 |
+
"type": "IMAGE",
|
| 832 |
+
"link": 314
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"name": "mask",
|
| 836 |
+
"shape": 7,
|
| 837 |
+
"type": "MASK",
|
| 838 |
+
"link": null
|
| 839 |
}
|
| 840 |
],
|
| 841 |
"outputs": [
|
| 842 |
{
|
| 843 |
+
"name": "IMAGE",
|
| 844 |
+
"type": "IMAGE",
|
| 845 |
+
"links": [
|
| 846 |
+
315,
|
| 847 |
+
350
|
| 848 |
+
]
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"name": "width",
|
| 852 |
+
"type": "INT",
|
| 853 |
+
"links": [
|
| 854 |
+
317
|
| 855 |
+
]
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"name": "height",
|
| 859 |
+
"type": "INT",
|
| 860 |
"links": [
|
| 861 |
+
318
|
| 862 |
]
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"name": "mask",
|
| 866 |
+
"type": "MASK",
|
| 867 |
+
"links": null
|
| 868 |
}
|
| 869 |
],
|
| 870 |
"properties": {
|
| 871 |
+
"aux_id": "aining2022/ComfyUI_Swwan",
|
| 872 |
+
"ver": "d0d61754bf7fa57f2abb4714cdf79058f5862a55",
|
| 873 |
+
"Node name for S&R": "ImageResizeKJv2",
|
| 874 |
+
"cnr_id": "comfyui-kjnodes",
|
| 875 |
"ue_properties": {
|
| 876 |
"widget_ue_connectable": {},
|
| 877 |
"input_ue_unconnectable": {},
|
|
|
|
| 879 |
}
|
| 880 |
},
|
| 881 |
"widgets_values": [
|
| 882 |
+
640,
|
| 883 |
+
640,
|
| 884 |
+
"lanczos",
|
| 885 |
+
"resize",
|
| 886 |
+
"0, 0, 0",
|
| 887 |
+
"center",
|
| 888 |
+
2,
|
| 889 |
+
"cpu"
|
| 890 |
]
|
| 891 |
},
|
| 892 |
{
|
| 893 |
+
"id": 117,
|
| 894 |
+
"type": "ImageResizeKJv2",
|
| 895 |
"pos": [
|
| 896 |
+
3147.7244502054828,
|
| 897 |
+
4334.987403907745
|
| 898 |
],
|
| 899 |
"size": [
|
| 900 |
+
270,
|
| 901 |
+
336.00000000000045
|
| 902 |
],
|
| 903 |
+
"flags": {
|
| 904 |
+
"collapsed": false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 905 |
},
|
| 906 |
+
"order": 9,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 907 |
"mode": 0,
|
| 908 |
"inputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 909 |
{
|
| 910 |
"name": "image",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 911 |
"type": "IMAGE",
|
| 912 |
+
"link": 310
|
| 913 |
},
|
| 914 |
{
|
| 915 |
+
"name": "mask",
|
| 916 |
"shape": 7,
|
| 917 |
+
"type": "MASK",
|
| 918 |
"link": null
|
| 919 |
}
|
| 920 |
],
|
| 921 |
"outputs": [
|
| 922 |
{
|
| 923 |
+
"name": "IMAGE",
|
| 924 |
+
"type": "IMAGE",
|
| 925 |
"links": [
|
| 926 |
+
355,
|
| 927 |
+
367,
|
| 928 |
+
377
|
| 929 |
]
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"name": "width",
|
| 933 |
+
"type": "INT",
|
| 934 |
+
"links": null
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"name": "height",
|
| 938 |
+
"type": "INT",
|
| 939 |
+
"links": null
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"name": "mask",
|
| 943 |
+
"type": "MASK",
|
| 944 |
+
"links": null
|
| 945 |
}
|
| 946 |
],
|
|
|
|
| 947 |
"properties": {
|
| 948 |
+
"aux_id": "aining2022/ComfyUI_Swwan",
|
| 949 |
+
"ver": "d0d61754bf7fa57f2abb4714cdf79058f5862a55",
|
| 950 |
+
"Node name for S&R": "ImageResizeKJv2",
|
| 951 |
+
"cnr_id": "comfyui-kjnodes",
|
| 952 |
"ue_properties": {
|
| 953 |
"widget_ue_connectable": {},
|
| 954 |
"input_ue_unconnectable": {},
|
|
|
|
| 956 |
}
|
| 957 |
},
|
| 958 |
"widgets_values": [
|
| 959 |
+
512,
|
| 960 |
+
512,
|
| 961 |
+
"lanczos",
|
| 962 |
+
"resize",
|
| 963 |
+
"0, 0, 0",
|
| 964 |
+
"center",
|
| 965 |
+
2,
|
| 966 |
+
"cpu"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 967 |
]
|
| 968 |
},
|
| 969 |
{
|
|
|
|
| 978 |
1250.9609858073393
|
| 979 |
],
|
| 980 |
"flags": {},
|
| 981 |
+
"order": 20,
|
| 982 |
"mode": 0,
|
| 983 |
"inputs": [
|
| 984 |
{
|
|
|
|
| 1005 |
"widget": {
|
| 1006 |
"name": "text"
|
| 1007 |
},
|
| 1008 |
+
"link": 417
|
| 1009 |
},
|
| 1010 |
{
|
| 1011 |
"label": "task_type",
|
|
|
|
| 1136 |
"clip_name"
|
| 1137 |
],
|
| 1138 |
[
|
| 1139 |
+
"7",
|
| 1140 |
+
"vae_name"
|
| 1141 |
+
],
|
| 1142 |
+
[
|
| 1143 |
+
"115",
|
| 1144 |
+
"lora_name"
|
| 1145 |
+
],
|
| 1146 |
+
[
|
| 1147 |
+
"116",
|
| 1148 |
+
"lora_name"
|
| 1149 |
+
]
|
| 1150 |
+
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1151 |
"cnr_id": "comfy-core",
|
| 1152 |
"ver": "0.24.0",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1153 |
"ue_properties": {
|
| 1154 |
+
"widget_ue_connectable": {
|
| 1155 |
+
"text": true,
|
| 1156 |
+
"choice": true,
|
| 1157 |
+
"length": true,
|
| 1158 |
+
"value": true,
|
| 1159 |
+
"unet_name": true,
|
| 1160 |
+
"unet_name_1": true,
|
| 1161 |
+
"lora_name": true
|
| 1162 |
+
},
|
| 1163 |
"version": "7.5.1",
|
| 1164 |
"input_ue_unconnectable": {}
|
| 1165 |
}
|
| 1166 |
},
|
| 1167 |
+
"widgets_values": []
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1168 |
},
|
| 1169 |
{
|
| 1170 |
"id": 47,
|
|
|
|
| 1208 |
}
|
| 1209 |
},
|
| 1210 |
"widgets_values": [
|
| 1211 |
+
"8802290-uhd_2160_3840_24fps.mp4",
|
| 1212 |
"image"
|
| 1213 |
]
|
| 1214 |
},
|
| 1215 |
{
|
| 1216 |
+
"id": 156,
|
| 1217 |
+
"type": "StringConcatenate",
|
| 1218 |
"pos": [
|
| 1219 |
+
4833.456205979227,
|
| 1220 |
+
3650.6862675804205
|
| 1221 |
],
|
| 1222 |
"size": [
|
| 1223 |
+
400,
|
| 1224 |
+
200
|
| 1225 |
],
|
| 1226 |
"flags": {},
|
| 1227 |
"order": 7,
|
|
|
|
| 1229 |
"inputs": [],
|
| 1230 |
"outputs": [
|
| 1231 |
{
|
| 1232 |
+
"name": "STRING",
|
| 1233 |
+
"type": "STRING",
|
| 1234 |
"links": [
|
| 1235 |
+
417
|
|
|
|
| 1236 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1237 |
}
|
| 1238 |
],
|
| 1239 |
"properties": {
|
| 1240 |
"cnr_id": "comfy-core",
|
| 1241 |
+
"ver": "0.20.1",
|
| 1242 |
+
"Node name for S&R": "StringConcatenate",
|
| 1243 |
"ue_properties": {
|
| 1244 |
"widget_ue_connectable": {},
|
| 1245 |
+
"input_ue_unconnectable": {},
|
| 1246 |
+
"version": "7.5.1"
|
| 1247 |
}
|
| 1248 |
},
|
| 1249 |
"widgets_values": [
|
| 1250 |
+
"head_swap:\n",
|
| 1251 |
+
"",
|
| 1252 |
+
""
|
| 1253 |
]
|
| 1254 |
},
|
| 1255 |
{
|
| 1256 |
+
"id": 141,
|
| 1257 |
+
"type": "TextGenerate",
|
| 1258 |
"pos": [
|
| 1259 |
+
3741.1553480271587,
|
| 1260 |
+
3387.297827507101
|
| 1261 |
],
|
| 1262 |
"size": [
|
| 1263 |
+
400,
|
| 1264 |
+
412
|
| 1265 |
],
|
| 1266 |
+
"flags": {},
|
| 1267 |
+
"order": 12,
|
| 1268 |
+
"mode": 4,
|
|
|
|
|
|
|
| 1269 |
"inputs": [
|
| 1270 |
{
|
| 1271 |
+
"name": "clip",
|
| 1272 |
+
"type": "CLIP",
|
| 1273 |
+
"link": 376
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"name": "image",
|
| 1277 |
+
"shape": 7,
|
| 1278 |
"type": "IMAGE",
|
| 1279 |
+
"link": 377
|
| 1280 |
},
|
| 1281 |
{
|
| 1282 |
+
"name": "video",
|
| 1283 |
"shape": 7,
|
| 1284 |
"type": "IMAGE",
|
| 1285 |
+
"link": null
|
| 1286 |
},
|
| 1287 |
{
|
| 1288 |
+
"name": "audio",
|
| 1289 |
"shape": 7,
|
| 1290 |
+
"type": "AUDIO",
|
| 1291 |
+
"link": null
|
| 1292 |
}
|
| 1293 |
],
|
| 1294 |
"outputs": [
|
| 1295 |
{
|
| 1296 |
+
"name": "generated_text",
|
| 1297 |
+
"type": "STRING",
|
| 1298 |
"links": [
|
| 1299 |
+
399,
|
| 1300 |
+
402
|
| 1301 |
]
|
| 1302 |
}
|
| 1303 |
],
|
| 1304 |
+
"title": "Face Auto Prompt",
|
| 1305 |
"properties": {
|
| 1306 |
+
"cnr_id": "comfy-core",
|
| 1307 |
+
"ver": "0.20.1",
|
| 1308 |
+
"Node name for S&R": "TextGenerate",
|
|
|
|
| 1309 |
"ue_properties": {
|
| 1310 |
"widget_ue_connectable": {},
|
| 1311 |
"input_ue_unconnectable": {},
|
|
|
|
| 1313 |
}
|
| 1314 |
},
|
| 1315 |
"widgets_values": [
|
| 1316 |
+
"describe only the head\n\nExample:\n\nYoung woman with very fair skin, pale blue-gray eyes, thick dark eyebrows, a straight narrow nose, and full soft pink lips. Softly oval face, lightly flushed cheeks, smooth natural skin texture, and sleek jet-black chin-length bob hair with a center part. Calm, serious expression with a steady gaze.",
|
| 1317 |
+
256,
|
| 1318 |
+
"on",
|
| 1319 |
+
0.7,
|
| 1320 |
+
64,
|
| 1321 |
+
0.95,
|
| 1322 |
+
0.05,
|
| 1323 |
+
1.05,
|
| 1324 |
+
0,
|
| 1325 |
+
0,
|
| 1326 |
+
false,
|
| 1327 |
true
|
| 1328 |
]
|
| 1329 |
},
|
| 1330 |
{
|
| 1331 |
+
"id": 148,
|
| 1332 |
+
"type": "PreviewAny",
|
| 1333 |
"pos": [
|
| 1334 |
+
4370.159774649217,
|
| 1335 |
+
3373.052336289281
|
| 1336 |
],
|
| 1337 |
"size": [
|
| 1338 |
+
400,
|
| 1339 |
+
200
|
| 1340 |
],
|
| 1341 |
"flags": {},
|
| 1342 |
+
"order": 14,
|
| 1343 |
+
"mode": 4,
|
| 1344 |
"inputs": [
|
| 1345 |
{
|
| 1346 |
+
"name": "source",
|
| 1347 |
+
"type": "*",
|
| 1348 |
+
"link": 399
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1349 |
}
|
| 1350 |
],
|
| 1351 |
"outputs": [
|
| 1352 |
{
|
| 1353 |
+
"name": "STRING",
|
| 1354 |
+
"type": "STRING",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1355 |
"links": null
|
| 1356 |
}
|
| 1357 |
],
|
| 1358 |
"properties": {
|
| 1359 |
+
"cnr_id": "comfy-core",
|
| 1360 |
+
"ver": "0.25.0",
|
| 1361 |
+
"Node name for S&R": "PreviewAny"
|
| 1362 |
},
|
| 1363 |
"widgets_values": [
|
| 1364 |
+
null,
|
| 1365 |
+
null,
|
| 1366 |
+
null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1367 |
]
|
| 1368 |
},
|
| 1369 |
{
|
| 1370 |
+
"id": 144,
|
| 1371 |
+
"type": "StringConcatenate",
|
| 1372 |
"pos": [
|
| 1373 |
+
4367.222773969187,
|
| 1374 |
+
3629.0008204276023
|
| 1375 |
],
|
| 1376 |
"size": [
|
| 1377 |
+
400,
|
| 1378 |
+
200
|
| 1379 |
],
|
| 1380 |
"flags": {},
|
| 1381 |
+
"order": 15,
|
| 1382 |
+
"mode": 4,
|
| 1383 |
"inputs": [
|
| 1384 |
{
|
| 1385 |
+
"name": "string_b",
|
| 1386 |
+
"type": "STRING",
|
| 1387 |
+
"widget": {
|
| 1388 |
+
"name": "string_b"
|
| 1389 |
+
},
|
| 1390 |
+
"link": 402
|
| 1391 |
+
}
|
| 1392 |
+
],
|
| 1393 |
+
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1394 |
{
|
| 1395 |
+
"name": "STRING",
|
| 1396 |
+
"type": "STRING",
|
| 1397 |
+
"links": []
|
| 1398 |
+
}
|
| 1399 |
+
],
|
| 1400 |
+
"properties": {
|
| 1401 |
+
"cnr_id": "comfy-core",
|
| 1402 |
+
"ver": "0.20.1",
|
| 1403 |
+
"Node name for S&R": "StringConcatenate",
|
| 1404 |
+
"ue_properties": {
|
| 1405 |
+
"widget_ue_connectable": {},
|
| 1406 |
+
"input_ue_unconnectable": {},
|
| 1407 |
+
"version": "7.5.1"
|
| 1408 |
}
|
| 1409 |
+
},
|
| 1410 |
+
"widgets_values": [
|
| 1411 |
+
"head_swap:\n\nFACE:\n\n\n",
|
| 1412 |
+
"",
|
| 1413 |
+
""
|
| 1414 |
+
]
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"id": 142,
|
| 1418 |
+
"type": "CLIPLoader",
|
| 1419 |
+
"pos": [
|
| 1420 |
+
3155.430028370735,
|
| 1421 |
+
3450.0271020691102
|
| 1422 |
+
],
|
| 1423 |
+
"size": [
|
| 1424 |
+
270,
|
| 1425 |
+
106
|
| 1426 |
],
|
| 1427 |
+
"flags": {},
|
| 1428 |
+
"order": 8,
|
| 1429 |
+
"mode": 4,
|
| 1430 |
+
"inputs": [],
|
| 1431 |
"outputs": [
|
| 1432 |
{
|
| 1433 |
+
"name": "CLIP",
|
| 1434 |
+
"type": "CLIP",
|
| 1435 |
+
"links": [
|
| 1436 |
+
376
|
| 1437 |
+
]
|
| 1438 |
}
|
| 1439 |
],
|
| 1440 |
"properties": {
|
| 1441 |
+
"cnr_id": "comfy-core",
|
| 1442 |
+
"ver": "0.20.1",
|
| 1443 |
+
"Node name for S&R": "CLIPLoader",
|
| 1444 |
"ue_properties": {
|
| 1445 |
"widget_ue_connectable": {},
|
| 1446 |
"input_ue_unconnectable": {},
|
| 1447 |
"version": "7.5.1"
|
| 1448 |
}
|
| 1449 |
},
|
| 1450 |
+
"widgets_values": [
|
| 1451 |
+
"gemma4_e4b_it_fp8_scaled.safetensors",
|
| 1452 |
+
"wan",
|
| 1453 |
+
"default"
|
| 1454 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1455 |
}
|
| 1456 |
],
|
| 1457 |
"links": [
|
|
|
|
| 1511 |
0,
|
| 1512 |
"IMAGE"
|
| 1513 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1514 |
[
|
| 1515 |
314,
|
| 1516 |
110,
|
|
|
|
| 1623 |
1,
|
| 1624 |
"IMAGE"
|
| 1625 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1626 |
[
|
| 1627 |
399,
|
| 1628 |
141,
|
|
|
|
| 1654 |
130,
|
| 1655 |
0,
|
| 1656 |
"IMAGE"
|
| 1657 |
+
],
|
| 1658 |
+
[
|
| 1659 |
+
417,
|
| 1660 |
+
156,
|
| 1661 |
+
0,
|
| 1662 |
+
76,
|
| 1663 |
+
3,
|
| 1664 |
+
"STRING"
|
| 1665 |
]
|
| 1666 |
],
|
| 1667 |
"groups": [
|
|
|
|
| 1685 |
"version": 1,
|
| 1686 |
"state": {
|
| 1687 |
"lastGroupId": 9,
|
| 1688 |
+
"lastNodeId": 156,
|
| 1689 |
+
"lastLinkId": 417,
|
| 1690 |
"lastRerouteId": 0
|
| 1691 |
},
|
| 1692 |
"revision": 0,
|
|
|
|
| 2033 |
"version": 1,
|
| 2034 |
"state": {
|
| 2035 |
"lastGroupId": 9,
|
| 2036 |
+
"lastNodeId": 156,
|
| 2037 |
+
"lastLinkId": 417,
|
| 2038 |
"lastRerouteId": 0
|
| 2039 |
},
|
| 2040 |
"revision": 0,
|
|
|
|
| 2309 |
129.984375
|
| 2310 |
],
|
| 2311 |
"flags": {},
|
| 2312 |
+
"order": 17,
|
| 2313 |
"mode": 0,
|
| 2314 |
"inputs": [
|
| 2315 |
{
|
|
|
|
| 2379 |
99.984375
|
| 2380 |
],
|
| 2381 |
"flags": {},
|
| 2382 |
+
"order": 16,
|
| 2383 |
"mode": 0,
|
| 2384 |
"inputs": [
|
| 2385 |
{
|
|
|
|
| 2436 |
159.140625
|
| 2437 |
],
|
| 2438 |
"flags": {},
|
| 2439 |
+
"order": 21,
|
| 2440 |
"mode": 0,
|
| 2441 |
"inputs": [
|
| 2442 |
{
|
|
|
|
| 2506 |
600
|
| 2507 |
],
|
| 2508 |
"flags": {},
|
| 2509 |
+
"order": 25,
|
| 2510 |
"mode": 0,
|
| 2511 |
"inputs": [
|
| 2512 |
{
|
|
|
|
| 2657 |
129.984375
|
| 2658 |
],
|
| 2659 |
"flags": {},
|
| 2660 |
+
"order": 28,
|
| 2661 |
"mode": 0,
|
| 2662 |
"inputs": [
|
| 2663 |
{
|
|
|
|
| 2801 |
129.984375
|
| 2802 |
],
|
| 2803 |
"flags": {},
|
| 2804 |
+
"order": 29,
|
| 2805 |
"mode": 0,
|
| 2806 |
"inputs": [
|
| 2807 |
{
|
|
|
|
| 2863 |
129.984375
|
| 2864 |
],
|
| 2865 |
"flags": {},
|
| 2866 |
+
"order": 31,
|
| 2867 |
"mode": 0,
|
| 2868 |
"inputs": [
|
| 2869 |
{
|
|
|
|
| 3006 |
99.984375
|
| 3007 |
],
|
| 3008 |
"flags": {},
|
| 3009 |
+
"order": 30,
|
| 3010 |
"mode": 0,
|
| 3011 |
"inputs": [
|
| 3012 |
{
|
|
|
|
| 3060 |
439.96875
|
| 3061 |
],
|
| 3062 |
"flags": {},
|
| 3063 |
+
"order": 26,
|
| 3064 |
"mode": 0,
|
| 3065 |
"inputs": [
|
| 3066 |
{
|
|
|
|
| 3143 |
249.984375
|
| 3144 |
],
|
| 3145 |
"flags": {},
|
| 3146 |
+
"order": 27,
|
| 3147 |
"mode": 4,
|
| 3148 |
"inputs": [
|
| 3149 |
{
|
|
|
|
| 3192 |
76
|
| 3193 |
],
|
| 3194 |
"flags": {},
|
| 3195 |
+
"order": 35,
|
| 3196 |
"mode": 0,
|
| 3197 |
"inputs": [
|
| 3198 |
{
|
|
|
|
| 3222 |
}
|
| 3223 |
},
|
| 3224 |
"widgets_values": [
|
| 3225 |
+
"=== Head-Swap Bernini Conditioning ===\nOUTPUT (source_id 0 / target): 352x640, 73f -> latent (1, 16, 19, 80, 44)\nGUIDE (source_id 1, kept): native 360x640 -> 352x640 -> latent (1, 16, 19, 80, 44) (~16720 tokens)\nHEAD (source_id 2, identity):native 512x374 -> 512x368 -> latent (1, 16, 1, 46, 64) (~736 tokens)\namplify_reference: True (positive ctx=2, negative ctx=1)\n-> set CFG ~3-5 and DISABLE LightX2V (CFG 1.0 won't amplify).\nBody of the head image bleeding in? crop head_image to head/shoulders only."
|
| 3226 |
]
|
| 3227 |
},
|
| 3228 |
{
|
|
|
|
| 3237 |
229.984375
|
| 3238 |
],
|
| 3239 |
"flags": {},
|
| 3240 |
+
"order": 32,
|
| 3241 |
"mode": 0,
|
| 3242 |
"inputs": [
|
| 3243 |
{
|
|
|
|
| 3287 |
572.0755208333333
|
| 3288 |
],
|
| 3289 |
"flags": {},
|
| 3290 |
+
"order": 19,
|
| 3291 |
"mode": 0,
|
| 3292 |
"showAdvanced": false,
|
| 3293 |
"inputs": [
|
|
|
|
| 3389 |
129.984375
|
| 3390 |
],
|
| 3391 |
"flags": {},
|
| 3392 |
+
"order": 23,
|
| 3393 |
"mode": 0,
|
| 3394 |
"inputs": [
|
| 3395 |
{
|
|
|
|
| 3451 |
169.96875
|
| 3452 |
],
|
| 3453 |
"flags": {},
|
| 3454 |
+
"order": 18,
|
| 3455 |
"mode": 0,
|
| 3456 |
"inputs": [
|
| 3457 |
{
|
|
|
|
| 3515 |
129.984375
|
| 3516 |
],
|
| 3517 |
"flags": {},
|
| 3518 |
+
"order": 24,
|
| 3519 |
"mode": 0,
|
| 3520 |
"inputs": [
|
| 3521 |
{
|
|
|
|
| 3577 |
139.96875
|
| 3578 |
],
|
| 3579 |
"flags": {},
|
| 3580 |
+
"order": 14,
|
| 3581 |
"mode": 0,
|
| 3582 |
"inputs": [
|
| 3583 |
{
|
|
|
|
| 3641 |
139.96875
|
| 3642 |
],
|
| 3643 |
"flags": {},
|
| 3644 |
+
"order": 10,
|
| 3645 |
"mode": 0,
|
| 3646 |
"inputs": [
|
| 3647 |
{
|
|
|
|
| 3705 |
143.171875
|
| 3706 |
],
|
| 3707 |
"flags": {},
|
| 3708 |
+
"order": 22,
|
| 3709 |
"mode": 0,
|
| 3710 |
"inputs": [
|
| 3711 |
{
|
|
|
|
| 3776 |
390
|
| 3777 |
],
|
| 3778 |
"flags": {},
|
| 3779 |
+
"order": 8,
|
| 3780 |
"mode": 0,
|
| 3781 |
"inputs": [
|
| 3782 |
{
|
|
|
|
| 3840 |
169.96875
|
| 3841 |
],
|
| 3842 |
"flags": {},
|
| 3843 |
+
"order": 13,
|
| 3844 |
"mode": 0,
|
| 3845 |
"inputs": [
|
| 3846 |
{
|
|
|
|
| 3912 |
109.96875
|
| 3913 |
],
|
| 3914 |
"flags": {},
|
| 3915 |
+
"order": 11,
|
| 3916 |
"mode": 0,
|
| 3917 |
"inputs": [
|
| 3918 |
{
|
|
|
|
| 3976 |
169.96875
|
| 3977 |
],
|
| 3978 |
"flags": {},
|
| 3979 |
+
"order": 12,
|
| 3980 |
"mode": 0,
|
| 3981 |
"inputs": [
|
| 3982 |
{
|
|
|
|
| 4042 |
169.96875
|
| 4043 |
],
|
| 4044 |
"flags": {},
|
| 4045 |
+
"order": 20,
|
| 4046 |
"mode": 0,
|
| 4047 |
"inputs": [
|
| 4048 |
{
|
|
|
|
| 4116 |
"flags": {
|
| 4117 |
"collapsed": false
|
| 4118 |
},
|
| 4119 |
+
"order": 34,
|
| 4120 |
"mode": 0,
|
| 4121 |
"inputs": [
|
| 4122 |
{
|
|
|
|
| 4190 |
169.96875
|
| 4191 |
],
|
| 4192 |
"flags": {},
|
| 4193 |
+
"order": 33,
|
| 4194 |
"mode": 0,
|
| 4195 |
"inputs": [
|
| 4196 |
{
|
|
|
|
| 4260 |
],
|
| 4261 |
"size": [
|
| 4262 |
316.1001953125,
|
| 4263 |
+
162
|
| 4264 |
],
|
| 4265 |
"flags": {},
|
| 4266 |
+
"order": 36,
|
| 4267 |
"mode": 0,
|
| 4268 |
"inputs": [
|
| 4269 |
{
|
|
|
|
| 4348 |
"Node name for S&R": "BFSHeadSwapBerniniConditioning"
|
| 4349 |
},
|
| 4350 |
"widgets_values": [
|
| 4351 |
+
73,
|
| 4352 |
+
true
|
| 4353 |
]
|
| 4354 |
},
|
| 4355 |
{
|
|
|
|
| 4364 |
572.0755208333333
|
| 4365 |
],
|
| 4366 |
"flags": {},
|
| 4367 |
+
"order": 15,
|
| 4368 |
"mode": 0,
|
| 4369 |
"showAdvanced": false,
|
| 4370 |
"inputs": [
|
|
|
|
| 4454 |
1
|
| 4455 |
]
|
| 4456 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4457 |
{
|
| 4458 |
"id": 154,
|
| 4459 |
"type": "ContextWindowsVisualizerKJ",
|
|
|
|
| 4466 |
605.8799475722076
|
| 4467 |
],
|
| 4468 |
"flags": {},
|
| 4469 |
+
"order": 38,
|
| 4470 |
"mode": 0,
|
| 4471 |
"inputs": [
|
| 4472 |
{
|
|
|
|
| 4525 |
559.0587475605944
|
| 4526 |
],
|
| 4527 |
"flags": {},
|
| 4528 |
+
"order": 37,
|
| 4529 |
"mode": 0,
|
| 4530 |
"inputs": [
|
| 4531 |
{
|
|
|
|
| 4618 |
"widgets_values": [
|
| 4619 |
"er_sde"
|
| 4620 |
]
|
| 4621 |
+
},
|
| 4622 |
+
{
|
| 4623 |
+
"id": 4,
|
| 4624 |
+
"type": "CLIPTextEncode",
|
| 4625 |
+
"pos": [
|
| 4626 |
+
1670,
|
| 4627 |
+
4670
|
| 4628 |
+
],
|
| 4629 |
+
"size": [
|
| 4630 |
+
699.984375,
|
| 4631 |
+
240
|
| 4632 |
+
],
|
| 4633 |
+
"flags": {},
|
| 4634 |
+
"order": 9,
|
| 4635 |
+
"mode": 0,
|
| 4636 |
+
"inputs": [
|
| 4637 |
+
{
|
| 4638 |
+
"localized_name": "clip",
|
| 4639 |
+
"name": "clip",
|
| 4640 |
+
"type": "CLIP",
|
| 4641 |
+
"link": 8
|
| 4642 |
+
}
|
| 4643 |
+
],
|
| 4644 |
+
"outputs": [
|
| 4645 |
+
{
|
| 4646 |
+
"localized_name": "CONDITIONING",
|
| 4647 |
+
"name": "CONDITIONING",
|
| 4648 |
+
"type": "CONDITIONING",
|
| 4649 |
+
"links": [
|
| 4650 |
+
397
|
| 4651 |
+
]
|
| 4652 |
+
}
|
| 4653 |
+
],
|
| 4654 |
+
"properties": {
|
| 4655 |
+
"cnr_id": "comfy-core",
|
| 4656 |
+
"ver": "0.24.0",
|
| 4657 |
+
"Node name for S&R": "CLIPTextEncode",
|
| 4658 |
+
"enableTabs": false,
|
| 4659 |
+
"tabWidth": 65,
|
| 4660 |
+
"tabXOffset": 10,
|
| 4661 |
+
"hasSecondTab": false,
|
| 4662 |
+
"secondTabText": "Send Back",
|
| 4663 |
+
"secondTabOffset": 80,
|
| 4664 |
+
"secondTabWidth": 65,
|
| 4665 |
+
"ue_properties": {
|
| 4666 |
+
"widget_ue_connectable": {},
|
| 4667 |
+
"version": "7.5.1",
|
| 4668 |
+
"input_ue_unconnectable": {}
|
| 4669 |
+
}
|
| 4670 |
+
},
|
| 4671 |
+
"widgets_values": [
|
| 4672 |
+
""
|
| 4673 |
+
],
|
| 4674 |
+
"color": "#223",
|
| 4675 |
+
"bgcolor": "#335"
|
| 4676 |
}
|
| 4677 |
],
|
| 4678 |
"groups": [
|
|
|
|
| 5344 |
"ue_links": [],
|
| 5345 |
"links_added_by_ue": [],
|
| 5346 |
"ds": {
|
| 5347 |
+
"scale": 0.2430442096739822,
|
| 5348 |
"offset": [
|
| 5349 |
+
-1115.1870606371954,
|
| 5350 |
+
-3026.609234329084
|
| 5351 |
]
|
| 5352 |
}
|
| 5353 |
},
|