Files
wildminder-ComfyUI-KEEP/example_workflows/keep-workflow.json
T

804 lines
16 KiB
JSON

{
"id": "8d572b01-d28b-4720-9a8f-de78a462448a",
"revision": 0,
"last_node_id": 40,
"last_link_id": 64,
"nodes": [
{
"id": 3,
"type": "LoadImage",
"pos": [
610,
100
],
"size": [
280,
320
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
52,
61
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {
"image": true,
"upload": true
}
},
"widgets_values": [
"EA-FC-25-Youngest-Players-with-Real-Faces-1024x576 copy (1).jpg",
"image"
],
"widgets_values_named": {
"image": "EA-FC-25-Youngest-Players-with-Real-Faces-1024x576 copy (1).jpg",
"upload": "image"
}
},
{
"id": 34,
"type": "KEEP_FaceUpscaleImage",
"pos": [
940,
100
],
"size": [
290,
190
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 52
},
{
"name": "keep_model",
"type": "KEEP_MODEL_PACK",
"link": 53
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
60
]
}
],
"properties": {
"Node name for S&R": "KEEP_FaceUpscaleImage",
"cnr_id": "ComfyUI-KEEP",
"ver": "357fd3adf13fc2f3d51b9e3cbb77b6174b609e3f"
},
"widgets_values": [
1,
false,
false,
true
],
"widgets_values_named": {
"final_upscale_factor": 1,
"has_aligned_face": false,
"only_center_face": false,
"draw_bounding_box": true
}
},
{
"id": 16,
"type": "VHS_LoadVideo",
"pos": [
610,
600
],
"size": [
280,
584
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
56
]
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": []
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": [
62
]
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo",
"cnr_id": "comfyui-videohelpersuite",
"ver": "a7ce59e381934733bfae03b1be029756d6ce936d",
"widget_ue_connectable": {
"video": true,
"force_rate": true,
"custom_width": true,
"custom_height": true,
"frame_load_cap": true,
"skip_first_frames": true,
"select_every_nth": true,
"format": true
}
},
"widgets_values": {
"video": "syn_03_lq.mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "None",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"filename": "syn_03_lq.mp4",
"type": "input",
"format": "video/mp4"
}
}
},
"widgets_values_named": {
"video": "syn_03_lq.mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "None",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"filename": "syn_03_lq.mp4",
"type": "input",
"format": "video/mp4"
}
}
}
},
{
"id": 35,
"type": "KEEP_ProcessImageSequence",
"pos": [
940,
600
],
"size": [
280,
180
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 56
},
{
"name": "keep_model",
"type": "KEEP_MODEL_PACK",
"link": 57
}
],
"outputs": [
{
"name": "processed_images",
"type": "IMAGE",
"links": [
58
]
}
],
"properties": {
"Node name for S&R": "KEEP_ProcessImageSequence",
"cnr_id": "ComfyUI-KEEP",
"ver": "357fd3adf13fc2f3d51b9e3cbb77b6174b609e3f"
},
"widgets_values": [
1,
false,
false,
true,
20
],
"widgets_values_named": {
"final_upscale_factor": 1,
"has_aligned_frames": false,
"only_center_face": false,
"draw_bounding_box": true,
"max_clip_length": 20
}
},
{
"id": 25,
"type": "UpscaleModelLoader",
"pos": [
200,
280
],
"size": [
310,
60
],
"flags": {},
"order": 2,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
49
]
}
],
"title": "Face Upscale Model",
"properties": {
"Node name for S&R": "UpscaleModelLoader",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"widgets_values": [
"4x_UltraSharp.safetensors"
],
"widgets_values_named": {
"model_name": "4x_UltraSharp.safetensors"
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 28,
"type": "UpscaleModelLoader",
"pos": [
200,
130
],
"size": [
310,
60
],
"flags": {},
"order": 3,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
48
]
}
],
"title": "Background Upscale Model",
"properties": {
"Node name for S&R": "UpscaleModelLoader",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"widgets_values": [
"4x_NomosUniDAT_otf.pth"
],
"widgets_values_named": {
"model_name": "4x_NomosUniDAT_otf.pth"
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "KEEP_ModelLoader",
"pos": [
200,
410
],
"size": [
320,
110
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "bg_upscale_model",
"shape": 7,
"type": "UPSCALE_MODEL",
"link": 48
},
{
"name": "face_upscale_model",
"shape": 7,
"type": "UPSCALE_MODEL",
"link": 49
}
],
"outputs": [
{
"name": "keep_model_pack",
"type": "KEEP_MODEL_PACK",
"links": [
53,
57
]
}
],
"properties": {
"Node name for S&R": "KEEP_ModelLoader",
"cnr_id": "ComfyUI-KEEP",
"ver": "357fd3adf13fc2f3d51b9e3cbb77b6174b609e3f"
},
"widgets_values": [
"KEEP",
"retinaface_resnet50"
],
"widgets_values_named": {
"model": "KEEP",
"detection_model": "retinaface_resnet50"
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 12,
"type": "VHS_VideoCombine",
"pos": [
1300,
600
],
"size": [
270,
598
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 58
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"name": "frame_rate",
"type": "FLOAT",
"widget": {
"name": "frame_rate"
},
"link": 63
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine",
"cnr_id": "comfyui-videohelpersuite",
"ver": "124c913ccdd8a585734ea758c35fa1bab8499c99",
"aux_id": "Kosinkadink/ComfyUI-VideoHelperSuite",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 15,
"loop_count": 0,
"filename_prefix": "keep",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 4,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "keep_00027.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 15,
"workflow": "keep_00027.png",
"fullpath": "C:\\_Dev\\ComfyUI_dev\\ComfyUI_t211c130p313\\ComfyUI\\output\\keep_00027.mp4",
"metadata": {
"kind": "video",
"width": 512,
"height": 512,
"duration": 7.333333333333333,
"fps": 15,
"frame_count": 110
},
"id": "79046da4-b2b3-454f-a6f3-48a81a404c62"
},
"muted": false
}
},
"widgets_values_named": {
"frame_rate": 15,
"loop_count": 0,
"filename_prefix": "keep",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 4,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "keep_00027.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 15,
"workflow": "keep_00027.png",
"fullpath": "C:\\_Dev\\ComfyUI_dev\\ComfyUI_t211c130p313\\ComfyUI\\output\\keep_00027.mp4",
"metadata": {
"kind": "video",
"width": 512,
"height": 512,
"duration": 7.333333333333333,
"fps": 15,
"frame_count": 110
},
"id": "79046da4-b2b3-454f-a6f3-48a81a404c62"
},
"muted": false
}
}
},
{
"id": 39,
"type": "ImageCompare",
"pos": [
1270,
100
],
"size": [
320,
340
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image_a",
"shape": 7,
"type": "IMAGE",
"link": 60
},
{
"name": "image_b",
"shape": 7,
"type": "IMAGE",
"link": 61
}
],
"outputs": [],
"properties": {
"Node name for S&R": "ImageCompare"
},
"widgets_values": [],
"widgets_values_named": {}
},
{
"id": 40,
"type": "VHS_VideoInfo",
"pos": [
950,
860
],
"size": [
260,
210
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"link": 62
}
],
"outputs": [
{
"name": "source_fps🟨",
"type": "FLOAT",
"links": [
63
]
},
{
"name": "source_frame_count🟨",
"type": "INT",
"links": null
},
{
"name": "source_duration🟨",
"type": "FLOAT",
"links": null
},
{
"name": "source_width🟨",
"type": "INT",
"links": null
},
{
"name": "source_height🟨",
"type": "INT",
"links": null
},
{
"name": "loaded_fps🟦",
"type": "FLOAT",
"links": null
},
{
"name": "loaded_frame_count🟦",
"type": "INT",
"links": null
},
{
"name": "loaded_duration🟦",
"type": "FLOAT",
"links": null
},
{
"name": "loaded_width🟦",
"type": "INT",
"links": null
},
{
"name": "loaded_height🟦",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoInfo"
},
"widgets_values": {}
}
],
"links": [
[
48,
28,
0,
33,
0,
"UPSCALE_MODEL"
],
[
49,
25,
0,
33,
1,
"UPSCALE_MODEL"
],
[
52,
3,
0,
34,
0,
"IMAGE"
],
[
53,
33,
0,
34,
1,
"KEEP_MODEL_PACK"
],
[
56,
16,
0,
35,
0,
"IMAGE"
],
[
57,
33,
0,
35,
1,
"KEEP_MODEL_PACK"
],
[
58,
35,
0,
12,
0,
"IMAGE"
],
[
60,
34,
0,
39,
0,
"IMAGE"
],
[
61,
3,
0,
39,
1,
"IMAGE"
],
[
62,
16,
3,
40,
0,
"VHS_VIDEOINFO"
],
[
63,
40,
0,
12,
4,
"FLOAT"
]
],
"groups": [
{
"id": 1,
"title": "Image processing",
"bounding": [
580,
20,
1030,
480
],
"color": "#3f789e",
"flags": {}
},
{
"id": 2,
"title": "Video",
"bounding": [
580,
520,
1030,
750
],
"color": "#3f789e",
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.620921323059155,
"offset": [
376.7109600000001,
96.6306
]
},
"frontendVersion": "1.57.6",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}