Comfy-Org/ComfyUI · error · ValueError
texture_prompt and texture_image cannot be used at the same
Error message
texture_prompt and texture_image cannot be used at the same time
What it means
Error "texture_prompt and texture_image cannot be used at the same time" thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/nodes_meshy.py:202
model: str,
meshy_task_id: str,
enable_pbr: bool,
texture_prompt: str,
texture_image: Input.Image | None = None,
) -> IO.NodeOutput:
if texture_prompt and texture_image is not None:
raise ValueError("texture_prompt and texture_image cannot be used at the same time")
texture_image_url = None
if texture_prompt:
validate_string(texture_prompt, field_name="texture_prompt", max_length=600)View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Use either texture_prompt or texture_image, not both.
When it happens
Trigger: Thrown at comfy_api_nodes/nodes_meshy.py:202 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/e8918985f5e7d4a7.
Report an issue: GitHub.