{"id":"0ea64c1e-fb4a-4276-8909-59cb918c6e05","revision":0,"last_node_id":26,"last_link_id":29,"nodes":[{"id":2,"type":"VHS_VideoInfo","pos":[-2697.9830636366064,5360.804036515482],"size":[234.931640625,206],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"video_info","name":"video_info","type":"VHS_VIDEOINFO","link":19}],"outputs":[{"localized_name":"source_fps🟨","name":"source_fps🟨","type":"FLOAT","links":[]},{"localized_name":"source_frame_count🟨","name":"source_frame_count🟨","type":"INT","links":[]},{"localized_name":"source_duration🟨","name":"source_duration🟨","type":"FLOAT","links":[]},{"localized_name":"source_width🟨","name":"source_width🟨","type":"INT","links":[]},{"localized_name":"source_height🟨","name":"source_height🟨","type":"INT","links":[]},{"localized_name":"loaded_fps🟦","name":"loaded_fps🟦","type":"FLOAT","links":[29]},{"localized_name":"loaded_frame_count🟦","name":"loaded_frame_count🟦","type":"INT","links":[]},{"localized_name":"loaded_duration🟦","name":"loaded_duration🟦","type":"FLOAT","links":[]},{"localized_name":"loaded_width🟦","name":"loaded_width🟦","type":"INT","links":[7]},{"localized_name":"loaded_height🟦","name":"loaded_height🟦","type":"INT","links":[8]}],"properties":{"Node name for S&R":"VHS_VideoInfo","aux_id":"kosinkadink/ComfyUI-VideoHelperSuite"},"widgets_values":{}},{"id":3,"type":"CheckpointLoaderSimple","pos":[-3134.728159555887,6073.892303596609],"size":[354.9927173862061,102.45428929628542],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"ckpt_name","name":"ckpt_name","type":"COMBO","widget":{"name":"ckpt_name"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[4]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[2]},{"localized_name":"VAE","name":"VAE","type":"VAE","links":[]}],"title":"Load SAM3 model","properties":{"Node name for S&R":"CheckpointLoaderSimple","models":[{"name":"sam3.1_multiplex_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/sam3.1/resolve/main/checkpoints/sam3.1_multiplex_fp16.safetensors","directory":"checkpoints"}]},"widgets_values":["sam3.1_multiplex_fp16.safetensors"],"widgets_values_named":{"ckpt_name":"sam3.1_multiplex_fp16.safetensors"}},{"id":4,"type":"CLIPTextEncode","pos":[-2747.1838686373703,6083.464688802785],"size":[317.6562348302532,88],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":2},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[5]}],"title":"SAM3 Prompt","properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["face"],"widgets_values_named":{"text":"face"}},{"id":5,"type":"SAM3_VideoTrack","pos":[-2395.0095407035824,5996.02859381103],"size":[275.80859375,166],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":21},{"localized_name":"model","name":"model","type":"MODEL","link":4},{"localized_name":"initial_mask","name":"initial_mask","shape":7,"type":"MASK","link":null},{"localized_name":"conditioning","name":"conditioning","shape":7,"type":"CONDITIONING","link":5},{"localized_name":"detection_threshold","name":"detection_threshold","type":"FLOAT","widget":{"name":"detection_threshold"},"link":null},{"localized_name":"max_objects","name":"max_objects","type":"INT","widget":{"name":"max_objects"},"link":null},{"localized_name":"detect_interval","name":"detect_interval","type":"INT","widget":{"name":"detect_interval"},"link":null}],"outputs":[{"localized_name":"track_data","name":"track_data","type":"SAM3_TRACK_DATA","links":[6]}],"properties":{"Node name for S&R":"SAM3_VideoTrack"},"widgets_values":[0.5,0,1],"widgets_values_named":{"detection_threshold":0.5,"max_objects":0,"detect_interval":1}},{"id":6,"type":"SAM3_TrackToMask","pos":[-2072.4285910647936,5997.026156299212],"size":[210,60.62199883829908],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"track_data","name":"track_data","type":"SAM3_TRACK_DATA","link":6},{"localized_name":"object_indices","name":"object_indices","type":"STRING","widget":{"name":"object_indices"},"link":null}],"outputs":[{"localized_name":"masks","name":"masks","type":"MASK","links":[11]}],"properties":{"Node name for S&R":"SAM3_TrackToMask"},"widgets_values":[""],"widgets_values_named":{"object_indices":""}},{"id":7,"type":"EmptyImage","pos":[-2368.9467060548673,5420.443729106686],"size":[270,130],"flags":{},"order":14,"mode":2,"inputs":[{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":7},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":8},{"localized_name":"batch_size","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null},{"localized_name":"color","name":"color","type":"INT","widget":{"name":"color"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":null}],"properties":{"Node name for S&R":"EmptyImage"},"widgets_values":[512,512,1,16711680],"widgets_values_named":{"width":512,"height":512,"batch_size":1,"color":16711680}},{"id":8,"type":"ImageCompositeMasked","pos":[-1849.1231241960736,5734.849363059634],"size":[271.64609375,146],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":22},{"localized_name":"source","name":"source","type":"IMAGE","link":28},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":11},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[25]}],"title":"Image Composite Masked 1","properties":{"Node name for S&R":"ImageCompositeMasked"},"widgets_values":[0,0,false],"widgets_values_named":{"x":0,"y":0,"resize_source":false}},{"id":13,"type":"ImageBlur","pos":[-2367.5546997678002,5603.175910412333],"size":[270,82],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":20},{"localized_name":"blur_radius","name":"blur_radius","type":"INT","widget":{"name":"blur_radius"},"link":null},{"localized_name":"sigma","name":"sigma","type":"FLOAT","widget":{"name":"sigma"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[28]}],"properties":{"Node name for S&R":"ImageBlur"},"widgets_values":[31,10],"widgets_values_named":{"blur_radius":31,"sigma":10}},{"id":16,"type":"VHS_LoadVideoPath","pos":[-3012.347033285931,5598.448038727984],"size":[238.14453125,286],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"meta_batch","name":"meta_batch","shape":7,"type":"VHS_BatchManager","link":23},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":null},{"localized_name":"video","name":"video","type":"STRING","widget":{"name":"video"},"link":null},{"localized_name":"force_rate","name":"force_rate","type":"FLOAT","widget":{"name":"force_rate"},"link":null},{"localized_name":"custom_width","name":"custom_width","type":"INT","widget":{"name":"custom_width"},"link":null},{"localized_name":"custom_height","name":"custom_height","type":"INT","widget":{"name":"custom_height"},"link":null},{"localized_name":"frame_load_cap","name":"frame_load_cap","type":"INT","widget":{"name":"frame_load_cap"},"link":null},{"localized_name":"skip_first_frames","name":"skip_first_frames","type":"INT","widget":{"name":"skip_first_frames"},"link":null},{"localized_name":"select_every_nth","name":"select_every_nth","type":"INT","widget":{"name":"select_every_nth"},"link":null},{"localized_name":"format","name":"format","shape":7,"type":"COMBO","widget":{"name":"format"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[20,21,22]},{"localized_name":"frame_count","name":"frame_count","type":"INT","links":null},{"localized_name":"audio","name":"audio","type":"AUDIO","links":[27]},{"localized_name":"video_info","name":"video_info","type":"VHS_VIDEOINFO","links":[19]}],"properties":{"Node name for S&R":"VHS_LoadVideoPath"},"widgets_values":{"video":"\"C:\\path\\to\\your\\video.mp4\"","force_rate":0,"custom_width":0,"custom_height":0,"frame_load_cap":0,"skip_first_frames":0,"select_every_nth":1,"format":"None","videopreview":{"hidden":false,"paused":false,"params":{"filename":"\"C:\\path\\to\\your\\video.mp4\"","type":"path","format":"video/mp4\"","force_rate":0,"custom_width":0,"custom_height":0,"frame_load_cap":0,"skip_first_frames":0,"select_every_nth":1}}},"widgets_values_named":{"video":"\"C:\\path\\to\\your\\video.mp4\"","force_rate":0,"custom_width":0,"custom_height":0,"frame_load_cap":0,"skip_first_frames":0,"select_every_nth":1,"format":"None","videopreview":{"hidden":false,"paused":false,"params":{"filename":"\"C:\\path\\to\\your\\video.mp4\"","type":"path","format":"video/mp4\"","force_rate":0,"custom_width":0,"custom_height":0,"frame_load_cap":0,"skip_first_frames":0,"select_every_nth":1}}}},{"id":17,"type":"VHS_BatchManager","pos":[-3312.886140349055,5654.281902064894],"size":[256.9296875,58],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"frames_per_batch","name":"frames_per_batch","type":"INT","widget":{"name":"frames_per_batch"},"link":null}],"outputs":[{"localized_name":"meta_batch","name":"meta_batch","type":"VHS_BatchManager","links":[23,24]}],"properties":{"Node name for S&R":"VHS_BatchManager"},"widgets_values":{"frames_per_batch":36,"count":8},"widgets_values_named":{"frames_per_batch":36,"count":8}},{"id":18,"type":"VHS_VideoCombine","pos":[-1533.2179279945422,5734.807943840809],"size":[220.7333984375,460.91253662109375],"flags":{},"order":16,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":25},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":27},{"localized_name":"meta_batch","name":"meta_batch","shape":7,"type":"VHS_BatchManager","link":24},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":null},{"localized_name":"frame_rate","name":"frame_rate","type":"FLOAT","widget":{"name":"frame_rate"},"link":29},{"localized_name":"loop_count","name":"loop_count","type":"INT","widget":{"name":"loop_count"},"link":null},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMBO","widget":{"name":"format"},"link":null},{"localized_name":"pingpong","name":"pingpong","type":"BOOLEAN","widget":{"name":"pingpong"},"link":null},{"localized_name":"save_output","name":"save_output","type":"BOOLEAN","widget":{"name":"save_output"},"link":null},{"name":"crf","type":"INT","widget":{"name":"crf"},"link":null},{"name":"trim_to_audio","type":"BOOLEAN","widget":{"name":"trim_to_audio"},"link":null},{"name":"pix_fmt","type":["yuv420p","yuv420p10le"],"widget":{"name":"pix_fmt"},"link":null},{"name":"crf","type":"INT","widget":{"name":"crf"},"link":null},{"name":"save_metadata","type":"BOOLEAN","widget":{"name":"save_metadata"},"link":null}],"outputs":[{"localized_name":"Filenames","name":"Filenames","type":"VHS_FILENAMES","links":null}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":24,"loop_count":0,"filename_prefix":"auto-blur","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":"auto-blur_00003-audio.mp4","subfolder":"","type":"output","format":"video/h264-mp4","frame_rate":23.976023976023978,"workflow":"auto-blur_00003.png","fullpath":"C:\\apps\\comfy\\common\\output\\auto-blur_00003-audio.mp4","metadata":{"kind":"video","width":3840,"height":2160,"duration":22.647625,"fps":23.976023976023978,"frame_count":543}}}},"widgets_values_named":{"frame_rate":24,"loop_count":0,"filename_prefix":"auto-blur","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":"auto-blur_00003-audio.mp4","subfolder":"","type":"output","format":"video/h264-mp4","frame_rate":23.976023976023978,"workflow":"auto-blur_00003.png","fullpath":"C:\\apps\\comfy\\common\\output\\auto-blur_00003-audio.mp4","metadata":{"kind":"video","width":3840,"height":2160,"duration":22.647625,"fps":23.976023976023978,"frame_count":543}}}}},{"id":20,"type":"MarkdownNote","pos":[-3307.043592894287,5761.9407024116845],"size":[252.68094181123251,88],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[],"title":"Batch Manager Note","properties":{},"widgets_values":["## If you get a Out of Memory error then reduce frames_to_batch value"],"widgets_values_named":{"text":"## If you get a Out of Memory error then reduce frames_to_batch value"},"color":"#432","bgcolor":"#653"},{"id":21,"type":"MarkdownNote","pos":[-3001.9304739227705,5450.735877185507],"size":[210,88],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[],"title":"Load Video Note","properties":{},"widgets_values":["## Paste the absolute path to your video"],"widgets_values_named":{"text":"## Paste the absolute path to your video"},"color":"#432","bgcolor":"#653"},{"id":23,"type":"MarkdownNote","pos":[-2738.64711949845,6224.3338815434],"size":[256.589235556567,88],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[],"title":"SAM3 Prompt Note","properties":{},"widgets_values":["## Put what you want to blur here, \"face\", \"license plate\", etc."],"widgets_values_named":{"text":"## Put what you want to blur here, \"face\", \"license plate\", etc."},"color":"#432","bgcolor":"#653"},{"id":24,"type":"MarkdownNote","pos":[-2050.643292093323,5463.737524317573],"size":[307.51235349048943,168.1768239810699],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[],"title":"Blur Image Note","properties":{},"widgets_values":["## You may need to change the blur_radius and sigma values depending on what type of blur you want.\n\n## If you want a solid color instead then hook up the Empty Image node."],"widgets_values_named":{"text":"## You may need to change the blur_radius and sigma values depending on what type of blur you want.\n\n## If you want a solid color instead then hook up the Empty Image node."},"color":"#432","bgcolor":"#653"},{"id":25,"type":"MarkdownNote","pos":[-2067.9788216027464,6107.31905735482],"size":[211.08347059433845,141.0900591226],"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[],"title":"Track to Mask Note","properties":{},"widgets_values":["## You can enter comma separated indicies if you only want to blur some of the selected items. For example, enter '0,3,5'.\n"],"widgets_values_named":{"text":"## You can enter comma separated indicies if you only want to blur some of the selected items. For example, enter '0,3,5'.\n"},"color":"#432","bgcolor":"#653"},{"id":26,"type":"MarkdownNote","pos":[-2376.7679409892903,6213.499175600023],"size":[256.589235556567,88],"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[],"title":"SAM3 Video Track Note","properties":{},"widgets_values":["## You can try increasing detect_interval to improve processing speed."],"widgets_values_named":{"text":"## You can try increasing detect_interval to improve processing speed."},"color":"#432","bgcolor":"#653"}],"links":[[2,3,1,4,0,"CLIP"],[4,3,0,5,1,"MODEL"],[5,4,0,5,3,"CONDITIONING"],[6,5,0,6,0,"SAM3_TRACK_DATA"],[7,2,8,7,0,"INT"],[8,2,9,7,1,"INT"],[11,6,0,8,2,"MASK"],[19,16,3,2,0,"VHS_VIDEOINFO"],[20,16,0,13,0,"IMAGE"],[21,16,0,5,0,"IMAGE"],[22,16,0,8,0,"IMAGE"],[23,17,0,16,0,"VHS_BatchManager"],[28,13,0,8,1,"IMAGE"],[25,8,0,18,0,"IMAGE"],[27,16,2,18,1,"AUDIO"],[24,17,0,18,2,"VHS_BatchManager"],[29,2,5,18,4,"FLOAT"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.9229599817706948,"offset":[3800.4483019504405,-5248.126876044176]}},"version":0.4}