BFS / workflows /Head Swap V3 Simple Workflow (With Lightining LoRA) .json
mr2along's picture
Duplicate from Alissonerdx/BFS-Best-Face-Swap
d9ffba9
{
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
"revision": 0,
"last_node_id": 415,
"last_link_id": 694,
"nodes": [
{
"id": 351,
"type": "MarkdownNote",
"pos": [
760,
2630
],
"size": [
330,
90
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: About image size",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"You can use the latent from the **EmptySD3LatentImage** to replace **VAE Encode**, so you can customize the image size."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 352,
"type": "MarkdownNote",
"pos": [
770,
2210
],
"size": [
300,
160
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: KSampler settings",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"You can test and find the best setting by yourself. The following table is for reference.\n\n| Model | Steps | CFG |\n|---------------------|---------------|---------------|\n| Offical | 50 | 4.0 \n| fp8_e4m3fn | 20 | 2.5 |\n| fp8_e4m3fn + 4steps LoRA | 4 | 1.0 |\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 388,
"type": "MarkdownNote",
"pos": [
-590,
1430
],
"size": [
310,
150
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: Raw latent version",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Since the **TextEncodeQwenImageEditPlus** node will scale the image to 1M pixels, you might find that the output has a pixel-shifting issue.\n\nThe **Raw latent version** is to provide the raw latent to the sampler. This is the way you can provide the raw latent as an input condition."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 99,
"type": "MarkdownNote",
"pos": [
-847.7141660563491,
1641.9723590165363
],
"size": [
550,
550
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Model links",
"properties": {
"ue_properties": {
"version": "7.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"[Tutorial](https://docs.comfy.org/tutorials/image/qwen/qwen-image-edit)\n\n\n## Model links\n\nYou can find all the models on [Comfy-Org/Qwen-Image_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/tree/main) and [Comfy-Org/Qwen-Image-Edit_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI) \n\n**Diffusion model**\n\n- [qwen_image_edit_2509_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors)\n\n**LoRA**\n\n- [Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors](https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors)\n\n**Text encoder**\n\n- [qwen_2.5_vl_7b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors)\n\n**VAE**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors)\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── qwen_image_edit_2509_fp8_e4m3fn.safetensors\n│ ├── 📂 loras/\n│ │ └── Qwen-Image-Lightning-4steps-V1.0.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen_2.5_vl_7b_fp8_scaled.safetensors\n```\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 336,
"type": "VAEDecode",
"pos": [
1110,
1470
],
"size": [
210,
46
],
"flags": {
"collapsed": false
},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 643
},
{
"name": "vae",
"type": "VAE",
"link": 501
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
507,
640
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "VAEDecode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"version": "7.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 399,
"type": "SigmasPreview",
"pos": [
463.992447879656,
2000.7420089842353
],
"size": [
270,
294
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "sigmas",
"type": "SIGMAS",
"link": 635
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "RES4LYF",
"ver": "7750bf7800b6ad9d670308a09989fc0c04c40cec",
"Node name for S&R": "SigmasPreview",
"ue_properties": {
"widget_ue_connectable": {
"print_as_list": true,
"line_color": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
false,
"blue"
]
},
{
"id": 404,
"type": "UnetLoaderGGUF",
"pos": [
-216.68753390661175,
1530.1451235073187
],
"size": [
270,
58
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
644
]
}
],
"properties": {
"cnr_id": "ComfyUI-GGUF",
"ver": "be2a08330d7ec232d684e50ab938870d7529471e",
"Node name for S&R": "UnetLoaderGGUF",
"ue_properties": {
"widget_ue_connectable": {
"unet_name": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Qwen-Image-Edit-2509-Q8_0.gguf"
]
},
{
"id": 393,
"type": "ConditioningZeroOut",
"pos": [
461.80927265158533,
1781.820542192547
],
"size": [
204.134765625,
26
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 625
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
632
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.66",
"Node name for S&R": "ConditioningZeroOut",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 337,
"type": "VAELoader",
"pos": [
-233.2964426223059,
2055.1330710502925
],
"size": [
330,
60
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
501,
593,
621,
652
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "VAELoader",
"models": [
{
"name": "qwen_image_vae.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"version": "7.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_image_vae.safetensors"
]
},
{
"id": 338,
"type": "CLIPLoader",
"pos": [
-234.41370218525492,
1887.3122541096511
],
"size": [
330,
110
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
650
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "CLIPLoader",
"models": [
{
"name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"version": "7.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
]
},
{
"id": 335,
"type": "CFGNorm",
"pos": [
770,
1580
],
"size": [
290,
60
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 499
}
],
"outputs": [
{
"name": "patched_model",
"type": "MODEL",
"links": [
646,
647
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "CFGNorm",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"strength": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
0.96
]
},
{
"id": 395,
"type": "SamplerCustom",
"pos": [
785.3967408723166,
1702.3934843325708
],
"size": [
270,
442
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 646
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 651
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 632
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 634
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 631
},
{
"name": "latent_image",
"type": "LATENT",
"link": 688
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
643
]
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.66",
"Node name for S&R": "SamplerCustom",
"ue_properties": {
"widget_ue_connectable": {
"add_noise": true,
"noise_seed": true,
"cfg": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
true,
43,
"fixed",
1
]
},
{
"id": 342,
"type": "SaveImage",
"pos": [
1335.2181154371806,
1535.0472844531116
],
"size": [
950,
1040
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 507
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "SaveImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"version": "7.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 375,
"type": "VAEEncode",
"pos": [
-77.73979042662421,
3347.769705583306
],
"size": [
140,
46
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 654
},
{
"name": "vae",
"type": "VAE",
"link": 593
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "VAEEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 392,
"type": "VAEEncode",
"pos": [
176.60111131096238,
3320.3583506683003
],
"size": [
140,
46
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 666
},
{
"name": "vae",
"type": "VAE",
"link": 621
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "VAEEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 348,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
230,
1520
],
"size": [
400,
200
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 650
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 652
},
{
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": 694
},
{
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 692
},
{
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
625,
651
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "TextEncodeQwenImageEditPlus",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"head_swap: start with Picture 1 as the base image, keeping its lighting, environment, and background. remove the head from Picture 1 completely and replace it with the head from Picture 2. ensure the head and body have correct anatomical proportions, and blend the skin tones, shadows, and lighting naturally so the final result appears as one coherent, realistic person."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 345,
"type": "EmptySD3LatentImage",
"pos": [
780,
2460
],
"size": [
270,
106
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 686
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 687
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
688
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "EmptySD3LatentImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 394,
"type": "LoraLoaderModelOnly",
"pos": [
-228.35177868884705,
1758.9051393542645
],
"size": [
310,
82
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 627
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
628
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "LoraLoaderModelOnly",
"models": [
{
"name": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
"url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
"directory": "loras"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"lora_name": true,
"strength_model": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen/bfs_head_v3_000004000_05_11_2025.safetensors",
1
]
},
{
"id": 401,
"type": "ImageConcanate",
"pos": [
1331.419054009655,
2975.4485961168384
],
"size": [
315,
102
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 636
},
{
"name": "image2",
"type": "IMAGE",
"link": 640
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
689
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "e81f33508b0821ea2f53f4f46a833fa6215626bd",
"Node name for S&R": "ImageConcanate",
"ue_properties": {
"version": "7.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"right",
true
]
},
{
"id": 414,
"type": "AddLabel",
"pos": [
1382.771393475201,
3145.4050960347063
],
"size": [
270,
270
],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 689
},
{
"name": "caption",
"shape": 7,
"type": "STRING",
"link": null
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 691
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
690
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "6ee278aa7d802c03ad713a7c5fbc02861b6773a8",
"Node name for S&R": "AddLabel",
"ue_properties": {
"widget_ue_connectable": {
"text_x": true,
"text_y": true,
"height": true,
"font_size": true,
"font_color": true,
"label_color": true,
"font": true,
"text": true,
"direction": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
10,
2,
48,
32,
"white",
"black",
"FreeMono.ttf",
"Text",
"up"
]
},
{
"id": 354,
"type": "LoraLoaderModelOnly",
"pos": [
-231.11725956294902,
1638.827404370509
],
"size": [
308.2550597731115,
82
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 644
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
627
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "LoraLoaderModelOnly",
"models": [
{
"name": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
"url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
"directory": "loras"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"lora_name": true,
"strength_model": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-fp32.safetensors",
0.65
]
},
{
"id": 400,
"type": "ImageConcanate",
"pos": [
1315.1134207304385,
2808.043750343848
],
"size": [
315,
102
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 655
},
{
"name": "image2",
"type": "IMAGE",
"link": 661
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
636
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "e81f33508b0821ea2f53f4f46a833fa6215626bd",
"Node name for S&R": "ImageConcanate",
"ue_properties": {
"version": "7.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"down",
true
]
},
{
"id": 396,
"type": "Sigmas Power",
"pos": [
465.24325209406,
1880.3391512099415
],
"size": [
270,
58
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "sigmas",
"type": "SIGMAS",
"link": 630
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
631,
635
]
}
],
"properties": {
"cnr_id": "RES4LYF",
"ver": "7750bf7800b6ad9d670308a09989fc0c04c40cec",
"Node name for S&R": "Sigmas Power",
"ue_properties": {
"widget_ue_connectable": {
"power": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1
]
},
{
"id": 405,
"type": "ImageResizeKJv2",
"pos": [
-209.55507462802854,
2900.540860001657
],
"size": [
270,
336
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 653
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
654,
655
]
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "6ee278aa7d802c03ad713a7c5fbc02861b6773a8",
"Node name for S&R": "ImageResizeKJv2",
"ue_properties": {
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true,
"device": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1328,
1328,
"lanczos",
"resize",
"0, 0, 0",
"center",
2,
"cpu"
]
},
{
"id": 339,
"type": "ModelSamplingAuraFlow",
"pos": [
770,
1470
],
"size": [
290,
60
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 628
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
499
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "ModelSamplingAuraFlow",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"version": "7.1",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1
]
},
{
"id": 406,
"type": "ImageResizeKJv2",
"pos": [
98.0749095173281,
2901.9331504391666
],
"size": [
270,
336
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 660
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
661,
666,
694
]
},
{
"name": "width",
"type": "INT",
"links": [
686
]
},
{
"name": "height",
"type": "INT",
"links": [
687
]
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "6ee278aa7d802c03ad713a7c5fbc02861b6773a8",
"Node name for S&R": "ImageResizeKJv2",
"ue_properties": {
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true,
"device": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1328,
1328,
"lanczos",
"resize",
"0, 0, 0",
"center",
2,
"cpu"
]
},
{
"id": 343,
"type": "LoadImage",
"pos": [
80.75835968067695,
2508.670398891777
],
"size": [
274.080078125,
314.0000305175781
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
660
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Body Reference",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "LoadImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"image": true,
"upload": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"pasted/image (190).png",
"image"
]
},
{
"id": 403,
"type": "SaveImage",
"pos": [
1742.5216783457422,
2854.8733728218735
],
"size": [
270,
270
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 690
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.66",
"Node name for S&R": "SaveImage",
"ue_properties": {
"widget_ue_connectable": {
"filename_prefix": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 349,
"type": "LoadImage",
"pos": [
-219.2416403193231,
2508.670398891777
],
"size": [
274.080078125,
314.0000305175781
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
653,
692
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Face Reference",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "LoadImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"image": true,
"upload": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"pasted/image (195).png",
"image"
]
},
{
"id": 398,
"type": "KSamplerSelect",
"pos": [
149.70142110620847,
1853.0425292814919
],
"size": [
270,
58
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
634
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.66",
"Node name for S&R": "KSamplerSelect",
"ue_properties": {
"widget_ue_connectable": {
"sampler_name": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"res_2s"
]
},
{
"id": 397,
"type": "BasicScheduler",
"pos": [
157.00415502771054,
1972.2583059872516
],
"size": [
270,
106
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 647
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
630
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.66",
"Node name for S&R": "BasicScheduler",
"ue_properties": {
"widget_ue_connectable": {
"scheduler": true,
"steps": true,
"denoise": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"beta57",
4,
1
]
},
{
"id": 415,
"type": "PrimitiveStringMultiline",
"pos": [
823.1934209401802,
3145.803364031705
],
"size": [
400,
200
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
691
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "PrimitiveStringMultiline",
"ue_properties": {
"widget_ue_connectable": {
"value": true
},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"res_2s + beta57 + 4 steps (LoRa: Lightining 4steps, strenght: 0.6) + CFG Norm: 0.96"
]
}
],
"links": [
[
499,
339,
0,
335,
0,
"MODEL"
],
[
501,
337,
0,
336,
1,
"VAE"
],
[
507,
336,
0,
342,
0,
"IMAGE"
],
[
593,
337,
0,
375,
1,
"VAE"
],
[
621,
337,
0,
392,
1,
"VAE"
],
[
625,
348,
0,
393,
0,
"CONDITIONING"
],
[
627,
354,
0,
394,
0,
"MODEL"
],
[
628,
394,
0,
339,
0,
"MODEL"
],
[
630,
397,
0,
396,
0,
"SIGMAS"
],
[
631,
396,
0,
395,
4,
"SIGMAS"
],
[
632,
393,
0,
395,
2,
"CONDITIONING"
],
[
634,
398,
0,
395,
3,
"SAMPLER"
],
[
635,
396,
0,
399,
0,
"SIGMAS"
],
[
636,
400,
0,
401,
0,
"IMAGE"
],
[
640,
336,
0,
401,
1,
"IMAGE"
],
[
643,
395,
0,
336,
0,
"LATENT"
],
[
644,
404,
0,
354,
0,
"MODEL"
],
[
646,
335,
0,
395,
0,
"MODEL"
],
[
647,
335,
0,
397,
0,
"MODEL"
],
[
650,
338,
0,
348,
0,
"CLIP"
],
[
651,
348,
0,
395,
1,
"CONDITIONING"
],
[
652,
337,
0,
348,
1,
"VAE"
],
[
653,
349,
0,
405,
0,
"IMAGE"
],
[
654,
405,
0,
375,
0,
"IMAGE"
],
[
655,
405,
0,
400,
0,
"IMAGE"
],
[
660,
343,
0,
406,
0,
"IMAGE"
],
[
661,
406,
0,
400,
1,
"IMAGE"
],
[
666,
406,
0,
392,
0,
"IMAGE"
],
[
686,
406,
1,
345,
0,
"INT"
],
[
687,
406,
2,
345,
1,
"INT"
],
[
688,
345,
0,
395,
5,
"LATENT"
],
[
689,
401,
0,
414,
0,
"IMAGE"
],
[
690,
414,
0,
403,
0,
"IMAGE"
],
[
691,
415,
0,
414,
2,
"STRING"
],
[
692,
349,
0,
348,
3,
"IMAGE"
],
[
694,
406,
0,
348,
2,
"IMAGE"
]
],
"groups": [
{
"id": 49,
"title": "Raw latent version",
"bounding": [
-270,
1400,
2460.6333689274365,
2062.290570000865
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 45,
"title": "Step1 - Load models",
"bounding": [
-260,
1440,
380.4251489818773,
942.372556994841
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 46,
"title": "Step 2 - Upload image for editing",
"bounding": [
-249.2416403193231,
2408.6703988917766,
979.5797803880118,
708.0663764021983
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 47,
"title": "Step 4 - Prompt",
"bounding": [
140,
1440,
605.6405800580737,
948.5275399271272
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 48,
"title": "Step3 - Image Size",
"bounding": [
760,
2390,
310,
200
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.32349184307607465,
"offset": [
2595.958068867563,
-531.3827891029514
]
},
"frontendVersion": "1.36.14",
"ue_links": [],
"links_added_by_ue": [],
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"workflowRendererVersion": "LG"
},
"version": 0.4
}