Files
PowerHouseMan-ComfyUI-Advan…/sample/workflow1_basic.json
T
PowerHouseMan 211c1830f0 main
Improved crop algorithm
2024-08-05 14:59:35 +09:00

708 lines
13 KiB
JSON

{
"last_node_id": 32,
"last_link_id": 38,
"nodes": [
{
"id": 15,
"type": "LoadImage",
"pos": [
654.9384793707275,
32.435132185058634
],
"size": {
"0": 210,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"source_image.png",
"image"
]
},
{
"id": 19,
"type": "LoadImage",
"pos": [
1308.9368865429728,
310.8936660083008
],
"size": {
"0": 220.3717041015625,
"1": 314
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
25
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"exp_image (1).png",
"image"
]
},
{
"id": 26,
"type": "LoadImage",
"pos": [
620.239467871092,
782.9509859374981
],
"size": {
"0": 210,
"1": 314
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
30
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"source_image.png",
"image"
]
},
{
"id": 27,
"type": "VHS_LoadVideo",
"pos": [
1127.239467871095,
907.9509859374981
],
"size": [
235.1999969482422,
491.1999969482422
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
31
],
"shape": 3,
"slot_index": 0
},
{
"name": "frame_count",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "audio",
"type": "AUDIO",
"links": null,
"shape": 3
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "driving_video.mp4",
"force_rate": 0,
"force_size": "Disabled",
"custom_width": 512,
"custom_height": 512,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 2,
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"frame_load_cap": 0,
"skip_first_frames": 0,
"force_rate": 0,
"filename": "driving_video.mp4",
"type": "input",
"format": "video/mp4",
"select_every_nth": 2
}
}
}
},
{
"id": 20,
"type": "LoadImage",
"pos": [
1318.2737525390667,
-22.338175012206996
],
"size": {
"0": 210.9286651611328,
"1": 314
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
26
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"source_image.png",
"image"
]
},
{
"id": 14,
"type": "ExpressionEditor",
"pos": [
931.634000524902,
-3.1228280700683335
],
"size": {
"0": 210,
"1": 666
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "src_image",
"type": "IMAGE",
"link": 19
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"link": null
},
{
"name": "sample_image",
"type": "IMAGE",
"link": null
},
{
"name": "add_exp",
"type": "EXP_DATA",
"link": null
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3,
"slot_index": 0
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"links": null,
"shape": 3
},
{
"name": "save_exp",
"type": "EXP_DATA",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ExpressionEditor"
},
"widgets_values": [
0,
0,
0,
0,
0,
23.5,
0,
0,
0,
0,
0,
0,
1,
1,
1.7000000000000002
]
},
{
"id": 29,
"type": "VHS_VideoCombine",
"pos": [
1706.7501000000009,
796.943396582031
],
"size": [
272.9300842285156,
576.9300842285156
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 35
},
{
"name": "audio",
"type": "AUDIO",
"link": null
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 15,
"loop_count": 0,
"filename_prefix": "AdvancedLivePortrait",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AdvancedLivePortrait_00009.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 15
}
}
}
},
{
"id": 28,
"type": "AdvancedLivePortrait",
"pos": [
1401.2394678711005,
798.9509859374981
],
"size": {
"0": 235.1999969482422,
"1": 628
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "src_images",
"type": "IMAGE",
"link": 38
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"link": null
},
{
"name": "driving_images",
"type": "IMAGE",
"link": 31
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
35
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "AdvancedLivePortrait"
},
"widgets_values": [
0,
0,
1.7000000000000002,
"",
""
]
},
{
"id": 21,
"type": "ExpressionEditor",
"pos": [
1601.2737525390667,
-32.33817501220699
],
"size": {
"0": 210,
"1": 666
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "src_image",
"type": "IMAGE",
"link": 26
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"link": null
},
{
"name": "sample_image",
"type": "IMAGE",
"link": 25
},
{
"name": "add_exp",
"type": "EXP_DATA",
"link": null
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3,
"slot_index": 0
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"links": null,
"shape": 3
},
{
"name": "save_exp",
"type": "EXP_DATA",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ExpressionEditor"
},
"widgets_values": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
1.7000000000000002
]
},
{
"id": 30,
"type": "ExpressionEditor",
"pos": [
864.2394678710932,
788.9509859374982
],
"size": {
"0": 210,
"1": 666
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "src_image",
"type": "IMAGE",
"link": 30
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"link": null
},
{
"name": "sample_image",
"type": "IMAGE",
"link": null
},
{
"name": "add_exp",
"type": "EXP_DATA",
"link": null
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
38
],
"shape": 3,
"slot_index": 0
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"links": null,
"shape": 3
},
{
"name": "save_exp",
"type": "EXP_DATA",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ExpressionEditor"
},
"widgets_values": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1.3,
1,
1,
1.7000000000000002
]
}
],
"links": [
[
19,
15,
0,
14,
0,
"IMAGE"
],
[
25,
19,
0,
21,
2,
"IMAGE"
],
[
26,
20,
0,
21,
0,
"IMAGE"
],
[
30,
26,
0,
30,
0,
"IMAGE"
],
[
31,
27,
0,
28,
2,
"IMAGE"
],
[
35,
28,
0,
29,
0,
"IMAGE"
],
[
38,
30,
0,
28,
0,
"IMAGE"
]
],
"groups": [
{
"title": "Simple facial expression editing",
"bounding": [
608,
-102,
571,
768
],
"color": "#88A",
"font_size": 30
},
{
"title": "Extracting facial expressions from photos",
"bounding": [
1249,
-100,
605,
753
],
"color": "#a1309b",
"font_size": 30
},
{
"title": "Live Portrait with facial expression editing",
"bounding": [
598,
701,
1412,
767
],
"color": "#3f789e",
"font_size": 30
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.9090909090909091,
"offset": [
213.02298586006117,
-49.46441845818874
]
}
},
"version": 0.4
}