{ "id": "247ea069-731d-4b79-9d64-8807463de95c", "revision": 0, "last_node_id": 49, "last_link_id": 115, "nodes": [ { "id": 12, "type": "UNETLoader", "pos": [ 1132.3891996725026, 4547.282254084516 ], "size": [ 497.8623848735085, 82 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 25, 34 ] } ], "properties": { "Node name for S&R": "UNETLoader" }, "widgets_values": [ "WanVideo\\Bernini\\Bernini_renderer_low_noise_fp8_e4m3fn_scaled.safetensors", "default" ], "color": "#223", "bgcolor": "#335" }, { "id": 18, "type": "BasicScheduler", "pos": [ 2310.347949034937, 5038.013167546976 ], "size": [ 270, 106 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 34 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 33 ] } ], "properties": { "Node name for S&R": "BasicScheduler" }, "widgets_values": [ "simple", 6, 1 ] }, { "id": 17, "type": "SplitSigmas", "pos": [ 2609.7981193213254, 5040.751959510481 ], "size": [ 270, 78 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "sigmas", "type": "SIGMAS", "link": 33 } ], "outputs": [ { "name": "high_sigmas", "type": "SIGMAS", "links": [ 41 ] }, { "name": "low_sigmas", "type": "SIGMAS", "links": [ 42 ] } ], "properties": { "Node name for S&R": "SplitSigmas" }, "widgets_values": [ 3 ] }, { "id": 6, "type": "VAEDecode", "pos": [ 3306.6258123402113, 4662.8328984027785 ], "size": [ 140, 46 ], "flags": {}, "order": 23, "mode": 2, "inputs": [ { "name": "samples", "type": "LATENT", "link": 52 }, { "name": "vae", "type": "VAE", "link": 57 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 50 ] } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [], "color": "#322", "bgcolor": "#533" }, { "id": 4, "type": "CLIPTextEncode", "pos": [ 1849.1854424609069, 5026.474371492019 ], "size": [ 400, 200 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 8 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 68 ] } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "bad video" ], "color": "#322", "bgcolor": "#533" }, { "id": 9, "type": "CLIPLoader", "pos": [ 1520.0731414214358, 5023.117894839827 ], "size": [ 270, 106 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 7, 8 ] } ], "properties": { "Node name for S&R": "CLIPLoader" }, "widgets_values": [ "umt5_xxl_fp8_e4m3fn_scaled.safetensors", "wan", "default" ], "color": "#432", "bgcolor": "#653" }, { "id": 5, "type": "UNETLoader", "pos": [ 1126.6973358570972, 4349.452146302526 ], "size": [ 497.8623848735085, 82 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 24 ] } ], "properties": { "Node name for S&R": "UNETLoader" }, "widgets_values": [ "WanVideo\\Bernini\\Bernini_renderer_high_noise_fp8_e4m3fn_scaled.safetensors", "default" ], "color": "#223", "bgcolor": "#335" }, { "id": 28, "type": "VAELoader", "pos": [ 3169.3333582371147, 4489.696179613919 ], "size": [ 270, 58 ], "flags": {}, "order": 3, "mode": 2, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 57 ] } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "lighttaew2_1.safetensors" ], "color": "#322", "bgcolor": "#533" }, { "id": 11, "type": "LoraLoaderModelOnly", "pos": [ 1979.4156428648264, 4349.648407050374 ], "size": [ 653.5452318867297, 82 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 23 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 77 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "WanVideo\\Lightx2v\\lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16_.safetensors", 3 ], "color": "#223", "bgcolor": "#335" }, { "id": 19, "type": "SamplerCustom", "pos": [ 2919.695560012933, 4704.4063423707075 ], "size": [ 271.125, 679.2833333333333 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 77 }, { "name": "positive", "type": "CONDITIONING", "link": 78 }, { "name": "negative", "type": "CONDITIONING", "link": 73 }, { "name": "sampler", "type": "SAMPLER", "link": 53 }, { "name": "sigmas", "type": "SIGMAS", "link": 41 }, { "name": "latent_image", "type": "LATENT", "link": 75 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": [ 40 ] }, { "name": "denoised_output", "type": "LATENT", "links": [ 52 ] } ], "properties": { "Node name for S&R": "SamplerCustom" }, "widgets_values": [ true, 0, "fixed", 1 ] }, { "id": 16, "type": "VAEDecode", "pos": [ 3324.618216458984, 5184.87773929174 ], "size": [ 140, 46 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 31 }, { "name": "vae", "type": "VAE", "link": 99 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 114 ] } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [], "color": "#322", "bgcolor": "#533" }, { "id": 35, "type": "MarkdownNote", "pos": [ 999.10957418853, 5030.033935988349 ], "size": [ 477.440034849363, 395.0406620429103 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [], "title": "Default prompt prefixes for each trained task", "properties": {}, "widgets_values": [ "| task_type | system prompt (prepended to T5 text) |\n|---|---|\n| `default` | You are a helpful assistant. |\n| `t2i` | You are a helpful assistant specialized in text-to-image generation. |\n| `t2v` | You are a helpful assistant specialized in text-to-video generation. |\n| `i2i` | You are a helpful assistant specialized in image editing. |\n| `r2i` | You are a helpful assistant specialized in subject-to-image generation. |\n| `i2v` | You are a helpful assistant specialized in image-to-video generation. |\n| `v2v` | You are a helpful assistant specialized in video editing. |\n| `r2v` | You are a helpful assistant specialized in subject-to-video generation. |\n| `vi2v` | You are a helpful assistant specialized in video editing on content propagation. |\n| `rv2v` | You are a helpful assistant specialized in video editing with reference. |\n| `ads2v` | You are a helpful assistant specialized in ads insertion. |\n| `vrc2v` | You are a helpful assistant for editing. You may need to adjust the subject's action or position. |\n| `mv2v` | You are a helpful assistant for editing. You might need to adjust the video's style, lighting, colors, textures, and the subject's pose or action. |" ], "color": "#432", "bgcolor": "#653" }, { "id": 3, "type": "CLIPTextEncode", "pos": [ 1844.149743407132, 4776.972984343176 ], "size": [ 400, 200 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 7 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 67 ] } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "You are a helpful assistant specialized in video editing with reference. An old man is digging with a shovel" ], "color": "#232", "bgcolor": "#353" }, { "id": 15, "type": "SamplerCustom", "pos": [ 2914.931747012366, 5458.233114699375 ], "size": [ 271.125, 679.2833333333333 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 76 }, { "name": "positive", "type": "CONDITIONING", "link": 79 }, { "name": "negative", "type": "CONDITIONING", "link": 74 }, { "name": "sampler", "type": "SAMPLER", "link": 56 }, { "name": "sigmas", "type": "SIGMAS", "link": 42 }, { "name": "latent_image", "type": "LATENT", "link": 40 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": [ 31 ] }, { "name": "denoised_output", "type": "LATENT", "links": null } ], "properties": { "Node name for S&R": "SamplerCustom" }, "widgets_values": [ false, 0, "fixed", 1 ] }, { "id": 27, "type": "KSamplerSelect", "pos": [ 2331.282043780996, 5207.795940276709 ], "size": [ 270, 58 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 53, 56 ] } ], "properties": { "Node name for S&R": "KSamplerSelect" }, "widgets_values": [ "res_multistep" ] }, { "id": 29, "type": "LoraLoaderModelOnly", "pos": [ 1998.095900002089, 4544.724343644559 ], "size": [ 663.4872489871436, 82 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 58 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 76 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "WanVideo\\Lightx2v\\lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16_.safetensors", 1.5 ], "color": "#223", "bgcolor": "#335" }, { "id": 8, "type": "VHS_VideoCombine", "pos": [ 3630.7684281253055, 4062.099181585495 ], "size": [ 354.6451738298365, 334 ], "flags": {}, "order": 25, "mode": 2, "inputs": [ { "name": "images", "type": "IMAGE", "link": 50 }, { "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "name": "meta_batch", "shape": 7, "type": "VHS_BatchManager", "link": null }, { "name": "vae", "shape": 7, "type": "VAE", "link": null } ], "outputs": [ { "name": "Filenames", "type": "VHS_FILENAMES", "links": null } ], "properties": { "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 16, "loop_count": 0, "filename_prefix": "Wan22_Bernini", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "trim_to_audio": false, "pingpong": false, "save_output": false, "videopreview": { "hidden": false, "paused": false, "params": { "filename": "Wan22_Bernini_00025.mp4", "subfolder": "", "type": "temp", "format": "video/h264-mp4", "frame_rate": 16, "workflow": "Wan22_Bernini_00025.png", "fullpath": "S:\\comfy\\ComfyUI\\temp\\Wan22_Bernini_00025.mp4" } } } }, { "id": 34, "type": "BerniniConditioning", "pos": [ 2423.8809013348628, 4709.575712206862 ], "size": [ 271.8258055864335, 254 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 67 }, { "name": "negative", "type": "CONDITIONING", "link": 68 }, { "name": "vae", "type": "VAE", "link": 100 }, { "name": "source_video", "shape": 7, "type": "IMAGE", "link": 110 }, { "name": "reference_video", "shape": 7, "type": "IMAGE", "link": null }, { "name": "reference_images", "shape": 7, "type": "IMAGE", "link": 98 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 78, 79 ] }, { "name": "negative", "type": "CONDITIONING", "links": [ 73, 74 ] }, { "name": "latent", "type": "LATENT", "links": [ 75 ] } ], "properties": { "Node name for S&R": "BerniniConditioning" }, "widgets_values": [ 480, 832, 145, 1, 848 ], "color": "#332922", "bgcolor": "#593930" }, { "id": 31, "type": "LoadImage", "pos": [ 1924.528657712941, 5423.440186306718 ], "size": [ 282.798828125, 314 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 62 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "oldman.jpg", "image" ] }, { "id": 37, "type": "Note", "pos": [ 2275.845444627724, 5657.076995493195 ], "size": [ 210, 98.1782145485704 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Multiple reference images are batched in" ], "color": "#432", "bgcolor": "#653" }, { "id": 32, "type": "BatchImagesNode", "pos": [ 2272.2999107993223, 5556.766695479708 ], "size": [ 169.32421875, 46 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "label": "image0", "name": "images.image0", "type": "IMAGE", "link": 62 }, { "label": "image1", "name": "images.image1", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 98 ] } ], "properties": { "Node name for S&R": "BatchImagesNode" }, "widgets_values": [] }, { "id": 7, "type": "VAELoader", "pos": [ 1214.4602335988577, 4824.374343204403 ], "size": [ 270, 58 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 99, 100 ] } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "wanvideo\\Wan2_1_VAE_bf16.safetensors" ], "color": "#322", "bgcolor": "#533" }, { "id": 13, "type": "PathchSageAttentionKJ", "pos": [ 1669.4511545394923, 4344.164646795049 ], "size": [ 270, 82 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 24 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 23 ] } ], "properties": { "Node name for S&R": "PathchSageAttentionKJ" }, "widgets_values": [ "auto", false ], "color": "#223", "bgcolor": "#335" }, { "id": 14, "type": "PathchSageAttentionKJ", "pos": [ 1665.6813208341455, 4565.143158253339 ], "size": [ 270, 82 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 25 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 58 ] } ], "properties": { "Node name for S&R": "PathchSageAttentionKJ" }, "widgets_values": [ "auto", false ], "color": "#223", "bgcolor": "#335" }, { "id": 48, "type": "GetVideoComponents", "pos": [ 1690.0036097664445, 5367.901792307844 ], "size": [ 193.530859375, 66 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "video", "type": "VIDEO", "link": 109 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 110 ] }, { "name": "audio", "type": "AUDIO", "links": null }, { "name": "fps", "type": "FLOAT", "links": [ 112 ] } ], "properties": { "Node name for S&R": "GetVideoComponents" } }, { "id": 47, "type": "LoadVideo", "pos": [ 1354.9492307276669, 5506.428639741574 ], "size": [ 282.798828125, 576.7534722222222 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "name": "VIDEO", "type": "VIDEO", "links": [ 109 ] } ], "properties": { "Node name for S&R": "LoadVideo" }, "widgets_values": [ "0075.mp4", "image" ] }, { "id": 45, "type": "CreateVideo", "pos": [ 3353.896648569274, 5303.330489433465 ], "size": [ 270, 78 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 114 }, { "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "name": "fps", "type": "FLOAT", "widget": { "name": "fps" }, "link": 112 } ], "outputs": [ { "name": "VIDEO", "type": "VIDEO", "links": [ 108 ] } ], "properties": { "Node name for S&R": "CreateVideo" }, "widgets_values": [ 24 ] }, { "id": 46, "type": "SaveVideo", "pos": [ 3691.874188670442, 4904.057164498364 ], "size": [ 688.010912036957, 1290.5522475307257 ], "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "video", "type": "VIDEO", "link": 108 } ], "outputs": [], "properties": {}, "widgets_values": [ "video/ComfyUI", "auto", "auto" ] } ], "links": [ [ 7, 9, 0, 3, 0, "CLIP" ], [ 8, 9, 0, 4, 0, "CLIP" ], [ 23, 13, 0, 11, 0, "MODEL" ], [ 24, 5, 0, 13, 0, "MODEL" ], [ 25, 12, 0, 14, 0, "MODEL" ], [ 31, 15, 0, 16, 0, "LATENT" ], [ 33, 18, 0, 17, 0, "SIGMAS" ], [ 34, 12, 0, 18, 0, "MODEL" ], [ 40, 19, 0, 15, 5, "LATENT" ], [ 41, 17, 0, 19, 4, "SIGMAS" ], [ 42, 17, 1, 15, 4, "SIGMAS" ], [ 50, 6, 0, 8, 0, "IMAGE" ], [ 52, 19, 1, 6, 0, "LATENT" ], [ 53, 27, 0, 19, 3, "SAMPLER" ], [ 56, 27, 0, 15, 3, "SAMPLER" ], [ 57, 28, 0, 6, 1, "VAE" ], [ 58, 14, 0, 29, 0, "MODEL" ], [ 62, 31, 0, 32, 0, "IMAGE" ], [ 67, 3, 0, 34, 0, "CONDITIONING" ], [ 68, 4, 0, 34, 1, "CONDITIONING" ], [ 73, 34, 1, 19, 2, "CONDITIONING" ], [ 74, 34, 1, 15, 2, "CONDITIONING" ], [ 75, 34, 2, 19, 5, "LATENT" ], [ 76, 29, 0, 15, 0, "MODEL" ], [ 77, 11, 0, 19, 0, "MODEL" ], [ 78, 34, 0, 19, 1, "CONDITIONING" ], [ 79, 34, 0, 15, 1, "CONDITIONING" ], [ 98, 32, 0, 34, 5, "IMAGE" ], [ 99, 7, 0, 16, 1, "VAE" ], [ 100, 7, 0, 34, 2, "VAE" ], [ 108, 45, 0, 46, 0, "VIDEO" ], [ 109, 47, 0, 48, 0, "VIDEO" ], [ 110, 48, 0, 34, 3, "IMAGE" ], [ 112, 48, 2, 45, 2, "FLOAT" ], [ 114, 16, 0, 45, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.49875464843707257, "offset": [ -571.2515398589431, -4071.560488509177 ] }, "frontendVersion": "1.45.14", "VHS_latentpreview": true, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": false, "VHS_KeepIntermediate": true }, "version": 0.4 }