Start ComfyUI automatically before queueing MiniMax jobs.
Health-check /system_stats, wait if the desktop is booting or busy, and start the host instance when it is fully offline. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,381 @@
|
||||
{
|
||||
"92": {
|
||||
"inputs": {
|
||||
"filename_prefix": "video/MiniMax_H3",
|
||||
"format": "auto",
|
||||
"codec": "auto",
|
||||
"video": [
|
||||
"105:91",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "SaveVideo",
|
||||
"_meta": {
|
||||
"title": "Save Video"
|
||||
}
|
||||
},
|
||||
"114": {
|
||||
"inputs": {
|
||||
"image": "Firefly.png"
|
||||
},
|
||||
"class_type": "LoadImage",
|
||||
"_meta": {
|
||||
"title": "Load Image"
|
||||
}
|
||||
},
|
||||
"119": {
|
||||
"inputs": {
|
||||
"upscale_method": "nearest-exact",
|
||||
"megapixels": 0.9,
|
||||
"resolution_steps": 32
|
||||
},
|
||||
"class_type": "ImageScaleToTotalPixels",
|
||||
"_meta": {
|
||||
"title": "Scale Image to Total Pixels"
|
||||
}
|
||||
},
|
||||
"120": {
|
||||
"inputs": {
|
||||
"image": [
|
||||
"119",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "GetImageSize",
|
||||
"_meta": {
|
||||
"title": "Get Image Size"
|
||||
}
|
||||
},
|
||||
"127": {
|
||||
"inputs": {
|
||||
"image": [
|
||||
"128",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "GetImageSize",
|
||||
"_meta": {
|
||||
"title": "Get Image Size"
|
||||
}
|
||||
},
|
||||
"128": {
|
||||
"inputs": {
|
||||
"upscale_method": "nearest-exact",
|
||||
"megapixels": 0.98,
|
||||
"resolution_steps": 32,
|
||||
"image": [
|
||||
"114",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ImageScaleToTotalPixels",
|
||||
"_meta": {
|
||||
"title": "Scale Image to Total Pixels"
|
||||
}
|
||||
},
|
||||
"105:11": {
|
||||
"inputs": {
|
||||
"vae_name": "minimax_h3_video_vae_fp16.safetensors"
|
||||
},
|
||||
"class_type": "VAELoader",
|
||||
"_meta": {
|
||||
"title": "Load VAE"
|
||||
}
|
||||
},
|
||||
"105:24": {
|
||||
"inputs": {
|
||||
"vae_name": "minimax_h3_audio_vae_fp32.safetensors"
|
||||
},
|
||||
"class_type": "VAELoader",
|
||||
"_meta": {
|
||||
"title": "Load VAE"
|
||||
}
|
||||
},
|
||||
"105:23": {
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"105:14",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"105:24",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEDecodeAudio",
|
||||
"_meta": {
|
||||
"title": "VAE Decode Audio"
|
||||
}
|
||||
},
|
||||
"105:10": {
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"105:14",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"105:11",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEDecode",
|
||||
"_meta": {
|
||||
"title": "VAE Decode"
|
||||
}
|
||||
},
|
||||
"105:17": {
|
||||
"inputs": {
|
||||
"sampler_name": "res_multistep"
|
||||
},
|
||||
"class_type": "KSamplerSelect",
|
||||
"_meta": {
|
||||
"title": "KSamplerSelect"
|
||||
}
|
||||
},
|
||||
"105:9": {
|
||||
"inputs": {
|
||||
"scheduler": "simple",
|
||||
"steps": [
|
||||
"105:123",
|
||||
0
|
||||
],
|
||||
"denoise": 1,
|
||||
"model": [
|
||||
"105:122",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "BasicScheduler",
|
||||
"_meta": {
|
||||
"title": "BasicScheduler"
|
||||
}
|
||||
},
|
||||
"105:14": {
|
||||
"inputs": {
|
||||
"noise": [
|
||||
"105:15",
|
||||
0
|
||||
],
|
||||
"guider": [
|
||||
"105:16",
|
||||
0
|
||||
],
|
||||
"sampler": [
|
||||
"105:17",
|
||||
0
|
||||
],
|
||||
"sigmas": [
|
||||
"105:9",
|
||||
0
|
||||
],
|
||||
"latent_image": [
|
||||
"105:104",
|
||||
1
|
||||
]
|
||||
},
|
||||
"class_type": "SamplerCustomAdvanced",
|
||||
"_meta": {
|
||||
"title": "SamplerCustomAdvanced"
|
||||
}
|
||||
},
|
||||
"105:16": {
|
||||
"inputs": {
|
||||
"model": [
|
||||
"105:122",
|
||||
0
|
||||
],
|
||||
"conditioning": [
|
||||
"105:104",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "BasicGuider",
|
||||
"_meta": {
|
||||
"title": "Basic Guider"
|
||||
}
|
||||
},
|
||||
"105:6": {
|
||||
"inputs": {
|
||||
"unet_name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
|
||||
"weight_dtype": "default"
|
||||
},
|
||||
"class_type": "UNETLoader",
|
||||
"_meta": {
|
||||
"title": "Load Diffusion Model"
|
||||
}
|
||||
},
|
||||
"105:13": {
|
||||
"inputs": {
|
||||
"clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
|
||||
"type": "minimax",
|
||||
"device": "default"
|
||||
},
|
||||
"class_type": "CLIPLoader",
|
||||
"_meta": {
|
||||
"title": "Load CLIP"
|
||||
}
|
||||
},
|
||||
"105:15": {
|
||||
"inputs": {
|
||||
"noise_seed": 757358688076805
|
||||
},
|
||||
"class_type": "RandomNoise",
|
||||
"_meta": {
|
||||
"title": "RandomNoise"
|
||||
}
|
||||
},
|
||||
"105:91": {
|
||||
"inputs": {
|
||||
"fps": 24,
|
||||
"bit_depth": 8,
|
||||
"images": [
|
||||
"105:10",
|
||||
0
|
||||
],
|
||||
"audio": [
|
||||
"105:23",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "CreateVideo",
|
||||
"_meta": {
|
||||
"title": "Create Video"
|
||||
}
|
||||
},
|
||||
"105:104": {
|
||||
"inputs": {
|
||||
"prompt": "",
|
||||
"width": [
|
||||
"127",
|
||||
0
|
||||
],
|
||||
"height": [
|
||||
"127",
|
||||
1
|
||||
],
|
||||
"length": [
|
||||
"105:107",
|
||||
1
|
||||
],
|
||||
"clip": [
|
||||
"105:13",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"105:11",
|
||||
0
|
||||
],
|
||||
"first_frame": [
|
||||
"128",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "MiniMaxH3ImageToVideo",
|
||||
"_meta": {
|
||||
"title": "MiniMax H3 Image to Video"
|
||||
}
|
||||
},
|
||||
"105:107": {
|
||||
"inputs": {
|
||||
"expression": "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17",
|
||||
"values.a": [
|
||||
"105:111",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ComfyMathExpression",
|
||||
"_meta": {
|
||||
"title": "Math Expression"
|
||||
}
|
||||
},
|
||||
"105:111": {
|
||||
"inputs": {
|
||||
"value": 10
|
||||
},
|
||||
"class_type": "PrimitiveFloat",
|
||||
"_meta": {
|
||||
"title": "Float (duration)"
|
||||
}
|
||||
},
|
||||
"105:121": {
|
||||
"inputs": {
|
||||
"lora_name": "minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors",
|
||||
"strength_model": 1,
|
||||
"model": [
|
||||
"105:6",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"_meta": {
|
||||
"title": "Load LoRA"
|
||||
}
|
||||
},
|
||||
"105:122": {
|
||||
"inputs": {
|
||||
"switch": [
|
||||
"105:126",
|
||||
0
|
||||
],
|
||||
"on_false": [
|
||||
"105:6",
|
||||
0
|
||||
],
|
||||
"on_true": [
|
||||
"105:121",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ComfySwitchNode",
|
||||
"_meta": {
|
||||
"title": "If/Else Switch (Model)"
|
||||
}
|
||||
},
|
||||
"105:123": {
|
||||
"inputs": {
|
||||
"switch": [
|
||||
"105:126",
|
||||
0
|
||||
],
|
||||
"on_false": [
|
||||
"105:124",
|
||||
0
|
||||
],
|
||||
"on_true": [
|
||||
"105:125",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ComfySwitchNode",
|
||||
"_meta": {
|
||||
"title": "If/Else Switch (Steps)"
|
||||
}
|
||||
},
|
||||
"105:124": {
|
||||
"inputs": {
|
||||
"value": 20
|
||||
},
|
||||
"class_type": "PrimitiveInt",
|
||||
"_meta": {
|
||||
"title": "Int"
|
||||
}
|
||||
},
|
||||
"105:125": {
|
||||
"inputs": {
|
||||
"value": 8
|
||||
},
|
||||
"class_type": "PrimitiveInt",
|
||||
"_meta": {
|
||||
"title": "Int"
|
||||
}
|
||||
},
|
||||
"105:126": {
|
||||
"inputs": {
|
||||
"value": false
|
||||
},
|
||||
"class_type": "PrimitiveBoolean",
|
||||
"_meta": {
|
||||
"title": "Boolean (Enable Lightning LoRA)"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user