Files
PowerHouseMan-ComfyUI-Advan…/sample/workflow2_advanced.json
T
PowerHouseMan 9ab8a41afb main
Added crop factor
2024-08-04 15:20:22 +09:00

558 lines
10 KiB
JSON

{
"last_node_id": 14,
"last_link_id": 8,
"nodes": [
{
"id": 8,
"type": "ExpressionEditor",
"pos": [
1300,
288
],
"size": [
210,
666.122442592595
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "src_image",
"type": "IMAGE",
"link": null
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"link": 5
},
{
"name": "sample_image",
"type": "IMAGE",
"link": null
},
{
"name": "add_exp",
"type": "EXP_DATA",
"link": null
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"links": [
6
],
"shape": 3,
"slot_index": 1
},
{
"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,
15,
0,
0,
0,
0,
0,
1,
1,
1.7000000000000002
]
},
{
"id": 6,
"type": "ExpressionEditor",
"pos": [
1049,
286
],
"size": [
210,
669.4464425925951
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "src_image",
"type": "IMAGE",
"link": 3
},
{
"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
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"links": [
5
],
"shape": 3,
"slot_index": 1
},
{
"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,
-15,
0,
0,
0,
0,
0,
1,
1,
1.7000000000000002
]
},
{
"id": 9,
"type": "VHS_LoadVideo",
"pos": [
1548,
378
],
"size": [
235.1999969482422,
491.1999969482422
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
],
"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": 3,
"type": "LoadImage",
"pos": [
670,
283
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
3
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"source_image.png",
"image"
]
},
{
"id": 14,
"type": "Note",
"pos": [
667,
633
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"orginal src : motion0\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 12,
"type": "Note",
"pos": [
1014,
973
],
"size": [
210,
58
],
"flags": {},
"order": 3,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"motion1\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 13,
"type": "Note",
"pos": [
1301,
974
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 4,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"motion2\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 7,
"type": "AdvancedLivePortrait",
"pos": [
1824,
340
],
"size": [
235.1999969482422,
523.0364425925951
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "src_images",
"type": "IMAGE",
"link": null
},
{
"name": "motion_link",
"type": "EDITOR_LINK",
"link": 6
},
{
"name": "driving_images",
"type": "IMAGE",
"link": 7
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
8
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "AdvancedLivePortrait"
},
"widgets_values": [
0,
0,
1.7000000000000002,
"1 = 1:10\n2 = 5:10\n0 = 2:50\n1 = 2:0",
"1 = 1:10\n2 = 5:10\n0 = 2:50\n1 = 2:0"
]
},
{
"id": 11,
"type": "Note",
"pos": [
1823,
892
],
"size": [
539.0599993763458,
184.96444259259488
],
"flags": {},
"order": 5,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Command Description\n1 = 1:10\n2 = 5:10\n0 = 2:50\n1 = 2:0\n\n[Motion index] = [Changing frame length] : [Length of frames waiting for next motion]\n\nfor example, second line -> 2 = 5:10\nChange over 5 frames with motion 2, and wait for the next motion for 10 frames\n\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 10,
"type": "VHS_VideoCombine",
"pos": [
2122,
244
],
"size": [
261.79998779296875,
565.7999877929688
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
},
{
"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": "AnimateDiff",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00003.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 15
}
}
}
}
],
"links": [
[
3,
3,
0,
6,
0,
"IMAGE"
],
[
5,
6,
1,
8,
1,
"EDITOR_LINK"
],
[
6,
8,
1,
7,
1,
"EDITOR_LINK"
],
[
7,
9,
0,
7,
2,
"IMAGE"
],
[
8,
7,
0,
10,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
-410.5455448308912,
-80.52844259259504
]
}
},
"version": 0.4
}