Comfy-Org/ComfyUI · error · ValueError

The source video has {frame_count} frames. Regeneration acce

Error message

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).

What it means

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.

Source

Thrown at comfy_api_nodes/nodes_minimax.py:1379

                "be used as a source."
            )
        try:
            frame_count = video.get_frame_count()
        except Exception:
            frame_count = 0
        if frame_count and (frame_count < 107 or frame_count > 362 or (frame_count - 107) % 17):
            raise ValueError(
                f"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)."

View on GitHub (pinned to 1c6d8d45b3)

Solutions

  1. Use an unmodified MiniMax H3 output whose frame count is 107 to 362 in steps of 17.

When it happens

Trigger: Thrown at comfy_api_nodes/nodes_minimax.py:1379 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Comfy-Org/ComfyUI@1c6d8d45b3 (2026-08-14). Data as JSON: /api/errors/ca75dd91e24f6f42. Report an issue: GitHub.