{"record":{"id":"c5a8af826ed642c3","repo":"Comfy-Org/ComfyUI","slug":"ideogram-v3-image-editing-requires-both-an-image-a","errorCode":null,"errorMessage":"Ideogram V3 image editing requires both an image AND a mask","messagePattern":"Ideogram V3 image editing requires both an image AND a mask","errorType":"validation","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_ideogram.py","lineNumber":364,"sourceCode":"                files=files,\n                content_type=\"multipart/form-data\",\n                max_retries=1,\n            )\n\n        elif image is not None or mask is not None:\n            # If only one of image or mask is provided, raise an error\n            raise Exception(\"Ideogram V3 image editing requires both an image AND a mask\")\n        else:\n            # Create generation request\n            gen_request = IdeogramV3Request(","sourceCodeStart":346,"sourceCodeEnd":382,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_ideogram.py#L346-L382","documentation":"Error \"Ideogram V3 image editing requires both an image AND a mask\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_ideogram.py:364 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide both an image and a mask for Ideogram V3 editing."],"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"}