{"record":{"id":"2e48d84577d3a00b","repo":"Comfy-Org/ComfyUI","slug":"text-style-prompt-and-image-style-cannot-be-used-a","errorCode":null,"errorMessage":"text_style_prompt and image_style cannot be used at the same time","messagePattern":"text_style_prompt and image_style cannot be used at the same time","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_meshy.py","lineNumber":781,"sourceCode":"        meshy_task_id: str,\n        enable_original_uv: bool,\n        pbr: bool,\n        text_style_prompt: str,\n        image_style: Input.Image | None = None,\n    ) -> IO.NodeOutput:\n        if text_style_prompt and image_style is not None:\n            raise ValueError(\"text_style_prompt and image_style cannot be used at the same time\")\n        if not text_style_prompt and image_style is None:\n            raise ValueError(\"Either text_style_prompt or image_style is required\")\n        image_style_url = None","sourceCodeStart":763,"sourceCodeEnd":799,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_meshy.py#L763-L799","documentation":"Error \"text_style_prompt and image_style cannot be used at the same time\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_meshy.py:781 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use either text_style_prompt or image_style, not both."],"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"}