Comfy-Org/ComfyUI · error · ValueError
Maximum 6 reference images are allowed.
Error message
Maximum 6 reference images are allowed.
What it means
Error "Maximum 6 reference images are allowed." thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/nodes_reve.py:382
validate_string(prompt, min_length=1, max_length=2560)
if not reference_images:
raise ValueError("At least one reference image is required.")
ref_base64_list = []
for key in reference_images:
ref_base64_list.append(tensor_to_base64_string(reference_images[key]))
if len(ref_base64_list) > 6:
raise ValueError("Maximum 6 reference images are allowed.")
tts = model["test_time_scaling"]
ar = model["aspect_ratio"]
response = await sync_op_raw(View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Use at most 6 reference images.
When it happens
Trigger: Thrown at comfy_api_nodes/nodes_reve.py:382 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/f2607512ac0166e5.
Report an issue: GitHub.