Comfy-Org/ComfyUI · error · ValueError
Total reference video duration is {total_video_duration:.1f}
Error message
Total reference video duration is {total_video_duration:.1f}s. Maximum is 15 seconds. What it means
Error "Total reference video duration is {total_video_duration:.1f}s. Maximum is 15 seconds." thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/nodes_minimax.py:884
dur = video.get_duration()
except Exception:
continue
if dur < 1.8:
raise ValueError(f"Reference video {i} is too short: {dur:.1f}s. Minimum duration is 2 seconds.")
total_video_duration += dur
if total_video_duration > 15.1:
raise ValueError(
f"Total reference video duration is {total_video_duration:.1f}s. Maximum is 15 seconds."
)
View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Reduce the total reference video duration to 15 seconds or less.
When it happens
Trigger: Thrown at comfy_api_nodes/nodes_minimax.py:884 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/9a95b8b3259561e9.
Report an issue: GitHub.