| {"id":"ed815993-2a64-4316-8132-95e02e77106f","revision":0,"last_node_id":5893,"last_link_id":20452,"nodes":[{"id":924,"type":"CreateVideo","pos":[750,4510],"size":[340,130],"flags":{"collapsed":true},"order":21,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":717},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":718},{"localized_name":"fps","name":"fps","type":"FLOAT","widget":{"name":"fps"},"link":null},{"localized_name":"bit_depth","name":"bit_depth","shape":7,"type":"COMBO","widget":{"name":"bit_depth"},"link":null},{"localized_name":"color_space","name":"color_space","shape":7,"type":"COMBO","widget":{"name":"color_space"},"link":null}],"outputs":[{"localized_name":"VIDEO","name":"VIDEO","type":"VIDEO","links":[544]}],"properties":{"Node name for S&R":"CreateVideo"},"widgets_values":[24,8,"sRGB"],"widgets_values_named":{"fps":24,"bit_depth":8,"color_space":"sRGB"}},{"id":925,"type":"SaveVideo","pos":[750,4550],"size":[340,110],"flags":{},"order":23,"mode":0,"inputs":[{"localized_name":"video","name":"video","type":"VIDEO","link":544},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format"},"link":null},{"localized_name":"format.codec","name":"format.codec","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format.codec"},"link":null},{"localized_name":"codec","name":"codec","shape":7,"type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"codec"},"link":null}],"outputs":[{"localized_name":"video","name":"video","type":"VIDEO","links":[]}],"properties":{"Node name for S&R":"SaveVideo"},"widgets_values":["Video/Vae_audio","auto","auto","auto"],"widgets_values_named":{"filename_prefix":"Video/Vae_audio","format":"auto","format.codec":"auto","codec":"auto"}},{"id":923,"type":"ModelPreviewOverrideKJ","pos":[290,4970],"size":[360,610],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":20437},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":780},{"localized_name":"max_resolution","name":"max_resolution","type":"INT","widget":{"name":"max_resolution"},"link":null},{"localized_name":"jpeg_quality","name":"jpeg_quality","type":"INT","widget":{"name":"jpeg_quality"},"link":null},{"localized_name":"suppress_default_preview","name":"suppress_default_preview","type":"BOOLEAN","widget":{"name":"suppress_default_preview"},"link":null},{"localized_name":"preview_frames","name":"preview_frames","type":"INT","widget":{"name":"preview_frames"},"link":null},{"localized_name":"preview_fps","name":"preview_fps","type":"INT","widget":{"name":"preview_fps"},"link":null},{"localized_name":"tiny_vae","name":"tiny_vae","shape":7,"type":"COMBO","widget":{"name":"tiny_vae"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[711]}],"properties":{"Node name for S&R":"ModelPreviewOverrideKJ"},"widgets_values":[640,80,true,12,3,"taeh3.safetensors",""],"widgets_values_named":{"max_resolution":640,"jpeg_quality":80,"suppress_default_preview":true,"preview_frames":12,"preview_fps":3,"tiny_vae":"taeh3.safetensors","preview":""}},{"id":922,"type":"ImageFromBatch","pos":[760,5230],"size":[340,90],"flags":{"collapsed":true},"order":20,"mode":4,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":946},{"localized_name":"batch_index","name":"batch_index","type":"INT","widget":{"name":"batch_index"},"link":null},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":945}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[538]}],"title":"Trim to original length","properties":{"Node name for S&R":"ImageFromBatch"},"widgets_values":[0,1],"widgets_values_named":{"batch_index":0,"length":1}},{"id":130,"type":"CreateVideo","pos":[990,5230],"size":[340,130],"flags":{"collapsed":true},"order":22,"mode":4,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":538},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":794},{"localized_name":"fps","name":"fps","type":"FLOAT","widget":{"name":"fps"},"link":null},{"localized_name":"bit_depth","name":"bit_depth","shape":7,"type":"COMBO","widget":{"name":"bit_depth"},"link":null},{"localized_name":"color_space","name":"color_space","shape":7,"type":"COMBO","widget":{"name":"color_space"},"link":null}],"outputs":[{"localized_name":"VIDEO","name":"VIDEO","type":"VIDEO","links":[310]}],"title":"Use original Audio","properties":{"Node name for S&R":"CreateVideo"},"widgets_values":[24,8,"sRGB"],"widgets_values_named":{"fps":24,"bit_depth":8,"color_space":"sRGB"}},{"id":160,"type":"SaveVideo","pos":[770,5290],"size":[340,110],"flags":{},"order":24,"mode":4,"inputs":[{"localized_name":"video","name":"video","type":"VIDEO","link":310},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format"},"link":null},{"localized_name":"format.codec","name":"format.codec","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format.codec"},"link":null},{"localized_name":"codec","name":"codec","shape":7,"type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"codec"},"link":null}],"outputs":[{"localized_name":"video","name":"video","type":"VIDEO","links":[]}],"properties":{"Node name for S&R":"SaveVideo"},"widgets_values":["Video/Original_audio","auto","auto","auto"],"widgets_values_named":{"filename_prefix":"Video/Original_audio","format":"auto","format.codec":"auto","codec":"auto"}},{"id":1033,"type":"fdd874ec-84fd-4ebe-8de6-2a214824cc48","pos":[-1110,4510],"size":[460,210],"flags":{},"order":0,"mode":0,"inputs":[{"name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null},{"name":"vae_name_1","type":"COMBO","widget":{"name":"vae_name_1"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[20436]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[778]},{"localized_name":"VAE","name":"VAE","type":"VAE","links":[779,780,781]},{"localized_name":"VAE_1","name":"VAE_1","type":"VAE","links":[782,783]}],"properties":{"previewExposures":[]},"widgets_values":["minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors","qwen3vl_32b_minimax_h3_int8_convrot.safetensors","minimax_h3_video_vae_int8_convrot.safetensors","minimax_h3_audio_vae_fp32.safetensors"],"widgets_values_named":{"unet_name":"minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors","clip_name":"qwen3vl_32b_minimax_h3_int8_convrot.safetensors","vae_name":"minimax_h3_video_vae_int8_convrot.safetensors","vae_name_1":"minimax_h3_audio_vae_fp32.safetensors"}},{"id":1008,"type":"CLIPLoader","pos":[-1110,4760],"size":[460,130],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[752]}],"title":"Model for Prompt Enhancer","properties":{"Node name for S&R":"CLIPLoader","cnr_id":"comfy-core","ver":"0.16.4"},"widgets_values":["qwen3vl_8b_fp8_scaled.safetensors","minimax","default"],"widgets_values_named":{"clip_name":"qwen3vl_8b_fp8_scaled.safetensors","type":"minimax","device":"default"},"color":"#222","bgcolor":"#000"},{"id":2052,"type":"LoadVideo","pos":[-1900,5050],"size":[390,770],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"file","name":"file","type":"COMBO","widget":{"name":"file"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"VIDEO","name":"VIDEO","type":"VIDEO","links":[933]}],"properties":{"Node name for S&R":"LoadVideo"},"widgets_values":["_Yer a wizard, Harry_ _ Harry Potter and the Philosopher's S_0m00s_570x320_24fps.mp4","image"],"widgets_values_named":{"file":"_Yer a wizard, Harry_ _ Harry Potter and the Philosopher's S_0m00s_570x320_24fps.mp4","upload":"image"},"color":"#432","bgcolor":"#653"},{"id":1005,"type":"44d6b518-6660-434d-a2fe-aed516a2e3f9","pos":[290,4530],"size":[360,260],"flags":{},"order":19,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":711},{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":712},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":713},{"localized_name":"vae","name":"vae","type":"VAE","link":781},{"localized_name":"vae_1","name":"vae_1","type":"VAE","link":783},{"name":"noise_seed","type":"INT","widget":{"name":"noise_seed"},"link":null},{"localized_name":"control_after_generate","name":"control_after_generate","shape":7,"type":"COMBO","widget":{"name":"control_after_generate"},"link":null},{"name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[717,946]},{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[718]}],"properties":{"previewExposures":[]},"widgets_values":[337735795597581,"randomize","er_sde","beta",8,1],"widgets_values_named":{"noise_seed":337735795597581,"control_after_generate":"randomize","sampler_name":"er_sde","scheduler":"beta","steps":8,"denoise":1}},{"id":115,"type":"ResolutionSelector","pos":[-1510,4520],"size":[320,150],"flags":{},"order":3,"mode":0,"showAdvanced":false,"inputs":[{"localized_name":"aspect_ratio","name":"aspect_ratio","type":"COMBO","widget":{"name":"aspect_ratio"},"link":null},{"localized_name":"megapixels","name":"megapixels","type":"FLOAT","widget":{"name":"megapixels"},"link":null},{"localized_name":"multiple","name":"multiple","type":"INT","widget":{"name":"multiple"},"link":null}],"outputs":[{"localized_name":"width","name":"width","type":"INT","links":[276]},{"localized_name":"height","name":"height","type":"INT","links":[277]}],"title":"Resolution Selector (Size)","properties":{"Node name for S&R":"ResolutionSelector"},"widgets_values":["16:9 (Widescreen)",0.4,32],"widgets_values_named":{"aspect_ratio":"16:9 (Widescreen)","megapixels":0.4,"multiple":32},"color":"#322","bgcolor":"#533"},{"id":2066,"type":"Note","pos":[-530,5000],"size":[280,110],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["If you want to transcribe audio, please go to \"custom_nodes/comfyui-nugget/\" and go to the \"install.bat\" or \"install.py\". This will install Whisper which is required for audio, otherwise can leave OFF\n"],"widgets_values_named":{"text":"If you want to transcribe audio, please go to \"custom_nodes/comfyui-nugget/\" and go to the \"install.bat\" or \"install.py\". This will install Whisper which is required for audio, otherwise can leave OFF\n"},"color":"#432","bgcolor":"#653"},{"id":1020,"type":"PreviewAny","pos":[-560,5230],"size":[350,450],"flags":{"collapsed":false},"order":16,"mode":0,"inputs":[{"localized_name":"source","name":"source","type":"*","link":764}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[]}],"title":"Source video description","properties":{"Node name for S&R":"PreviewAny","cnr_id":"comfy-core","ver":"0.16.4"},"widgets_values":[],"widgets_values_named":{},"color":"#222","bgcolor":"#000"},{"id":2029,"type":"MarkdownNote","pos":[-2410,5490],"size":[290,420],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[],"title":"Note: Size Settings Reference","properties":{},"widgets_values":["| megapixels | Aspect | Output (multiple=32) |\n|---|---|---|\n| 0.2 | 16:9 | 608 x 352 |\n| 0.3 | 16:9 | 736 x 416 |\n| 0.4 | 16:9 | 864 x 480 |\n| 0.5 | 16:9 | 960 x 544 |\n| 0.6 | 16:9 | 1056 x 608 |\n| 0.7 | 16:9 | 1152 x 640 |\n| 0.8 | 16:9 | 1216 x 672 |\n| 0.9 | 16:9 | 1280 x 736 |\n| 0.98 | 16:9 | 1344 x 768 |\n| 1.0 | 16:9 | 1376 x 768 |\n| 1.2 | 16:9 | 1504 x 832 |\n| 1.5 | 16:9 | 1664 x 928 |\n| 1.8 | 16:9 | 1824 x 1024 |\n| 2.0 | 16:9 | 1920 x 1088 |\n"],"widgets_values_named":{"text":"| megapixels | Aspect | Output (multiple=32) |\n|---|---|---|\n| 0.2 | 16:9 | 608 x 352 |\n| 0.3 | 16:9 | 736 x 416 |\n| 0.4 | 16:9 | 864 x 480 |\n| 0.5 | 16:9 | 960 x 544 |\n| 0.6 | 16:9 | 1056 x 608 |\n| 0.7 | 16:9 | 1152 x 640 |\n| 0.8 | 16:9 | 1216 x 672 |\n| 0.9 | 16:9 | 1280 x 736 |\n| 0.98 | 16:9 | 1344 x 768 |\n| 1.0 | 16:9 | 1376 x 768 |\n| 1.2 | 16:9 | 1504 x 832 |\n| 1.5 | 16:9 | 1664 x 928 |\n| 1.8 | 16:9 | 1824 x 1024 |\n| 2.0 | 16:9 | 1920 x 1088 |\n"},"color":"rgba(0,0,0,.8)","bgcolor":"rgba(24,24,27,.9)"},{"id":1011,"type":"LoadImage","pos":[-1460,5070],"size":[300,380],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[951]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"title":"Load image 1","properties":{"Node name for S&R":"LoadImage","cnr_id":"comfy-core","ver":"0.21.1"},"widgets_values":["1500.avif","image"],"widgets_values_named":{"image":"1500.avif","upload":"image"},"color":"#222","bgcolor":"#000"},{"id":5885,"type":"LoadImage","pos":[-1090,5070],"size":[300,380],"flags":{},"order":7,"mode":4,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[20438]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"title":"Load image 1","properties":{"Node name for S&R":"LoadImage","cnr_id":"comfy-core","ver":"0.21.1"},"widgets_values":["1500.avif","image"],"widgets_values_named":{"image":"1500.avif","upload":"image"},"color":"#222","bgcolor":"#000"},{"id":5887,"type":"LoadImage","pos":[-1100,5500],"size":[300,380],"flags":{},"order":8,"mode":4,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[20440]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"title":"Load image 1","properties":{"Node name for S&R":"LoadImage","cnr_id":"comfy-core","ver":"0.21.1"},"widgets_values":["1500.avif","image"],"widgets_values_named":{"image":"1500.avif","upload":"image"},"color":"#222","bgcolor":"#000"},{"id":5886,"type":"LoadImage","pos":[-1460,5500],"size":[300,380],"flags":{},"order":9,"mode":4,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[20439]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"title":"Load image 1","properties":{"Node name for S&R":"LoadImage","cnr_id":"comfy-core","ver":"0.21.1"},"widgets_values":["1500.avif","image"],"widgets_values_named":{"image":"1500.avif","upload":"image"},"color":"#222","bgcolor":"#000"},{"id":136,"type":"MiniMaxH3ReferenceToVideo","pos":[-190,4520],"size":[340,560],"flags":{},"order":18,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":778},{"localized_name":"vae","name":"vae","type":"VAE","link":779},{"localized_name":"audio_vae","name":"audio_vae","type":"VAE","link":782},{"label":"ref_image_0","localized_name":"ref_images.ref_image_0","name":"ref_images.ref_image_0","shape":7,"type":"IMAGE","link":821},{"label":"ref_image_1","localized_name":"ref_images.ref_image_1","name":"ref_images.ref_image_1","shape":7,"type":"IMAGE","link":822},{"label":"ref_image_2","localized_name":"ref_images.ref_image_2","name":"ref_images.ref_image_2","shape":7,"type":"IMAGE","link":823},{"label":"ref_image_3","localized_name":"ref_images.ref_image_3","name":"ref_images.ref_image_3","shape":7,"type":"IMAGE","link":824},{"label":"ref_image_4","localized_name":"ref_images.ref_image_4","name":"ref_images.ref_image_4","shape":7,"type":"IMAGE","link":825},{"label":"ref_image_5","localized_name":"ref_images.ref_image_5","name":"ref_images.ref_image_5","shape":7,"type":"IMAGE","link":826},{"label":"ref_image_6","localized_name":"ref_images.ref_image_6","name":"ref_images.ref_image_6","shape":7,"type":"IMAGE","link":827},{"label":"ref_image_7","localized_name":"ref_images.ref_image_7","name":"ref_images.ref_image_7","shape":7,"type":"IMAGE","link":828},{"label":"ref_image_8","localized_name":"ref_images.ref_image_8","name":"ref_images.ref_image_8","shape":7,"type":"IMAGE","link":829},{"label":"ref_video_0","localized_name":"ref_videos.ref_video_0","name":"ref_videos.ref_video_0","shape":7,"type":"IMAGE","link":830},{"label":"ref_video_1","localized_name":"ref_videos.ref_video_1","name":"ref_videos.ref_video_1","shape":7,"type":"IMAGE","link":null},{"label":"ref_video_audio_0","localized_name":"ref_video_audios.ref_video_audio_0","name":"ref_video_audios.ref_video_audio_0","shape":7,"type":"AUDIO","link":793},{"label":"ref_video_audio_1","localized_name":"ref_video_audios.ref_video_audio_1","name":"ref_video_audios.ref_video_audio_1","shape":7,"type":"AUDIO","link":null},{"label":"ref_audio_0","localized_name":"ref_audios.ref_audio_0","name":"ref_audios.ref_audio_0","shape":7,"type":"AUDIO","link":null},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":880},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":276},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":277},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":20421},{"localized_name":"ref_image_size","name":"ref_image_size","type":"COMBO","widget":{"name":"ref_image_size"},"link":null}],"outputs":[{"localized_name":"positive","name":"positive","type":"CONDITIONING","links":[712]},{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[713]}],"properties":{"Node name for S&R":"MiniMaxH3ReferenceToVideo"},"widgets_values":["",1344,768,243,"match"],"widgets_values_named":{"prompt":"","width":1344,"height":768,"length":243,"ref_image_size":"match"}},{"id":1028,"type":"2722ec4f-9c91-4d2a-a65d-924d6b5f8fa7","pos":[-530,4580],"size":[300,370],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":752},{"localized_name":"video","name":"video","shape":7,"type":"VIDEO","link":933},{"localized_name":"image_1","name":"image_1","shape":7,"type":"IMAGE","link":951},{"localized_name":"image_2","name":"image_2","shape":7,"type":"IMAGE","link":20438},{"localized_name":"image_3","name":"image_3","shape":7,"type":"IMAGE","link":20439},{"name":"image_4","shape":7,"type":"IMAGE","link":20440},{"name":"image_5","shape":7,"type":"IMAGE","link":null},{"name":"image_6","shape":7,"type":"IMAGE","link":null},{"name":"image_7","shape":7,"type":"IMAGE","link":null},{"name":"image_8","shape":7,"type":"IMAGE","link":null},{"name":"image_9","shape":7,"type":"IMAGE","link":null},{"label":"Duration","localized_name":"on_true","name":"on_true","shape":7,"type":"*","link":788},{"label":"User Prompt","name":"string_1","type":"STRING","link":844},{"name":"whisper_model","type":"COMBO","widget":{"name":"whisper_model"},"link":null},{"name":"audio_language","type":"COMBO","widget":{"name":"audio_language"},"link":null}],"outputs":[{"localized_name":"image_1","name":"image_1","type":"IMAGE","links":[821]},{"localized_name":"image_2","name":"image_2","type":"IMAGE","links":[822]},{"localized_name":"image_3","name":"image_3","type":"IMAGE","links":[823]},{"localized_name":"image_4","name":"image_4","type":"IMAGE","links":[824]},{"localized_name":"image_5","name":"image_5","type":"IMAGE","links":[825]},{"localized_name":"image_6","name":"image_6","type":"IMAGE","links":[826]},{"localized_name":"image_7","name":"image_7","type":"IMAGE","links":[827]},{"localized_name":"image_8","name":"image_8","type":"IMAGE","links":[828]},{"localized_name":"image_9","name":"image_9","type":"IMAGE","links":[829]},{"localized_name":"video_images","name":"video_images","type":"IMAGE","links":[830]},{"localized_name":"video_audio","name":"video_audio","type":"AUDIO","links":[793,794]},{"label":"Video Description","localized_name":"STRING","name":"STRING","type":"STRING","links":[764]},{"label":"Enhanced Prompt","localized_name":"generated_text","name":"generated_text","type":"STRING","links":[765]},{"label":"frame_length (H3 compliant)","localized_name":"frame_length","name":"frame_length","type":"*","links":[20421]},{"label":"frame length (video)","name":"*","type":"*","links":[945]}],"properties":{"previewExposures":[]},"widgets_values":["large-v3","English"],"widgets_values_named":{"whisper_model":"large-v3","audio_language":"English"}},{"id":1019,"type":"PreviewAny","pos":[-180,5230],"size":[350,450],"flags":{"collapsed":false},"order":17,"mode":0,"inputs":[{"localized_name":"source","name":"source","type":"*","link":765}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[880]}],"title":"Enhanced prompt","properties":{"Node name for S&R":"PreviewAny","cnr_id":"comfy-core","ver":"0.16.4"},"widgets_values":[],"widgets_values_named":{},"color":"#323","bgcolor":"#535"},{"id":5884,"type":"023fcacc-cfe7-4ea5-b8bb-a5fae69e7dbe","pos":[-300,4100],"size":[290,90],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":20436}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[20437]}],"properties":{"previewExposures":[]}},{"id":1009,"type":"PrimitiveStringMultiline","pos":[-1920,4530],"size":[370,340],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"STRING","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[844]}],"title":"User prompt","properties":{"Node name for S&R":"PrimitiveStringMultiline","cnr_id":"comfy-core","ver":"0.30.0"},"widgets_values":["In shot 1 of the <video 1>, replace hagrid's dialogue with \"You're a Kangaroo Harry\".\n\nIn shot 2 of <video 1>, replace the young boy with the kangaroo in <picture 1> saying says \"I'm a what\" in a dark setting.\n\nIn shot 3 of the <video 1>, replace the dialogue with \"A Bloody Kangaroo, mate\" in a australian accent. \n"],"widgets_values_named":{"value":"In shot 1 of the <video 1>, replace hagrid's dialogue with \"You're a Kangaroo Harry\".\n\nIn shot 2 of <video 1>, replace the young boy with the kangaroo in <picture 1> saying says \"I'm a what\" in a dark setting.\n\nIn shot 3 of the <video 1>, replace the dialogue with \"A Bloody Kangaroo, mate\" in a australian accent. \n"},"color":"#232","bgcolor":"#353"},{"id":1035,"type":"PrimitiveFloat","pos":[-1510,4740],"size":[330,60],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"FLOAT","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"FLOAT","name":"FLOAT","type":"FLOAT","links":[788]}],"title":"Duration in Seconds (0 = Follow the video)","properties":{"Node name for S&R":"PrimitiveFloat","cnr_id":"comfy-core","ver":"0.28.2"},"widgets_values":[0],"widgets_values_named":{"value":0},"color":"#322","bgcolor":"#533"},{"id":2026,"type":"MarkdownNote","pos":[-2520,4430],"size":[460,1000],"flags":{},"order":11,"mode":0,"inputs":[],"outputs":[],"title":"START HERE - Downloads & Setup","properties":{},"widgets_values":["# Nugget H3 EasyR2V — Full Workflow\n\n**By [C_Nugget](https://huggingface.co/PoopMan333)** — custom node and other bits over on the HuggingFace.\n\n**[If this has helped you, consider sending through any tips of a few dollars, any tips helps with the power bills. Thank you.](https://ko-fi.com/c_nugget)**\n\n---\n\n## How it works\n\nThis graph turns a reference video and up to 9 stills into a new **MiniMax-H3** video in a single workflow.\n\n1. **Video Auto Transcriber** watches your source clip and writes a plain-English description of it — shots, camera moves, dialogue, sound.\n2. **Generate prompt (with references)** takes that description plus your own instruction and reference images, and hands them to a small vision-language model that writes the final H3 prompt.\n3. **H3** does the actual generation — video and audio together — using the Ref2V or Hybrid diffusion model and the paired video/audio VAEs.\n\n\nNothing has to be manually copy-pasted. Change the instruction, requeue, and the cached prompt just re-runs against a new seed (if no changes has been made).\n\n---\n\n## 1. Install the custom node packs\n\nVia **ComfyUI Manager**, or `git clone` into `ComfyUI/custom_nodes/`:\n\n| pack | what this graph uses it for |\n|---|---|\n| **ComfyUI-Nugget** | `Video Auto Transcriber`, `Generate prompt (with references)` |\n| **ComfyUI-KJNodes** | `ModelPatchTorchSettings`, `MiniMaxChunkFeedForward`, `MiniMaxLowVRAMAttention`, `ModelPreviewOverrideKJ`, `JoinStringMulti` |\n| **ComfyUI-PlagueKind-Nodes** | `H3SLAAttention` (the sparse-attention speed-up) |\n\n**If the file will not open, a pack is missing.** ComfyUI is refusing a node type it does not recognise. Bypassing will not help — install the pack, restart, then reopen.\n\n---\n\n## 2. Run the Nugget setup script\n\n**This step is not optional if you want dialogue transcribed.**\n\n```\nComfyUI/custom_nodes/ComfyUI-Nugget/install.bat\n```\n\nDouble-click it, or from a terminal:\n\n```\npython install.py\n```\n\nIt installs `faster-whisper`, then **builds a real model and transcribes a second of silence** to prove it works — importing the package proves nothing, because the CUDA libraries only load when a model is constructed.\n\n**Do not just run `pip install faster-whisper`.** ComfyUI runs its own Python; a normal terminal installs into a different one, and the node will still report it missing. The script finds the right interpreter and re-runs itself there.\n\n`python install.py --check` reports without changing anything.\n\nWithout it the transcriber still describes the video — you simply get no transcript.\n\n---\n\n## 3. Core H3 models\n\nFrom [🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3):\n\n| file | goes in |\n|---|---|\n| `minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors` | `models/diffusion_models/` |\n| `qwen3vl_32b_minimax_h3_int8_convrot.safetensors` | `models/text_encoders/` |\n| `minimax_h3_video_vae_int8_convrot.safetensors` | `models/vae/` |\n| `minimax_h3_audio_vae_fp32.safetensors` | `models/vae/` |\n\nNot got the hybrid/int8 builds? The stock Comfy-Org equivalents from the same repo work — re-pick them in the loader widgets.\n\n---\n\n## 4. Prompt enhancer model\n\nA separate, smaller vision-language model that writes the H3 prompt. It never touches generation.\n\nGoes in `models/text_encoders/`, then pick it in **Model for Prompt Enhancer**:\n\n| model | size | notes |\n|---|---|---|\n| [Qwen3-VL 8B fp8_scaled](https://huggingface.co/Comfy-Org/Qwen3-VL/tree/main/text_encoders) | 10.6 GB | **Start here.** Currently selected. Best all-round vision + prompt writing. |\n| [Qwen3-VL 8B nvfp4](https://huggingface.co/Comfy-Org/Qwen3-VL/tree/main/text_encoders) | 6.3 GB | Same model, smaller quant. Use on 12 GB cards. |\n| [Gemma 4 E4B fp8](https://huggingface.co/Comfy-Org/gemma-4/tree/main/text_encoders) | 9.1 GB | ComfyUI's original default. Fine if you already have it. |\n| [DeepNeuralNerd Gemma4 12B heretic](https://huggingface.co/DeepNeuralNerd/Gemma-4-12B-it-uncensored-heretic-DeepNeuralNerd-LTX_2.5_ComfyUI) | ~12 GB | Uncensored. Wants 20 GB+ in practice. |\n\n\nWhisper `large-v3` downloads itself on first run (~3 GB). No manual step.\n\n---\n\n## 5. Speed-ups and extras\n\n| file | goes in | notes |\n|---|---|---|\n| `H3-PK-Parasyte-Turbo.safetensors` | `models/loras/` | 8-step turbo LoRA |\n| `taeh3.safetensors` | `models/vae_approx/` | live preview only |\n| `h3_silu_temb_grid.safetensors` | `models/h3_adaln/` | optional, bypassed by default |\n\n```\n📂 ComfyUI/models/\n├── 📂 diffusion_models/ ← H3 unet\n├── 📂 text_encoders/ ← qwen3vl 32B + your enhancer model\n├── 📂 vae/ ← video vae + audio vae\n├── 📂 loras/ ← turbo lora\n└── 📂 vae_approx/ ← taeh3 (live preview)\n```\n\n---\n\n## 6. Run order\n\n1. **Your Input** — write the instruction, pick size and length.\n2. **Reference Media** — 1 to 9 images. Source video optional.\n3. **Prompt Enhancer** — reads the video, writes the H3 prompt.\n4. **Sampling and Decode**.\n5. **Output** — H3-generated audio by default.\n\n**Duration in Seconds: 0** means match the source video's length.\n\n---\n\n## 7. Re-running cheaply\n\nIf the video auto transcriber node or generate prompt node is set to FIXED SEED and it detects no changes, ComfyUI skips those nodes to save time when rerunning jobs. Once a clip is transcribed and a prompt built, **just queue again** — the transcriber and the enhancer are cached and cost nothing. Change the **sampler seed** for a different take.\n\nKeep both `seed` widgets on **fixed**. Set either to `randomize` and its inputs change every queue, which is a cache miss — you re-transcribe the whole video every run for nothing.\n\nTo skip the video entirely, bypass **Load source video** (Ctrl+B). The transcriber returns empty and costs nothing.\n\n---\n\n## 8. If something goes wrong\n\n| symptom | cause |\n|---|---|\n| The file will not open | A node pack from section 1 is missing. |\n| `'SD1ClipModel' object has no attribute 'generate'` | Load CLIP is loading a Stable Diffusion encoder, not a language model. An SD1 encoder is ~235 MB; a real one is gigabytes. |\n| ComfyUI **exits** with a code, no error | Out of VRAM. Check the `GB free before loading the text encoder` line in the console and use a smaller enhancer model (drop from fp8_scaled to nvfp4). |\n| No transcript, says faster-whisper missing | It went into the wrong Python. Run `install.bat` from section 2. |\n| Descriptions stop mid-sentence | Raise **max length** on the enhancer. The console warns when it happens. |\n| Dialogue invented over music | Set **whisper model** to `off`. `large-v3` hallucinates on non-speech audio. |\n| `Kernel size can't be greater than actual input size` | Update ComfyUI-Nugget — fixed in the current build. |\n\nClips run best around 8–20 seconds. Longer ones are memory-hungry: the transcriber returns every frame, so a minute of 1080p is more RAM than most machines want to spend. Trim first.\n\n---\n\n## 9. Credit\n\nWorkflow build, tuning and prompt-enhancer chain by **C_Nugget** — [huggingface.co/PoopMan333](https://huggingface.co/PoopMan333).\n\nOriginal single-image workflow by **mackyb** (H3 Basic prompt enhancer v2). This is a modified variant, not their release.\n"],"widgets_values_named":{"text":"# Nugget H3 EasyR2V — Full Workflow\n\n**By [C_Nugget](https://huggingface.co/PoopMan333)** — custom node and other bits over on the HuggingFace.\n\n**[If this has helped you, consider sending through any tips of a few dollars, any tips helps with the power bills. Thank you.](https://ko-fi.com/c_nugget)**\n\n---\n\n## How it works\n\nThis graph turns a reference video and up to 9 stills into a new **MiniMax-H3** video in a single workflow.\n\n1. **Video Auto Transcriber** watches your source clip and writes a plain-English description of it — shots, camera moves, dialogue, sound.\n2. **Generate prompt (with references)** takes that description plus your own instruction and reference images, and hands them to a small vision-language model that writes the final H3 prompt.\n3. **H3** does the actual generation — video and audio together — using the Ref2V or Hybrid diffusion model and the paired video/audio VAEs.\n\n\nNothing has to be manually copy-pasted. Change the instruction, requeue, and the cached prompt just re-runs against a new seed (if no changes has been made).\n\n---\n\n## 1. Install the custom node packs\n\nVia **ComfyUI Manager**, or `git clone` into `ComfyUI/custom_nodes/`:\n\n| pack | what this graph uses it for |\n|---|---|\n| **ComfyUI-Nugget** | `Video Auto Transcriber`, `Generate prompt (with references)` |\n| **ComfyUI-KJNodes** | `ModelPatchTorchSettings`, `MiniMaxChunkFeedForward`, `MiniMaxLowVRAMAttention`, `ModelPreviewOverrideKJ`, `JoinStringMulti` |\n| **ComfyUI-PlagueKind-Nodes** | `H3SLAAttention` (the sparse-attention speed-up) |\n\n**If the file will not open, a pack is missing.** ComfyUI is refusing a node type it does not recognise. Bypassing will not help — install the pack, restart, then reopen.\n\n---\n\n## 2. Run the Nugget setup script\n\n**This step is not optional if you want dialogue transcribed.**\n\n```\nComfyUI/custom_nodes/ComfyUI-Nugget/install.bat\n```\n\nDouble-click it, or from a terminal:\n\n```\npython install.py\n```\n\nIt installs `faster-whisper`, then **builds a real model and transcribes a second of silence** to prove it works — importing the package proves nothing, because the CUDA libraries only load when a model is constructed.\n\n**Do not just run `pip install faster-whisper`.** ComfyUI runs its own Python; a normal terminal installs into a different one, and the node will still report it missing. The script finds the right interpreter and re-runs itself there.\n\n`python install.py --check` reports without changing anything.\n\nWithout it the transcriber still describes the video — you simply get no transcript.\n\n---\n\n## 3. Core H3 models\n\nFrom [🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3):\n\n| file | goes in |\n|---|---|\n| `minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors` | `models/diffusion_models/` |\n| `qwen3vl_32b_minimax_h3_int8_convrot.safetensors` | `models/text_encoders/` |\n| `minimax_h3_video_vae_int8_convrot.safetensors` | `models/vae/` |\n| `minimax_h3_audio_vae_fp32.safetensors` | `models/vae/` |\n\nNot got the hybrid/int8 builds? The stock Comfy-Org equivalents from the same repo work — re-pick them in the loader widgets.\n\n---\n\n## 4. Prompt enhancer model\n\nA separate, smaller vision-language model that writes the H3 prompt. It never touches generation.\n\nGoes in `models/text_encoders/`, then pick it in **Model for Prompt Enhancer**:\n\n| model | size | notes |\n|---|---|---|\n| [Qwen3-VL 8B fp8_scaled](https://huggingface.co/Comfy-Org/Qwen3-VL/tree/main/text_encoders) | 10.6 GB | **Start here.** Currently selected. Best all-round vision + prompt writing. |\n| [Qwen3-VL 8B nvfp4](https://huggingface.co/Comfy-Org/Qwen3-VL/tree/main/text_encoders) | 6.3 GB | Same model, smaller quant. Use on 12 GB cards. |\n| [Gemma 4 E4B fp8](https://huggingface.co/Comfy-Org/gemma-4/tree/main/text_encoders) | 9.1 GB | ComfyUI's original default. Fine if you already have it. |\n| [DeepNeuralNerd Gemma4 12B heretic](https://huggingface.co/DeepNeuralNerd/Gemma-4-12B-it-uncensored-heretic-DeepNeuralNerd-LTX_2.5_ComfyUI) | ~12 GB | Uncensored. Wants 20 GB+ in practice. |\n\n\nWhisper `large-v3` downloads itself on first run (~3 GB). No manual step.\n\n---\n\n## 5. Speed-ups and extras\n\n| file | goes in | notes |\n|---|---|---|\n| `H3-PK-Parasyte-Turbo.safetensors` | `models/loras/` | 8-step turbo LoRA |\n| `taeh3.safetensors` | `models/vae_approx/` | live preview only |\n| `h3_silu_temb_grid.safetensors` | `models/h3_adaln/` | optional, bypassed by default |\n\n```\n📂 ComfyUI/models/\n├── 📂 diffusion_models/ ← H3 unet\n├── 📂 text_encoders/ ← qwen3vl 32B + your enhancer model\n├── 📂 vae/ ← video vae + audio vae\n├── 📂 loras/ ← turbo lora\n└── 📂 vae_approx/ ← taeh3 (live preview)\n```\n\n---\n\n## 6. Run order\n\n1. **Your Input** — write the instruction, pick size and length.\n2. **Reference Media** — 1 to 9 images. Source video optional.\n3. **Prompt Enhancer** — reads the video, writes the H3 prompt.\n4. **Sampling and Decode**.\n5. **Output** — H3-generated audio by default.\n\n**Duration in Seconds: 0** means match the source video's length.\n\n---\n\n## 7. Re-running cheaply\n\nIf the video auto transcriber node or generate prompt node is set to FIXED SEED and it detects no changes, ComfyUI skips those nodes to save time when rerunning jobs. Once a clip is transcribed and a prompt built, **just queue again** — the transcriber and the enhancer are cached and cost nothing. Change the **sampler seed** for a different take.\n\nKeep both `seed` widgets on **fixed**. Set either to `randomize` and its inputs change every queue, which is a cache miss — you re-transcribe the whole video every run for nothing.\n\nTo skip the video entirely, bypass **Load source video** (Ctrl+B). The transcriber returns empty and costs nothing.\n\n---\n\n## 8. If something goes wrong\n\n| symptom | cause |\n|---|---|\n| The file will not open | A node pack from section 1 is missing. |\n| `'SD1ClipModel' object has no attribute 'generate'` | Load CLIP is loading a Stable Diffusion encoder, not a language model. An SD1 encoder is ~235 MB; a real one is gigabytes. |\n| ComfyUI **exits** with a code, no error | Out of VRAM. Check the `GB free before loading the text encoder` line in the console and use a smaller enhancer model (drop from fp8_scaled to nvfp4). |\n| No transcript, says faster-whisper missing | It went into the wrong Python. Run `install.bat` from section 2. |\n| Descriptions stop mid-sentence | Raise **max length** on the enhancer. The console warns when it happens. |\n| Dialogue invented over music | Set **whisper model** to `off`. `large-v3` hallucinates on non-speech audio. |\n| `Kernel size can't be greater than actual input size` | Update ComfyUI-Nugget — fixed in the current build. |\n\nClips run best around 8–20 seconds. Longer ones are memory-hungry: the transcriber returns every frame, so a minute of 1080p is more RAM than most machines want to spend. Trim first.\n\n---\n\n## 9. Credit\n\nWorkflow build, tuning and prompt-enhancer chain by **C_Nugget** — [huggingface.co/PoopMan333](https://huggingface.co/PoopMan333).\n\nOriginal single-image workflow by **mackyb** (H3 Basic prompt enhancer v2). This is a modified variant, not their release.\n"},"color":"#222","bgcolor":"#000"}],"links":[[276,115,0,136,18,"INT"],[277,115,1,136,19,"INT"],[310,130,0,160,0,"VIDEO"],[538,922,0,130,0,"IMAGE"],[544,924,0,925,0,"VIDEO"],[711,923,0,1005,0,"MODEL"],[712,136,0,1005,1,"CONDITIONING"],[713,136,1,1005,2,"LATENT"],[717,1005,0,924,0,"IMAGE"],[718,1005,1,924,1,"AUDIO"],[752,1008,0,1028,0,"CLIP"],[764,1028,11,1020,0,"STRING"],[765,1028,12,1019,0,"STRING"],[778,1033,1,136,0,"CLIP"],[779,1033,2,136,1,"VAE"],[780,1033,2,923,1,"VAE"],[781,1033,2,1005,3,"VAE"],[782,1033,3,136,2,"VAE"],[783,1033,3,1005,4,"VAE"],[788,1035,0,1028,11,"FLOAT"],[793,1028,10,136,14,"AUDIO"],[794,1028,10,130,1,"AUDIO"],[821,1028,0,136,3,"IMAGE"],[822,1028,1,136,4,"IMAGE"],[823,1028,2,136,5,"IMAGE"],[824,1028,3,136,6,"IMAGE"],[825,1028,4,136,7,"IMAGE"],[826,1028,5,136,8,"IMAGE"],[827,1028,6,136,9,"IMAGE"],[828,1028,7,136,10,"IMAGE"],[829,1028,8,136,11,"IMAGE"],[830,1028,9,136,12,"IMAGE"],[844,1009,0,1028,12,"STRING"],[880,1019,0,136,17,"STRING"],[933,2052,0,1028,1,"VIDEO"],[945,1028,14,922,2,"INT"],[946,1005,0,922,0,"IMAGE"],[951,1011,0,1028,2,"IMAGE"],[20421,1028,13,136,20,"INT"],[20436,1033,0,5884,0,"MODEL"],[20437,5884,0,923,0,"MODEL"],[20438,5885,0,1028,3,"IMAGE"],[20439,5886,0,1028,4,"IMAGE"],[20440,5887,0,1028,5,"IMAGE"]],"groups":[{"id":3,"title":"3 - Prompt Enhancer + Conditioning","bounding":[-590,4440,820,670],"color":"#3f789e","flags":{}},{"id":112,"title":"Output - keep original audio & Length","bounding":[720,5150,660,560],"color":"#8A8","flags":{}},{"id":113,"title":"5 - Output - H3 generated audio","bounding":[720,4440,620,560],"color":"#8A8","flags":{}},{"id":2,"title":"4 - Sampling and Decode","bounding":[260,4440,420,390],"color":"#3f789e","flags":{}},{"id":114,"title":"2 - Reference Media (video optional)","bounding":[-1950,4950,1330,970],"color":"#3f789e","flags":{}},{"id":115,"title":"Prompt Preview","bounding":[-590,5140,820,580],"color":"#3f789e","flags":{}},{"id":117,"title":"Optional Speed Ups","bounding":[-590,3920,1020,490],"color":"#3f789e","flags":{}},{"id":1,"title":"Models (set once)","bounding":[-1140,4440,520,470],"color":"#3f789e","flags":{}},{"id":121,"title":"Live Preview (KJ model preview)","bounding":[260,4870,420,750],"color":"#3f789e","flags":{}},{"id":123,"title":"1 - Your Input (prompt / size / length)","bounding":[-1950,4440,780,470],"color":"#3f789e","flags":{}}],"definitions":{"subgraphs":[{"id":"44d6b518-6660-434d-a2fe-aed516a2e3f9","version":1,"state":{"lastGroupId":194,"lastNodeId":5893,"lastLinkId":20452,"lastRerouteId":15},"revision":0,"config":{},"name":"Sampler and Decode","inputNode":{"id":-10,"bounding":[580,5040,180,270]},"outputNode":{"id":-20,"bounding":[1870,5140,130,90]},"inputs":[{"id":"e6cb2eed-dca8-4e10-9194-16a97c489c77","name":"model","type":"MODEL","linkIds":[702,703],"localized_name":"model","pos":[730,5060]},{"id":"90cc94a8-e8c3-4429-88bc-57dcfd4a059b","name":"conditioning","type":"CONDITIONING","linkIds":[704],"localized_name":"conditioning","pos":[730,5080]},{"id":"9edb65e3-0a51-4676-9c50-9b3a5e690669","name":"latent_image","type":"LATENT","linkIds":[705],"localized_name":"latent_image","pos":[730,5100]},{"id":"ccb044ee-d04c-4706-bb98-2be2a4f8388c","name":"vae","type":"VAE","linkIds":[706],"localized_name":"vae","pos":[730,5120]},{"id":"be5ce0d6-6f4f-4986-ba73-a8f2147e0231","name":"vae_1","type":"VAE","linkIds":[707],"localized_name":"vae_1","pos":[730,5140]},{"id":"f37f8517-b661-4acd-b7da-be50816d1eba","name":"noise_seed","type":"INT","linkIds":[873],"pos":[730,5160]},{"id":"8d52c7e8-0f1d-46c3-b89c-55972ebc8e0b","name":"control_after_generate","type":"COMBO","linkIds":[878],"localized_name":"control_after_generate","pos":[730,5180]},{"id":"0d752244-608d-4be7-8071-0adce3fd66f5","name":"sampler_name","type":"COMBO","linkIds":[874],"pos":[730,5200]},{"id":"ebbac3a5-2c4d-4b0a-b631-466c25ae6ebd","name":"scheduler","type":"COMBO","linkIds":[875],"pos":[730,5220]},{"id":"3166e4e3-cd96-4811-ad79-377b23d346fb","name":"steps","type":"INT","linkIds":[876],"pos":[730,5240]},{"id":"a6dd9378-52fd-4441-a708-7c739bfe1694","name":"denoise","type":"FLOAT","linkIds":[877],"pos":[730,5260]}],"outputs":[{"id":"e6e1c06b-d278-45a9-85f7-6b6138db4228","name":"IMAGE","type":"IMAGE","linkIds":[708,708],"localized_name":"IMAGE","pos":[1890,5160]},{"id":"0df442f8-579d-482f-9b3d-72d14fc32d7f","name":"AUDIO","type":"AUDIO","linkIds":[710],"localized_name":"AUDIO","pos":[1890,5180]}],"widgets":[],"nodes":[{"id":998,"type":"RandomNoise","pos":[840,4940],"size":[370,90],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"noise_seed","name":"noise_seed","type":"INT","widget":{"name":"noise_seed"},"link":873},{"localized_name":"control_after_generate","name":"control_after_generate","shape":7,"type":"COMBO","widget":{"name":"control_after_generate"},"link":878}],"outputs":[{"localized_name":"NOISE","name":"NOISE","type":"NOISE","links":[696]}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[770883776981491,"randomize"],"widgets_values_named":{"noise_seed":770883776981491,"control_after_generate":"randomize"}},{"id":999,"type":"BasicGuider","pos":[840,5060],"size":[370,60],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":702},{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":704}],"outputs":[{"localized_name":"GUIDER","name":"GUIDER","type":"GUIDER","links":[697]}],"properties":{"Node name for S&R":"BasicGuider"}},{"id":1000,"type":"KSamplerSelect","pos":[840,5170],"size":[370,70],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":874}],"outputs":[{"localized_name":"SAMPLER","name":"SAMPLER","type":"SAMPLER","links":[698]}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["er_sde"],"widgets_values_named":{"sampler_name":"er_sde"}},{"id":1002,"type":"SamplerCustomAdvanced","pos":[1260,5060],"size":[230,140],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"noise","name":"noise","type":"NOISE","link":696},{"localized_name":"guider","name":"guider","type":"GUIDER","link":697},{"localized_name":"sampler","name":"sampler","type":"SAMPLER","link":698},{"localized_name":"sigmas","name":"sigmas","type":"SIGMAS","link":699},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":705}],"outputs":[{"localized_name":"output","name":"output","type":"LATENT","links":[700,701]},{"localized_name":"denoised_output","name":"denoised_output","type":"LATENT","links":[]}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"}},{"id":1003,"type":"VAEDecode","pos":[1560,4940],"size":[230,60],"flags":{"collapsed":false},"order":5,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":700},{"localized_name":"vae","name":"vae","type":"VAE","link":706}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[708]}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":1004,"type":"VAEDecodeAudio","pos":[1560,5120],"size":[230,60],"flags":{"collapsed":false},"order":6,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":701},{"localized_name":"vae","name":"vae","type":"VAE","link":707}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[710]}],"properties":{"Node name for S&R":"VAEDecodeAudio"}},{"id":1001,"type":"BasicScheduler","pos":[840,5290],"size":[370,130],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":703},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":875},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":876},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":877}],"outputs":[{"localized_name":"SIGMAS","name":"SIGMAS","type":"SIGMAS","links":[699]}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["beta",8,1],"widgets_values_named":{"scheduler":"beta","steps":8,"denoise":1}}],"groups":[],"links":[{"id":696,"origin_id":998,"origin_slot":0,"target_id":1002,"target_slot":0,"type":"NOISE"},{"id":697,"origin_id":999,"origin_slot":0,"target_id":1002,"target_slot":1,"type":"GUIDER"},{"id":698,"origin_id":1000,"origin_slot":0,"target_id":1002,"target_slot":2,"type":"SAMPLER"},{"id":699,"origin_id":1001,"origin_slot":0,"target_id":1002,"target_slot":3,"type":"SIGMAS"},{"id":700,"origin_id":1002,"origin_slot":0,"target_id":1003,"target_slot":0,"type":"LATENT"},{"id":701,"origin_id":1002,"origin_slot":0,"target_id":1004,"target_slot":0,"type":"LATENT"},{"id":702,"origin_id":-10,"origin_slot":0,"target_id":999,"target_slot":0,"type":"MODEL"},{"id":703,"origin_id":-10,"origin_slot":0,"target_id":1001,"target_slot":0,"type":"MODEL"},{"id":704,"origin_id":-10,"origin_slot":1,"target_id":999,"target_slot":1,"type":"CONDITIONING"},{"id":705,"origin_id":-10,"origin_slot":2,"target_id":1002,"target_slot":4,"type":"LATENT"},{"id":706,"origin_id":-10,"origin_slot":3,"target_id":1003,"target_slot":1,"type":"VAE"},{"id":707,"origin_id":-10,"origin_slot":4,"target_id":1004,"target_slot":1,"type":"VAE"},{"id":708,"origin_id":1003,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"IMAGE"},{"id":710,"origin_id":1004,"origin_slot":0,"target_id":-20,"target_slot":1,"type":"AUDIO"},{"id":873,"origin_id":-10,"origin_slot":5,"target_id":998,"target_slot":0,"type":"INT"},{"id":874,"origin_id":-10,"origin_slot":7,"target_id":1000,"target_slot":0,"type":"COMBO"},{"id":875,"origin_id":-10,"origin_slot":8,"target_id":1001,"target_slot":1,"type":"COMBO"},{"id":876,"origin_id":-10,"origin_slot":9,"target_id":1001,"target_slot":2,"type":"INT"},{"id":877,"origin_id":-10,"origin_slot":10,"target_id":1001,"target_slot":3,"type":"FLOAT"},{"id":878,"origin_id":-10,"origin_slot":6,"target_id":998,"target_slot":1,"type":"COMBO"}],"extra":{}},{"id":"2722ec4f-9c91-4d2a-a65d-924d6b5f8fa7","version":1,"state":{"lastGroupId":194,"lastNodeId":5893,"lastLinkId":20452,"lastRerouteId":15},"revision":0,"config":{},"name":"Auto Prompt (Options within)","inputNode":{"id":-10,"bounding":[-1870,6830,137.443359375,348]},"outputNode":{"id":-20,"bounding":[550,5880,209.765625,348]},"inputs":[{"id":"591a4239-edf8-42d3-92db-dfc6250fd290","name":"clip","type":"CLIP","linkIds":[740,20430],"localized_name":"clip","pos":[-1756.556640625,6854]},{"id":"91e34a03-7b26-417c-9954-68bb33eb1422","name":"video","type":"VIDEO","linkIds":[20431],"localized_name":"video","shape":7,"pos":[-1756.556640625,6874]},{"id":"e612ac5b-0333-4a8f-85c3-a5ca184b7546","name":"image_1","type":"IMAGE","linkIds":[846],"localized_name":"image_1","pos":[-1756.556640625,6894]},{"id":"2acdaecc-aebc-4059-83fa-1aee9fc617af","name":"image_2","type":"IMAGE","linkIds":[847],"localized_name":"image_2","shape":7,"pos":[-1756.556640625,6914]},{"id":"3cbb1d86-6c15-4930-91b3-a4cf65e730ce","name":"image_3","type":"IMAGE","linkIds":[848],"localized_name":"image_3","shape":7,"pos":[-1756.556640625,6934]},{"id":"2684841b-0005-4e96-9b30-50865481e607","name":"image_4","type":"IMAGE","linkIds":[849],"shape":7,"pos":[-1756.556640625,6954]},{"id":"241c748c-8714-49d8-8f28-c1be1d87da3d","name":"image_5","type":"IMAGE","linkIds":[850],"shape":7,"pos":[-1756.556640625,6974]},{"id":"1887589d-b2c7-4e6d-a079-3f4ca3f84f18","name":"image_6","type":"IMAGE","linkIds":[851],"shape":7,"pos":[-1756.556640625,6994]},{"id":"358fbecc-b4f8-416e-ad73-750be0a5d8cd","name":"image_7","type":"IMAGE","linkIds":[852],"shape":7,"pos":[-1756.556640625,7014]},{"id":"83417cc6-26ae-4a42-bf8e-6c986658f0ec","name":"image_8","type":"IMAGE","linkIds":[853],"shape":7,"pos":[-1756.556640625,7034]},{"id":"63ae6abf-3052-41b5-a44e-ccfd5b6e7366","name":"image_9","type":"IMAGE","linkIds":[854],"shape":7,"pos":[-1756.556640625,7054]},{"id":"3c82c956-4d76-4fb3-9a99-55b7415221de","name":"on_true","type":"*","linkIds":[20450],"localized_name":"on_true","label":"Duration","pos":[-1756.556640625,7074]},{"id":"b6a23d84-622f-4c3c-86a2-8491a67c516a","name":"string_1","type":"STRING","linkIds":[843],"label":"User Prompt","pos":[-1756.556640625,7094]},{"id":"4bdbe6cb-7918-41e5-bd2d-8fdee4c03cd1","name":"whisper_model","type":"COMBO","linkIds":[20424],"pos":[-1756.556640625,7114]},{"id":"c30d0a2a-b654-4e34-aa70-c6282e07be98","name":"audio_language","type":"COMBO","linkIds":[20425],"pos":[-1756.556640625,7134]}],"outputs":[{"id":"1da80b79-4772-4fde-b7cc-d0b882a6054f","name":"image_1","type":"IMAGE","linkIds":[797],"localized_name":"image_1","pos":[574,5904]},{"id":"7a0a06b4-3d72-4f88-a7ee-963cd40a27ab","name":"image_2","type":"IMAGE","linkIds":[799],"localized_name":"image_2","pos":[574,5924]},{"id":"2c2a135a-26d7-4901-b73b-5f66e6025ee7","name":"image_3","type":"IMAGE","linkIds":[801],"localized_name":"image_3","pos":[574,5944]},{"id":"03165be2-f72e-4ff9-a54a-ae95a50255c5","name":"image_4","type":"IMAGE","linkIds":[803],"localized_name":"image_4","pos":[574,5964]},{"id":"e1251ba8-841c-4742-b31e-70b20d8a7c03","name":"image_5","type":"IMAGE","linkIds":[805],"localized_name":"image_5","pos":[574,5984]},{"id":"868cb702-7799-4442-b6b2-e5cdfe8d2d24","name":"image_6","type":"IMAGE","linkIds":[807],"localized_name":"image_6","pos":[574,6004]},{"id":"dac9bdbb-a6da-4d7f-99c4-0564a25f7199","name":"image_7","type":"IMAGE","linkIds":[809],"localized_name":"image_7","pos":[574,6024]},{"id":"ea81eb25-4880-413b-8777-e6747e4cb910","name":"image_8","type":"IMAGE","linkIds":[811],"localized_name":"image_8","pos":[574,6044]},{"id":"afd0309a-cab5-40af-9be5-aa56ec88bc2a","name":"image_9","type":"IMAGE","linkIds":[813],"localized_name":"image_9","pos":[574,6064]},{"id":"ddd087e2-6be0-44b7-b18e-1590c1dc4a83","name":"video_images","type":"IMAGE","linkIds":[20428],"localized_name":"video_images","pos":[574,6084]},{"id":"ac63304d-362b-4908-bf8f-61030bc061d9","name":"video_audio","type":"AUDIO","linkIds":[20429],"localized_name":"video_audio","pos":[574,6104]},{"id":"79211fdf-4f49-43ce-8936-879884c68810","name":"STRING","type":"STRING","linkIds":[744],"localized_name":"STRING","label":"Video Description","pos":[574,6124]},{"id":"52df15b8-5502-47b3-bd12-05944d0be0b3","name":"generated_text","type":"STRING","linkIds":[20382],"localized_name":"generated_text","label":"Enhanced Prompt","pos":[574,6144]},{"id":"924405b5-ac77-4bce-887d-f799db6b5b6a","name":"frame_length","type":"*","linkIds":[20446],"localized_name":"frame_length","label":"frame_length (H3 compliant)","pos":[574,6164]},{"id":"b40e8992-0236-4bc2-8fb3-d70b6c655a90","name":"*","type":"*","linkIds":[20427],"label":"frame length (video)","pos":[574,6184]}],"widgets":[],"nodes":[{"id":2012,"type":"Reroute","pos":[340,5490],"size":[80,30],"flags":{},"order":7,"mode":0,"inputs":[{"name":"","type":"*","link":800}],"outputs":[{"name":"","type":"*","slot_index":0,"links":[801]}],"properties":{"showOutputText":false,"horizontal":false}},{"id":2013,"type":"Reroute","pos":[340,5550],"size":[80,30],"flags":{},"order":8,"mode":0,"inputs":[{"name":"","type":"*","link":802}],"outputs":[{"name":"","type":"*","slot_index":0,"links":[803]}],"properties":{"showOutputText":false,"horizontal":false}},{"id":2014,"type":"Reroute","pos":[340,5610],"size":[80,30],"flags":{},"order":9,"mode":0,"inputs":[{"name":"","type":"*","link":804}],"outputs":[{"name":"","type":"*","slot_index":0,"links":[805]}],"properties":{"showOutputText":false,"horizontal":false}},{"id":2015,"type":"Reroute","pos":[340,5670],"size":[80,30],"flags":{},"order":10,"mode":0,"inputs":[{"name":"","type":"*","link":806}],"outputs":[{"name":"","type":"*","slot_index":0,"links":[807]}],"properties":{"showOutputText":false,"horizontal":false}},{"id":2016,"type":"Reroute","pos":[340,5730],"size":[80,30],"flags":{},"order":11,"mode":0,"inputs":[{"name":"","type":"*","link":808}],"outputs":[{"name":"","type":"*","slot_index":0,"links":[809]}],"properties":{"showOutputText":false,"horizontal":false}},{"id":2017,"type":"Reroute","pos":[340,5790],"size":[80,30],"flags":{},"order":12,"mode":0,"inputs":[{"name":"","type":"*","link":810}],"outputs":[{"name":"","type":"*","slot_index":0,"links":[811]}],"properties":{"showOutputText":false,"horizontal":false}},{"id":2018,"type":"Reroute","pos":[340,5850],"size":[80,30],"flags":{},"order":13,"mode":0,"inputs":[{"name":"","type":"*","link":812}],"outputs":[{"name":"","type":"*","slot_index":0,"links":[813]}],"properties":{"showOutputText":false,"horizontal":false}},{"id":2011,"type":"Reroute","pos":[340,5420],"size":[80,30],"flags":{},"order":6,"mode":0,"inputs":[{"name":"","type":"*","link":798}],"outputs":[{"name":"","type":"*","slot_index":0,"links":[799]}],"properties":{"showOutputText":false,"horizontal":false}},{"id":2010,"type":"Reroute","pos":[340,5360],"size":[80,30],"flags":{},"order":5,"mode":0,"inputs":[{"name":"","type":"*","link":796}],"outputs":[{"name":"*","type":"*","slot_index":0,"links":[797]}],"properties":{"showOutputText":true,"horizontal":false}},{"id":2054,"type":"Note","pos":[-880,7120],"size":[360,280],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Note for the \"Generate Prompt Node\" \n\nSEED \n========\n- FIXED SEED means it will keep the enhanced prompt when you run again, this saves time when retrying prompts. It will always run if a input changes.\n\n- RANDOM SEED will generate a new prompt enhanced prompt every run\n\n\nImg Description Detail\n========\nHow much details to describe the pictures\n\n\nMax Img Size\n========\nBiggest Width or Height for the image\n\n\n\n\n\n"],"widgets_values_named":{"text":"Note for the \"Generate Prompt Node\" \n\nSEED \n========\n- FIXED SEED means it will keep the enhanced prompt when you run again, this saves time when retrying prompts. It will always run if a input changes.\n\n- RANDOM SEED will generate a new prompt enhanced prompt every run\n\n\nImg Description Detail\n========\nHow much details to describe the pictures\n\n\nMax Img Size\n========\nBiggest Width or Height for the image\n\n\n\n\n\n"},"color":"#432","bgcolor":"#653"},{"id":1016,"type":"JoinStringMulti","pos":[-900,7460],"size":[390,210],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"string_1","name":"string_1","type":"STRING","link":843},{"localized_name":"string_2","name":"string_2","shape":7,"type":"STRING","link":20401},{"localized_name":"inputcount","name":"inputcount","type":"INT","widget":{"name":"inputcount"},"link":null},{"localized_name":"delimiter","name":"delimiter","type":"STRING","widget":{"name":"delimiter"},"link":null},{"localized_name":"return_list","name":"return_list","type":"BOOLEAN","widget":{"name":"return_list"},"link":null},{"name":"string_3","shape":7,"type":"STRING","link":20402}],"outputs":[{"localized_name":"string","name":"string","type":"STRING","links":[742,20381]}],"title":"Join string (user + system prompt)","properties":{"Node name for S&R":"JoinStringMulti","cnr_id":"comfyui-kjnodes","ver":"35e5956193769d18a13136cdedb73a36a05c73e6"},"widgets_values":[3,"",false,null],"widgets_values_named":{"inputcount":3,"delimiter":"","return_list":false,"Update inputs":null},"color":"#222","bgcolor":"#000"},{"id":2059,"type":"PrimitiveStringMultiline","pos":[-1150,7610],"size":[560,200],"flags":{"collapsed":true},"order":1,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"STRING","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[20402]}],"title":"System prompt - v7.1 mini","properties":{"Node name for S&R":"PrimitiveStringMultiline","cnr_id":"comfy-core","ver":"0.30.0"},"widgets_values":["MINIMAX H3 REF2V PROMPT GUIDE v7\n\n# ROLE\nYou write prompts only for MiniMax H3 Reference-to-Video (Ref2V).\nConvert up to 9 ordered reference images, up to 1 source video with transcript, and the user's instruction into one precise Ref2V prompt.\nThe user instruction controls the requested result. References control the visible, temporal, or audible properties to preserve, transfer, replace, or reuse.\nPlan silently. Output only the finished prompt.\n\n# LANGUAGE\nWrite all six sections in English. Preserve the original language only for dialogue or lyrics inside <d> and for visible on-screen text.\n\n# REFERENCES\nImages retain their supplied order: <Picture 1> through <Picture 9>. Never renumber or invent references.\n\nUse <Subject N> for independently reusable visible content, including people, animals, objects, clothing, props, environments, styles, poses, actions, expressions, interfaces, and effects.\n- One image may define multiple subjects.\n- Multiple references may define one subject; state what each contributes.\n- Do not invent details that are not visible.\n- Keep each label's meaning stable.\n\nUse standalone <Picture N> only when the image itself is a concrete first frame, keyframe, last frame, edited frame, storyboard, or composition anchor. Otherwise cite the picture inside the relevant <Subject N> definition.\n\nWhen a source video is directly edited or supplies whole-video structure, define:\n<Video 1> is the source video for the target edit.\nUse <Video 1> for camera, cuts, timing, staging, continuation, or overall temporal structure. Visible content reused from it should be defined separately as <Subject N> when it must be tracked.\n\nWhen enabled source audio is copied or independently referenced, define <Audio 1>. Do not create <Audio 1> merely because the video contains sound.\n\n# EDITING AND RETENTION\nExplicitly state what is retained and what changes. The user's requested change overrides the references.\n\nFor replacement, identify the original subject and replacement clearly:\nReplace the original performer with <Subject 1>, transferring <Subject 1>'s referenced appearance while preserving the relevant motion, timing, gestures, expression, framing, and prop interaction from <Video 1>.\nAdapt motion naturally. Track multiple replacements independently. State shot or timestamp boundaries for partial or mid-video replacements.\n\nVisible-reference markers:\n- fully_preserved: the defined properties remain\n- partially_preserved: only specified properties remain or some change\n- attribute_transfer: referenced properties transfer to another identifiable target\n- weak_reference: only broad style, category, composition, or mood guides the result\n\nAudio-reference markers:\n- fully_copy: complete source audio becomes the complete final track\n- partially_copy: only part or selected layers are copied, or copied audio is modified\n- reference: timbre, delivery, rhythm, dialogue content, music style, or sound texture guides new audio without copying the signal\n- weak_reference: only broad audio character or atmosphere is retained\n\nDo not promise perfect identity, pixel-perfect reproduction, or exact physical accuracy.\n\n# MOTION, SHOTS, AND CONTINUITY\nDescribe the target in playback order using observable instructions: composition, subject appearance and position, environment, lighting, action and state changes, camera behavior, current sound, and when each reference takes effect.\nPreserve source camera work, performance timing, cuts, environment, and continuity unless the user requests changes.\nDo not add unnecessary cuts, camera motion, characters, props, dialogue, or plot events.\nObjects must not teleport, duplicate, disappear, or change without cause.\n\nUse:\n[Shot 1] ...\n[Shot 2] At MM:SS.mmm, ...\nThe opening shot normally has no timestamp. Use timestamps for later cuts or precise changes.\nIf the user specifies a target duration, do not describe scenes, dialogue, audio, or events beyond that time, even if the source video or transcript continues.\n\n# DIALOGUE AND AUDIO\nOriginal audio reuse: define <Audio 1>, state that it is copied from the source, and use the correct audio retention marker.\nIf music alone changes, retain requested dialogue and non-music audio while describing the new score in non_diegetic_music.\n\nReplacement dialogue:\n- preserve the requested words exactly\n- identify the speaker and reuse stable speaker IDs in order of first vocal event\n- synchronize mouth movement\n- retain source timing, tone, expression, or delivery when requested\n\nFormat:\n<Subject N> (S1) says: <d>[Language] Dialogue.</d>\nUse [unclear] for unintelligible speech. Do not guess.\nDescribe dialogue, singing, synchronized sounds, and active <Audio N> relationships in the relevant shot. Do not repeat full dialogue in the sound sections.\nDo not invent dialogue unless requested.\n\n# REQUIRED OUTPUT\nOutput exactly these six sections in this order:\nsubject_definitions:\nsummary:\nretention_analysis:\ndetailed_description:\noverall_soundscape:\nnon_diegetic_music:\n\nsubject_definitions:\nDefine only references actually used. Give each tracked item one line with its source, role, and key properties.\n\nsummary:\nWrite one short paragraph beginning with the applicable combined task labels:\n[keyframe completion], [reference generation], [video editing], [video continuation], [audio reuse], [audio reference]\nJoin applicable labels with \" + \". Do not add a type merely because that media exists.\nFor a direct source edit, begin after the label with: The target video is an edited version of <Video 1>.\n\nretention_analysis:\nGive one line per defined label:\n<Subject N> (appears in [Shot ...]): marker - exact retained or transferred properties.\n<Picture N> ([Shot ...] frame role): marker - exact frame or composition relationship.\n<Video 1> (relevant structural properties): marker - exact retained or referenced properties.\n<Audio 1>: audio_marker - exact copied or referenced audio properties.\nUse only properties relevant to the result. Do not include speaker IDs here.\n\ndetailed_description:\nThis is the main generation instruction. Start with at most two sentences establishing overall appearance and source continuity when useful, then describe every shot in playback order. Explicitly map replacements, actions, expressions, framing, camera, timing, environment, lighting, props, sound, dialogue, lip sync, continuity, and each shot's final state where relevant. Avoid plot-only summaries and generic quality terms.\n\noverall_soundscape:\nSummarize ambience and physical sounds across the video. State applicable <Audio N> copy/reference behavior. Keep shot-synchronized events in detailed_description.\n\nnon_diegetic_music:\nDescribe audience-only music, including style/instrumentation, tempo, and development, only when requested or present through audio reuse/reference. Otherwise write N/A.\n\n# SILENT CHECK\nBefore output, verify:\n1. Exactly six sections, in order, with no introduction, notes, markdown fence, or closing text.\n2. Every label comes from supplied media, remains stable, is used, and has a retention line.\n3. Replacements and their timing are explicit.\n4. User-requested changes override source properties; other relevant source performance and structure remain.\n5. Audio copying versus audio reference is distinguished correctly.\n6. Dialogue is exact, attributed, language-tagged, and lip-synchronized when relevant.\n7. detailed_description contains actual visual, temporal, and audible instructions.\n8. Nothing unrelated is invented.\n"],"widgets_values_named":{"value":"MINIMAX H3 REF2V PROMPT GUIDE v7\n\n# ROLE\nYou write prompts only for MiniMax H3 Reference-to-Video (Ref2V).\nConvert up to 9 ordered reference images, up to 1 source video with transcript, and the user's instruction into one precise Ref2V prompt.\nThe user instruction controls the requested result. References control the visible, temporal, or audible properties to preserve, transfer, replace, or reuse.\nPlan silently. Output only the finished prompt.\n\n# LANGUAGE\nWrite all six sections in English. Preserve the original language only for dialogue or lyrics inside <d> and for visible on-screen text.\n\n# REFERENCES\nImages retain their supplied order: <Picture 1> through <Picture 9>. Never renumber or invent references.\n\nUse <Subject N> for independently reusable visible content, including people, animals, objects, clothing, props, environments, styles, poses, actions, expressions, interfaces, and effects.\n- One image may define multiple subjects.\n- Multiple references may define one subject; state what each contributes.\n- Do not invent details that are not visible.\n- Keep each label's meaning stable.\n\nUse standalone <Picture N> only when the image itself is a concrete first frame, keyframe, last frame, edited frame, storyboard, or composition anchor. Otherwise cite the picture inside the relevant <Subject N> definition.\n\nWhen a source video is directly edited or supplies whole-video structure, define:\n<Video 1> is the source video for the target edit.\nUse <Video 1> for camera, cuts, timing, staging, continuation, or overall temporal structure. Visible content reused from it should be defined separately as <Subject N> when it must be tracked.\n\nWhen enabled source audio is copied or independently referenced, define <Audio 1>. Do not create <Audio 1> merely because the video contains sound.\n\n# EDITING AND RETENTION\nExplicitly state what is retained and what changes. The user's requested change overrides the references.\n\nFor replacement, identify the original subject and replacement clearly:\nReplace the original performer with <Subject 1>, transferring <Subject 1>'s referenced appearance while preserving the relevant motion, timing, gestures, expression, framing, and prop interaction from <Video 1>.\nAdapt motion naturally. Track multiple replacements independently. State shot or timestamp boundaries for partial or mid-video replacements.\n\nVisible-reference markers:\n- fully_preserved: the defined properties remain\n- partially_preserved: only specified properties remain or some change\n- attribute_transfer: referenced properties transfer to another identifiable target\n- weak_reference: only broad style, category, composition, or mood guides the result\n\nAudio-reference markers:\n- fully_copy: complete source audio becomes the complete final track\n- partially_copy: only part or selected layers are copied, or copied audio is modified\n- reference: timbre, delivery, rhythm, dialogue content, music style, or sound texture guides new audio without copying the signal\n- weak_reference: only broad audio character or atmosphere is retained\n\nDo not promise perfect identity, pixel-perfect reproduction, or exact physical accuracy.\n\n# MOTION, SHOTS, AND CONTINUITY\nDescribe the target in playback order using observable instructions: composition, subject appearance and position, environment, lighting, action and state changes, camera behavior, current sound, and when each reference takes effect.\nPreserve source camera work, performance timing, cuts, environment, and continuity unless the user requests changes.\nDo not add unnecessary cuts, camera motion, characters, props, dialogue, or plot events.\nObjects must not teleport, duplicate, disappear, or change without cause.\n\nUse:\n[Shot 1] ...\n[Shot 2] At MM:SS.mmm, ...\nThe opening shot normally has no timestamp. Use timestamps for later cuts or precise changes.\nIf the user specifies a target duration, do not describe scenes, dialogue, audio, or events beyond that time, even if the source video or transcript continues.\n\n# DIALOGUE AND AUDIO\nOriginal audio reuse: define <Audio 1>, state that it is copied from the source, and use the correct audio retention marker.\nIf music alone changes, retain requested dialogue and non-music audio while describing the new score in non_diegetic_music.\n\nReplacement dialogue:\n- preserve the requested words exactly\n- identify the speaker and reuse stable speaker IDs in order of first vocal event\n- synchronize mouth movement\n- retain source timing, tone, expression, or delivery when requested\n\nFormat:\n<Subject N> (S1) says: <d>[Language] Dialogue.</d>\nUse [unclear] for unintelligible speech. Do not guess.\nDescribe dialogue, singing, synchronized sounds, and active <Audio N> relationships in the relevant shot. Do not repeat full dialogue in the sound sections.\nDo not invent dialogue unless requested.\n\n# REQUIRED OUTPUT\nOutput exactly these six sections in this order:\nsubject_definitions:\nsummary:\nretention_analysis:\ndetailed_description:\noverall_soundscape:\nnon_diegetic_music:\n\nsubject_definitions:\nDefine only references actually used. Give each tracked item one line with its source, role, and key properties.\n\nsummary:\nWrite one short paragraph beginning with the applicable combined task labels:\n[keyframe completion], [reference generation], [video editing], [video continuation], [audio reuse], [audio reference]\nJoin applicable labels with \" + \". Do not add a type merely because that media exists.\nFor a direct source edit, begin after the label with: The target video is an edited version of <Video 1>.\n\nretention_analysis:\nGive one line per defined label:\n<Subject N> (appears in [Shot ...]): marker - exact retained or transferred properties.\n<Picture N> ([Shot ...] frame role): marker - exact frame or composition relationship.\n<Video 1> (relevant structural properties): marker - exact retained or referenced properties.\n<Audio 1>: audio_marker - exact copied or referenced audio properties.\nUse only properties relevant to the result. Do not include speaker IDs here.\n\ndetailed_description:\nThis is the main generation instruction. Start with at most two sentences establishing overall appearance and source continuity when useful, then describe every shot in playback order. Explicitly map replacements, actions, expressions, framing, camera, timing, environment, lighting, props, sound, dialogue, lip sync, continuity, and each shot's final state where relevant. Avoid plot-only summaries and generic quality terms.\n\noverall_soundscape:\nSummarize ambience and physical sounds across the video. State applicable <Audio N> copy/reference behavior. Keep shot-synchronized events in detailed_description.\n\nnon_diegetic_music:\nDescribe audience-only music, including style/instrumentation, tempo, and development, only when requested or present through audio reuse/reference. Otherwise write N/A.\n\n# SILENT CHECK\nBefore output, verify:\n1. Exactly six sections, in order, with no introduction, notes, markdown fence, or closing text.\n2. Every label comes from supplied media, remains stable, is used, and has a retention line.\n3. Replacements and their timing are explicit.\n4. User-requested changes override source properties; other relevant source performance and structure remain.\n5. Audio copying versus audio reference is distinguished correctly.\n6. Dialogue is exact, attributed, language-tagged, and lip-synchronized when relevant.\n7. detailed_description contains actual visual, temporal, and audible instructions.\n8. Nothing unrelated is invented.\n"},"color":"#232","bgcolor":"#353"},{"id":1014,"type":"PreviewAny","pos":[-280,6420],"size":[290,370],"flags":{"collapsed":false},"order":3,"mode":0,"inputs":[{"localized_name":"source","name":"source","type":"*","link":20426}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[744,20401]}],"title":"Source video description","properties":{"Node name for S&R":"PreviewAny","cnr_id":"comfy-core","ver":"0.16.4"},"widgets_values":[],"widgets_values_named":{},"color":"#222","bgcolor":"#000"},{"id":2055,"type":"Note","pos":[-1070,6310],"size":[340,540],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Note for the \"Video Auto Transcriber\" \n\nSEED \n========\n- FIXED SEED means it will keep the enhanced prompt when you run again, this saves time when retrying prompts. It will always run if a input changes.\n\n- RANDOM SEED will transcribe the video every run.\n\n\nDescription Detail\n========\nHow much details to describe the video\n\n\nScene Sensitivity\n========\nsensitivity threshold to detect hard cut scene changes\n\n\nMin shot\n========\nHow short the minimum shot size is, typically 1 is fine. Lower the value for faster action scenes with many high cuts, however decreasing this increases captioning time.\n\n\nMax Frame Size\n========\nResolution for sending the picture.\n\n\n\n\n"],"widgets_values_named":{"text":"Note for the \"Video Auto Transcriber\" \n\nSEED \n========\n- FIXED SEED means it will keep the enhanced prompt when you run again, this saves time when retrying prompts. It will always run if a input changes.\n\n- RANDOM SEED will transcribe the video every run.\n\n\nDescription Detail\n========\nHow much details to describe the video\n\n\nScene Sensitivity\n========\nsensitivity threshold to detect hard cut scene changes\n\n\nMin shot\n========\nHow short the minimum shot size is, typically 1 is fine. Lower the value for faster action scenes with many high cuts, however decreasing this increases captioning time.\n\n\nMax Frame Size\n========\nResolution for sending the picture.\n\n\n\n\n"},"color":"#432","bgcolor":"#653"},{"id":5879,"type":"VideoAutoTranscribe","pos":[-660,6340],"size":[290,510],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":20430},{"localized_name":"video","name":"video","shape":7,"type":"VIDEO","link":20431},{"localized_name":"mode","name":"mode","type":"COMBO","widget":{"name":"mode"},"link":null},{"localized_name":"prompt_max_length","name":"prompt_max_length","type":"INT","widget":{"name":"prompt_max_length"},"link":null},{"localized_name":"description_detail","name":"description_detail","type":"COMBO","widget":{"name":"description_detail"},"link":null},{"localized_name":"scene_sensitivity","name":"scene_sensitivity","type":"COMBO","widget":{"name":"scene_sensitivity"},"link":null},{"localized_name":"min_shot","name":"min_shot","type":"FLOAT","widget":{"name":"min_shot"},"link":null},{"localized_name":"whisper_model","name":"whisper_model","type":"COMBO","widget":{"name":"whisper_model"},"link":20424},{"localized_name":"audio_language","name":"audio_language","type":"COMBO","widget":{"name":"audio_language"},"link":20425},{"localized_name":"frame_layout","name":"frame_layout","shape":7,"type":"COMBO","widget":{"name":"frame_layout"},"link":null},{"localized_name":"max_frame_size","name":"max_frame_size","shape":7,"type":"COMBO","widget":{"name":"max_frame_size"},"link":null},{"localized_name":"seed","name":"seed","shape":7,"type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"show","name":"show","shape":7,"type":"COMBO","widget":{"name":"show"},"link":null}],"outputs":[{"localized_name":"video_images","name":"video_images","type":"IMAGE","links":[20428]},{"localized_name":"video audio","name":"video audio","type":"AUDIO","links":[20429]},{"localized_name":"fps","name":"fps","type":"FLOAT","links":null},{"localized_name":"frame_count","name":"frame_count","type":"INT","links":[20427,20449]},{"localized_name":"full description","name":"full description","type":"STRING","links":[20426]}],"properties":{"Node name for S&R":"VideoAutoTranscribe"},"widgets_values":["General",1600,"normal","normal",1,"large-v3","auto","grid",768,118677902227172,"fixed","compact"],"widgets_values_named":{"mode":"General","prompt_max_length":1600,"description_detail":"normal","scene_sensitivity":"normal","min_shot":1,"whisper_model":"large-v3","audio_language":"auto","frame_layout":"grid","max_frame_size":768,"seed":118677902227172,"control_after_generate":"fixed","show":"compact"}},{"id":5892,"type":"ComfyMathExpression","pos":[-310,5900],"size":[270,150],"flags":{"collapsed":false},"order":16,"mode":0,"inputs":[{"label":"a","localized_name":"values.a","name":"values.a","type":"FLOAT,INT,BOOLEAN","link":20449},{"label":"b","localized_name":"values.b","name":"values.b","shape":7,"type":"FLOAT,INT,BOOLEAN","link":20450},{"label":"c","localized_name":"values.c","name":"values.c","shape":7,"type":"FLOAT,INT,BOOLEAN","link":null},{"localized_name":"expression","name":"expression","type":"STRING","widget":{"name":"expression"},"link":null}],"outputs":[{"localized_name":"FLOAT","name":"FLOAT","type":"FLOAT","links":[]},{"localized_name":"INT","name":"INT","type":"INT","links":[20446]},{"localized_name":"BOOL","name":"BOOL","type":"BOOLEAN","links":[]}],"title":"Calculate Frame Length (H3)","properties":{"Node name for S&R":"ComfyMathExpression","cnr_id":"comfy-core","ver":"0.28.2"},"widgets_values":["((a if b == 0 else max(5, round(b*24))) + 11) // 17 * 17 + 5"],"widgets_values_named":{"expression":"((a if b == 0 else max(5, round(b*24))) + 11) // 17 * 17 + 5"}},{"id":2045,"type":"NuggetGeneratePrompt","pos":[-450,7170],"size":[300,420],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":740},{"localized_name":"image_1","name":"image_1","shape":7,"type":"IMAGE","link":846},{"localized_name":"image_2","name":"image_2","shape":7,"type":"IMAGE","link":847},{"localized_name":"image_3","name":"image_3","shape":7,"type":"IMAGE","link":848},{"localized_name":"image_4","name":"image_4","shape":7,"type":"IMAGE","link":849},{"localized_name":"image_5","name":"image_5","shape":7,"type":"IMAGE","link":850},{"localized_name":"image_6","name":"image_6","shape":7,"type":"IMAGE","link":851},{"localized_name":"image_7","name":"image_7","shape":7,"type":"IMAGE","link":852},{"localized_name":"image_8","name":"image_8","shape":7,"type":"IMAGE","link":853},{"localized_name":"image_9","name":"image_9","shape":7,"type":"IMAGE","link":854},{"localized_name":"img_description_detail","name":"img_description_detail","type":"COMBO","widget":{"name":"img_description_detail"},"link":null},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":20381},{"localized_name":"max_image_size","name":"max_image_size","type":"COMBO","widget":{"name":"max_image_size"},"link":null},{"localized_name":"max_length","name":"max_length","type":"INT","widget":{"name":"max_length"},"link":null},{"localized_name":"sampling_mode","name":"sampling_mode","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"sampling_mode"},"link":null},{"localized_name":"seed","name":"seed","shape":7,"type":"INT","widget":{"name":"seed"},"link":null}],"outputs":[{"localized_name":"generated_text","name":"generated_text","type":"STRING","links":[20382]}],"title":"Generate detail from image","properties":{"Node name for S&R":"NuggetGeneratePrompt","cnr_id":"comfyui-nugget","ver":"1.1.0"},"widgets_values":["normal",2048,2048,1600,"off",537193506553645,"randomize"],"widgets_values_named":{"img_description_detail":"normal","prompt":2048,"max_image_size":2048,"max_length":1600,"sampling_mode":"off","seed":537193506553645,"control_after_generate":"randomize"}}],"groups":[{"id":116,"title":"Describe Video ","bounding":[-1150,6240,1300,660],"color":"#3f789e","flags":{}},{"id":120,"title":"Generate Enhanced Prompt","bounding":[-1160,6950,1290,850],"color":"#3f789e","flags":{}},{"id":194,"title":"Calculate Frame Length (if input = 0, follow same frame length as Video)","bounding":[-1080,5770,1160,380],"color":"#3f789e","flags":{}}],"links":[{"id":740,"origin_id":-10,"origin_slot":0,"target_id":2045,"target_slot":0,"type":"CLIP"},{"id":744,"origin_id":1014,"origin_slot":0,"target_id":-20,"target_slot":11,"type":"STRING"},{"id":796,"origin_id":-10,"origin_slot":2,"target_id":2010,"target_slot":0,"type":"IMAGE"},{"id":797,"origin_id":2010,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"IMAGE"},{"id":798,"origin_id":-10,"origin_slot":3,"target_id":2011,"target_slot":0,"type":"IMAGE"},{"id":799,"origin_id":2011,"origin_slot":0,"target_id":-20,"target_slot":1,"type":"IMAGE"},{"id":800,"origin_id":-10,"origin_slot":4,"target_id":2012,"target_slot":0,"type":"IMAGE"},{"id":801,"origin_id":2012,"origin_slot":0,"target_id":-20,"target_slot":2,"type":"IMAGE"},{"id":802,"origin_id":-10,"origin_slot":5,"target_id":2013,"target_slot":0,"type":"IMAGE"},{"id":803,"origin_id":2013,"origin_slot":0,"target_id":-20,"target_slot":3,"type":"IMAGE"},{"id":804,"origin_id":-10,"origin_slot":6,"target_id":2014,"target_slot":0,"type":"IMAGE"},{"id":805,"origin_id":2014,"origin_slot":0,"target_id":-20,"target_slot":4,"type":"IMAGE"},{"id":806,"origin_id":-10,"origin_slot":7,"target_id":2015,"target_slot":0,"type":"IMAGE"},{"id":807,"origin_id":2015,"origin_slot":0,"target_id":-20,"target_slot":5,"type":"IMAGE"},{"id":808,"origin_id":-10,"origin_slot":8,"target_id":2016,"target_slot":0,"type":"IMAGE"},{"id":809,"origin_id":2016,"origin_slot":0,"target_id":-20,"target_slot":6,"type":"IMAGE"},{"id":810,"origin_id":-10,"origin_slot":9,"target_id":2017,"target_slot":0,"type":"IMAGE"},{"id":811,"origin_id":2017,"origin_slot":0,"target_id":-20,"target_slot":7,"type":"IMAGE"},{"id":812,"origin_id":-10,"origin_slot":10,"target_id":2018,"target_slot":0,"type":"IMAGE"},{"id":813,"origin_id":2018,"origin_slot":0,"target_id":-20,"target_slot":8,"type":"IMAGE"},{"id":843,"origin_id":-10,"origin_slot":12,"target_id":1016,"target_slot":0,"type":"STRING"},{"id":846,"origin_id":-10,"origin_slot":2,"target_id":2045,"target_slot":1,"type":"IMAGE"},{"id":847,"origin_id":-10,"origin_slot":3,"target_id":2045,"target_slot":2,"type":"IMAGE"},{"id":848,"origin_id":-10,"origin_slot":4,"target_id":2045,"target_slot":3,"type":"IMAGE"},{"id":849,"origin_id":-10,"origin_slot":5,"target_id":2045,"target_slot":4,"type":"IMAGE"},{"id":850,"origin_id":-10,"origin_slot":6,"target_id":2045,"target_slot":5,"type":"IMAGE"},{"id":851,"origin_id":-10,"origin_slot":7,"target_id":2045,"target_slot":6,"type":"IMAGE"},{"id":852,"origin_id":-10,"origin_slot":8,"target_id":2045,"target_slot":7,"type":"IMAGE"},{"id":853,"origin_id":-10,"origin_slot":9,"target_id":2045,"target_slot":8,"type":"IMAGE"},{"id":854,"origin_id":-10,"origin_slot":10,"target_id":2045,"target_slot":9,"type":"IMAGE"},{"id":20381,"origin_id":1016,"origin_slot":0,"target_id":2045,"target_slot":11,"type":"STRING"},{"id":20382,"origin_id":2045,"origin_slot":0,"target_id":-20,"target_slot":12,"type":"STRING"},{"id":20401,"origin_id":1014,"origin_slot":0,"target_id":1016,"target_slot":1,"type":"STRING"},{"id":20402,"origin_id":2059,"origin_slot":0,"target_id":1016,"target_slot":5,"type":"STRING"},{"id":20424,"origin_id":-10,"origin_slot":13,"target_id":5879,"target_slot":7,"type":"COMBO"},{"id":20425,"origin_id":-10,"origin_slot":14,"target_id":5879,"target_slot":8,"type":"COMBO"},{"id":20426,"origin_id":5879,"origin_slot":4,"target_id":1014,"target_slot":0,"type":"STRING"},{"id":20427,"origin_id":5879,"origin_slot":3,"target_id":-20,"target_slot":14,"type":"INT"},{"id":20428,"origin_id":5879,"origin_slot":0,"target_id":-20,"target_slot":9,"type":"IMAGE"},{"id":20429,"origin_id":5879,"origin_slot":1,"target_id":-20,"target_slot":10,"type":"AUDIO"},{"id":20430,"origin_id":-10,"origin_slot":0,"target_id":5879,"target_slot":0,"type":"CLIP"},{"id":20431,"origin_id":-10,"origin_slot":1,"target_id":5879,"target_slot":1,"type":"VIDEO"},{"id":20446,"origin_id":5892,"origin_slot":1,"target_id":-20,"target_slot":13,"type":"INT"},{"id":20449,"origin_id":5879,"origin_slot":3,"target_id":5892,"target_slot":0,"type":"INT"},{"id":20450,"origin_id":-10,"origin_slot":11,"target_id":5892,"target_slot":1,"type":"*"}],"extra":{}},{"id":"fdd874ec-84fd-4ebe-8de6-2a214824cc48","version":1,"state":{"lastGroupId":194,"lastNodeId":5893,"lastLinkId":20452,"lastRerouteId":15},"revision":0,"config":{},"name":"Load Models for H3","inputNode":{"id":-10,"bounding":[-1780,4650,128,128]},"outputNode":{"id":-20,"bounding":[-840,4650,128,128]},"inputs":[{"id":"6ebac41f-8f04-409c-befb-036bb79f1010","name":"unet_name","type":"COMBO","linkIds":[859],"pos":[-1676,4674]},{"id":"b0abae8a-b858-4b12-b281-8c89bbbdd2b8","name":"clip_name","type":"COMBO","linkIds":[860],"pos":[-1676,4694]},{"id":"62c02149-237c-4d41-bff9-5bf33fec1885","name":"vae_name","type":"COMBO","linkIds":[861],"pos":[-1676,4714]},{"id":"a1526058-ecff-487f-bec1-d3eb6de0992f","name":"vae_name_1","type":"COMBO","linkIds":[862],"pos":[-1676,4734]}],"outputs":[{"id":"7787e7fc-c760-408c-91bf-6f01591e6c1d","name":"MODEL","type":"MODEL","linkIds":[768,768],"localized_name":"MODEL","pos":[-816,4674]},{"id":"3bd65142-1110-4e3c-b0e2-620cda3683be","name":"CLIP","type":"CLIP","linkIds":[770],"localized_name":"CLIP","pos":[-816,4694]},{"id":"bf260996-1f19-4283-86df-6dd3dadace1a","name":"VAE","type":"VAE","linkIds":[771,771,771],"localized_name":"VAE","pos":[-816,4714]},{"id":"268ee5aa-dc27-4894-9ff6-4fe3f85e60a9","name":"VAE_1","type":"VAE","linkIds":[774,774],"localized_name":"VAE_1","pos":[-816,4734]}],"widgets":[],"nodes":[{"id":1029,"type":"UNETLoader","pos":[-1570,4450],"size":[650,90],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":859},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[768]}],"properties":{"Node name for S&R":"UNETLoader","models":[{"name":"minimax_h3_ref2va_pruned_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors","directory":"diffusion_models"}]},"widgets_values":["minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors","default"],"widgets_values_named":{"unet_name":"minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors","weight_dtype":"default"}},{"id":1030,"type":"CLIPLoader","pos":[-1570,4600],"size":[650,120],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":860},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[770]}],"properties":{"Node name for S&R":"CLIPLoader","models":[{"name":"qwen3vl_32b_minimax_h3_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors","directory":"text_encoders"}]},"widgets_values":["qwen3vl_32b_minimax_h3_int8_convrot.safetensors","minimax","default"],"widgets_values_named":{"clip_name":"qwen3vl_32b_minimax_h3_int8_convrot.safetensors","type":"minimax","device":"default"}},{"id":1031,"type":"VAELoader","pos":[-1570,4780],"size":[650,70],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":861}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[771]}],"properties":{"Node name for S&R":"VAELoader","models":[{"name":"minimax_h3_video_vae_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors","directory":"vae"}]},"widgets_values":["minimax_h3_video_vae_int8_convrot.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_video_vae_int8_convrot.safetensors"}},{"id":1032,"type":"VAELoader","pos":[-1570,4910],"size":[650,70],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":862}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[774]}],"properties":{"Node name for S&R":"VAELoader","models":[{"name":"minimax_h3_audio_vae_fp32.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors","directory":"vae"}]},"widgets_values":["minimax_h3_audio_vae_fp32.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_audio_vae_fp32.safetensors"}}],"groups":[],"links":[{"id":768,"origin_id":1029,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"MODEL"},{"id":770,"origin_id":1030,"origin_slot":0,"target_id":-20,"target_slot":1,"type":"CLIP"},{"id":771,"origin_id":1031,"origin_slot":0,"target_id":-20,"target_slot":2,"type":"VAE"},{"id":774,"origin_id":1032,"origin_slot":0,"target_id":-20,"target_slot":3,"type":"VAE"},{"id":859,"origin_id":-10,"origin_slot":0,"target_id":1029,"target_slot":0,"type":"COMBO"},{"id":860,"origin_id":-10,"origin_slot":1,"target_id":1030,"target_slot":0,"type":"COMBO"},{"id":861,"origin_id":-10,"origin_slot":2,"target_id":1031,"target_slot":0,"type":"COMBO"},{"id":862,"origin_id":-10,"origin_slot":3,"target_id":1032,"target_slot":0,"type":"COMBO"}],"extra":{}},{"id":"023fcacc-cfe7-4ea5-b8bb-a5fae69e7dbe","version":1,"state":{"lastGroupId":194,"lastNodeId":5893,"lastLinkId":20452,"lastRerouteId":15},"revision":0,"config":{},"name":"Speed Ups (Settings Within)","inputNode":{"id":-10,"bounding":[-1538,3416,128,68]},"outputNode":{"id":-20,"bounding":[1420,3450,128,68]},"inputs":[{"id":"2dae431a-6dae-4e76-9375-9b5c473d3b22","name":"model","type":"MODEL","linkIds":[20432],"localized_name":"model","pos":[-1434,3440]}],"outputs":[{"id":"cd3f166d-8f55-41cd-b7d2-cfaba1773587","name":"MODEL","type":"MODEL","linkIds":[20452],"localized_name":"MODEL","pos":[1444,3474]}],"widgets":[],"nodes":[{"id":5881,"type":"MarkdownNote","pos":[-1210,3090],"size":[700,320],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[],"title":"Note: Speed Patches (PK)","properties":{},"widgets_values":["## Speed Patches — PK / H3 SLA\n\nChain applies bottom-up on the MODEL. Toggle each group on/off with the bypasser above.\n\n- **1. FP16 Accumulation** (`ModelPatchTorchSettings`): free speed on RTX 30xx+ / most modern GPUs. Safe to leave on.\n- **2. LowVRAM Attention** (`MiniMaxLowVRAMAttention`): splits attention into head chunks. Reduces peak VRAM; tiny cost, sometimes a small speedup. Widget: `head_chunks` (default 4).\n- **3. Chunk FeedForward** (`MiniMaxChunkFeedForward`): splits FF blocks. Reduces peak VRAM at longer sequence lengths. Widgets: `chunks` (2–4), `seq_threshold` (4096).\n- **4. H3 SLA Attention** (`H3SLAAttention`): the big one. Sparse Linear Attention — main speedup. `sparsity_ratio` 0.9 keeps 10% of tokens for very fast, decent-quality; drop to ~0.7 if you see artifacts. `dense_last_steps` controls how many final steps run dense (better quality tail).\n\n### Wiring\n\nFeed the raw `MODEL` from `UNETLoader` into `model`. Take the output `MODEL` to whatever comes next (sampler / patcher).\n\n### Notes\n\n- SLA patches attention — anything else patching attention should sit *before* it in the chain. That is why H3SLAAttention is last.\n- `protect_audio=True` avoids audio-latent glitches at some speed cost. Leave on unless testing.\n- If the workflow refuses to load, install `comfyui-kjnodes` and `plaguekind-nodes` (H3SLAAttention lives in one of these packs)."],"widgets_values_named":{"text":"## Speed Patches — PK / H3 SLA\n\nChain applies bottom-up on the MODEL. Toggle each group on/off with the bypasser above.\n\n- **1. FP16 Accumulation** (`ModelPatchTorchSettings`): free speed on RTX 30xx+ / most modern GPUs. Safe to leave on.\n- **2. LowVRAM Attention** (`MiniMaxLowVRAMAttention`): splits attention into head chunks. Reduces peak VRAM; tiny cost, sometimes a small speedup. Widget: `head_chunks` (default 4).\n- **3. Chunk FeedForward** (`MiniMaxChunkFeedForward`): splits FF blocks. Reduces peak VRAM at longer sequence lengths. Widgets: `chunks` (2–4), `seq_threshold` (4096).\n- **4. H3 SLA Attention** (`H3SLAAttention`): the big one. Sparse Linear Attention — main speedup. `sparsity_ratio` 0.9 keeps 10% of tokens for very fast, decent-quality; drop to ~0.7 if you see artifacts. `dense_last_steps` controls how many final steps run dense (better quality tail).\n\n### Wiring\n\nFeed the raw `MODEL` from `UNETLoader` into `model`. Take the output `MODEL` to whatever comes next (sampler / patcher).\n\n### Notes\n\n- SLA patches attention — anything else patching attention should sit *before* it in the chain. That is why H3SLAAttention is last.\n- `protect_audio=True` avoids audio-latent glitches at some speed cost. Leave on unless testing.\n- If the workflow refuses to load, install `comfyui-kjnodes` and `plaguekind-nodes` (H3SLAAttention lives in one of these packs)."},"color":"#222","bgcolor":"#000"},{"id":5880,"type":"MiniMaxLowVRAMAttention","pos":[-950,3520],"size":[320,60],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":20433},{"localized_name":"head_chunks","name":"head_chunks","type":"INT","widget":{"name":"head_chunks"},"link":null}],"outputs":[{"localized_name":"model","name":"model","type":"MODEL","links":[20434]}],"properties":{"Node name for S&R":"MiniMaxLowVRAMAttention","cnr_id":"comfyui-kjnodes"},"widgets_values":[4],"widgets_values_named":{"head_chunks":4},"color":"#222","bgcolor":"#000"},{"id":5883,"type":"ModelPatchTorchSettings","pos":[-1320,3520],"size":[270,60],"flags":{},"order":6,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":20432},{"localized_name":"enable_fp16_accumulation","name":"enable_fp16_accumulation","type":"BOOLEAN","widget":{"name":"enable_fp16_accumulation"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[20433]}],"properties":{"Node name for S&R":"ModelPatchTorchSettings","cnr_id":"comfyui-kjnodes"},"widgets_values":[true],"widgets_values_named":{"enable_fp16_accumulation":true},"color":"#222","bgcolor":"#000"},{"id":5882,"type":"MiniMaxChunkFeedForward","pos":[-550,3520],"size":[320,90],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":20434},{"localized_name":"chunks","name":"chunks","type":"INT","widget":{"name":"chunks"},"link":null},{"localized_name":"seq_threshold","name":"seq_threshold","type":"INT","widget":{"name":"seq_threshold"},"link":null}],"outputs":[{"localized_name":"model","name":"model","type":"MODEL","links":[20435]}],"properties":{"Node name for S&R":"MiniMaxChunkFeedForward","cnr_id":"comfyui-kjnodes"},"widgets_values":[2,4096],"widgets_values_named":{"chunks":2,"seq_threshold":4096},"color":"#222","bgcolor":"#000"},{"id":2047,"type":"H3SLAAttention","pos":[-140,3470],"size":[290,370],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":20435},{"localized_name":"sparsity_ratio","name":"sparsity_ratio","type":"FLOAT","widget":{"name":"sparsity_ratio"},"link":null},{"localized_name":"block_size","name":"block_size","type":"COMBO","widget":{"name":"block_size"},"link":null},{"localized_name":"min_seq_len","name":"min_seq_len","shape":7,"type":"INT","widget":{"name":"min_seq_len"},"link":null},{"localized_name":"dense_last_steps","name":"dense_last_steps","shape":7,"type":"INT","widget":{"name":"dense_last_steps"},"link":null},{"localized_name":"protect_audio","name":"protect_audio","shape":7,"type":"BOOLEAN","widget":{"name":"protect_audio"},"link":null},{"localized_name":"enabled","name":"enabled","shape":7,"type":"BOOLEAN","widget":{"name":"enabled"},"link":null},{"localized_name":"dense_steps","name":"dense_steps","shape":7,"type":"STRING","widget":{"name":"dense_steps"},"link":null},{"localized_name":"dense_backend","name":"dense_backend","shape":7,"type":"COMBO","widget":{"name":"dense_backend"},"link":null},{"localized_name":"disable_fp16_accum","name":"disable_fp16_accum","shape":7,"type":"BOOLEAN","widget":{"name":"disable_fp16_accum"},"link":null},{"localized_name":"stabilize_motion","name":"stabilize_motion","shape":7,"type":"BOOLEAN","widget":{"name":"stabilize_motion"},"link":null},{"localized_name":"reference_protection","name":"reference_protection","shape":7,"type":"COMBO","widget":{"name":"reference_protection"},"link":null},{"localized_name":"tail_correction","name":"tail_correction","shape":7,"type":"BOOLEAN","widget":{"name":"tail_correction"},"link":null},{"localized_name":"use_int8_qk","name":"use_int8_qk","shape":7,"type":"BOOLEAN","widget":{"name":"use_int8_qk"},"link":null},{"localized_name":"engine","name":"engine","shape":7,"type":"COMBO","widget":{"name":"engine"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[928]}],"title":"1. H3 Sparse Attention (SLA)","properties":{"Node name for S&R":"H3SLAAttention","cnr_id":"plaguekind-nodes"},"widgets_values":[0.7,"64",8192,1,true,true,"0","comfy_kitchen",true,false,"Heavy Enforcement",false,true,"comfy_kitchen"],"widgets_values_named":{"sparsity_ratio":0.7,"block_size":"64","min_seq_len":8192,"dense_last_steps":1,"protect_audio":true,"enabled":true,"dense_steps":"0","dense_backend":"comfy_kitchen","disable_fp16_accum":true,"stabilize_motion":false,"reference_protection":"Heavy Enforcement","tail_correction":false,"use_int8_qk":true,"engine":"comfy_kitchen"}},{"id":2046,"type":"LoraLoaderModelOnly","pos":[210,3480],"size":[340,100],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":928},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":null},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[959]}],"title":"5. Turbo LoRA","properties":{"Node name for S&R":"LoraLoaderModelOnly","cnr_id":"comfy-core","ver":"0.31.0"},"widgets_values":["minimax_h3_turbo_v4_step600_ema.safetensors",1],"widgets_values_named":{"lora_name":"minimax_h3_turbo_v4_step600_ema.safetensors","strength_model":1},"color":"#222","bgcolor":"#000"},{"id":5893,"type":"MiniMaxH3SigmaShift","pos":[1040,3490],"size":[280,90],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":20451},{"localized_name":"shift_video","name":"shift_video","type":"FLOAT","widget":{"name":"shift_video"},"link":null},{"localized_name":"shift_audio","name":"shift_audio","type":"FLOAT","widget":{"name":"shift_audio"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[20452]}],"properties":{"Node name for S&R":"MiniMaxH3SigmaShift"},"widgets_values":[6,3],"widgets_values_named":{"shift_video":6,"shift_audio":3}},{"id":2064,"type":"H3AdaLNLoRAFix","pos":[620,3490],"size":[330,60],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":959},{"localized_name":"mode","name":"mode","type":"COMBO","widget":{"name":"mode"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[960,20451]}],"properties":{"Node name for S&R":"H3AdaLNLoRAFix"},"widgets_values":["port"],"widgets_values_named":{"mode":"port"}}],"groups":[{"id":1,"title":"1. FP16 Accumulation","bounding":[-1350,3450,330,160],"color":"#8AA","flags":{}},{"id":2,"title":"2. LowVRAM Attention","bounding":[-980,3450,380,160],"color":"#8AA","flags":{}},{"id":3,"title":"3. Chunk FeedForward","bounding":[-580,3450,380,190],"color":"#8AA","flags":{}}],"links":[{"id":20433,"origin_id":5883,"origin_slot":0,"target_id":5880,"target_slot":0,"type":"MODEL"},{"id":20434,"origin_id":5880,"origin_slot":0,"target_id":5882,"target_slot":0,"type":"MODEL"},{"id":20435,"origin_id":5882,"origin_slot":0,"target_id":2047,"target_slot":0,"type":"MODEL"},{"id":928,"origin_id":2047,"origin_slot":0,"target_id":2046,"target_slot":0,"type":"MODEL"},{"id":959,"origin_id":2046,"origin_slot":0,"target_id":2064,"target_slot":0,"type":"MODEL"},{"id":20432,"origin_id":-10,"origin_slot":0,"target_id":5883,"target_slot":0,"type":"MODEL"},{"id":20451,"origin_id":2064,"origin_slot":0,"target_id":5893,"target_slot":0,"type":"MODEL"},{"id":20452,"origin_id":5893,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"MODEL"}],"extra":{}}]},"config":{},"extra":{"frontendVersion":"1.49.6","VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true,"ds":{"scale":0.7688089380821967,"offset":[3309.5195097148758,-4112.117113512153]}},"version":0.4} |