ubun/Kijai_FLF2V_framepack.json
2025-08-28 16:50:43 +08:00

1566 lines
28 KiB
JSON

{
"id": "ce2cb810-7775-4564-8928-dd5bed1053cd",
"revision": 0,
"last_node_id": 64,
"last_link_id": 145,
"nodes": [
{
"id": 13,
"type": "DualCLIPLoader",
"pos": [
-30,
700
],
"size": [
340.2243957519531,
130
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
102
]
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.28",
"models": [
{
"name": "clip_l.safetensors",
"url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/text_encoders/clip_l.safetensors?download=true",
"directory": "text_encoders"
},
{
"name": "llava_llama3_fp16.safetensors",
"url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/text_encoders/llava_llama3_fp16.safetensors?download=true",
"directory": "text_encoders"
}
]
},
"widgets_values": [
"clip_l.safetensors",
"llava_llama3_fp16.safetensors",
"hunyuan_video",
"default"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 52,
"type": "LoadFramePackModel",
"pos": [
-30,
490
],
"size": [
341.1507873535156,
131.83546447753906
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "FRAMEPACKCOMPILEARGS",
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "FramePackMODEL",
"links": [
129
]
}
],
"properties": {
"Node name for S&R": "LoadFramePackModel",
"aux_id": "kijai/ComfyUI-FramePackWrapper",
"ver": "49fe507eca8246cc9d08a8093892f40c1180e88f",
"models": [
{
"name": "FramePackI2V_HY_fp8_e4m3fn.safetensors",
"url": "https://huggingface.co/Kijai/HunyuanVideo_comfy/blob/main/FramePackI2V_HY_fp8_e4m3fn.safetensors",
"directory": "diffusion_models"
}
]
},
"widgets_values": [
"FramePackI2V_HY_fp8_e4m3fn.safetensors",
"bf16",
"fp8_e4m3fn",
"sdpa"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 19,
"type": "LoadImage",
"pos": [
350,
500
],
"size": [
330.056884765625,
326
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
122,
126
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.28"
},
"widgets_values": [
"input-1.webp",
"image"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 51,
"type": "FramePackFindNearestBucket",
"pos": [
720,
500
],
"size": [
315,
78
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 126
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
128
]
},
{
"name": "height",
"type": "INT",
"links": [
127
]
}
],
"properties": {
"Node name for S&R": "FramePackFindNearestBucket",
"aux_id": "kijai/ComfyUI-FramePackWrapper",
"ver": "4f9030a9f4c0bd67d86adf3d3dc07e37118c40bd"
},
"widgets_values": [
640
]
},
{
"id": 17,
"type": "CLIPVisionEncode",
"pos": [
1060,
490
],
"size": [
253.60000610351562,
78
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 18
},
{
"name": "image",
"type": "IMAGE",
"link": 116
}
],
"outputs": [
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": [
83
]
}
],
"properties": {
"Node name for S&R": "CLIPVisionEncode",
"cnr_id": "comfy-core",
"ver": "0.3.28"
},
"widgets_values": [
"center"
]
},
{
"id": 59,
"type": "LoadImage",
"pos": [
350,
960
],
"size": [
330.056884765625,
326
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
140,
141
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.28"
},
"widgets_values": [
"input-2.webp",
"image"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 18,
"type": "CLIPVisionLoader",
"pos": [
-30,
890
],
"size": [
340.9768981933594,
62.64126968383789
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
18,
142
]
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader",
"cnr_id": "comfy-core",
"ver": "0.3.28",
"models": [
{
"name": "sigclip_vision_patch14_384.safetensors",
"url": "https://huggingface.co/Comfy-Org/sigclip_vision_384/resolve/main/sigclip_vision_patch14_384.safetensors?download=true)",
"directory": "clip_vision"
}
]
},
"widgets_values": [
"sigclip_vision_patch14_384.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 63,
"type": "CLIPVisionEncode",
"pos": [
1060,
960
],
"size": [
253.60000610351562,
78
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 142
},
{
"name": "image",
"type": "IMAGE",
"link": 138
}
],
"outputs": [
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": [
143
]
}
],
"properties": {
"Node name for S&R": "CLIPVisionEncode",
"cnr_id": "comfy-core",
"ver": "0.3.28"
},
"widgets_values": [
"center"
]
},
{
"id": 12,
"type": "VAELoader",
"pos": [
-30,
1000
],
"size": [
341.07684326171875,
71.51380157470703
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
22,
62,
145
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.28",
"models": [
{
"name": "hunyuan_video_vae_bf16.safetensors",
"url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/vae/hunyuan_video_vae_bf16.safetensors?download=true)",
"directory": "vae"
}
]
},
"widgets_values": [
"hunyuan_video_vae_bf16.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 60,
"type": "ImageResize+",
"pos": [
720,
1090
],
"size": [
315,
218
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 141
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 135
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 136
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
137
]
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "ImageResize+",
"cnr_id": "comfyui_essentials",
"aux_id": "kijai/ComfyUI_essentials",
"ver": "76e9d1e4399bd025ce8b12c290753d58f9f53e93"
},
"widgets_values": [
512,
512,
"lanczos",
"stretch",
"always",
0
]
},
{
"id": 61,
"type": "FramePackFindNearestBucket",
"pos": [
720,
960
],
"size": [
315,
78
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 140
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
135
]
},
{
"name": "height",
"type": "INT",
"links": [
136
]
}
],
"properties": {
"Node name for S&R": "FramePackFindNearestBucket",
"aux_id": "kijai/ComfyUI-FramePackWrapper",
"ver": "4f9030a9f4c0bd67d86adf3d3dc07e37118c40bd"
},
"widgets_values": [
640
]
},
{
"id": 47,
"type": "CLIPTextEncode",
"pos": [
360,
250
],
"size": [
338.3762512207031,
113.06334686279297
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 102
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
114,
118
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.28"
},
"widgets_values": [
"The girl spins dramatically, her braid whipping through the air as her dress flows with the motion."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 15,
"type": "ConditioningZeroOut",
"pos": [
820,
290
],
"size": [
317.4000244140625,
26
],
"flags": {
"collapsed": true
},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 118
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
108
]
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut",
"cnr_id": "comfy-core",
"ver": "0.3.28"
},
"widgets_values": [],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 54,
"type": "DownloadAndLoadFramePackModel",
"pos": [
350,
20
],
"size": [
315,
130
],
"flags": {},
"order": 6,
"mode": 4,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "FRAMEPACKCOMPILEARGS",
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "FramePackMODEL",
"links": null
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadFramePackModel",
"aux_id": "kijai/ComfyUI-FramePackWrapper",
"ver": "49fe507eca8246cc9d08a8093892f40c1180e88f"
},
"widgets_values": [
"lllyasviel/FramePackI2V_HY",
"bf16",
"disabled",
"sdpa"
]
},
{
"id": 27,
"type": "FramePackTorchCompileSettings",
"pos": [
-230,
-60
],
"size": [
531.5999755859375,
202
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "torch_compile_args",
"type": "FRAMEPACKCOMPILEARGS",
"links": []
}
],
"properties": {
"Node name for S&R": "FramePackTorchCompileSettings",
"aux_id": "lllyasviel/FramePack",
"ver": "0e5fe5d7ca13c76fb8e13708f4b92e7c7a34f20c"
},
"widgets_values": [
"inductor",
false,
"default",
false,
64,
true,
true
]
},
{
"id": 39,
"type": "FramePackSampler",
"pos": [
1380,
210
],
"size": [
390,
540
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "FramePackMODEL",
"link": 129
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 114
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 108
},
{
"name": "image_embeds",
"type": "CLIP_VISION_OUTPUT",
"link": 83
},
{
"name": "start_latent",
"shape": 7,
"type": "LATENT",
"link": 86
},
{
"name": "end_latent",
"shape": 7,
"type": "LATENT",
"link": 144
},
{
"name": "end_image_embeds",
"shape": 7,
"type": "CLIP_VISION_OUTPUT",
"link": 143
},
{
"name": "initial_samples",
"shape": 7,
"type": "LATENT",
"link": null
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"links": [
85
]
}
],
"properties": {
"Node name for S&R": "FramePackSampler",
"aux_id": "kijai/ComfyUI-FramePackWrapper",
"ver": "8e5ec6b7f3acf88255c5d93d062079f18b43aa2b"
},
"widgets_values": [
30,
true,
0.15,
1,
10,
0,
688037858921160,
"randomize",
9,
5,
6,
"unipc_bh1",
"weighted_average",
0.5,
1
]
},
{
"id": 33,
"type": "VAEDecodeTiled",
"pos": [
1400,
810
],
"size": [
350,
150
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 85
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
131,
133
]
}
],
"properties": {
"Node name for S&R": "VAEDecodeTiled",
"cnr_id": "comfy-core",
"ver": "0.3.28"
},
"widgets_values": [
256,
64,
64,
8
]
},
{
"id": 57,
"type": "VHS_VideoCombine",
"pos": [
1820,
220
],
"size": [
580,
937.4736938476562
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 133
},
{
"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
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 16,
"loop_count": 0,
"filename_prefix": "AnimateDiff",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00004.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "AnimateDiff_00004.png",
"fullpath": "/root/ComfyUI/output/AnimateDiff_00004.mp4"
}
}
}
},
{
"id": 50,
"type": "ImageResize+",
"pos": [
720,
630
],
"size": [
315,
218
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 122
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 128
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 127
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
125
]
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "ImageResize+",
"cnr_id": "comfyui_essentials",
"aux_id": "kijai/ComfyUI_essentials",
"ver": "76e9d1e4399bd025ce8b12c290753d58f9f53e93"
},
"widgets_values": [
512,
512,
"lanczos",
"stretch",
"always",
0
]
},
{
"id": 48,
"type": "GetImageSizeAndCount",
"pos": [
1060,
630
],
"size": [
250,
86
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 125
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
116,
117
]
},
{
"label": "608 width",
"name": "width",
"type": "INT",
"links": null
},
{
"label": "640 height",
"name": "height",
"type": "INT",
"links": null
},
{
"label": "1 count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSizeAndCount",
"cnr_id": "comfyui-kjnodes",
"ver": "8ecf5cd05e0a1012087b0da90eea9a13674668db"
},
"widgets_values": []
},
{
"id": 20,
"type": "VAEEncode",
"pos": [
1060,
760
],
"size": [
210,
46
],
"flags": {
"collapsed": false
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 117
},
{
"name": "vae",
"type": "VAE",
"link": 22
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
86
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.28"
},
"widgets_values": []
},
{
"id": 62,
"type": "GetImageSizeAndCount",
"pos": [
1060,
1090
],
"size": [
250,
86
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 137
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
138,
139
]
},
{
"label": "608 width",
"name": "width",
"type": "INT",
"links": null
},
{
"label": "640 height",
"name": "height",
"type": "INT",
"links": null
},
{
"label": "1 count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSizeAndCount",
"cnr_id": "comfyui-kjnodes",
"ver": "8ecf5cd05e0a1012087b0da90eea9a13674668db"
},
"widgets_values": []
},
{
"id": 64,
"type": "VAEEncode",
"pos": [
1060,
1220
],
"size": [
210,
46
],
"flags": {
"collapsed": false
},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 139
},
{
"name": "vae",
"type": "VAE",
"link": 145
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
144
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.28"
},
"widgets_values": []
},
{
"id": 56,
"type": "SaveAnimatedWEBP",
"pos": [
1400,
1010
],
"size": [
210,
379.0526428222656
],
"flags": {},
"order": 22,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 131
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.29"
},
"widgets_values": [
"ComfyUI",
16.000000000000004,
true,
80,
"default"
]
}
],
"links": [
[
18,
18,
0,
17,
0,
"CLIP_VISION"
],
[
22,
12,
0,
20,
1,
"VAE"
],
[
62,
12,
0,
33,
1,
"VAE"
],
[
83,
17,
0,
39,
3,
"CLIP_VISION_OUTPUT"
],
[
85,
39,
0,
33,
0,
"LATENT"
],
[
86,
20,
0,
39,
4,
"LATENT"
],
[
102,
13,
0,
47,
0,
"CLIP"
],
[
108,
15,
0,
39,
2,
"CONDITIONING"
],
[
114,
47,
0,
39,
1,
"CONDITIONING"
],
[
116,
48,
0,
17,
1,
"IMAGE"
],
[
117,
48,
0,
20,
0,
"IMAGE"
],
[
118,
47,
0,
15,
0,
"CONDITIONING"
],
[
122,
19,
0,
50,
0,
"IMAGE"
],
[
125,
50,
0,
48,
0,
"IMAGE"
],
[
126,
19,
0,
51,
0,
"IMAGE"
],
[
127,
51,
1,
50,
2,
"INT"
],
[
128,
51,
0,
50,
1,
"INT"
],
[
129,
52,
0,
39,
0,
"FramePackMODEL"
],
[
131,
33,
0,
56,
0,
"IMAGE"
],
[
133,
33,
0,
57,
0,
"IMAGE"
],
[
135,
61,
0,
60,
1,
"INT"
],
[
136,
61,
1,
60,
2,
"INT"
],
[
137,
60,
0,
62,
0,
"IMAGE"
],
[
138,
62,
0,
63,
1,
"IMAGE"
],
[
139,
62,
0,
64,
0,
"IMAGE"
],
[
140,
59,
0,
61,
0,
"IMAGE"
],
[
141,
59,
0,
60,
0,
"IMAGE"
],
[
142,
18,
0,
63,
0,
"CLIP_VISION"
],
[
143,
63,
0,
39,
6,
"CLIP_VISION_OUTPUT"
],
[
144,
64,
0,
39,
5,
"LATENT"
],
[
145,
12,
0,
64,
1,
"VAE"
]
],
"groups": [
{
"id": 1,
"title": "Load Models Here",
"bounding": [
-40,
420,
361.1507873535156,
656.2219848632812
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Start Frame",
"bounding": [
340,
420,
360,
450
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Prompt",
"bounding": [
340,
170,
720,
230
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Resize & Encoding",
"bounding": [
710,
420,
630,
450
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "Last Frame",
"bounding": [
340,
890,
360,
430
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 6,
"title": "Resize & Encoding",
"bounding": [
710,
890,
630,
430
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.40909090909092355,
"offset": [
928.9456641867407,
281.74751659707204
]
},
"frontendVersion": "1.17.9",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"node_versions": {
"comfy-core": "0.3.29",
"ComfyUI-FramePackWrapper": "dcb0fc64d6266be728457a62c8737e1192605f20",
"ComfyUI_essentials": "33ff89fd354d8ec3ab6affb605a79a931b445d99",
"comfyui-videohelpersuite": "598e181e97d50174cc18677dfcdaa7b9b6ec0cb2",
"comfyui-kjnodes": "c3dc82108a2a86c17094107ead61d63f8c76200e"
}
},
"version": 0.4
}