{"record":{"id":"ca75dd91e24f6f42","repo":"Comfy-Org/ComfyUI","slug":"the-source-video-has-frame-count-frames-regener","errorCode":null,"errorMessage":"The source video has {frame_count} frames. Regeneration accepts unmodified MiniMax H3 outputs, whose length is 107 to 362 frames in steps of 17 (4 to 15 seconds at 24 FPS).","messagePattern":"The source video has (.+?) frames\\. Regeneration accepts unmodified MiniMax H3 outputs, whose length is 107 to 362 frames in steps of 17 \\(4 to 15 seconds at 24 FPS\\)\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_minimax.py","lineNumber":1379,"sourceCode":"                \"be used as a source.\"\n            )\n        try:\n            frame_count = video.get_frame_count()\n        except Exception:\n            frame_count = 0\n        if frame_count and (frame_count < 107 or frame_count > 362 or (frame_count - 107) % 17):\n            raise ValueError(\n                f\"The source video has {frame_count} frames. Regeneration accepts unmodified \"\n                \"MiniMax H3 outputs, whose length is 107 to 362 frames in steps of 17 \"\n                \"(4 to 15 seconds at 24 FPS).\"","sourceCodeStart":1361,"sourceCodeEnd":1397,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_minimax.py#L1361-L1397","documentation":"Error \"The source video has {frame_count} frames. Regeneration accepts unmodified MiniMax H3 outputs, whose length is 107 to 362 frames in steps of 17 (4 to 15 seconds at 24 FPS).\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_minimax.py:1379 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use an unmodified MiniMax H3 output whose frame count is 107 to 362 in steps of 17."],"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-15T22:17:37.221Z"}