{"record":{"id":"970d538ecea29c26","repo":"Comfy-Org/ComfyUI","slug":"unknown-model-model-id","errorCode":null,"errorMessage":"Unknown model: {model_id}","messagePattern":"Unknown model: (.+?)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_openai.py","lineNumber":863,"sourceCode":"            if not 655_360 <= total_pixels <= 8_294_400:\n                raise ValueError(\n                    f\"Custom resolution total pixels must be between 655,360 and 8,294,400, got {total_pixels}\"\n                )\n            size = f\"{custom_width}x{custom_height}\"\n\n        if model_id not in (\"gpt-image-1\", \"gpt-image-1.5\", \"gpt-image-2\"):\n            raise ValueError(f\"Unknown model: {model_id}\")\n\n        if image_tensors:\n            flat: list[torch.Tensor] = []","sourceCodeStart":845,"sourceCodeEnd":881,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_openai.py#L845-L881","documentation":"Error \"Unknown model: {model_id}\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_openai.py:863 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Select a supported OpenAI model id."],"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"}