{"record":{"id":"3aab3a821052b226","repo":"Comfy-Org/ComfyUI","slug":"when-model-is-minimax-hailuo-02-and-resolution-is","errorCode":null,"errorMessage":"When model is MiniMax-Hailuo-02 and resolution is 1080P, duration is limited to 6 seconds.","messagePattern":"When model is MiniMax-Hailuo-02 and resolution is 1080P, duration is limited to 6 seconds\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_minimax.py","lineNumber":396,"sourceCode":"        resolution: str = \"768P\",\n        model: str = \"MiniMax-Hailuo-02\",\n    ) -> IO.NodeOutput:\n        if first_frame_image is None:\n            validate_string(prompt_text, field_name=\"prompt_text\")\n\n        if model == \"MiniMax-Hailuo-02\" and resolution.upper() == \"1080P\" and duration != 6:\n            raise Exception(\n                \"When model is MiniMax-Hailuo-02 and resolution is 1080P, duration is limited to 6 seconds.\"\n            )\n","sourceCodeStart":378,"sourceCodeEnd":414,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_minimax.py#L378-L414","documentation":"Error \"When model is MiniMax-Hailuo-02 and resolution is 1080P, duration is limited to 6 seconds.\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_minimax.py:396 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Reduce duration to 6 seconds or lower the resolution from 1080P."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1c6d8d45b3693bfbb32385b410d813a7fd6be216","analyzedAt":"2026-08-14T19:37:18.893Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}