HunyuanVideo_comfy / HunyuanI2V_basic_native_workflow_example.json
Kijai's picture
Upload HunyuanI2V_basic_native_workflow_example.json
7f26fe3 verified
{
"last_node_id": 92,
"last_link_id": 239,
"nodes": [
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
860,
200
],
"size": [
272.3617858886719,
380.3617858886719
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 37,
"slot_index": 0
},
{
"name": "guider",
"type": "GUIDER",
"link": 30,
"slot_index": 1
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 19,
"slot_index": 2
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 20,
"slot_index": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 216,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"shape": 3,
"links": [
210
],
"slot_index": 0
},
{
"name": "denoised_output",
"type": "LATENT",
"shape": 3,
"links": null
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": []
},
{
"id": 74,
"type": "Note",
"pos": [
1147.7459716796875,
405.0789489746094
],
"size": [
210,
170
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Use the tiled decode node by default because most people will need it.\n\nLower the tile_size and overlap if you run out of memory."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 83,
"type": "LoadImage",
"pos": [
-304.8789978027344,
683.7313232421875
],
"size": [
365.4132080078125,
471.8512268066406
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
221,
222,
231
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
"oldman_upscaled.png",
"image"
]
},
{
"id": 73,
"type": "VAEDecodeTiled",
"pos": [
1150,
200
],
"size": [
210,
150
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 210
},
{
"name": "vae",
"type": "VAE",
"link": 211
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
232
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecodeTiled",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
256,
64,
64,
8
]
},
{
"id": 82,
"type": "CLIPVisionLoader",
"pos": [
-263.55670166015625,
560.591064453125
],
"size": [
315,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
220
]
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
"llava_llama3_vision.safetensors"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 81,
"type": "CLIPVisionEncode",
"pos": [
104.21192932128906,
563.0703125
],
"size": [
253.60000610351562,
78
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 220
},
{
"name": "image",
"type": "IMAGE",
"link": 221
}
],
"outputs": [
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": [
229
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionEncode",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
"none"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 90,
"type": "Note",
"pos": [
-493.8003845214844,
-136.2618408203125
],
"size": [
427.9800109863281,
88
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"https://huggingface.co/Kijai/HunyuanVideo_comfy/tree/main"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
-531.4799194335938,
6.459987640380859
],
"size": [
491.7381591796875,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"shape": 3,
"links": [],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
"hyvideo\\hunyuan_video_I2V_fp8_e4m3fn.safetensors",
"default"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 85,
"type": "UnetLoaderGGUF",
"pos": [
-487.6534729003906,
139.9300079345703
],
"size": [
416.20001220703125,
58
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
227
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UnetLoaderGGUF"
},
"widgets_values": [
"hyvideo\\hunyuan_video_I2V-Q8_0.gguf"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 10,
"type": "VAELoader",
"pos": [
-458.6861572265625,
430.7169189453125
],
"size": [
350,
60
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"shape": 3,
"links": [
211,
223
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
"hyvid\\hunyuan_video_vae_bf16.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 91,
"type": "Note",
"pos": [
-626.900634765625,
559.8914184570312
],
"size": [
334.4066467285156,
88
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/blob/main/split_files/clip_vision/llava_llama3_vision.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 92,
"type": "Note",
"pos": [
-816.4669799804688,
272.7181396484375
],
"size": [
334.4066467285156,
88
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/tree/main/split_files/text_encoders"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": [
-462.2200622558594,
257.9000549316406
],
"size": [
350,
122
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"shape": 3,
"links": [
224
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
"clip_l.safetensors",
"llava_llama3_fp16.safetensors",
"hunyuan_video",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 80,
"type": "TextEncodeHunyuanVideo_ImageToVideo",
"pos": [
-8.317070960998535,
257.9837951660156
],
"size": [
441,
200
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 224
},
{
"name": "clip_vision_output",
"type": "CLIP_VISION_OUTPUT",
"link": 229
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
218
]
}
],
"title": "Text Encode Hunyuan Video (ImageToVideo)",
"properties": {
"Node name for S&R": "TextEncodeHunyuanVideo_ImageToVideo"
},
"widgets_values": [
"old man takes of his hat"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
860.8470458984375,
149.0865936279297
],
"size": [
222.3482666015625,
46
],
"flags": {
"collapsed": true
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 195,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 238,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"shape": 3,
"links": [
30
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BasicGuider",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": []
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
479.6666564941406,
252.8000030517578
],
"size": [
315,
82
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"shape": 3,
"links": [
37
]
}
],
"properties": {
"Node name for S&R": "RandomNoise",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
123,
"fixed"
]
},
{
"id": 78,
"type": "HunyuanImageToVideo",
"pos": [
492.4001159667969,
668.933349609375
],
"size": [
315,
170
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 218
},
{
"name": "vae",
"type": "VAE",
"link": 223
},
{
"name": "start_image",
"type": "IMAGE",
"shape": 7,
"link": 222
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
238
],
"slot_index": 0
},
{
"name": "latent",
"type": "LATENT",
"links": [
216
]
}
],
"properties": {
"Node name for S&R": "HunyuanImageToVideo"
},
"widgets_values": [
720,
720,
53,
1
]
},
{
"id": 87,
"type": "ImageConcatMulti",
"pos": [
1338.1361083984375,
696.059814453125
],
"size": [
315,
150
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 231
},
{
"name": "image_2",
"type": "IMAGE",
"link": 232
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
237
],
"slot_index": 0
}
],
"properties": {},
"widgets_values": [
2,
"right",
true,
null
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
488.0000305175781,
505.2665710449219
],
"size": [
315,
106
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 239,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"shape": 3,
"links": [
20
]
}
],
"properties": {
"Node name for S&R": "BasicScheduler",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
"simple",
20,
1
]
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
486.2665100097656,
398.3465576171875
],
"size": [
315,
58
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"shape": 3,
"links": [
19
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
"euler"
]
},
{
"id": 86,
"type": "VHS_VideoCombine",
"pos": [
1685.007568359375,
-2.8283352851867676
],
"size": [
754.7828979492188,
334
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 237
},
{
"name": "audio",
"type": "AUDIO",
"shape": 7,
"link": null
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"shape": 7,
"link": null
},
{
"name": "vae",
"type": "VAE",
"shape": 7,
"link": null
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "HyvidI2VComfy",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "HyvidI2VComfy_00009.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 24,
"workflow": "HyvidI2VComfy_00009.png",
"fullpath": "N:\\AI\\ComfyUI\\temp\\HyvidI2VComfy_00009.mp4"
}
}
}
},
{
"id": 67,
"type": "ModelSamplingSD3",
"pos": [
562.4581909179688,
120.08332824707031
],
"size": [
210,
58
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 227
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
195,
239
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelSamplingSD3",
"cnr_id": "comfy-core",
"ver": "0.3.22"
},
"widgets_values": [
15.000000000000004
]
}
],
"links": [
[
19,
16,
0,
13,
2,
"SAMPLER"
],
[
20,
17,
0,
13,
3,
"SIGMAS"
],
[
30,
22,
0,
13,
1,
"GUIDER"
],
[
37,
25,
0,
13,
0,
"NOISE"
],
[
195,
67,
0,
22,
0,
"MODEL"
],
[
210,
13,
0,
73,
0,
"LATENT"
],
[
211,
10,
0,
73,
1,
"VAE"
],
[
216,
78,
1,
13,
4,
"LATENT"
],
[
218,
80,
0,
78,
0,
"CONDITIONING"
],
[
220,
82,
0,
81,
0,
"CLIP_VISION"
],
[
221,
83,
0,
81,
1,
"IMAGE"
],
[
222,
83,
0,
78,
2,
"IMAGE"
],
[
223,
10,
0,
78,
1,
"VAE"
],
[
224,
11,
0,
80,
0,
"CLIP"
],
[
227,
85,
0,
67,
0,
"MODEL"
],
[
229,
81,
0,
80,
1,
"CLIP_VISION_OUTPUT"
],
[
231,
83,
0,
87,
0,
"IMAGE"
],
[
232,
73,
0,
87,
1,
"IMAGE"
],
[
237,
87,
0,
86,
0,
"IMAGE"
],
[
238,
78,
0,
22,
1,
"CONDITIONING"
],
[
239,
67,
0,
17,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015778,
"offset": [
644.0331289310284,
256.0876593674707
]
},
"groupNodes": {},
"ue_links": [],
"node_versions": {
"comfy-core": "0.3.23",
"ComfyUI-GGUF": "0b65261cc4115d273829cd878f8a855e19c5435f",
"ComfyUI-KJNodes": "d835ac96042394299f76793544ee3643fd4b0457",
"ComfyUI-VideoHelperSuite": "2c25b8b53835aaeb63f831b3137c705cf9f85dce"
},
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}