Files
comfyui-workflows/optimized/R2V/minimax/api-workflow.json
T

27 lines
4.2 KiB
JSON

{
"92": {"inputs":{"video":["130",0],"filename_prefix":"video/MiniMax_H3","format":"auto","codec":"auto"},"class_type":"SaveVideo"},
"119": {"inputs":{"vae_name":"minimax_h3_video_vae_int8_convrot.safetensors"},"class_type":"VAELoader"},
"120": {"inputs":{"vae_name":"minimax_h3_audio_vae_fp32.safetensors"},"class_type":"VAELoader"},
"121": {"inputs":{"samples":["125",0],"vae":["120",0]},"class_type":"VAEDecodeAudio"},
"122": {"inputs":{"samples":["125",0],"vae":["119",0]},"class_type":"VAEDecode"},
"123": {"inputs":{"sampler_name":"res_multistep"},"class_type":"KSamplerSelect"},
"124": {"inputs":{"model":["127",0],"steps":8,"scheduler":"simple","denoise":1},"class_type":"BasicScheduler"},
"125": {"inputs":{"noise":["129",0],"guider":["126",0],"sampler":["123",0],"sigmas":["124",0],"latent_image":["136",1]},"class_type":"SamplerCustomAdvanced"},
"126": {"inputs":{"model":["150",0],"conditioning":["136",0]},"class_type":"BasicGuider"},
"127": {"inputs":{"unet_name":"minimax_h3_ref2va_pruned_int8_convrot.safetensors","weight_dtype":"default"},"class_type":"UNETLoader"},
"128": {"inputs":{"clip_name":"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","type":"minimax","device":"default"},"class_type":"CLIPLoader"},
"129": {"inputs":{"noise_seed":20260927},"class_type":"RandomNoise"},
"130": {"inputs":{"images":["122",0],"audio":["121",0],"fps":24,"bit_depth":8,"color_space":"sRGB","codec":"none","filename_prefix":"MiniMax/MM-R2V-51"},"class_type":"CreateVideo"},
"132": {"inputs":{"value":10},"class_type":"PrimitiveFloat","_meta":{"title":"Float (Duration)"}},
"136": {"inputs":{"clip":["128",0],"vae":["119",0],"audio_vae":["120",0],"ref_images.ref_image_0":["137",0],"prompt":["138",0],"width":960,"height":544,"length":243,"ref_image_size":"match"},"class_type":"MiniMaxH3ReferenceToVideo"},
"137": {"inputs":{"image":"reference.png"},"class_type":"LoadImage"},
"138": {"inputs":{"value":"Use Picture 1 as the sole character reference. Preserve the subject's identity, facial features, beard, skin tone, hairstyle, white cap, white clothing, tattoos, layered chains, wrist jewelry, rings, microphone, body proportions, and overall visual design.\n\nThe subject is seated comfortably on a wooden park bench in bright, warm afternoon sunlight, gently feeding small European robins with bright red-orange breasts from an open hand. The robins hop naturally on the bench and nearby grass, with one bird taking a short graceful flight toward the subject. A leafy green park surrounds them with sunlit trees, soft grass, a few wildflowers, and a softly blurred path in the background. Use clear daylight, natural warm colors, soft shadows, bright skin and fabric detail, and visible feather texture so the character and motion are easy to evaluate. The subject looks calm and engaged with the birds, making small natural movements of the eyes, head, hands, breathing, and posture. The camera makes a gentle stable cinematic push-in with subtle handheld realism. Preserve the character's identity, clothing, accessories, proportions, and the sunny park setting throughout; no identity drift, clothing changes, extra people, duplicated limbs, dark horror lighting, sudden scene changes, or exaggerated bird behavior. Grounded live-action realism, coherent lighting, stable anatomy, smooth natural motion."},"class_type":"PrimitiveStringMultiline","_meta":{"title":"Input Text (Prompt)"}},
"141": {"inputs":{"on_false":["127",0],"on_true":["145",0],"switch":["146",0]},"class_type":"ComfySwitchNode","_meta":{"title":"If/Else Switch (model)"}},
"145": {"inputs":{"model":["127",0],"lora_name":"minimax\\KJminimax_h3_ref2v_lightx2v_turbo_4step_v0.1_resized_avg_rank_20_bf16.safetensors","strength_model":1},"class_type":"LoraLoaderModelOnly"},
"146": {"inputs":{"value":true},"class_type":"PrimitiveBoolean","_meta":{"title":"Boolean (Enable Lightning LoRA)"}},
"147": {"inputs":{"model":["141",0],"sparsity_ratio":0.85,"block_size":"32"},"class_type":"H3SLAAttention"},
"148": {"inputs":{"model":["147",0],"attention":"comfy kitchen attention"},"class_type":"ModelAttentionBackend"},
"149": {"inputs":{"model":["148",0],"head_chunks":4},"class_type":"MiniMaxLowVRAMAttention"},
"150": {"inputs":{"model":["149",0],"chunks":2,"seq_threshold":4096},"class_type":"MiniMaxChunkFeedForward"}
}