{ "last_node_id": 88, "last_link_id": 131, "nodes": [ { "id": 16, "type": "DownloadAndLoadHyVideoTextEncoder", "pos": [ -1220, 510 ], "size": [ 391.5, 202 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "hyvid_text_encoder", "type": "HYVIDTEXTENCODER", "links": [ 35 ] } ], "properties": { "Node name for S&R": "DownloadAndLoadHyVideoTextEncoder" }, "widgets_values": [ "Kijai/llava-llama-3-8b-text-encoder-tokenizer", "openai/clip-vit-large-patch14", "bf16", false, 3, "disabled", "offload_device" ] }, { "id": 58, "type": "HyVideoCFG", "pos": [ -1280, 1410 ], "size": [ 437.5832824707031, 201.83335876464844 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "hyvid_cfg", "type": "HYVID_CFG", "links": [ 130 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HyVideoCFG" }, "widgets_values": [ "camera movement, jump cut, scene cut, transition, fading, morphing", 6, 0, 0.5, false ] }, { "id": 57, "type": "HyVideoTorchCompileSettings", "pos": [ -1854.767822265625, -527.714111328125 ], "size": [ 441, 274 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "torch_compile_args", "type": "COMPILEARGS", "links": [ 101, 105 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HyVideoTorchCompileSettings" }, "widgets_values": [ "inductor", false, "default", false, 64, true, true, false, false, false ] }, { "id": 80, "type": "HyVideoLoraSelect", "pos": [ -1746.7615966796875, 5.127481460571289 ], "size": [ 315, 102 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "prev_lora", "type": "HYVIDLORA", "shape": 7, "link": null }, { "name": "blocks", "type": "SELECTEDBLOCKS", "shape": 7, "link": null } ], "outputs": [ { "name": "lora", "type": "HYVIDLORA", "links": [ 124 ] } ], "properties": { "Node name for S&R": "HyVideoLoraSelect" }, "widgets_values": [ "hunyuan_video/skyreels-i2v-smooth-lora-test-00000350.safetensors", 0.6 ] }, { "id": 79, "type": "LoadImage", "pos": [ -1738.3333740234375, 235.88121032714844 ], "size": [ 315, 314 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 123 ], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "image__01418_.png", "image" ] }, { "id": 3, "type": "HyVideoSampler", "pos": [ 51.265254974365234, -204.44427490234375 ], "size": [ 416.07513427734375, 1142.9561767578125 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "model", "type": "HYVIDEOMODEL", "link": 2 }, { "name": "hyvid_embeds", "type": "HYVIDEMBEDS", "link": 74 }, { "name": "samples", "type": "LATENT", "shape": 7, "link": null }, { "name": "image_cond_latents", "type": "LATENT", "shape": 7, "link": 75 }, { "name": "stg_args", "type": "STGARGS", "shape": 7, "link": null }, { "name": "context_options", "type": "HYVIDCONTEXT", "shape": 7, "link": null }, { "name": "feta_args", "type": "FETAARGS", "shape": 7, "link": 91 }, { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 69 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 70 }, { "name": "teacache_args", "type": "TEACACHEARGS", "shape": 7, "link": null } ], "outputs": [ { "name": "samples", "type": "LATENT", "links": [ 4 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HyVideoSampler" }, "widgets_values": [ 512, 320, 97, 30, 1, 9, 15, "fixed", 1, 1, "SDE-DPMSolverMultistepScheduler" ] }, { "id": 88, "type": "HyVideoCustomPromptTemplate", "pos": [ -1290, 800 ], "size": [ 453.78076171875, 551.197265625 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "hyvid_prompt_template", "type": "PROMPT_TEMPLATE", "links": [ 131 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HyVideoCustomPromptTemplate" }, "widgets_values": [ "<|start_header_id|>system<|end_header_id|>\n\nYou are a professional Content Analyst. As a specialist Scene Annotator, you tag and describe scenes in detail, paying special attention to the temporal coherence and sequence of events in the scene.\n\n# INSTRUCTIONS\n\nYou will receive two inputs:\n\n1. The first frame of a video;\n2. A short description of the scene.\n\nYour job is to write a comprehensive description of the scene based on the inputs.\n\n# IMPORTANT INFORMATION \n\nThe scene is only 4s (four seconds long).\nThe scene has 98 frames in total at 24 frames per second (24 fps).\n\n# GUIDELINES\n\n- Write a detailed description based on the inputs.\n- Use your expertise to adapt the scene description so that it is consistent and coherent.\n- Ensure the actions and events described can fit reasonably in a 4 second clip.\n- Be concise and avoid abstract qualifiers, focus on concrete aspects of the scene, in particular the main subject, the motion, actions and events.\n- Use the input image, which is the fisrt frame of the video, to infer the visual qualities, mood and tone of the overall scene.\n- Always consider the appropriate sequence of events for the scene so it fits the four seconds legth of the clip.\n\n# DELIVERABLES\n\nYou will deliver a concise and detailed description of the scene that is consistent with the inputs you receive, and temporally coherent given the length of the scene. You should output something like this:\n\nDETAILED DESCRIPTION OF THE VIDEO SCENE IN APPROPRIATE TEMPORAL SEQUENCE. OVERALL MOOD OF THE SCENE BASED ON THE FIRST FRAME. 3 TO 5 TAGS THAT REPRESENT THE SCENE GENRE/STYLE/CATEGORY.\n\n\nWrite the scene description: \n\n<|eot_id|><|start_header_id|>user<|end_header_id|>\n\n{}<|eot_id|>", 95 ] }, { "id": 45, "type": "ImageResizeKJ", "pos": [ -1220, 140 ], "size": [ 315, 266 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 123 }, { "name": "get_image_size", "type": "IMAGE", "shape": 7, "link": null }, { "name": "width_input", "type": "INT", "shape": 7, "widget": { "name": "width_input" }, "link": null }, { "name": "height_input", "type": "INT", "shape": 7, "widget": { "name": "height_input" }, "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 119, 120, 121 ], "slot_index": 0 }, { "name": "width", "type": "INT", "links": [ 69 ], "slot_index": 1 }, { "name": "height", "type": "INT", "links": [ 70 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "ImageResizeKJ" }, "widgets_values": [ 544, 960, "lanczos", false, 2, 0, 0, "center" ] }, { "id": 30, "type": "HyVideoTextEncode", "pos": [ -750, 510 ], "size": [ 313.6783752441406, 440.2134704589844 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "text_encoders", "type": "HYVIDTEXTENCODER", "link": 35 }, { "name": "custom_prompt_template", "type": "PROMPT_TEMPLATE", "shape": 7, "link": 131 }, { "name": "clip_l", "type": "CLIP", "shape": 7, "link": null }, { "name": "hyvid_cfg", "type": "HYVID_CFG", "shape": 7, "link": 130 } ], "outputs": [ { "name": "hyvid_embeds", "type": "HYVIDEMBEDS", "links": [ 74 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HyVideoTextEncode" }, "widgets_values": [ "Cinematic scene shows a woman getting up and walking away.The background remains consistent throughout the scene. ", "bad quality video", "video" ] }, { "id": 5, "type": "HyVideoDecode", "pos": [ 510.1028747558594, -408.8643798828125 ], "size": [ 345.4285888671875, 150 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "vae", "type": "VAE", "link": 106 }, { "name": "samples", "type": "LATENT", "link": 4 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 83 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HyVideoDecode" }, "widgets_values": [ true, 64, 192, false ] }, { "id": 43, "type": "HyVideoEncode", "pos": [ -762.68408203125, -89.60575866699219 ], "size": [ 315, 198 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "vae", "type": "VAE", "link": 107 }, { "name": "image", "type": "IMAGE", "link": 119 } ], "outputs": [ { "name": "samples", "type": "LATENT", "links": [ 75 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HyVideoEncode" }, "widgets_values": [ false, 64, 256, true, 0.04, 1 ] }, { "id": 1, "type": "HyVideoModelLoader", "pos": [ -1272.8134765625, -201.72789001464844 ], "size": [ 426.1773986816406, 242 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "compile_args", "type": "COMPILEARGS", "shape": 7, "link": 105 }, { "name": "block_swap_args", "type": "BLOCKSWAPARGS", "shape": 7, "link": 108 }, { "name": "lora", "type": "HYVIDLORA", "shape": 7, "link": 124 } ], "outputs": [ { "name": "model", "type": "HYVIDEOMODEL", "links": [ 2 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HyVideoModelLoader" }, "widgets_values": [ "skyreels_hunyuan_i2v_bf16.safetensors", "bf16", "disabled", "offload_device", "sageattn_varlen", false, true ] }, { "id": 7, "type": "HyVideoVAELoader", "pos": [ -1236.4949951171875, -394.57708740234375 ], "size": [ 379.166748046875, 82 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "compile_args", "type": "COMPILEARGS", "shape": 7, "link": 101 } ], "outputs": [ { "name": "vae", "type": "VAE", "links": [ 106, 107 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HyVideoVAELoader" }, "widgets_values": [ "hunyuan_video_vae_fp32_kijai.safetensors", "fp32" ] }, { "id": 52, "type": "ImageConcatMulti", "pos": [ 1265.74609375, -380.3453063964844 ], "size": [ 210, 150 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "image_1", "type": "IMAGE", "link": 120 }, { "name": "image_2", "type": "IMAGE", "link": 85 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 73 ], "slot_index": 0 } ], "properties": {}, "widgets_values": [ 2, "right", false, null ] }, { "id": 34, "type": "VHS_VideoCombine", "pos": [ 1526.9112548828125, -380.55364990234375 ], "size": [ 218.82891845703125, 523.437255859375 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 73 }, { "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": "HunyuanVideo_skyreel_I2V", "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": "HunyuanVideo_skyreel_I2V_00047.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 24, "workflow": "HunyuanVideo_skyreel_I2V_00047.png", "fullpath": "/home/linux/AI/ComfyUI/output/HunyuanVideo_skyreel_I2V_00047.mp4" }, "muted": false } } }, { "id": 78, "type": "VHS_VideoCombine", "pos": [ 1763.8240966796875, -370.6608581542969 ], "size": [ 218.82891845703125, 698.8745727539062 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 117 }, { "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": "HunyuanVideo_skyreel_I2V", "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": "HunyuanVideo_skyreel_I2V_00046.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 24, "workflow": "HunyuanVideo_skyreel_I2V_00046.png", "fullpath": "/home/linux/AI/ComfyUI/output/HunyuanVideo_skyreel_I2V_00046.mp4" }, "muted": false } } }, { "id": 60, "type": "ColorMatch", "pos": [ 893.6535034179688, -226.94412231445312 ], "size": [ 315, 102 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "image_ref", "type": "IMAGE", "link": 121 }, { "name": "image_target", "type": "IMAGE", "link": 83 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 85, 117 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "ColorMatch" }, "widgets_values": [ "mkl", 1 ] }, { "id": 64, "type": "HyVideoEnhanceAVideo", "pos": [ -802.6838989257812, 246.1566162109375 ], "size": [ 352.79998779296875, 154 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "feta_args", "type": "FETAARGS", "links": [ 91 ] } ], "properties": { "Node name for S&R": "HyVideoEnhanceAVideo" }, "widgets_values": [ 4, true, true, 0, 1 ] }, { "id": 59, "type": "HyVideoBlockSwap", "pos": [ -1742.82958984375, -190.67405700683594 ], "size": [ 315, 130 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "block_swap_args", "type": "BLOCKSWAPARGS", "links": [ 108 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "HyVideoBlockSwap" }, "widgets_values": [ 20, 10, false, false ] } ], "links": [ [ 2, 1, 0, 3, 0, "HYVIDEOMODEL" ], [ 4, 3, 0, 5, 1, "LATENT" ], [ 35, 16, 0, 30, 0, "HYVIDTEXTENCODER" ], [ 69, 45, 1, 3, 7, "INT" ], [ 70, 45, 2, 3, 8, "INT" ], [ 73, 52, 0, 34, 0, "IMAGE" ], [ 74, 30, 0, 3, 1, "HYVIDEMBEDS" ], [ 75, 43, 0, 3, 3, "LATENT" ], [ 83, 5, 0, 60, 1, "IMAGE" ], [ 85, 60, 0, 52, 1, "IMAGE" ], [ 91, 64, 0, 3, 6, "FETAARGS" ], [ 101, 57, 0, 7, 0, "COMPILEARGS" ], [ 105, 57, 0, 1, 0, "COMPILEARGS" ], [ 106, 7, 0, 5, 0, "VAE" ], [ 107, 7, 0, 43, 0, "VAE" ], [ 108, 59, 0, 1, 1, "BLOCKSWAPARGS" ], [ 117, 60, 0, 78, 0, "IMAGE" ], [ 119, 45, 0, 43, 1, "IMAGE" ], [ 120, 45, 0, 52, 0, "IMAGE" ], [ 121, 45, 0, 60, 0, "IMAGE" ], [ 123, 79, 0, 45, 0, "IMAGE" ], [ 124, 80, 0, 1, 2, "HYVIDLORA" ], [ 130, 58, 0, 30, 3, "HYVID_CFG" ], [ 131, 88, 0, 30, 1, "PROMPT_TEMPLATE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 1.4641000000000006, "offset": [ 2154.319861355799, 254.18858001588154 ] }, "node_versions": { "comfyui-hunyuanvideowrapper": "ecd60a66e6ebbdde2b8a0a6fe24bad72a8af925b", "comfy-core": "0.3.14", "comfyui-kjnodes": "1.0.5", "comfyui-videohelpersuite": "1.5.2" }, "VHS_latentpreview": true, "VHS_latentpreviewrate": 0, "ue_links": [], "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }