{"last_node_id": 163, "last_link_id": 353, "nodes": [{"id": 82, "type": "VHS_VideoCombine", "pos": [2750.666748046875, 517.1414184570312], "size": [214.7587890625, 694.2378540039062], "flags": {}, "order": 17, "mode": 0, "inputs": [{"name": "images", "localized_name": "images", "type": "IMAGE", "link": 353}, {"name": "audio", "localized_name": "audio", "type": "AUDIO", "shape": 7, "link": null}, {"name": "meta_batch", "localized_name": "meta_batch", "type": "VHS_BatchManager", "shape": 7, "link": null}, {"name": "vae", "localized_name": "vae", "type": "VAE", "shape": 7, "link": null}], "outputs": [{"name": "Filenames", "localized_name": "Filenames", "type": "VHS_FILENAMES", "links": null, "slot_index": 0}], "properties": {"cnr_id": "comfyui-videohelpersuite", "ver": "4c7858ddd5126f7293dc3c9f6e0fc4c263cde079", "Node name for S&R": "VHS_VideoCombine"}, "widgets_values": {"frame_rate": 10, "loop_count": 4, "filename_prefix": "AnimateDiff", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": false, "trim_to_audio": false, "pingpong": true, "save_output": true, "videopreview": {"hidden": false, "paused": false, "params": {"filename": "AnimateDiff_00034.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 10, "workflow": "AnimateDiff_00034.png", "fullpath": "C:\\Users\\friso\\Desktop\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\AnimateDiff_00034.mp4"}}}}, {"id": 158, "type": "LoaderGGUFAdvanced", "pos": [-218.1964569091797, 438.49151611328125], "size": [315, 130], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [{"name": "MODEL", "localized_name": "MODEL", "type": "MODEL", "links": [337], "slot_index": 0}], "properties": {"cnr_id": "gguf", "ver": "e193433f1dfd31bd4c458cfaeef543cc0de55f4f", "Node name for S&R": "LoaderGGUFAdvanced"}, "widgets_values": ["fast-hunyuan-video-t2v-720p-Q5_K_M.gguf", "default", "default", false]}, {"id": 154, "type": "DualCLIPLoader", "pos": [-216.27049255371094, 626.3473510742188], "size": [315, 122], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [{"name": "CLIP", "localized_name": "CLIP", "type": "CLIP", "links": [338], "slot_index": 0}], "properties": {"cnr_id": "comfy-core", "ver": "0.3.18", "Node name for S&R": "DualCLIPLoader"}, "widgets_values": ["clip_l.safetensors", "llava_llama3_fp8_scaled.safetensors", "hunyuan_video", "default"]}, {"id": 44, "type": "CLIPTextEncode", "pos": [35.628448486328125, 1129.56005859375], "size": [422.84503173828125, 164.31304931640625], "flags": {}, "order": 7, "mode": 0, "inputs": [{"name": "clip", "localized_name": "clip", "type": "CLIP", "link": 339}], "outputs": [{"name": "CONDITIONING", "localized_name": "CONDITIONING", "type": "CONDITIONING", "links": [342], "slot_index": 0}], "title": "CLIP Text Encode (Negative Prompt)", "properties": {"cnr_id": "comfy-core", "ver": "0.3.18", "Node name for S&R": "CLIPTextEncode"}, "widgets_values": [""], "color": "#322", "bgcolor": "#533"}, {"id": 111, "type": "CLIPTextEncode", "pos": [32.74633026123047, 917.3889770507812], "size": [422.84503173828125, 164.31304931640625], "flags": {}, "order": 8, "mode": 0, "inputs": [{"name": "clip", "localized_name": "clip", "type": "CLIP", "link": 340}], "outputs": [{"name": "CONDITIONING", "localized_name": "CONDITIONING", "type": "CONDITIONING", "links": [343], "slot_index": 0}], "title": "CLIP Text Encode (Positive Prompt)", "properties": {"cnr_id": "comfy-core", "ver": "0.3.18", "Node name for S&R": "CLIPTextEncode"}, "widgets_values": [" Hand-drawn anime cyberpunk action, strong-willed woman in sleek coat, neon-lit rainy city, glowing LED signs, misty streets, she is running towards the kamera fluid acrobatics, katana combat, tense but vibrant mood. Dynamic camera: tracking through alleyways, dramatic zooms, smooth pans, handheld close-ups. High-contrast lighting,"], "color": "#232", "bgcolor": "#353"}, {"id": 159, "type": "Lora Loader Stack (rgthree)", "pos": [168.32569885253906, 396.3252868652344], "size": [340.20001220703125, 246], "flags": {}, "order": 5, "mode": 0, "inputs": [{"name": "model", "localized_name": "model", "type": "MODEL", "link": 337}, {"name": "clip", "localized_name": "clip", "type": "CLIP", "link": 338}], "outputs": [{"name": "MODEL", "localized_name": "MODEL", "type": "MODEL", "links": [344], "slot_index": 0}, {"name": "CLIP", "localized_name": "CLIP", "type": "CLIP", "links": [339, 340], "slot_index": 1}], "properties": {"cnr_id": "rgthree-comfy", "ver": "32142fe476878a354dda6e2d4b5ea98960de3ced", "Node name for S&R": "Lora Loader Stack (rgthree)"}, "widgets_values": ["None", 1, "None", 1, "None", 1, "None", 1]}, {"id": 67, "type": "ModelSamplingSD3", "pos": [722.8045043945312, 678.86767578125], "size": [210, 58], "flags": {}, "order": 6, "mode": 0, "inputs": [{"name": "model", "localized_name": "model", "type": "MODEL", "link": 344}], "outputs": [{"name": "MODEL", "localized_name": "MODEL", "type": "MODEL", "links": [346], "slot_index": 0}], "properties": {"cnr_id": "comfy-core", "ver": "0.3.18", "Node name for S&R": "ModelSamplingSD3"}, "widgets_values": [5]}, {"id": 107, "type": "HyVideoVAELoader", "pos": [194.4099578857422, 687.0123901367188], "size": [315, 82], "flags": {}, "order": 3, "mode": 0, "inputs": [{"name": "compile_args", "localized_name": "compile_args", "type": "COMPILEARGS", "shape": 7, "link": null}], "outputs": [{"name": "vae", "localized_name": "vae", "type": "VAE", "links": [255], "slot_index": 0}], "properties": {"cnr_id": "comfyui-hunyuanvideowrapper", "ver": "2b043839ae7abe58ae8d3ea6099daea2b7f53d17", "Node name for S&R": "HyVideoVAELoader"}, "widgets_values": ["kijai_hunyuan_video_vae_bf16.safetensors", "bf16"]}, {"id": 26, "type": "FluxGuidance", "pos": [672.8048706054688, 434.9859313964844], "size": [317.4000244140625, 58], "flags": {}, "order": 11, "mode": 0, "inputs": [{"name": "conditioning", "localized_name": "conditioning", "type": "CONDITIONING", "link": 343}], "outputs": [{"name": "CONDITIONING", "localized_name": "CONDITIONING", "type": "CONDITIONING", "shape": 3, "links": [262], "slot_index": 0}], "properties": {"cnr_id": "comfy-core", "ver": "0.3.18", "Node name for S&R": "FluxGuidance"}, "widgets_values": [6], "color": "#233", "bgcolor": "#355"}, {"id": 110, "type": "FluxGuidance", "pos": [673.4401245117188, 550.96875], "size": [317.4000244140625, 58], "flags": {}, "order": 10, "mode": 0, "inputs": [{"name": "conditioning", "localized_name": "conditioning", "type": "CONDITIONING", "link": 342}], "outputs": [{"name": "CONDITIONING", "localized_name": "CONDITIONING", "type": "CONDITIONING", "shape": 3, "links": [264], "slot_index": 0}], "properties": {"cnr_id": "comfy-core", "ver": "0.3.18", "Node name for S&R": "FluxGuidance"}, "widgets_values": [2], "color": "#233", "bgcolor": "#355"}, {"id": 109, "type": "HunyuanVideoSamplerSave", "pos": [1081.5494384765625, 414.6517639160156], "size": [327.5999755859375, 262], "flags": {}, "order": 12, "mode": 0, "inputs": [{"name": "model", "localized_name": "model", "type": "MODEL", "link": 347}, {"name": "positive", "localized_name": "positive", "type": "CONDITIONING", "link": 262}, {"name": "negative", "localized_name": "negative", "type": "CONDITIONING", "link": 264}, {"name": "video_latents", "localized_name": "video_latents", "type": "LATENT", "link": 351}], "outputs": [{"name": "LATENT", "localized_name": "LATENT", "type": "LATENT", "links": [308], "slot_index": 0}], "properties": {"aux_id": "ShmuelRonen/ComfyUI-HunyuanVideoSamplerSave", "ver": "12da6f230aae1427c74e96dd3d34735d5b8bd390", "Node name for S&R": "HunyuanVideoSamplerSave"}, "widgets_values": [941164784755349, "randomize", 20, 6, "euler", "beta", 0.9]}, {"id": 160, "type": "ApplyRifleXRoPE_HunuyanVideo", "pos": [685.2078857421875, 787.50244140625], "size": [365.4000244140625, 78], "flags": {}, "order": 9, "mode": 0, "inputs": [{"name": "model", "localized_name": "model", "type": "MODEL", "link": 346}, {"name": "latent", "localized_name": "latent", "type": "LATENT", "link": 352}], "outputs": [{"name": "MODEL", "localized_name": "MODEL", "type": "MODEL", "links": [347], "slot_index": 0}], "properties": {"cnr_id": "comfyui-kjnodes", "ver": "4d8cd3daa4aa8c411c4a4a6a2a97199bd46d1b4e", "Node name for S&R": "ApplyRifleXRoPE_HunuyanVideo"}, "widgets_values": [4]}, {"id": 161, "type": "EmptyVideoLatentForHunyuan", "pos": [1083.4989013671875, 755.6478271484375], "size": [378, 106], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [{"name": "LATENT", "localized_name": "LATENT", "type": "LATENT", "links": [351, 352], "slot_index": 0}], "properties": {"aux_id": "ShmuelRonen/ComfyUI-HunyuanVideoSamplerSave", "ver": "12da6f230aae1427c74e96dd3d34735d5b8bd390", "Node name for S&R": "EmptyVideoLatentForHunyuan"}, "widgets_values": ["768x432 (16:9)", 25, 1]}, {"id": 80, "type": "ImageScale", "pos": [2386.802490234375, 518.0426025390625], "size": [315, 130], "flags": {}, "order": 16, "mode": 0, "inputs": [{"name": "image", "localized_name": "image", "type": "IMAGE", "link": 217}], "outputs": [{"name": "IMAGE", "localized_name": "IMAGE", "type": "IMAGE", "links": [353], "slot_index": 0}], "properties": {"cnr_id": "comfy-core", "ver": "0.3.18", "Node name for S&R": "ImageScale"}, "widgets_values": ["lanczos", 1095, 1930, "center"]}, {"id": 79, "type": "ImageUpscaleWithModel", "pos": [2007.30224609375, 521.3667602539062], "size": [340.20001220703125, 46], "flags": {}, "order": 14, "mode": 0, "inputs": [{"name": "upscale_model", "localized_name": "upscale_model", "type": "UPSCALE_MODEL", "link": 216}, {"name": "image", "localized_name": "image", "type": "IMAGE", "link": 299}], "outputs": [{"name": "IMAGE", "localized_name": "IMAGE", "type": "IMAGE", "links": [217], "slot_index": 0}], "properties": {"cnr_id": "comfy-core", "ver": "0.3.18", "Node name for S&R": "ImageUpscaleWithModel"}, "widgets_values": []}, {"id": 108, "type": "HyVideoDecode", "pos": [1630.4010009765625, 527.236083984375], "size": [315, 150], "flags": {}, "order": 13, "mode": 0, "inputs": [{"name": "vae", "localized_name": "vae", "type": "VAE", "link": 255}, {"name": "samples", "localized_name": "samples", "type": "LATENT", "link": 308}], "outputs": [{"name": "images", "localized_name": "images", "type": "IMAGE", "links": [299, 302], "slot_index": 0}], "properties": {"cnr_id": "comfyui-hunyuanvideowrapper", "ver": "2b043839ae7abe58ae8d3ea6099daea2b7f53d17", "Node name for S&R": "HyVideoDecode"}, "widgets_values": [true, 32, 64, false]}, {"id": 78, "type": "UpscaleModelLoader", "pos": [1637.8614501953125, 727.149169921875], "size": [315, 58], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [{"name": "UPSCALE_MODEL", "localized_name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [216], "slot_index": 0}], "properties": {"cnr_id": "comfy-core", "ver": "0.3.18", "Node name for S&R": "UpscaleModelLoader"}, "widgets_values": ["4x-AnimeSharp.pth"]}, {"id": 104, "type": "SaveAnimatedWEBP", "pos": [2091.356689453125, 727.7784423828125], "size": [384.6959533691406, 701.89599609375], "flags": {}, "order": 15, "mode": 0, "inputs": [{"name": "images", "localized_name": "images", "type": "IMAGE", "link": 302}], "outputs": [], "properties": {"cnr_id": "comfy-core", "ver": "0.3.18"}, "widgets_values": ["ComfyUI", 6, true, 80, "default"]}, {"id": 162, "type": "MarkdownNote", "pos": [-860, 355], "size": [580, 900], "flags": {}, "order": 18, "mode": 0, "inputs": [], "outputs": [], "title": "How to use", "properties": {}, "widgets_values": ["## How to use - Hunyuan Video Low-VRAM v1.1.2\n\n**What it does:** text to video with Fast Hunyuan Video (GGUF), RifleX, a tiled decode and a 4x anime upscale. Made for very small cards (4 GB). It works but it is slow; Wan 2.1 / 2.2 GGUF is often the better pick on tiny GPUs.\n\nThis file is text to video only: there is no image input in this graph.\n\n**Inputs**\n1. **Positive prompt** (top CLIP Text Encode in Prompts): describe the scene, action and camera.\n2. **Negative prompt** (lower CLIP Text Encode): empty by default.\n3. **LoRAs** (Lora Loader Stack, rgthree): all four slots are \"None\". Pick Hunyuan Video LoRAs here if you want them.\n\n**Important settings**\n- **Empty Video Latent For Hunyuan**: size 768x432 (16:9), 25 frames, batch 1.\n- **Hunyuan Video Sampler Save**: 20 steps, cfg 6, euler / beta, denoise 0.9, seed randomizes each run.\n- **FluxGuidance**: 6 on the positive, 2 on the negative.\n- **ModelSamplingSD3**: shift 5.\n- **RifleX RoPE**: k 4 (helps longer clips not repeat).\n- **HyVideo Decode**: tiling on (tile size widgets 32 and 64, auto tile size off). Keep it on for low VRAM.\n- **Upscale**: 4x-AnimeSharp, then Image Scale (lanczos, center crop) to 1095 x 1930. That target is portrait; for the default 16:9 latent set width/height to a 16:9 size or the center crop cuts the sides.\n\n**Outputs**\n- **Video Combine**: the upscaled clip as MP4 (10 fps, pingpong on).\n- **Save Animated WEBP**: the raw decode before upscaling (6 fps).\n\n**Tips**\n- Out of VRAM: fewer frames, a smaller latent size, or bypass the upscale nodes.\n- GGUF errors are usually fixed by updating the gguf node pack.\n- Faster attention: start ComfyUI with --use-sage-attention (less VRAM). --use-ck-attention changes the image for the same seed.\n\n**Tested on:** RTX 3050 Laptop 4 GB (slow)."], "color": "#432", "bgcolor": "#653"}, {"id": 163, "type": "MarkdownNote", "pos": [-860, 1295], "size": [580, 520], "flags": {}, "order": 19, "mode": 0, "inputs": [], "outputs": [], "title": "Downloads", "properties": {}, "widgets_values": ["## Downloads - put each file in the ComfyUI folder shown\n\nFolders are inside `ComfyUI/models/`. Full table: downloads.md in this folder.\n\n| Folder | File (click = download) | Note |\n|---|---|---|\n| `diffusion_models/` | [fast-hunyuan-video-t2v-720p-Q5_K_M.gguf](https://huggingface.co/city96/FastHunyuan-gguf/resolve/main/fast-hunyuan-video-t2v-720p-Q5_K_M.gguf) | Fast Hunyuan, recommended |\n| `text_encoders/` | [llava_llama3_fp8_scaled.safetensors](https://huggingface.co/calcuis/hunyuan-gguf/resolve/main/llava_llama3_fp8_scaled.safetensors) | |\n| `text_encoders/` | [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors) | |\n| `vae/` | [kijai_hunyuan_video_vae_bf16.safetensors](https://huggingface.co/Kijai/HunyuanVideo_comfy/resolve/main/hunyuan_video_vae_bf16.safetensors) | Kijai's hunyuan_video_vae_bf16.safetensors, save it under the name the workflow loads. 0.5 GB |\n| `upscale_models/` | [4x-AnimeSharp.pth](https://huggingface.co/Kim2091/AnimeSharp/resolve/main/4x-AnimeSharp.pth) | 0.07 GB |\n\nStandard (non-fast) Hunyuan GGUF also works: [city96/HunyuanVideo-gguf](https://huggingface.co/city96/HunyuanVideo-gguf).\n\n**Custom node packs:** gguf (calcuis), ComfyUI-KJNodes, ComfyUI-VideoHelperSuite, rgthree-comfy, ComfyUI-HunyuanVideoWrapper, ComfyUI-HunyuanVideoSamplerSave.\n\nOne command from the repo root: `python scripts/frizzy.py doctor hunyuan/video`"], "color": "#432", "bgcolor": "#653"}], "links": [[216, 78, 0, 79, 0, "UPSCALE_MODEL"], [217, 79, 0, 80, 0, "IMAGE"], [255, 107, 0, 108, 0, "VAE"], [262, 26, 0, 109, 1, "CONDITIONING"], [264, 110, 0, 109, 2, "CONDITIONING"], [299, 108, 0, 79, 1, "IMAGE"], [302, 108, 0, 104, 0, "IMAGE"], [308, 109, 0, 108, 1, "LATENT"], [337, 158, 0, 159, 0, "MODEL"], [338, 154, 0, 159, 1, "CLIP"], [339, 159, 1, 44, 0, "CLIP"], [340, 159, 1, 111, 0, "CLIP"], [342, 44, 0, 110, 0, "CONDITIONING"], [343, 111, 0, 26, 0, "CONDITIONING"], [344, 159, 0, 67, 0, "MODEL"], [346, 67, 0, 160, 0, "MODEL"], [347, 160, 0, 109, 0, "MODEL"], [351, 161, 0, 109, 3, "LATENT"], [352, 161, 0, 160, 1, "LATENT"], [353, 80, 0, 82, 0, "IMAGE"]], "groups": [{"id": 1, "title": "Model and Loras", "bounding": [-241.2555389404297, 354.9772033691406, 804.4352416992188, 420.73602294921875], "color": "#3f789e", "font_size": 24, "flags": {}}, {"id": 2, "title": "Sampler", "bounding": [626.2908325195312, 350.4520568847656, 870.0269165039062, 545.5306396484375], "color": "#3f789e", "font_size": 24, "flags": {}}, {"id": 3, "title": "Prompts", "bounding": [-237.39556884765625, 804.1629638671875, 779.5188598632812, 514.5448608398438], "color": "#8A8", "font_size": 24, "flags": {}}, {"id": 5, "title": "Decode and Upscaller", "bounding": [1574.4041748046875, 427.7314758300781, 1408.52783203125, 1060.9423828125], "color": "#3f789e", "font_size": 24, "flags": {}}], "config": {}, "extra": {"ds": {"scale": 1, "offset": [318.1964569091797, -296.3252868652344]}, "groupNodes": {}, "node_versions": {"comfyui-frame-interpolation": "c336f7184cb1ac1243381e725fea1ad2c0a10c09", "comfy-core": "0.3.15", "comfyui-videohelpersuite": "124c913ccdd8a585734ea758c35fa1bab8499c99", "comfyui-hunyuanvideowrapper": "8e0283bb3c9c2d0e38097c09fdfd3ad8e24cd333", "ComfyUI-GGUF": "5875c52f59baca3a9372d68c43a3775e21846fe0", "ComfyUI-HunyuanVideoSamplerSave": "12da6f230aae1427c74e96dd3d34735d5b8bd390", "comfyui-kjnodes": "095c8d4b526ba3c1f12fd9dd1d7f3540c6a11358"}, "ue_links": [], "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true}, "version": 0.4}