{ "id": "7f139c29-d42e-4349-a9d4-2e7d9a1751b8", "revision": 0, "last_node_id": 5476, "last_link_id": 14162, "nodes": [ { "id": 206, "type": "MarkdownNote", "pos": [ -1823.8190597273947, 1567.934799079736 ], "size": [ 382.280702747692, 89.8245395507779 ], "flags": { "collapsed": false }, "order": 0, "mode": 0, "inputs": [], "outputs": [], "title": "About Models", "properties": {}, "widgets_values": [ "Download models from here:\n\n\nhttps://huggingface.co/Kijai/LTX2.3_comfy\n\nText encoder : https://huggingface.co/Comfy-Org/ltx-2" ], "color": "#222", "bgcolor": "#000" }, { "id": 209, "type": "SetNode", "pos": [ -1317.4191199533461, 2476.737581658651 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 62, "mode": 0, "inputs": [ { "name": "VAE", "type": "VAE", "link": 212 } ], "outputs": [ { "name": "VAE", "type": "VAE", "links": null } ], "title": "Set_vae_audio", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "vae_audio" }, "widgets_values": [ "vae_audio" ] }, { "id": 210, "type": "SetNode", "pos": [ -1317.4191199533461, 2341.2431047844057 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 64, "mode": 0, "inputs": [ { "name": "VAE", "type": "VAE", "link": 213 } ], "outputs": [ { "name": "VAE", "type": "VAE", "links": null } ], "title": "Set_vae", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "vae" }, "widgets_values": [ "vae" ] }, { "id": 211, "type": "VAELoaderKJ", "pos": [ -1317.4191199533461, 2426.285066724792 ], "size": [ 364.0273046899474, 110.28381432699462 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 212 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "487c7d86a0230aae3d8c0a37d517159b73834f85", "Node name for S&R": "VAELoaderKJ" }, "widgets_values": [ "LTX23_audio_vae_bf16_KJ.safetensors", "main_device", "bf16" ], "color": "#1f1f48", "bgcolor": "rgba(24,24,27,.9)", "ndSuperSelectorEnabled": false, "ndPowerEnabled": false }, { "id": 212, "type": "SetNode", "pos": [ -1317.4191199533461, 2639.0632270693613 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 63, "mode": 0, "inputs": [ { "name": "VAE", "type": "VAE", "link": 214 } ], "outputs": [ { "name": "VAE", "type": "VAE", "links": null } ], "title": "Set_vae_tiny", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "vae_tiny" }, "widgets_values": [ "vae_tiny" ] }, { "id": 213, "type": "VAELoader", "pos": [ -1317.4191199533461, 2591.168469367828 ], "size": [ 364.0273046899474, 58 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 214 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.16.3", "Node name for S&R": "VAELoader" }, "widgets_values": [ "vae_approx\\taeltx2_3.safetensors" ], "color": "#1f1f48", "bgcolor": "rgba(24,24,27,.9)", "ndSuperSelectorEnabled": false, "ndPowerEnabled": false }, { "id": 214, "type": "VAELoader", "pos": [ -1317.4191199533461, 2313.7038075956634 ], "size": [ 364.0273046899474, 61.42705146159551 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 213 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "VAELoader" }, "widgets_values": [ "LTX23_video_vae_bf16_KJ.safetensors" ], "color": "#1f1f48", "bgcolor": "rgba(24,24,27,.9)", "ndSuperSelectorEnabled": false, "ndPowerEnabled": false }, { "id": 825, "type": "SetNode", "pos": [ -771.8812286123135, 2917.621876005292 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 74, "mode": 0, "inputs": [ { "name": "FLOAT", "type": "FLOAT", "link": 1789 } ], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": null } ], "title": "Set_fps", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "fps" }, "widgets_values": [ "fps" ] }, { "id": 215, "type": "SetNode", "pos": [ -1167.1561597730306, 2142.20210853132 ], "size": [ 210, 50 ], "flags": { "collapsed": true }, "order": 65, "mode": 0, "inputs": [ { "name": "CLIP", "type": "CLIP", "link": 215 } ], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": null } ], "title": "Set_clip", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "clip" }, "widgets_values": [ "clip" ] }, { "id": 216, "type": "DualCLIPLoader", "pos": [ -1314.3835045961605, 2128.162331163471 ], "size": [ 364.0273046899474, 130 ], "flags": { "collapsed": false }, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 215 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "DualCLIPLoader" }, "widgets_values": [ "gemma_3_12B_it_fp8_scaled.safetensors", "ltx-2.3_text_projection_bf16.safetensors", "ltxv", "default" ], "color": "#1f1f48", "bgcolor": "rgba(24,24,27,.9)", "ndSuperSelectorEnabled": false, "ndPowerEnabled": false }, { "id": 208, "type": "SetNode", "pos": [ -1281.6821094591874, 2037.2398917408802 ], "size": [ 352.5234375, 50 ], "flags": { "collapsed": true }, "order": 66, "mode": 0, "inputs": [ { "name": "LATENT_UPSCALE_MODEL", "type": "LATENT_UPSCALE_MODEL", "link": 211 } ], "outputs": [ { "name": "LATENT_UPSCALE_MODEL", "type": "LATENT_UPSCALE_MODEL", "links": null } ], "title": "Set_upscale_model", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "upscale_model" }, "widgets_values": [ "upscale_model" ] }, { "id": 217, "type": "LatentUpscaleModelLoader", "pos": [ -1317.4191199533461, 1994.034255687447 ], "size": [ 364.0273046899474, 73.19414812714422 ], "flags": { "collapsed": false }, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT_UPSCALE_MODEL", "type": "LATENT_UPSCALE_MODEL", "links": [ 211 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.7.0", "Node name for S&R": "LatentUpscaleModelLoader", "models": [ { "name": "ltx-2-spatial-upscaler-x2-1.0.safetensors", "url": "https://huggingface.co/Lightricks/LTX-2/resolve/main/ltx-2-spatial-upscaler-x2-1.0.safetensors", "directory": "latent_upscale_models" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "ltx-2.3-spatial-upscaler-x2-1.1.safetensors" ], "color": "#1f1f48", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5308, "type": "GetNode", "pos": [ -406.96904320330935, 2350.2817749895626 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 13916, 13925 ] } ], "title": "Get_clip", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "clip" ] }, { "id": 5309, "type": "SetNode", "pos": [ -243.3344020516728, 2659.6515329574963 ], "size": [ 223.53515625, 34 ], "flags": { "collapsed": true }, "order": 107, "mode": 0, "inputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "link": 13914 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": null } ], "title": "Set_positive", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "positive" }, "widgets_values": [ "positive" ] }, { "id": 5310, "type": "SetNode", "pos": [ -281.3232700360025, 2691.850637110793 ], "size": [ 223.53515625, 34 ], "flags": { "collapsed": true }, "order": 108, "mode": 0, "inputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "link": 13915 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": null } ], "title": "Set_negative", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "negative" }, "widgets_values": [ "negative" ] }, { "id": 5311, "type": "GetNode", "pos": [ -369.9793920163569, 1964.2031600063544 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 13919 ] } ], "title": "Get_ref_image", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "ref_image" ] }, { "id": 5312, "type": "GetNode", "pos": [ -343.8954160732373, 2007.3362592189908 ], "size": [ 225.0376953125, 34 ], "flags": { "collapsed": true }, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "BOOLEAN", "type": "BOOLEAN", "links": [ 13921 ] } ], "title": "Get_enable_promptenhance", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "enable_promptenhance" ] }, { "id": 5313, "type": "GetNode", "pos": [ -317.3697027662102, 1931.0843839040347 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 13918 ] } ], "title": "Get_clip", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "clip" ] }, { "id": 5314, "type": "CLIPTextEncode", "pos": [ -352.5519970408861, 2411.1059641962643 ], "size": [ 420.00276089475847, 261.27319490227774 ], "flags": { "collapsed": true }, "order": 92, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 13916 }, { "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": 13917 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 13922 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "=enhanced prompt=" ], "color": "#346434", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5316, "type": "GetNode", "pos": [ -267.5901197391143, 2673.8582474751715 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 10, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 13924 ] } ], "title": "Get_fps", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "fps" ] }, { "id": 5323, "type": "SetNode", "pos": [ -539.5363453472081, 2914.111722165033 ], "size": [ 223.5748046875, 34 ], "flags": { "collapsed": true }, "order": 72, "mode": 0, "inputs": [ { "name": "BOOLEAN", "type": "BOOLEAN", "link": 13928 } ], "outputs": [ { "name": "BOOLEAN", "type": "BOOLEAN", "links": null } ], "title": "Set_enable_promptenhance", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "enable_promptenhance" }, "widgets_values": [ "enable_promptenhance" ] }, { "id": 5330, "type": "GetNode", "pos": [ 119.04363639856088, 1865.201665675959 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 11, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "links": [ 13946 ] } ], "title": "Get_frames", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "frames" ] }, { "id": 5332, "type": "GetNode", "pos": [ 94.18892822926497, 1912.5632097055025 ], "size": [ 210, 58 ], "flags": { "collapsed": true }, "order": 12, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "links": [ 13944 ] } ], "title": "Get_height_downscaled", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "height_downscaled" ] }, { "id": 109, "type": "GetNode", "pos": [ 427.6984264409801, 2111.5099998902374 ], "size": [ 210, 50 ], "flags": { "collapsed": true }, "order": 13, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 74, 158 ] } ], "title": "Get_model", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "model" ], "color": "rgba(0,0,0,.8)", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 94, "type": "BasicScheduler", "pos": [ 412.00225366483085, 2070.5163860941784 ], "size": [ 272.2460852699064, 106 ], "flags": { "collapsed": false }, "order": 68, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 74 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 206 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.17.0", "Node name for S&R": "BasicScheduler", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.1" } }, "widgets_values": [ "linear_quadratic", 8, 1 ], "color": "rgba(0,0,0,.8)", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 93, "type": "CFGGuider", "pos": [ 412.00225366483085, 1800.2729567436822 ], "size": [ 272.2460852699064, 106.66666666666667 ], "flags": { "collapsed": false }, "order": 119, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 158 }, { "name": "positive", "type": "CONDITIONING", "link": 14159 }, { "name": "negative", "type": "CONDITIONING", "link": 14104 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "links": [ 13951 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.64", "Node name for S&R": "CFGGuider", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} }, "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 1 ], "color": "rgba(0,0,0,.8)", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 92, "type": "KSamplerSelect", "pos": [ 412.00225366483085, 1953.1905139903056 ], "size": [ 272.2460852699064, 75.61846414305396 ], "flags": { "collapsed": false }, "order": 14, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 25 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.56", "Node name for S&R": "KSamplerSelect", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} }, "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "euler_ancestral_cfg_pp" ], "color": "rgba(0,0,0,.8)", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 65, "type": "SetNode", "pos": [ -296.48991050562006, 1744.970127590085 ], "size": [ 210, 58 ], "flags": { "collapsed": true }, "order": 118, "mode": 0, "inputs": [ { "name": "MODEL", "type": "MODEL", "link": 13963 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [] } ], "title": "Set_model_with_lora", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "model_with_lora", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "model_with_lora" ] }, { "id": 218, "type": "LoraLoaderModelOnly", "pos": [ -1321.137897983711, 1829.1057088671241 ], "size": [ 364.0273046899474, 82 ], "flags": { "collapsed": false }, "order": 69, "mode": 4, "inputs": [ { "name": "model", "type": "MODEL", "link": 216 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 13969 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.75", "Node name for S&R": "LoraLoaderModelOnly", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "models": [ { "name": "ltx-2-19b-distilled-lora-384.safetensors", "url": "https://huggingface.co/Lightricks/LTX-2/resolve/main/ltx-2-19b-distilled-lora-384.safetensors", "directory": "loras" } ] }, "widgets_values": [ "LTX\\v2\\ltx-2.3-22b-distilled-1.1_lora-dynamic_fro09_avg_rank_111_bf16.safetensors", 0.6 ], "color": "#1f1f48", "bgcolor": "rgba(24,24,27,.9)", "ndSuperSelectorEnabled": false, "ndPowerEnabled": false }, { "id": 219, "type": "UNETLoader", "pos": [ -1323.2887054024873, 1684.0852832318415 ], "size": [ 364.0273046899474, 82 ], "flags": { "collapsed": false }, "order": 15, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 216 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.16.1", "Node name for S&R": "UNETLoader" }, "widgets_values": [ "LTXVideo\\v2\\ltx-2.3-22b-distilled-1.1_transformer_only_fp8_scaled.safetensors", "default" ], "color": "#1f1f48", "bgcolor": "rgba(24,24,27,.9)", "ndSuperSelectorEnabled": false, "ndPowerEnabled": false }, { "id": 5351, "type": "GetNode", "pos": [ 2074.677131065038, 2088.4912833054327 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 16, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 13973 ] } ], "title": "Get_vae", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "vae" ], "color": "#af3535", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5352, "type": "GetNode", "pos": [ 2074.677131065038, 2186.6301076116015 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 17, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 13996 ] } ], "title": "Get_vae_audio", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "vae_audio" ], "color": "#af3535", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5370, "type": "LTXVSeparateAVLatent", "pos": [ 2076.879759371214, 1689.6017241689415 ], "size": [ 257.2388542190106, 46 ], "flags": {}, "order": 131, "mode": 0, "inputs": [ { "name": "av_latent", "type": "LATENT", "link": 14158 } ], "outputs": [ { "name": "video_latent", "type": "LATENT", "links": [ 14002 ] }, { "name": "audio_latent", "type": "LATENT", "links": [ 13995 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "LTXVSeparateAVLatent", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 5350, "type": "LTX2AttentionTunerPatch", "pos": [ -787.8538743829068, 1502.007891393014 ], "size": [ 283.875, 178 ], "flags": { "collapsed": true }, "order": 104, "mode": 4, "inputs": [ { "name": "model", "type": "MODEL", "link": 13967 } ], "outputs": [ { "name": "model", "type": "MODEL", "links": [ 13971 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "5b38397a6430fdb16c7bd14a6bd64c2b0e69a5f0", "Node name for S&R": "LTX2AttentionTunerPatch" }, "widgets_values": [ "", 1, 1, 1, 1, true ] }, { "id": 5355, "type": "VAEDecodeTiled", "pos": [ 2074.677131065038, 1951.7616997652972 ], "size": [ 257.2388542190106, 150 ], "flags": {}, "order": 134, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 14003 }, { "name": "vae", "type": "VAE", "link": 13973 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 13986 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.7.0", "Node name for S&R": "VAEDecodeTiled", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 512, 64, 4096, 8 ] }, { "id": 847, "type": "SetNode", "pos": [ -1309.0117629334372, 2907.7870627765305 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 71, "mode": 0, "inputs": [ { "name": "INT", "type": "INT", "link": 1804 } ], "outputs": [ { "name": "INT", "type": "INT", "links": null } ], "title": "Set_max_size", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "max_size" }, "widgets_values": [ "max_size" ] }, { "id": 77, "type": "RandomNoise", "pos": [ 412.00225366483085, 1668.8551286565737 ], "size": [ 272.2460852699064, 82 ], "flags": {}, "order": 18, "mode": 0, "inputs": [], "outputs": [ { "name": "NOISE", "type": "NOISE", "links": [ 23 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.56", "Node name for S&R": "RandomNoise", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} }, "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 35, "fixed" ], "color": "#006691", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5388, "type": "GetNode", "pos": [ 443.1816116893134, 2567.8880643928646 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 19, "mode": 0, "inputs": [], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [] } ], "title": "Get_negative", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "negative" ] }, { "id": 5390, "type": "SetNode", "pos": [ -222.94982329571263, 2536.9730166179293 ], "size": [ 223.53515625, 60 ], "flags": { "collapsed": true }, "order": 83, "mode": 0, "inputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "link": 14032 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": null } ], "title": "Set_negative_prompt", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "negative_prompt" }, "widgets_values": [ "negative_prompt" ] }, { "id": 5318, "type": "CLIPTextEncode", "pos": [ -420.4219609944918, 2490.8844915996438 ], "size": [ 426.63485796291206, 99.86350839968736 ], "flags": { "collapsed": false }, "order": 67, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 13925 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 13923, 14032 ] } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "text, subtitles, logo, low quality, distorted, bad anatomy, oversaturated, pixelated, low resolution, grainy, compression artifacts, jpeg artifacts, glitches, watermark, signature, copyright, distortedsound, saturated sound, loud sound , deformed facial features, asymmetrical face, missing facial features, extra limbs, disfigured hands, blurry teeth, disfigured teeth" ], "color": "#422342", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5391, "type": "GetNode", "pos": [ 444.8947899136679, 2561.191486539589 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 20, "mode": 0, "inputs": [], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 14033, 14034 ] } ], "title": "Get_negative_prompt", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "negative_prompt" ] }, { "id": 849, "type": "GetNode", "pos": [ 425.3012662671313, 2306.627470795687 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 21, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 1807 ] } ], "title": "Get_model_with_lora", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "model_with_lora" ] }, { "id": 199, "type": "VAELoader", "pos": [ 421.47325009279047, 2346.242447624563 ], "size": [ 270, 58 ], "flags": { "collapsed": true }, "order": 22, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 208 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.19.3", "Node name for S&R": "VAELoader" }, "widgets_values": [ "taeltx2_3.safetensors" ], "ndSuperSelectorEnabled": false, "ndPowerEnabled": false }, { "id": 7, "type": "SetNode", "pos": [ 529.0625983457925, 2344.549868135607 ], "size": [ 210, 58 ], "flags": { "collapsed": true }, "order": 95, "mode": 0, "inputs": [ { "name": "MODEL", "type": "MODEL", "link": 14035 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [] } ], "title": "Set_model", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "model", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "model" ] }, { "id": 5389, "type": "LTX2_NAG", "pos": [ 423.90576841808115, 2522.330989389615 ], "size": [ 271.305509971064, 170 ], "flags": {}, "order": 85, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 14036 }, { "name": "nag_cond_video", "shape": 7, "type": "CONDITIONING", "link": 14033 }, { "name": "nag_cond_audio", "shape": 7, "type": "CONDITIONING", "link": 14034 } ], "outputs": [ { "name": "model", "type": "MODEL", "links": [ 14035 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "ff79c7332d7ea4aa85097a88fb09359f28cb487e", "Node name for S&R": "LTX2_NAG" }, "widgets_values": [ 11, 0.25, 2.5, true ] }, { "id": 5393, "type": "SimpleCalculatorKJ", "pos": [ -1081.8453797737623, 2926.615390358943 ], "size": [ 210, 168 ], "flags": { "collapsed": true }, "order": 81, "mode": 0, "inputs": [ { "label": "a", "name": "variables.a", "shape": 7, "type": "INT,FLOAT,BOOLEAN", "link": 14039 }, { "label": "b", "name": "variables.b", "shape": 7, "type": "INT,FLOAT,BOOLEAN", "link": 14042 }, { "label": "c", "name": "variables.c", "shape": 7, "type": "INT,FLOAT,BOOLEAN", "link": null }, { "name": "a", "shape": 7, "type": "*", "link": null }, { "name": "b", "shape": 7, "type": "*", "link": null } ], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [] }, { "name": "INT", "type": "INT", "links": [ 14041 ] }, { "name": "BOOLEAN", "type": "BOOLEAN", "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "17cddd4959f00182c66954be2a7a32a6481d81be", "Node name for S&R": "SimpleCalculatorKJ" }, "widgets_values": [ "1+ 8*(round(a*b)/8)" ], "color": "#006691", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5395, "type": "SetNode", "pos": [ -1070.7657008777412, 2919.3983179328484 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 91, "mode": 0, "inputs": [ { "name": "INT", "type": "INT", "link": 14041 } ], "outputs": [ { "name": "INT", "type": "INT", "links": null } ], "title": "Set_max_length", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "max_length" }, "widgets_values": [ "max_length" ] }, { "id": 846, "type": "INTConstant", "pos": [ -1332.3253188635306, 2897.291033882374 ], "size": [ 210, 58 ], "flags": { "collapsed": false }, "order": 23, "mode": 0, "inputs": [], "outputs": [ { "name": "value", "type": "INT", "links": [ 1804 ] } ], "title": "MAX SIZE (longest)", "properties": { "cnr_id": "comfyui-kjnodes", "ver": "c6ce76d00bb8177d1b0286cad891df08eff5226e", "Node name for S&R": "INTConstant" }, "widgets_values": [ 960 ], "color": "#006691", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5315, "type": "9b13d183-9207-4035-8ea7-39005826fdf6", "pos": [ -369.61371029128935, 1936.1415548079187 ], "size": [ 295.477651575736, 128 ], "flags": { "collapsed": false }, "order": 82, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 13918 }, { "name": "image", "shape": 7, "type": "IMAGE", "link": 13919 }, { "label": "prompt", "name": "string_b", "type": "STRING", "widget": { "name": "string_b" }, "link": 13920 }, { "label": "Enabled", "name": "", "type": "*", "link": 13921 } ], "outputs": [ { "label": "generated_text", "name": "generated_text", "type": "STRING", "links": [ 13917, 13926 ] } ], "properties": { "proxyWidgets": [ [ "482", "string_b" ] ], "cnr_id": "comfy-core", "ver": "0.17.0" }, "widgets_values": [] }, { "id": 5324, "type": "PrimitiveBoolean", "pos": [ -571.7347169810137, 2893.3866665090136 ], "size": [ 270, 58 ], "flags": {}, "order": 24, "mode": 0, "inputs": [], "outputs": [ { "name": "BOOLEAN", "type": "BOOLEAN", "links": [ 13928 ] } ], "title": "ENABLE PROMPT ENHANCER", "properties": { "cnr_id": "comfy-core", "ver": "0.17.0", "Node name for S&R": "PrimitiveBoolean" }, "widgets_values": [ false ], "color": "#008181", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5401, "type": "ComfyMathExpression", "pos": [ 109.14969047831987, 1686.7263751696846 ], "size": [ 210, 108 ], "flags": { "collapsed": true }, "order": 80, "mode": 0, "inputs": [ { "label": "a", "name": "values.a", "type": "FLOAT,INT,BOOLEAN", "link": 14047 }, { "label": "b", "name": "values.b", "shape": 7, "type": "FLOAT,INT,BOOLEAN", "link": null } ], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": null }, { "name": "INT", "type": "INT", "links": [ 14048 ] }, { "name": "BOOL", "type": "BOOLEAN", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.19.3", "Node name for S&R": "ComfyMathExpression" }, "widgets_values": [ "a" ] }, { "id": 5331, "type": "GetNode", "pos": [ 94.60067129295314, 1839.319881106404 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 25, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "links": [ 13943 ] } ], "title": "Get_width_downscaled", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "width_downscaled" ] }, { "id": 830, "type": "PrimitiveFloat", "pos": [ -855.7267333088886, 2894.1695051799247 ], "size": [ 210, 61.42105412153796 ], "flags": { "collapsed": false }, "order": 26, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 1789, 14039 ] } ], "title": "FPS", "properties": { "cnr_id": "comfy-core", "ver": "0.10.0", "Node name for S&R": "PrimitiveFloat" }, "widgets_values": [ 24 ], "color": "#006691", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 198, "type": "LTX2SamplingPreviewOverride", "pos": [ 419.14081054848083, 2306.859405553132 ], "size": [ 272.2460852699064, 98 ], "flags": {}, "order": 70, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1807 }, { "name": "latent_upscale_model", "shape": 7, "type": "LATENT_UPSCALE_MODEL", "link": null }, { "name": "vae", "shape": 7, "type": "VAE", "link": 208 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14036 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "8f54784b2c3971b0e2b6ab9bb1df207d554df3bd", "Node name for S&R": "LTX2SamplingPreviewOverride" }, "widgets_values": [ 9 ] }, { "id": 200, "type": "MarkdownNote", "pos": [ -1820.069170796114, 1706.1905768516772 ], "size": [ 382.280702747692, 140 ], "flags": { "collapsed": false }, "order": 27, "mode": 0, "inputs": [], "outputs": [], "title": "Prompting LTX-2", "properties": {}, "widgets_values": [ "## LTX-2 Prompting Tips\n1. **Core Actions**: Describe events and actions as they occur over time \n2. **Audio**: Describe sounds and dialogue needed for the scene \n3. **Reference Image**: Do not repeat details already present \n4. **Consistency**: Avoid instructions that do not match the reference image, as this will degrade results" ], "color": "#222", "bgcolor": "#000" }, { "id": 202, "type": "MarkdownNote", "pos": [ -1815.2151363315052, 1954.0463973324813 ], "size": [ 382.280702747692, 140 ], "flags": { "collapsed": true }, "order": 28, "mode": 0, "inputs": [], "outputs": [], "title": "About Size", "properties": {}, "widgets_values": [ "Width & height settings must be divisible by 32 + 1. \nFrame count must be divisible by 8 + 1. \n\n\nRunning with invalid parameters **will not cause errors**. Instead, the flow will silently choose the closest valid parameters. \n\nBy default, we are using 720p resolution. You can try 1920*1088 if you have a powerful GPU." ], "color": "#222", "bgcolor": "#000" }, { "id": 203, "type": "MarkdownNote", "pos": [ -1829.420373174156, 2001.7566685446284 ], "size": [ 382.280702747692, 107.3859507080042 ], "flags": { "collapsed": true }, "order": 29, "mode": 0, "inputs": [], "outputs": [], "title": "Sampler Preview", "properties": {}, "widgets_values": [ "Tiny VAE for sampler previews. \nOptionally you can drop this for a lower res latent RGB built into the node \n\nhttps://github.com/madebyollin/taehv/blob/main/safetensors/taeltx2_3.safetensors" ], "color": "#222", "bgcolor": "#000" }, { "id": 201, "type": "MarkdownNote", "pos": [ -1827.0035057455557, 1905.4880056137636 ], "size": [ 382.280702747692, 107.3859507080042 ], "flags": { "collapsed": true }, "order": 30, "mode": 0, "inputs": [], "outputs": [], "title": "User Made Loras", "properties": {}, "widgets_values": [ "If using some user made LTX-2 loras they sometimes are not trained on audio, so it will produce very noisy audio outputs. Try use KJNodes LTX-2 Lora Loader Advanced in such cases, and set the non video strenght to zero\n" ], "color": "#222", "bgcolor": "#000" }, { "id": 204, "type": "UnetLoaderGGUF", "pos": [ -1628.8414301332616, 1920.1108181549262 ], "size": [ 355.55555555555475, 60.44444444444434 ], "flags": { "collapsed": true }, "order": 31, "mode": 4, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [] } ], "properties": { "cnr_id": "ComfyUI-GGUF", "ver": "6ea2651e7df66d7585f6ffee804b20e92fb38b8a", "Node name for S&R": "UnetLoaderGGUF" }, "widgets_values": [ "LTXvideo\\LTX-2\\quantstack\\LTX-2.3-distilled-Q4_K_S.gguf" ], "color": "#1f1f48", "bgcolor": "rgba(24,24,27,.9)", "ndSuperSelectorEnabled": false, "ndPowerEnabled": false }, { "id": 205, "type": "DualCLIPLoaderGGUF", "pos": [ -1625.5824258632404, 1987.0216924183112 ], "size": [ 346.517577185067, 107.25438651123113 ], "flags": { "collapsed": true }, "order": 32, "mode": 4, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [] } ], "properties": { "cnr_id": "ComfyUI-GGUF", "ver": "6ea2651e7df66d7585f6ffee804b20e92fb38b8a", "Node name for S&R": "DualCLIPLoaderGGUF" }, "widgets_values": [ "gemma-3-12b-it-Q2_K.gguf", "ltx-2.3_text_projection_bf16.safetensors", "ltxv" ], "color": "#1f1f48", "bgcolor": "rgba(24,24,27,.9)", "ndSuperSelectorEnabled": false, "ndPowerEnabled": false }, { "id": 207, "type": "MarkdownNote", "pos": [ -1796.964024710426, 2892.9936194005572 ], "size": [ 374.43232263102846, 91.73026398587763 ], "flags": { "collapsed": false }, "order": 33, "mode": 0, "inputs": [], "outputs": [], "title": "Video settings", "properties": {}, "widgets_values": [ "**MAX SIZE** determine the longest side in pixels for the end output. And **MAX LENGTH** in second determine how long the output video should be\n" ], "color": "#222", "bgcolor": "#000" }, { "id": 5422, "type": "SetNode", "pos": [ 1492.04821293606, 1965.8878701226513 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 78, "mode": 0, "inputs": [ { "name": "SIGMAS", "type": "SIGMAS", "link": 14067 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": null } ], "title": "Set_sigmas2", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "sigmas2" }, "widgets_values": [ "sigmas2" ] }, { "id": 5424, "type": "SetNode", "pos": [ 1504.592078048366, 2057.1159800303303 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 75, "mode": 0, "inputs": [ { "name": "SAMPLER", "type": "SAMPLER", "link": 14068 } ], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": null } ], "title": "Set_sampler2", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "sampler2" }, "widgets_values": [ "sampler2" ] }, { "id": 5425, "type": "KSamplerSelect", "pos": [ 1400.663705585935, 2050.240676596451 ], "size": [ 270, 58 ], "flags": {}, "order": 34, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 14068, 14086 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.75", "Node name for S&R": "KSamplerSelect", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "euler" ] }, { "id": 5317, "type": "LTXVConditioning", "pos": [ -337.9746401780516, 2647.1662142395494 ], "size": [ 257.22064216070476, 78 ], "flags": { "collapsed": false }, "order": 103, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 13922 }, { "name": "negative", "type": "CONDITIONING", "link": 13923 }, { "name": "frame_rate", "type": "FLOAT", "widget": { "name": "frame_rate" }, "link": 13924 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "slot_index": 0, "links": [ 13914, 14089 ] }, { "name": "negative", "type": "CONDITIONING", "slot_index": 1, "links": [ 13915, 14090 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.28", "Node name for S&R": "LTXVConditioning" }, "widgets_values": [ 24 ] }, { "id": 5336, "type": "SetNode", "pos": [ 132.2426453171292, 2037.8333743957635 ], "size": [ 223.53515625, 58 ], "flags": { "collapsed": true }, "order": 115, "mode": 0, "inputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "link": 14096 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": null } ], "title": "Set_negative_guider", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "negative_guider" }, "widgets_values": [ "negative_guider" ] }, { "id": 5335, "type": "SetNode", "pos": [ 130.24766722965438, 2084.358034905378 ], "size": [ 223.53515625, 60 ], "flags": { "collapsed": true }, "order": 114, "mode": 0, "inputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "link": 14097 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": null } ], "title": "Set_positive_guider", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "positive_guider" }, "widgets_values": [ "positive_guider" ] }, { "id": 102, "type": "GetNode", "pos": [ 127.76358718824424, 2096.152144857236 ], "size": [ 210, 58 ], "flags": { "collapsed": true }, "order": 35, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 14094 ] } ], "title": "Get_vae", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "vae" ], "color": "rgba(0,0,0,.8)", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5442, "type": "GetNode", "pos": [ 75.2366474979626, 2487.5529198491245 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 36, "mode": 0, "inputs": [], "outputs": [ { "name": "AUDIO", "type": "AUDIO", "links": [ 14105 ] } ], "title": "Get_audio_original", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "audio_original" ] }, { "id": 5443, "type": "GetNode", "pos": [ 84.37395131749125, 2493.644455728812 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 37, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 14106 ] } ], "title": "Get_vae_audio", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "vae_audio" ] }, { "id": 34, "type": "GetNode", "pos": [ 85.92010699804734, 1731.0335370579871 ], "size": [ 210, 58 ], "flags": { "collapsed": true }, "order": 38, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 31 ] } ], "title": "Get_vae_audio", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "vae_audio" ] }, { "id": 5399, "type": "GetNode", "pos": [ 91.17596612989922, 1709.5866010251698 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 39, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "links": [ 14046 ] } ], "title": "Get_frames", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "frames" ] }, { "id": 5412, "type": "SetNode", "pos": [ 154.658507842247, 1689.7416413632277 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 102, "mode": 0, "inputs": [ { "name": "LATENT", "type": "LATENT", "link": 14056 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": null } ], "title": "Set_latent_audio", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "latent_audio" }, "widgets_values": [ "latent_audio" ] }, { "id": 841, "type": "GetNode", "pos": [ -774.8270540321765, 1799.543184301593 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 40, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 1797 ] } ], "title": "Get_fps", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "fps" ] }, { "id": 5397, "type": "SetNode", "pos": [ -760.7852591434768, 1925.0743094062411 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 88, "mode": 0, "inputs": [ { "name": "IMAGE", "type": "IMAGE", "link": 14044 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": null } ], "title": "Set_input_video", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "input_video" }, "widgets_values": [ "input_video" ] }, { "id": 5456, "type": "GetNode", "pos": [ 102.20162484383059, 2056.0979796158917 ], "size": [ 216.13046875, 60 ], "flags": { "collapsed": true }, "order": 41, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 14123 ] } ], "title": "Get_ref_video_downscaled", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "ref_video_downscaled" ] }, { "id": 5343, "type": "Power Lora Loader (rgthree)", "pos": [ -409.22643485255725, 1654.2731344726742 ], "size": [ 398.0747346459458, 142 ], "flags": { "collapsed": false }, "order": 110, "mode": 0, "inputs": [ { "dir": 3, "name": "model", "type": "MODEL", "link": 13971 }, { "dir": 3, "name": "clip", "type": "CLIP", "link": null } ], "outputs": [ { "dir": 4, "name": "MODEL", "shape": 3, "type": "MODEL", "links": [ 13963 ] }, { "dir": 4, "name": "CLIP", "shape": 3, "type": "CLIP", "links": null } ], "properties": { "cnr_id": "rgthree-comfy", "ver": "683836c46e898668936c433502504cc0627482c5", "Show Strengths": "Single Strength", "Match": "" }, "widgets_values": [ {}, { "type": "PowerLoraLoaderHeaderWidget" }, { "on": true, "lora": "LTX\\LTX-2\\IC-Lora\\ltx-2.3-22b-ic-lora-lipdub-0.9.safetensors", "strength": 1, "strengthTwo": null }, {}, "" ] }, { "id": 38, "type": "SamplerCustomAdvanced", "pos": [ 731.8543027211728, 1677.1158132191656 ], "size": [ 266.749364445674, 259.59966103769284 ], "flags": {}, "order": 120, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": 23 }, { "name": "guider", "type": "GUIDER", "link": 13951 }, { "name": "sampler", "type": "SAMPLER", "link": 25 }, { "name": "sigmas", "type": "SIGMAS", "link": 206 }, { "name": "latent_image", "type": "LATENT", "link": 13950 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": [ 14125 ] }, { "name": "denoised_output", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.60", "Node name for S&R": "SamplerCustomAdvanced", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} }, "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [], "color": "rgba(0,0,0,.8)", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5464, "type": "GetNode", "pos": [ 1128.5539905950066, 2289.6941334004946 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 42, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 14136 ] } ], "title": "Get_ref_video", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "ref_video" ] }, { "id": 5465, "type": "GetNode", "pos": [ 1133.588317768301, 2317.382932853614 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 43, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [] } ], "title": "Get_vae", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "vae" ] }, { "id": 5466, "type": "GetNode", "pos": [ 1093.7961793578818, 2079.9289371863547 ], "size": [ 210, 50 ], "flags": { "collapsed": true }, "order": 44, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT_UPSCALE_MODEL", "type": "LATENT_UPSCALE_MODEL", "links": [ 14138 ] } ], "title": "Get_upscale_model", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "upscale_model" ] }, { "id": 5468, "type": "GetNode", "pos": [ 1482.1730149421924, 1820.3219195730035 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 45, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14144 ] } ], "title": "Get_model", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "model" ] }, { "id": 5437, "type": "LTXVConcatAVLatent", "pos": [ 1400.663705585935, 2153.2842964438655 ], "size": [ 270, 46 ], "flags": {}, "order": 129, "mode": 0, "inputs": [ { "name": "video_latent", "type": "LATENT", "link": 14141 }, { "name": "audio_latent", "type": "LATENT", "link": 14146 } ], "outputs": [ { "name": "latent", "type": "LATENT", "links": [ 14088 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.5.1", "Node name for S&R": "LTXVConcatAVLatent", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 5379, "type": "GetNode", "pos": [ 2104.0525367676355, 1840.168831417026 ], "size": [ 210, 58 ], "flags": { "collapsed": true }, "order": 46, "mode": 0, "inputs": [], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 14024 ] } ], "title": "Get_positive_guider2", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "positive_guider2" ] }, { "id": 5378, "type": "GetNode", "pos": [ 2141.85585851615, 1843.660948116223 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 47, "mode": 0, "inputs": [], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 14025 ] } ], "title": "Get_negative_guider2", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "negative_guider2" ] }, { "id": 5377, "type": "LTXVCropGuides", "pos": [ 2080.0897856702577, 1795.8748637100116 ], "size": [ 257.5952926727963, 92.01069039535332 ], "flags": { "collapsed": false }, "order": 132, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 14024 }, { "name": "negative", "type": "CONDITIONING", "link": 14025 }, { "name": "latent", "type": "LATENT", "link": 14002 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": null }, { "name": "negative", "type": "CONDITIONING", "links": null }, { "name": "latent", "type": "LATENT", "links": [ 14003 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.19.3", "Node name for S&R": "LTXVCropGuides" }, "widgets_values": [] }, { "id": 5341, "type": "SetNode", "pos": [ -694.7826144740237, 1887.4437462301119 ], "size": [ 210, 50 ], "flags": { "collapsed": true }, "order": 101, "mode": 0, "inputs": [ { "name": "IMAGE", "type": "IMAGE", "link": 13958 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": null } ], "title": "Set_ref_image", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "ref_image" }, "widgets_values": [ "ref_image" ] }, { "id": 845, "type": "SetNode", "pos": [ -776.3201084917317, 1872.5390443151493 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 89, "mode": 0, "inputs": [ { "name": "AUDIO", "type": "AUDIO", "link": 1803 } ], "outputs": [ { "name": "AUDIO", "type": "AUDIO", "links": null } ], "title": "Set_audio_original", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "audio_original" }, "widgets_values": [ "audio_original" ] }, { "id": 5342, "type": "GetImageRangeFromBatch", "pos": [ -724.5053928614249, 1814.8402695018117 ], "size": [ 210, 102 ], "flags": { "collapsed": true }, "order": 87, "mode": 0, "inputs": [ { "name": "images", "shape": 7, "type": "IMAGE", "link": 13957 }, { "name": "masks", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 13958 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "First Frame", "properties": { "cnr_id": "comfyui-kjnodes", "ver": "068d4fee62d379723dd96dd3e768ed807f7d7135", "Node name for S&R": "GetImageRangeFromBatch" }, "widgets_values": [ 0, 1 ] }, { "id": 839, "type": "MarkdownNote", "pos": [ -1788.9960656813048, 2328.856156085557 ], "size": [ 366.21970626270877, 514.6081285283192 ], "flags": { "collapsed": false }, "order": 48, "mode": 0, "inputs": [], "outputs": [], "title": "About Lipdub/Rephrase", "properties": {}, "widgets_values": [ "# How to Prompt a Good Lipdub/Rephrase\n\nThis workflow supports both **dubbing** (translating speech into another language) and **rephrasing** (changing what the speaker says while keeping the same language). In both cases, the model will generate new lip movements and audio to match the text you provide.\n\n## 1. Include the translated words in your prompt\n\nThe prompt should contain the translated words you want the speaker to say. The model will **not** translate it for you.\n\n## 2. Use native script\n\nUse the alphabet of the language you want the model to speak - for example, Cyrillic for Russian or Chinese characters for Chinese.\n\n## 3. Single speaker only\n\nThe current LoRA supports only one speaker.\n\n## 4. Match the length of the original for the best audio\n\nTry to keep your translation close to the length of the original dialogue.\n\n- **Too long** — The model might skip words.\n- **Too short** — The output might sound slow and unnatural.\n\n> **Tip:** Since there are many ways to say the same thing, play around with your wording until the length is right.\n" ], "color": "#222", "bgcolor": "#000" }, { "id": 5441, "type": "LTXVAudioVAEEncode", "pos": [ 76.24511444956796, 2485.7464832636524 ], "size": [ 265.35275578387245, 51.03432717329406 ], "flags": {}, "order": 76, "mode": 0, "inputs": [ { "name": "audio", "type": "AUDIO", "link": 14105 }, { "label": "Audio VAE", "name": "audio_vae", "type": "VAE", "link": 14106 } ], "outputs": [ { "name": "Audio Latent", "type": "LATENT", "links": [ 14107 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.19.3", "Node name for S&R": "LTXVAudioVAEEncode" }, "widgets_values": [] }, { "id": 195, "type": "EmptyLTXVLatentVideo", "pos": [ 76.24511444956796, 1835.5752742137308 ], "size": [ 265.35275578387245, 130 ], "flags": { "collapsed": false }, "order": 73, "mode": 0, "inputs": [ { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 13943 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 13944 }, { "name": "length", "type": "INT", "widget": { "name": "length" }, "link": 13946 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 14093 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.19.2", "Node name for S&R": "EmptyLTXVLatentVideo", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {} } }, "widgets_values": [ 768, 512, 97, 1 ] }, { "id": 5439, "type": "LTXAddVideoICLoRAGuide", "pos": [ 76.24511444956796, 2023.3751370567416 ], "size": [ 265.35275578387245, 287.03432717329406 ], "flags": {}, "order": 109, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 14089 }, { "name": "negative", "type": "CONDITIONING", "link": 14090 }, { "name": "vae", "type": "VAE", "link": 14094 }, { "name": "latent", "type": "LATENT", "link": 14093 }, { "name": "image", "type": "IMAGE", "link": 14123 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 14097, 14101 ] }, { "name": "negative", "type": "CONDITIONING", "links": [ 14096, 14102 ] }, { "name": "latent", "type": "LATENT", "links": [ 14098 ] } ], "properties": { "cnr_id": "ltxv", "ver": "229437c6b65796d6a7a63ae34be2bd5ba31fa543", "Node name for S&R": "LTXAddVideoICLoRAGuide" }, "widgets_values": [ 0, 1, 1, "disabled", true, 256, 64 ] }, { "id": 5398, "type": "GetNode", "pos": [ -766.9500854958598, 2500.0500899734584 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 49, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 14045 ] } ], "title": "Get_input_video", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "input_video" ] }, { "id": 848, "type": "GetNode", "pos": [ -771.5623043184307, 2534.427504903704 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 50, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "links": [ 1805 ] } ], "title": "Get_max_size", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "max_size" ] }, { "id": 5448, "type": "GetImageSizeAndCount", "pos": [ -764.567434267609, 2518.329922993909 ], "size": [ 196.2994140625, 86 ], "flags": { "collapsed": true }, "order": 86, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 14113 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 14117, 14122 ] }, { "label": "960 width", "name": "width", "type": "INT", "links": [ 14115 ] }, { "label": "540 height", "name": "height", "type": "INT", "links": [ 14116 ] }, { "label": "313 count", "name": "count", "type": "INT", "links": [ 14111 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "fca78c93f034c6e36080d64da83afe00bd5dbba6", "Node name for S&R": "GetImageSizeAndCount" }, "widgets_values": [] }, { "id": 5452, "type": "SetNode", "pos": [ -724.209608666508, 2507.2555552184026 ], "size": [ 210, 58 ], "flags": { "collapsed": true }, "order": 99, "mode": 0, "inputs": [ { "name": "INT", "type": "INT", "link": 14116 } ], "outputs": [ { "name": "INT", "type": "INT", "links": null } ], "title": "Set_height", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "height" }, "widgets_values": [ "height" ] }, { "id": 5451, "type": "SetNode", "pos": [ -695.1839643005344, 2507.3602104167526 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 98, "mode": 0, "inputs": [ { "name": "INT", "type": "INT", "link": 14115 } ], "outputs": [ { "name": "INT", "type": "INT", "links": null } ], "title": "Set_width", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "width" }, "widgets_values": [ "width" ] }, { "id": 5449, "type": "ComfyMathExpression", "pos": [ -751.3058459298077, 2526.306843213485 ], "size": [ 210, 128 ], "flags": { "collapsed": true }, "order": 100, "mode": 0, "inputs": [ { "label": "a", "name": "values.a", "type": "FLOAT,INT,BOOLEAN", "link": 14111 }, { "label": "b", "name": "values.b", "shape": 7, "type": "FLOAT,INT,BOOLEAN", "link": null } ], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": null }, { "name": "INT", "type": "INT", "links": [ 14112 ] }, { "name": "BOOL", "type": "BOOLEAN", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.20.1", "Node name for S&R": "ComfyMathExpression" }, "widgets_values": [ "(int((a - 1) / 8)) * 8 + 1" ] }, { "id": 5333, "type": "SetNode", "pos": [ -738.1241756216781, 2517.358682623406 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 106, "mode": 0, "inputs": [ { "name": "INT", "type": "INT", "link": 14112 } ], "outputs": [ { "name": "INT", "type": "INT", "links": null } ], "title": "Set_frames", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "frames" }, "widgets_values": [ "frames" ] }, { "id": 5454, "type": "GetImageSizeAndCount", "pos": [ -799.292616558572, 2672.7670393385356 ], "size": [ 196.2994140625, 86 ], "flags": { "collapsed": true }, "order": 105, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 14118 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 14121 ] }, { "label": "480 width", "name": "width", "type": "INT", "links": [ 14119 ] }, { "label": "270 height", "name": "height", "type": "INT", "links": [ 14120 ] }, { "label": "313 count", "name": "count", "type": "INT", "links": [] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "fca78c93f034c6e36080d64da83afe00bd5dbba6", "Node name for S&R": "GetImageSizeAndCount" }, "widgets_values": [] }, { "id": 5455, "type": "SetNode", "pos": [ -806.9180107541576, 2674.0571208310603 ], "size": [ 214.667578125, 60 ], "flags": { "collapsed": true }, "order": 111, "mode": 0, "inputs": [ { "name": "IMAGE", "type": "IMAGE", "link": 14121 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": null } ], "title": "Set_ref_video_downscaled", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "ref_video_downscaled" }, "widgets_values": [ "ref_video_downscaled" ] }, { "id": 5328, "type": "SetNode", "pos": [ -787.801060648319, 2674.4161374756686 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 112, "mode": 0, "inputs": [ { "name": "INT", "type": "INT", "link": 14119 } ], "outputs": [ { "name": "INT", "type": "INT", "links": null } ], "title": "Set_width_downscaled", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "width_downscaled" }, "widgets_values": [ "width_downscaled" ] }, { "id": 5329, "type": "SetNode", "pos": [ -772.6138709418154, 2684.8574149290453 ], "size": [ 210, 58 ], "flags": { "collapsed": true }, "order": 113, "mode": 0, "inputs": [ { "name": "INT", "type": "INT", "link": 14120 } ], "outputs": [ { "name": "INT", "type": "INT", "links": null } ], "title": "Set_height_downscaled", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "height_downscaled" }, "widgets_values": [ "height_downscaled" ] }, { "id": 5453, "type": "ResizeImageMaskNode", "pos": [ -822.110413914917, 2622.5529998215734 ], "size": [ 270, 106 ], "flags": { "collapsed": false }, "order": 96, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 14117 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 14118 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "ResizeImageMaskNode" }, "widgets_values": [ "scale by multiplier", 0.5, "area" ] }, { "id": 82, "type": "SetNode", "pos": [ -730.7865911714593, 2517.261001197369 ], "size": [ 210, 50 ], "flags": { "collapsed": true }, "order": 97, "mode": 0, "inputs": [ { "name": "IMAGE", "type": "IMAGE", "link": 14122 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] } ], "title": "Set_ref_video", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "ref_video", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} } }, "widgets_values": [ "ref_video" ] }, { "id": 5444, "type": "GetNode", "pos": [ 114.01545844727087, 2618.012560381326 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 51, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 14108 ] } ], "title": "Get_latent_audio", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "latent_audio" ] }, { "id": 73, "type": "LTXVConcatAVLatent", "pos": [ 75.61472036325515, 2596.1471863372362 ], "size": [ 265.35275578387245, 50 ], "flags": {}, "order": 117, "mode": 0, "inputs": [ { "name": "video_latent", "type": "LATENT", "link": 14098 }, { "name": "audio_latent", "type": "LATENT", "link": 14108 } ], "outputs": [ { "name": "latent", "type": "LATENT", "links": [ 13950 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.7.0", "Node name for S&R": "LTXVConcatAVLatent", "ue_properties": { "widget_ue_connectable": {}, "version": "7.5.1", "input_ue_unconnectable": {} }, "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [], "color": "rgba(0,0,0,.8)", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5469, "type": "SetNode", "pos": [ 1114.6056014707376, 2315.9605447100653 ], "size": [ 223.53515625, 60 ], "flags": { "collapsed": true }, "order": 126, "mode": 0, "inputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "link": 14147 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": null } ], "title": "Set_positive_guider2", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "positive_guider2" }, "widgets_values": [ "positive_guider2" ] }, { "id": 5470, "type": "SetNode", "pos": [ 1106.0367052987376, 2271.018072544481 ], "size": [ 223.53515625, 58 ], "flags": { "collapsed": true }, "order": 128, "mode": 0, "inputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "link": 14148 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": null } ], "title": "Set_negative_guider2", "properties": { "Node name for S&R": "SetNode", "aux_id": "kijai/ComfyUI-KJNodes", "previousName": "negative_guider2" }, "widgets_values": [ "negative_guider2" ] }, { "id": 5467, "type": "CFGGuider", "pos": [ 1400.663705585935, 1792.4534143259243 ], "size": [ 270, 98 ], "flags": {}, "order": 127, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 14144 }, { "name": "positive", "type": "CONDITIONING", "link": 14142 }, { "name": "negative", "type": "CONDITIONING", "link": 14143 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "links": [ 14145 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.71", "Node name for S&R": "CFGGuider" }, "widgets_values": [ 1 ] }, { "id": 5423, "type": "ManualSigmas", "pos": [ 1400.663705585935, 1947.9358346334866 ], "size": [ 270, 58 ], "flags": {}, "order": 52, "mode": 0, "inputs": [], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 14067, 14087 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.14.1", "Node name for S&R": "ManualSigmas" }, "widgets_values": [ "0.85, 0.7250, 0.4219, 0.0" ] }, { "id": 5428, "type": "RandomNoise", "pos": [ 1400.663705585935, 1650.3122291417599 ], "size": [ 270, 82 ], "flags": { "collapsed": false }, "order": 53, "mode": 0, "inputs": [], "outputs": [ { "name": "NOISE", "type": "NOISE", "links": [ 14084 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.75", "Node name for S&R": "RandomNoise", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 26, "fixed" ], "color": "#006691", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5396, "type": "GetNode", "pos": [ -767.5911250775979, 1756.9728044700164 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 54, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "links": [ 14162 ] } ], "title": "Get_max_length", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "max_length" ] }, { "id": 5371, "type": "LTXVAudioVAEDecode", "pos": [ 2074.677131065038, 2166.202598569788 ], "size": [ 257.2388542190106, 46 ], "flags": {}, "order": 133, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 13995 }, { "label": "Audio VAE", "name": "audio_vae", "type": "VAE", "link": 13996 } ], "outputs": [ { "name": "Audio", "type": "AUDIO", "links": [ 14152 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.7.0", "Node name for S&R": "LTXVAudioVAEDecode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 5359, "type": "GetNode", "pos": [ 2480.3034300170784, 1678.899548423438 ], "size": [ 210, 34 ], "flags": { "collapsed": true }, "order": 55, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 13988 ] } ], "title": "Get_fps", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "fps" ] }, { "id": 5400, "type": "GetNode", "pos": [ 110.76387439936603, 1717.2180169297385 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 56, "mode": 0, "inputs": [], "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 14047 ] } ], "title": "Get_fps", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "fps" ] }, { "id": 43, "type": "LTXVEmptyLatentAudio", "pos": [ 70.66120655985597, 1658.971850068177 ], "size": [ 265.35275578387245, 106 ], "flags": { "collapsed": false }, "order": 90, "mode": 0, "inputs": [ { "label": "Audio VAE", "name": "audio_vae", "type": "VAE", "link": 31 }, { "name": "frames_number", "type": "INT", "widget": { "name": "frames_number" }, "link": 14046 }, { "name": "frame_rate", "type": "INT", "widget": { "name": "frame_rate" }, "link": 14048 } ], "outputs": [ { "name": "Latent", "type": "LATENT", "links": [ 14056 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.17.0", "Node name for S&R": "LTXVEmptyLatentAudio", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.1" } }, "widgets_values": [ 97, 24, 1 ] }, { "id": 5457, "type": "LTXAddVideoICLoRAGuide", "pos": [ 1061.1841394275104, 2182.2479361539395 ], "size": [ 263.57738352511933, 288.7124362310583 ], "flags": { "collapsed": false }, "order": 125, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 14131 }, { "name": "negative", "type": "CONDITIONING", "link": 14132 }, { "name": "vae", "type": "VAE", "link": 14153 }, { "name": "latent", "type": "LATENT", "link": 14157 }, { "name": "image", "type": "IMAGE", "link": 14136 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 14142, 14147 ] }, { "name": "negative", "type": "CONDITIONING", "links": [ 14143, 14148 ] }, { "name": "latent", "type": "LATENT", "links": [ 14141 ] } ], "properties": { "cnr_id": "ltxv", "ver": "229437c6b65796d6a7a63ae34be2bd5ba31fa543", "Node name for S&R": "LTXAddVideoICLoRAGuide" }, "widgets_values": [ 0, 1, 1, "disabled", true, 256, 64 ] }, { "id": 5460, "type": "GetNode", "pos": [ 1098.4615968895646, 1819.240370027937 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 57, "mode": 0, "inputs": [], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 14127 ] } ], "title": "Get_positive_guider", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "positive_guider" ] }, { "id": 5461, "type": "GetNode", "pos": [ 1102.7681633946204, 1834.6418724520977 ], "size": [ 210, 58 ], "flags": { "collapsed": true }, "order": 58, "mode": 0, "inputs": [], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 14128 ] } ], "title": "Get_negative_prompt", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "negative_prompt" ] }, { "id": 5473, "type": "GetNode", "pos": [ 1157.129112647277, 2082.1361615240703 ], "size": [ 210, 60 ], "flags": { "collapsed": true }, "order": 59, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 14153, 14154 ] } ], "title": "Get_vae", "properties": { "Node name for S&R": "GetNode", "aux_id": "kijai/ComfyUI-KJNodes" }, "widgets_values": [ "vae" ] }, { "id": 5349, "type": "PathchSageAttentionKJ", "pos": [ -1324.1455630539754, 1499.883427220011 ], "size": [ 270, 82 ], "flags": { "collapsed": true }, "order": 84, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 13969 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 13970 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "204f6d5aae73b10c0fe2fb26e61405fd6337bb77", "Node name for S&R": "PathchSageAttentionKJ" }, "widgets_values": [ "auto", false ] }, { "id": 5347, "type": "LTXVChunkFeedForward", "pos": [ -1063.2089688302583, 1504.380914411946 ], "size": [ 272.35703125, 82 ], "flags": { "collapsed": true }, "order": 94, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 13970 } ], "outputs": [ { "name": "model", "type": "MODEL", "links": [ 13967 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "0ea5ece1793263d9fb0ad97bb067f96b83a9dea3", "Node name for S&R": "LTXVChunkFeedForward" }, "widgets_values": [ 2, 4096 ] }, { "id": 843, "type": "ResizeImageMaskNode", "pos": [ -822.110413914917, 2472.8136502460566 ], "size": [ 270, 106 ], "flags": { "collapsed": false }, "order": 77, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 14045 }, { "name": "resize_type.longer_size", "type": "INT", "widget": { "name": "resize_type.longer_size" }, "link": 1805 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 14113 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.7.0", "Node name for S&R": "ResizeImageMaskNode", "ue_properties": { "widget_ue_connectable": { "resize_type.width": true, "resize_type.height": true }, "version": "7.5.1", "input_ue_unconnectable": {} }, "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "scale longer dimension", 512, "lanczos" ] }, { "id": 5462, "type": "LTXVSetAudioRefTokens", "pos": [ 1062.1070994092802, 1922.568618728229 ], "size": [ 263.57738352511933, 66 ], "flags": {}, "order": 123, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 14129 }, { "name": "negative", "type": "CONDITIONING", "link": 14130 }, { "name": "audio_latent", "type": "LATENT", "link": 14133 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 14131 ] }, { "name": "negative", "type": "CONDITIONING", "links": [ 14132 ] }, { "name": "frozen_audio", "type": "LATENT", "links": [ 14146 ] } ], "properties": { "cnr_id": "ltxv", "ver": "229437c6b65796d6a7a63ae34be2bd5ba31fa543", "Node name for S&R": "LTXVSetAudioRefTokens" }, "widgets_values": [] }, { "id": 5459, "type": "LTXVSeparateAVLatent", "pos": [ 1061.1841394275104, 1679.7624678519794 ], "size": [ 263.57738352511933, 49.46716747472033 ], "flags": {}, "order": 121, "mode": 0, "inputs": [ { "name": "av_latent", "type": "LATENT", "link": 14125 } ], "outputs": [ { "name": "video_latent", "type": "LATENT", "links": [ 14155 ] }, { "name": "audio_latent", "type": "LATENT", "links": [ 14133 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.10.0", "Node name for S&R": "LTXVSeparateAVLatent" }, "widgets_values": [] }, { "id": 5458, "type": "LTXVCropGuides", "pos": [ 1055.6366714679577, 1777.3960455383399 ], "size": [ 263.57738352511933, 78.64346149512298 ], "flags": {}, "order": 122, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 14127 }, { "name": "negative", "type": "CONDITIONING", "link": 14128 }, { "name": "latent", "type": "LATENT", "link": 14155 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 14129 ] }, { "name": "negative", "type": "CONDITIONING", "links": [ 14130 ] }, { "name": "latent", "type": "LATENT", "links": [ 14156 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.75", "Node name for S&R": "LTXVCropGuides" }, "widgets_values": [] }, { "id": 5463, "type": "LTXVLatentUpsampler", "pos": [ 1062.7470999720877, 2049.2133589236737 ], "size": [ 263.57738352511933, 66.83905452888212 ], "flags": { "collapsed": false }, "order": 124, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 14156 }, { "name": "upscale_model", "type": "LATENT_UPSCALE_MODEL", "link": 14138 }, { "name": "vae", "type": "VAE", "link": 14154 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 14157 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.14.1", "Node name for S&R": "LTXVLatentUpsampler" }, "widgets_values": [] }, { "id": 5438, "type": "SamplerCustomAdvanced", "pos": [ 1729.057033673106, 1656.2111064634494 ], "size": [ 277.0687843438858, 265.06987915211096 ], "flags": { "collapsed": false }, "order": 130, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": 14084 }, { "name": "guider", "type": "GUIDER", "link": 14145 }, { "name": "sampler", "type": "SAMPLER", "link": 14086 }, { "name": "sigmas", "type": "SIGMAS", "link": 14087 }, { "name": "latent_image", "type": "LATENT", "link": 14088 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": [ 14158 ] }, { "name": "denoised_output", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.75", "Node name for S&R": "SamplerCustomAdvanced", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 5440, "type": "LTXVSetAudioRefTokens", "pos": [ 73.19934650972526, 2364.9529209730867 ], "size": [ 265.35275578387245, 66.83905452888257 ], "flags": {}, "order": 116, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 14101 }, { "name": "negative", "type": "CONDITIONING", "link": 14102 }, { "name": "audio_latent", "type": "LATENT", "link": 14107 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 14159 ] }, { "name": "negative", "type": "CONDITIONING", "links": [ 14104 ] }, { "name": "frozen_audio", "type": "LATENT", "links": null } ], "properties": { "cnr_id": "ltxv", "ver": "229437c6b65796d6a7a63ae34be2bd5ba31fa543", "Node name for S&R": "LTXVSetAudioRefTokens" }, "widgets_values": [] }, { "id": 5334, "type": "INTConstant", "pos": [ -1092.6783415220377, 2896.2380777299263 ], "size": [ 210, 58 ], "flags": { "collapsed": false }, "order": 60, "mode": 0, "inputs": [], "outputs": [ { "name": "value", "type": "INT", "links": [ 14042 ] } ], "title": "MAX LENGTH (seconds)", "properties": { "cnr_id": "comfyui-kjnodes", "ver": "c6ce76d00bb8177d1b0286cad891df08eff5226e", "Node name for S&R": "INTConstant" }, "widgets_values": [ 15 ], "color": "#006691", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 840, "type": "VHS_LoadVideoFFmpeg", "pos": [ -854.188611185532, 1669.6050428224808 ], "size": [ 344.54490402643796, 482.4630336001172 ], "flags": { "collapsed": false }, "order": 79, "mode": 0, "inputs": [ { "name": "meta_batch", "shape": 7, "type": "VHS_BatchManager", "link": null }, { "name": "vae", "shape": 7, "type": "VAE", "link": null }, { "name": "force_rate", "type": "FLOAT", "widget": { "name": "force_rate" }, "link": 1797 }, { "name": "frame_load_cap", "type": "INT", "widget": { "name": "frame_load_cap" }, "link": 14162 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 13957, 14044 ] }, { "name": "mask", "type": "MASK", "links": null }, { "name": "audio", "type": "AUDIO", "links": [ 1803 ] }, { "name": "video_info", "type": "VHS_VIDEOINFO", "links": null } ], "properties": { "cnr_id": "comfyui-videohelpersuite", "ver": "2984ec4c4b93292421888f38db74a5e8802a8ff8", "Node name for S&R": "VHS_LoadVideoFFmpeg" }, "widgets_values": { "video": "dub_hungergames.mp4", "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 289, "start_time": 0, "format": "LTXV", "videopreview": { "hidden": false, "paused": false, "params": { "filename": "dub_hungergames.mp4", "type": "input", "format": "video/mp4", "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 289, "start_time": 0 } } }, "color": "#346434", "bgcolor": "rgba(24,24,27,.9)", "ndSuperSelectorEnabled": false, "ndPowerEnabled": false }, { "id": 5319, "type": "PreviewAny", "pos": [ -428.4369417843476, 1919.7710881578544 ], "size": [ 426.63485796291206, 177.6918948587322 ], "flags": { "collapsed": false }, "order": 93, "mode": 0, "inputs": [ { "name": "source", "type": "*", "link": 13926 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": null } ], "title": "ENHANCED PROMPT", "properties": { "cnr_id": "comfy-core", "ver": "0.17.0", "Node name for S&R": "PreviewAny" }, "widgets_values": [ null, null, null ], "color": "#008181", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5322, "type": "PrimitiveStringMultiline", "pos": [ -424.47587812242296, 2240.9128127585304 ], "size": [ 429.3374693815326, 196.08080902326992 ], "flags": { "collapsed": false }, "order": 61, "mode": 0, "inputs": [], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 13920 ] } ], "title": "Prompt", "properties": { "cnr_id": "comfy-core", "ver": "0.18.1", "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "Cinematic. A woman is talking with emotions.\n\nShe speaks in Swedish and she says: \"Om du för en sekund tror att huvudstaden någonsin kommer att behandla oss rättvist, så ljuger du för dig själv. För vi vet vilka de är och vad de gör..\" " ], "color": "#346434", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 5368, "type": "VHS_VideoCombine", "pos": [ 2441.0449243723842, 1587.3487727445258 ], "size": [ 440.22251031455653, 572.1186721677635 ], "flags": {}, "order": 135, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 13986 }, { "name": "audio", "shape": 7, "type": "AUDIO", "link": 14152 }, { "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": 13988 } ], "outputs": [ { "name": "Filenames", "type": "VHS_FILENAMES", "links": null } ], "properties": { "cnr_id": "comfyui-videohelpersuite", "ver": "8923bd836bdab8b7bbdf4ed104b7d045e70c66e2", "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 24, "loop_count": 0, "filename_prefix": "LTX-2", "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": "LTX-2_01831-audio.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 24, "workflow": "LTX-2_01831.png", "fullpath": "E:\\AI\\ComfyUI\\output\\LTX-2_01831-audio.mp4" } } } } ], "links": [ [ 23, 77, 0, 38, 0, "NOISE" ], [ 25, 92, 0, 38, 2, "SAMPLER" ], [ 31, 34, 0, 43, 0, "VAE" ], [ 74, 109, 0, 94, 0, "MODEL" ], [ 158, 109, 0, 93, 0, "MODEL" ], [ 206, 94, 0, 38, 3, "SIGMAS" ], [ 208, 199, 0, 198, 2, "VAE" ], [ 211, 217, 0, 208, 0, "LATENT_UPSCALE_MODEL" ], [ 212, 211, 0, 209, 0, "VAE" ], [ 213, 214, 0, 210, 0, "VAE" ], [ 214, 213, 0, 212, 0, "VAE" ], [ 215, 216, 0, 215, 0, "CLIP" ], [ 216, 219, 0, 218, 0, "MODEL" ], [ 1789, 830, 0, 825, 0, "FLOAT" ], [ 1797, 841, 0, 840, 2, "FLOAT" ], [ 1803, 840, 2, 845, 0, "AUDIO" ], [ 1804, 846, 0, 847, 0, "INT" ], [ 1805, 848, 0, 843, 1, "INT" ], [ 1807, 849, 0, 198, 0, "MODEL" ], [ 13914, 5317, 0, 5309, 0, "CONDITIONING" ], [ 13915, 5317, 1, 5310, 0, "CONDITIONING" ], [ 13916, 5308, 0, 5314, 0, "CLIP" ], [ 13917, 5315, 0, 5314, 1, "STRING" ], [ 13918, 5313, 0, 5315, 0, "CLIP" ], [ 13919, 5311, 0, 5315, 1, "IMAGE" ], [ 13920, 5322, 0, 5315, 2, "STRING" ], [ 13921, 5312, 0, 5315, 3, "BOOLEAN" ], [ 13922, 5314, 0, 5317, 0, "CONDITIONING" ], [ 13923, 5318, 0, 5317, 1, "CONDITIONING" ], [ 13924, 5316, 0, 5317, 2, "FLOAT" ], [ 13925, 5308, 0, 5318, 0, "CLIP" ], [ 13926, 5315, 0, 5319, 0, "STRING" ], [ 13928, 5324, 0, 5323, 0, "BOOLEAN" ], [ 13943, 5331, 0, 195, 0, "INT" ], [ 13944, 5332, 0, 195, 1, "INT" ], [ 13946, 5330, 0, 195, 2, "INT" ], [ 13950, 73, 0, 38, 4, "LATENT" ], [ 13951, 93, 0, 38, 1, "GUIDER" ], [ 13957, 840, 0, 5342, 0, "IMAGE" ], [ 13958, 5342, 0, 5341, 0, "IMAGE" ], [ 13963, 5343, 0, 65, 0, "MODEL" ], [ 13967, 5347, 0, 5350, 0, "MODEL" ], [ 13969, 218, 0, 5349, 0, "MODEL" ], [ 13970, 5349, 0, 5347, 0, "MODEL" ], [ 13971, 5350, 0, 5343, 0, "MODEL" ], [ 13973, 5351, 0, 5355, 1, "VAE" ], [ 13986, 5355, 0, 5368, 0, "IMAGE" ], [ 13988, 5359, 0, 5368, 4, "FLOAT" ], [ 13995, 5370, 1, 5371, 0, "LATENT" ], [ 13996, 5352, 0, 5371, 1, "VAE" ], [ 14002, 5370, 0, 5377, 2, "LATENT" ], [ 14003, 5377, 2, 5355, 0, "LATENT" ], [ 14024, 5379, 0, 5377, 0, "CONDITIONING" ], [ 14025, 5378, 0, 5377, 1, "CONDITIONING" ], [ 14032, 5318, 0, 5390, 0, "CONDITIONING" ], [ 14033, 5391, 0, 5389, 1, "CONDITIONING" ], [ 14034, 5391, 0, 5389, 2, "CONDITIONING" ], [ 14035, 5389, 0, 7, 0, "MODEL" ], [ 14036, 198, 0, 5389, 0, "MODEL" ], [ 14039, 830, 0, 5393, 0, "FLOAT" ], [ 14041, 5393, 1, 5395, 0, "INT" ], [ 14042, 5334, 0, 5393, 1, "INT" ], [ 14044, 840, 0, 5397, 0, "IMAGE" ], [ 14045, 5398, 0, 843, 0, "IMAGE" ], [ 14046, 5399, 0, 43, 1, "INT" ], [ 14047, 5400, 0, 5401, 0, "FLOAT" ], [ 14048, 5401, 1, 43, 2, "INT" ], [ 14056, 43, 0, 5412, 0, "LATENT" ], [ 14067, 5423, 0, 5422, 0, "SIGMAS" ], [ 14068, 5425, 0, 5424, 0, "SAMPLER" ], [ 14084, 5428, 0, 5438, 0, "NOISE" ], [ 14086, 5425, 0, 5438, 2, "SAMPLER" ], [ 14087, 5423, 0, 5438, 3, "SIGMAS" ], [ 14088, 5437, 0, 5438, 4, "LATENT" ], [ 14089, 5317, 0, 5439, 0, "CONDITIONING" ], [ 14090, 5317, 1, 5439, 1, "CONDITIONING" ], [ 14093, 195, 0, 5439, 3, "LATENT" ], [ 14094, 102, 0, 5439, 2, "VAE" ], [ 14096, 5439, 1, 5336, 0, "CONDITIONING" ], [ 14097, 5439, 0, 5335, 0, "CONDITIONING" ], [ 14098, 5439, 2, 73, 0, "LATENT" ], [ 14101, 5439, 0, 5440, 0, "CONDITIONING" ], [ 14102, 5439, 1, 5440, 1, "CONDITIONING" ], [ 14104, 5440, 1, 93, 2, "CONDITIONING" ], [ 14105, 5442, 0, 5441, 0, "AUDIO" ], [ 14106, 5443, 0, 5441, 1, "VAE" ], [ 14107, 5441, 0, 5440, 2, "LATENT" ], [ 14108, 5444, 0, 73, 1, "LATENT" ], [ 14111, 5448, 3, 5449, 0, "INT" ], [ 14112, 5449, 1, 5333, 0, "INT" ], [ 14113, 843, 0, 5448, 0, "IMAGE" ], [ 14115, 5448, 1, 5451, 0, "INT" ], [ 14116, 5448, 2, 5452, 0, "INT" ], [ 14117, 5448, 0, 5453, 0, "IMAGE" ], [ 14118, 5453, 0, 5454, 0, "IMAGE" ], [ 14119, 5454, 1, 5328, 0, "INT" ], [ 14120, 5454, 2, 5329, 0, "INT" ], [ 14121, 5454, 0, 5455, 0, "IMAGE" ], [ 14122, 5448, 0, 82, 0, "IMAGE" ], [ 14123, 5456, 0, 5439, 4, "IMAGE" ], [ 14125, 38, 0, 5459, 0, "LATENT" ], [ 14127, 5460, 0, 5458, 0, "CONDITIONING" ], [ 14128, 5461, 0, 5458, 1, "CONDITIONING" ], [ 14129, 5458, 0, 5462, 0, "CONDITIONING" ], [ 14130, 5458, 1, 5462, 1, "CONDITIONING" ], [ 14131, 5462, 0, 5457, 0, "CONDITIONING" ], [ 14132, 5462, 1, 5457, 1, "CONDITIONING" ], [ 14133, 5459, 1, 5462, 2, "LATENT" ], [ 14136, 5464, 0, 5457, 4, "IMAGE" ], [ 14138, 5466, 0, 5463, 1, "LATENT_UPSCALE_MODEL" ], [ 14141, 5457, 2, 5437, 0, "LATENT" ], [ 14142, 5457, 0, 5467, 1, "CONDITIONING" ], [ 14143, 5457, 1, 5467, 2, "CONDITIONING" ], [ 14144, 5468, 0, 5467, 0, "MODEL" ], [ 14145, 5467, 0, 5438, 1, "GUIDER" ], [ 14146, 5462, 2, 5437, 1, "LATENT" ], [ 14147, 5457, 0, 5469, 0, "CONDITIONING" ], [ 14148, 5457, 1, 5470, 0, "CONDITIONING" ], [ 14152, 5371, 0, 5368, 1, "AUDIO" ], [ 14153, 5473, 0, 5457, 2, "VAE" ], [ 14154, 5473, 0, 5463, 2, "VAE" ], [ 14155, 5459, 0, 5458, 2, "LATENT" ], [ 14156, 5458, 2, 5463, 0, "LATENT" ], [ 14157, 5463, 0, 5457, 3, "LATENT" ], [ 14158, 5438, 0, 5370, 0, "LATENT" ], [ 14159, 5440, 0, 93, 1, "CONDITIONING" ], [ 14162, 5396, 0, 840, 3, "INT" ] ], "groups": [ { "id": 2, "title": "Sampler", "bounding": [ 380.55427434145764, 1551.3065692983266, 649.9106424994357, 1229.0443877289429 ], "color": "#3f789e", "flags": {} }, { "id": 9, "title": "Models", "bounding": [ -1364.814296341221, 1549.2652823081296, 454.7976027826712, 1234.7862871697255 ], "color": "#3f789e", "flags": {} }, { "id": 17, "title": "Video Settings", "bounding": [ -1366.993214213616, 2807.327227145251, 747.3785492681322, 167.95718934375145 ], "color": "#8A8", "flags": {} }, { "id": 19, "title": "Video Input", "bounding": [ -898.0744060689219, 1549.0222558503913, 432.24470496082495, 1235.72685202553 ], "color": "#3f789e", "flags": {} }, { "id": 171, "title": "Prompt", "bounding": [ -449.4361221684221, 2133.027798597092, 473.3512734911553, 650.4318344232947 ], "color": "#3f789e", "flags": {} }, { "id": 172, "title": "Prompt Enhancer (optional)", "bounding": [ -452.1446573774221, 1837.7241517145178, 474.0669130303596, 285.75247149974234 ], "color": "#3f789e", "flags": {} }, { "id": 174, "title": "Enhance Prompt", "bounding": [ -605.6999160127114, 2807.700548945264, 343.3909094380176, 169.5152217553641 ], "color": "#3f789e", "flags": {} }, { "id": 175, "title": "Prepare latent", "bounding": [ 34.62503552052488, 1552.6285766351762, 334.9008757054408, 1226.748631976457 ], "color": "#3f789e", "flags": {} }, { "id": 176, "title": "Lora", "bounding": [ -453.0428602280499, 1550.4092918069584, 473.9647387830238, 278.0013983697561 ], "color": "#3f789e", "flags": {} }, { "id": 177, "title": "Peformace tweaks (may help low vram etc)", "bounding": [ -1358.9847327716266, 1412.771072997954, 895.644126667685, 125.56121229184009 ], "color": "#3f789e", "flags": {} }, { "id": 180, "title": "Decode", "bounding": [ 2046.4522946140119, 1551.215451919467, 333.42586953204136, 1229.9269741337375 ], "color": "#3f789e", "flags": {} }, { "id": 181, "title": "Optional", "bounding": [ 404.63011838279493, 2442.9836582768044, 312.38691025675143, 280.89341826603504 ], "color": "#3f789e", "flags": {} }, { "id": 183, "title": "Sampler - 2nd pass upscale", "bounding": [ 1368.0774005222495, 1550.529228998551, 667.9250959739809, 1228.7186024190732 ], "color": "#3f789e", "flags": {} }, { "id": 184, "title": "Upscale", "bounding": [ 1039.6546271573586, 1551.829591904647, 320.1272092322836, 1225.2098472697041 ], "color": "#3f789e", "flags": {} } ], "definitions": { "subgraphs": [ { "id": "9b13d183-9207-4035-8ea7-39005826fdf6", "version": 1, "state": { "lastGroupId": 184, "lastNodeId": 5476, "lastLinkId": 14162, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "PROMPT ENHANCER", "inputNode": { "id": -10, "bounding": [ -685.3286646587292, 5338.102625759812, 120, 120 ] }, "outputNode": { "id": -20, "bounding": [ 426.44380261625787, 5440.8298984870835, 124.568359375, 60 ] }, "inputs": [ { "id": "adc59317-2766-45b3-8059-aced0af7e3f6", "name": "clip", "type": "CLIP", "linkIds": [ 844 ], "localized_name": "clip", "pos": [ -585.3286646587292, 5358.102625759812 ] }, { "id": "7d4f25ef-eb05-4cd5-87e4-020c7ae8b4f7", "name": "image", "type": "IMAGE", "linkIds": [ 870 ], "localized_name": "image", "shape": 7, "pos": [ -585.3286646587292, 5378.102625759812 ] }, { "id": "ccca1de5-a446-4ca9-a60e-47de9a99a9b0", "name": "string_b", "type": "STRING", "linkIds": [ 840, 14028 ], "localized_name": "string_b", "label": "prompt", "pos": [ -585.3286646587292, 5398.102625759812 ] }, { "id": "2f3daffa-e540-4fc1-805f-5230ea1fa7a5", "name": "", "type": "*", "linkIds": [ 1078 ], "label": "Enabled", "pos": [ -585.3286646587292, 5418.102625759812 ] } ], "outputs": [ { "id": "51e4f3c8-e5b7-4d16-8773-0f4defd17249", "name": "generated_text", "type": "STRING", "linkIds": [ 14027 ], "label": "generated_text", "pos": [ 446.44380261625787, 5460.8298984870835 ] } ], "widgets": [], "nodes": [ { "id": 486, "type": "easy showAnything", "pos": [ -156.96890634908394, 5756.041809696047 ], "size": [ 369.9799881784345, 351.7442628369048 ], "flags": { "collapsed": false }, "order": 3, "mode": 0, "inputs": [ { "localized_name": "anything", "name": "anything", "shape": 7, "type": "*", "link": 838 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "*", "links": null } ], "title": "Enhanced Prompt", "properties": { "cnr_id": "comfyui-easy-use", "ver": "b11c63487243d183a967261bdf019c5afcec2cf7", "Node name for S&R": "easy showAnything" }, "widgets_values": [ "Style: cinematic - The woman is speaking in Swedish with a distressed expression, saying in a tense voice, \"Om du för en sekund tror att huvudstaden någonsin kommer att behandla oss rättvist, så ljuger du för dig själv. För vi vet vilka de är och vad de gör..\" as embers and flames rise in the background, accompanied by the crackling of fire and distant, muffled shouts." ], "color": "#008181", "bgcolor": "rgba(24,24,27,.9)" }, { "id": 485, "type": "TextGenerateLTX2Prompt", "pos": [ -155.62995179792009, 5496.416822393545 ], "size": [ 389.41187385825936, 244 ], "flags": { "collapsed": false }, "order": 2, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 844 }, { "localized_name": "image", "name": "image", "shape": 7, "type": "IMAGE", "link": 870 }, { "localized_name": "video", "name": "video", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "audio", "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 841 } ], "outputs": [ { "localized_name": "generated_text", "name": "generated_text", "type": "STRING", "links": [ 838, 1077, 14029 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.14.1", "Node name for S&R": "TextGenerateLTX2Prompt" }, "widgets_values": [ "", 256, "off", false, true ] }, { "id": 484, "type": "PrimitiveStringMultiline", "pos": [ -542.3319378763573, 5662.586220202662 ], "size": [ 321.3041194946351, 451.0615668579321 ], "flags": { "collapsed": false }, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 837 ] } ], "title": "INPAINT INSTRUCT", "properties": { "cnr_id": "comfy-core", "ver": "0.14.1", "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "You are a prompt normalizer for visual editing training captions.\n\nYour task is to convert an informal user request into a single caption that matches the style of a visual editing training dataset.\n\nGoal:\n- Do not merely correct grammar.\n- Rewrite the request into a more detailed, visually grounded training-style caption.\n- Preserve the original edit intent while making the caption more specific and descriptive.\n\nTask selection:\n- Use \"Add\" when the request inserts a new visible element.\n- Use \"Remove\" when the request deletes an existing visible element.\n- Use \"Replace\" when the request swaps or changes one visible element into another.\n- Use \"Convert\" when the request is purely a style transformation.\n\nCaption rules:\n- Write exactly one sentence in English.\n- Start with exactly one verb: Add, Remove, Replace, or Convert.\n- Keep the original meaning of the user request.\n- Make the caption more detailed than the input whenever possible.\n- Add concrete visual attributes for the subject or replacement when useful, such as color, size, material, clothing, texture, species, facial features, hairstyle, or shape.\n- Add spatial grounding whenever possible, such as on the left, on the right, in the center, in the foreground, in the background, on the table, on the road, next to, behind, in front of, or occupying the same position.\n- If the user request is underspecified, enrich the caption in a generic but visually plausible way without changing the main intent.\n- Keep the caption concise, but more descriptive than a direct paraphrase.\n- Do not explain your reasoning.\n- Do not output multiple options.\n- Do not use conversational language.\n\nBad example:\nInput: Replace the blue car by a ship\nOutput: Replace the blue car with a ship.\n\nBetter example:\nInput: Replace the blue car by a ship\nOutput: Replace the blue car with a large white and blue ship occupying the same position in the scene.\n\nReturn only the normalized caption.\n\nUser request:" ] }, { "id": 598, "type": "Reroute", "pos": [ -309.29886812460387, 5390.103993027984 ], "size": [ 75, 26 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 1078 } ], "outputs": [ { "name": "", "type": "*", "links": [ 14026 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 482, "type": "StringConcatenate", "pos": [ -382.1499363325314, 5556.235128857101 ], "size": [ 210, 150 ], "flags": { "collapsed": true }, "order": 1, "mode": 0, "inputs": [ { "localized_name": "string_a", "name": "string_a", "type": "STRING", "widget": { "name": "string_a" }, "link": 837 }, { "localized_name": "string_b", "name": "string_b", "type": "STRING", "widget": { "name": "string_b" }, "link": 840 } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 841 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.14.1", "Node name for S&R": "StringConcatenate" }, "widgets_values": [ "", "", "" ] }, { "id": 5386, "type": "ComfySwitchNode", "pos": [ -121.2059171596478, 5296.577991651569 ], "size": [ 270, 78 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "type": "STRING", "link": 14028 }, { "localized_name": "on_true", "name": "on_true", "type": "STRING", "link": 14029 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": 14026 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "STRING", "links": [ 14027 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.19.3", "Node name for S&R": "ComfySwitchNode" }, "widgets_values": [ false ] } ], "groups": [], "links": [ { "id": 841, "origin_id": 482, "origin_slot": 0, "target_id": 485, "target_slot": 4, "type": "STRING" }, { "id": 838, "origin_id": 485, "origin_slot": 0, "target_id": 486, "target_slot": 0, "type": "STRING" }, { "id": 837, "origin_id": 484, "origin_slot": 0, "target_id": 482, "target_slot": 0, "type": "STRING" }, { "id": 844, "origin_id": -10, "origin_slot": 0, "target_id": 485, "target_slot": 0, "type": "CLIP" }, { "id": 870, "origin_id": -10, "origin_slot": 1, "target_id": 485, "target_slot": 1, "type": "IMAGE" }, { "id": 840, "origin_id": -10, "origin_slot": 2, "target_id": 482, "target_slot": 1, "type": "STRING" }, { "id": 1078, "origin_id": -10, "origin_slot": 3, "target_id": 598, "target_slot": 0, "type": "*" }, { "id": 14026, "origin_id": 598, "origin_slot": 0, "target_id": 5386, "target_slot": 2, "type": "BOOLEAN" }, { "id": 14027, "origin_id": 5386, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "*" }, { "id": 14028, "origin_id": -10, "origin_slot": 2, "target_id": 5386, "target_slot": 0, "type": "STRING" }, { "id": 14029, "origin_id": 485, "origin_slot": 0, "target_id": 5386, "target_slot": 1, "type": "STRING" } ], "extra": { "workflowRendererVersion": "LG" } } ] }, "config": {}, "extra": { "ue_links": [], "ds": { "scale": 0.23579476910002803, "offset": [ 2954.6782586573563, -511.44043290707236 ] }, "links_added_by_ue": [], "frontendVersion": "1.43.18", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": false, "VHS_KeepIntermediate": false }, "version": 0.4 }