Comfy-Org / Comfy-Org/ComfyUI

Prompt execution failed

Open
#11,048 1 comment 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

# ComfyUI Error Report
## Error Details
- **Node ID:** N/A
- **Node Type:** N/A
- **Exception Type:** Prompt execution failed
- **Exception Message:** Prompt outputs failed validation:
LoadImage:
- Custom validation failed for node: image - Invalid image file: image_flux2_input_image.png
## Stack Trace
```
Error: Prompt execution failed
at ComfyApi.queuePrompt (http://127.0.0.1:8001/assets/index--PH2IHOc.js:4:5402)
at async PromptService.api.queuePrompt (http://127.0.0.1:8001/rgthree/common/prompt_service.js:88:28)
at async ComfyApp.queuePrompt (http://127.0.0.1:8001/assets/index--PH2IHOc.js:131:17364)
at async app.queuePrompt (http://127.0.0.1:8001/extensions/rgthree-comfy/rgthree.js:478:24)
at async Proxy.function (http://127.0.0.1:8001/assets/GraphView-C5BS5-5e.js:13:63237)
at async http://127.0.0.1:8001/assets/index--PH2IHOc.js:60:16673
at async Proxy.execute (http://127.0.0.1:8001/assets/index--PH2IHOc.js:60:35905)
at async handleClick (http://127.0.0.1:8001/assets/GraphView-C5BS5-5e.js:8:111960)
```
## System Information
- **ComfyUI Version:** 0.3.76
- **Arguments:** C:\Users\ASS\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\main.py --user-directory C:\Users\ASS\Documents\ComfyUI\user --input-directory C:\Users\ASS\Documents\ComfyUI\input --output-directory C:\Users\ASS\Documents\ComfyUI\output --front-end-root C:\Users\ASS\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app --base-directory C:\Users\ASS\Documents\ComfyUI --extra-model-paths-config C:\Users\ASS\AppData\Roaming\ComfyUI\extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8001
- **OS:** nt
- **Python Version:** 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.7.0+cu128
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 2060 SUPER : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 8589475840
- **VRAM Free:** 7497318400
- **Torch VRAM Total:** 0
- **Torch VRAM Free:** 0

## Logs
```
2025-12-02T20:46:16.232737 - Adding extra search path custom_nodes C:\Users\ASS\Documents\ComfyUI\custom_nodes
2025-12-02T20:46:16.232737 - Adding extra search path download_model_base C:\Users\ASS\Documents\ComfyUI\models
2025-12-02T20:46:16.232737 - Adding extra search path custom_nodes C:\Users\ASS\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes
2025-12-02T20:46:16.232737 - Setting output directory to: C:\Users\ASS\Documents\ComfyUI\output
2025-12-02T20:46:16.232737 - Setting input directory to: C:\Users\ASS\Documents\ComfyUI\input
2025-12-02T20:46:16.232737 - Setting user directory to: C:\Users\ASS\Documents\ComfyUI\user
2025-12-02T20:46:16.980333 - [START] Security scan2025-12-02T20:46:16.980333 -
2025-12-02T20:46:18.114444 - [DONE] Security scan2025-12-02T20:46:18.114444 -
2025-12-02T20:46:18.248511 - ## ComfyUI-Manager: installing dependencies done.2025-12-02T20:46:18.248511 -
2025-12-02T20:46:18.248511 - ** ComfyUI startup time:2025-12-02T20:46:18.248511 - 2025-12-02T20:46:18.248511 - 2025-12-02 20:46:18.2482025-12-02T20:46:18.248511 -
2025-12-02T20:46:18.248511 - ** Platform:2025-12-02T20:46:18.248511 - 2025-12-02T20:46:18.248511 - Windows2025-12-02T20:46:18.248511 -
2025-12-02T20:46:18.248511 - ** Python version:2025-12-02T20:46:18.248511 - 2025-12-02T20:46:18.248511 - 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]2025-12-02T20:46:18.248511 -
2025-12-02T20:46:18.248511 - ** Python executable:2025-12-02T20:46:18.248511 - 2025-12-02T20:46:18.248511 - C:\Users\ASS\Documents\ComfyUI\.venv\Scripts\python.exe2025-12-02T20:46:18.248511 -
2025-12-02T20:46:18.248511 - ** ComfyUI Path:2025-12-02T20:46:18.248511 - 2025-12-02T20:46:18.248511 - C:\Users\ASS\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI2025-12-02T20:46:18.248511 -
2025-12-02T20:46:18.249509 - ** ComfyUI Base Folder Path:2025-12-02T20:46:18.249509 - 2025-12-02T20:46:18.249509 - C:\Users\ASS\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI2025-12-02T20:46:18.249509 -
2025-12-02T20:46:18.249509 - ** User directory:2025-12-02T20:46:18.249509 - 2025-12-02T20:46:18.249509 - C:\Users\ASS\Documents\ComfyUI\user2025-12-02T20:46:18.249509 -
2025-12-02T20:46:18.249509 - ** ComfyUI-Manager config path:2025-12-02T20:46:18.249509 - 2025-12-02T20:46:18.249509 - C:\Users\ASS\Documents\ComfyUI\user\default\ComfyUI-Manager\config.ini2025-12-02T20:46:18.249509 -
2025-12-02T20:46:18.249509 - ** Log path:2025-12-02T20:46:18.249509 - 2025-12-02T20:46:18.249509 - C:\Users\ASS\Documents\ComfyUI\user\comfyui.log2025-12-02T20:46:18.249509 -
2025-12-02T20:46:19.676772 - [ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.
2025-12-02T20:46:19.677772 -
Prestartup times for custom nodes:
2025-12-02T20:46:19.677772 - 3.4 seconds: C:\Users\ASS\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2025-12-02T20:46:19.677772 -
2025-12-02T20:46:31.136461 - Checkpoint files will always be loaded safely.
2025-12-02T20:46:31.248031 - Total VRAM 8192 MB, total RAM 32691 MB
2025-12-02T20:46:31.248031 - pytorch version: 2.7.0+cu128
2025-12-02T20:46:31.249031 - Set vram state to: NORMAL_VRAM
2025-12-02T20:46:31.249031 - Device: cuda:0 NVIDIA GeForce RTX 2060 SUPER : cudaMallocAsync
2025-12-02T20:46:31.271542 - Using async weight offloading with 2 streams
2025-12-02T20:46:31.271542 - Enabled pinned memory 14711.0
2025-12-02T20:46:33.106043 - Using pytorch attention
2025-12-02T20:46:35.496211 - Python version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
2025-12-02T20:46:35.496211 - ComfyUI version: 0.3.76
2025-12-02T20:46:35.536237 - [Prompt Server] web root: C:\Users\ASS\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app
2025-12-02T20:46:36.286265 - Total VRAM 8192 MB, total RAM 32691 MB
2025-12-02T20:46:36.286265 - pytorch version: 2.7.0+cu128
2025-12-02T20:46:36.287264 - Set vram state to: NORMAL_VRAM
2025-12-02T20:46:36.287264 - Device: cuda:0 NVIDIA GeForce RTX 2060 SUPER : cudaMallocAsync
2025-12-02T20:46:36.307300 - Using async weight offloading with 2 streams
2025-12-02T20:46:36.307300 - Enabled pinned memory 14711.0
2025-12-02T20:46:38.761799 - no module 'xformers'. Processing without...2025-12-02T20:46:38.761799 -
2025-12-02T20:46:38.764317 - no module 'xformers'. Processing without...2025-12-02T20:46:38.764317 -
2025-12-02T20:46:39.666779 - Warning: Could not load sageattention: No module named 'sageattention'
2025-12-02T20:46:39.666779 - sageattention package is not installed, sageattention will not be available
2025-12-02T20:46:40.271670 - WanVideoWrapper WARNING: FantasyPortrait nodes not available due to error in importing them: No module named 'onnx'
2025-12-02T20:46:40.322693 - ------------------------------------------2025-12-02T20:46:40.322693 -
2025-12-02T20:46:40.322693 - Comfyroll Studio v1.76 :  175 Nodes Loaded2025-12-02T20:46:40.322693 -
2025-12-02T20:46:40.322693 - ------------------------------------------2025-12-02T20:46:40.322693 -
2025-12-02T20:46:40.322693 - ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md2025-12-02T20:46:40.322693 -
2025-12-02T20:46:40.322693 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2025-12-02T20:46:40.322693 -
2025-12-02T20:46:40.322693 - ------------------------------------------2025-12-02T20:46:40.322693 -
2025-12-02T20:46:40.368717 -
2025-12-02T20:46:40.368717 - [rgthree-comfy] Loaded 48 fantastic nodes. 🎉2025-12-02T20:46:40.368717 -
2025-12-02T20:46:40.368717 -
2025-12-02T20:46:40.368717 - [rgthree-comfy] ComfyUI's new Node 2.0 rendering may be incompatible with some rgthree-comfy nodes and features, breaking some rendering as well as losing the ability to access a node's properties (a vital part of many nodes). It also appears to run MUCH more slowly spiking CPU usage and causing jankiness and unresponsiveness, especially with large workflows. Personally I am not planning to use the new Nodes 2.0 and, unfortunately, am not able to invest the time to investigate and overhaul rgthree-comfy where needed. If you have issues when Nodes 2.0 is enabled, I'd urge you to switch it off as well and join me in hoping ComfyUI is not planning to deprecate the existing, stable canvas rendering all together.
2025-12-02T20:46:40.368717 -
2025-12-02T20:46:40.378227 - ### Loading: ComfyUI-Manager (V3.36)
2025-12-02T20:46:40.379227 - [ComfyUI-Manager] network_mode: public
2025-12-02T20:46:40.380228 - ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
2025-12-02T20:46:40.393743 -
Import times for custom nodes:
2025-12-02T20:46:40.394743 - 0.0 seconds: C:\Users\ASS\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
2025-12-02T20:46:40.394743 - 0.0 seconds: C:\Users\ASS\Documents\ComfyUI\custom_nodes\ComfyUI_JPS-Nodes
2025-12-02T20:46:40.394743 - 0.0 seconds: C:\Users\ASS\Documents\ComfyUI\custom_nodes\comfy-plasma
2025-12-02T20:46:40.395742 - 0.0 seconds: C:\Users\ASS\Documents\ComfyUI\custom_nodes\comfyui_essentials
2025-12-02T20:46:40.395742 - 0.0 seconds: C:\Users\ASS\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2025-12-02T20:46:40.395742 - 0.0 seconds: C:\Users\ASS\Documents\ComfyUI\custom_nodes\rgthree-comfy
2025-12-02T20:46:40.396742 - 0.0 seconds: C:\Users\ASS\Documents\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2025-12-02T20:46:40.396742 - 0.0 seconds: C:\Users\ASS\Documents\ComfyUI\custom_nodes\comfyui-kjnodes
2025-12-02T20:46:40.396742 - 0.1 seconds: C:\Users\ASS\Documents\ComfyUI\custom_nodes\comfyui-videohelpersuite
2025-12-02T20:46:40.396742 - 1.4 seconds: C:\Users\ASS\Documents\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper
2025-12-02T20:46:40.397741 - 1.7 seconds: C:\Users\ASS\Documents\ComfyUI\custom_nodes\comfyui-supir
2025-12-02T20:46:40.397741 -
2025-12-02T20:46:40.629523 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-12-02T20:46:40.778077 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-12-02T20:46:40.878108 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-12-02T20:46:40.896618 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-12-02T20:46:40.899618 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-12-02T20:46:40.934632 - Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
2025-12-02T20:46:41.007012 - Starting server

2025-12-02T20:46:41.008013 - To see the GUI go to: http://127.0.0.1:8001
2025-12-02T20:46:44.843821 - comfyui-frontend-package not found in requirements.txt
2025-12-02T20:46:45.678069 - FETCH ComfyRegistry Data: 5/1092025-12-02T20:46:45.678069 -
2025-12-02T20:46:46.026280 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/widgetInputs.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-02T20:46:46.138345 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-02T20:46:46.155344 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/groupNode.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-02T20:46:46.367454 - comfyui-frontend-package not found in requirements.txt
2025-12-02T20:46:47.163672 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/buttonGroup.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-02T20:46:47.167680 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/button.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2025-12-02T20:46:50.881363 - FETCH ComfyRegistry Data: 10/1092025-12-02T20:46:50.881363 -
2025-12-02T20:46:56.016229 - FETCH ComfyRegistry Data: 15/1092025-12-02T20:46:56.016229 -
2025-12-02T20:47:01.435304 - FETCH ComfyRegistry Data: 20/1092025-12-02T20:47:01.435304 -
2025-12-02T20:47:06.966924 - FETCH ComfyRegistry Data: 25/1092025-12-02T20:47:06.966924 -
2025-12-02T20:47:12.183481 - FETCH ComfyRegistry Data: 30/1092025-12-02T20:47:12.184485 -
2025-12-02T20:47:17.448305 - FETCH ComfyRegistry Data: 35/1092025-12-02T20:47:17.448305 -
2025-12-02T20:47:23.112454 - FETCH ComfyRegistry Data: 40/1092025-12-02T20:47:23.112454 -
2025-12-02T20:47:28.639012 - FETCH ComfyRegistry Data: 45/1092025-12-02T20:47:28.639012 -
2025-12-02T20:47:33.851410 - FETCH ComfyRegistry Data: 50/1092025-12-02T20:47:33.851410 -
2025-12-02T20:47:38.262812 - got prompt
2025-12-02T20:47:38.483122 - Failed to validate prompt for output 9:
2025-12-02T20:47:38.484122 - * LoadImage 46:
2025-12-02T20:47:38.484122 - - Custom validation failed for node: image - Invalid image file: image_flux2_input_image.png
2025-12-02T20:47:38.484122 - Output will be ignored
2025-12-02T20:47:38.484122 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-12-02T20:47:39.200605 - FETCH ComfyRegistry Data: 55/1092025-12-02T20:47:39.200605 -
2025-12-02T20:47:44.693259 - FETCH ComfyRegistry Data: 60/1092025-12-02T20:47:44.693259 -
2025-12-02T20:47:49.920170 - FETCH ComfyRegistry Data: 65/1092025-12-02T20:47:49.920170 -
2025-12-02T20:47:56.206379 - FETCH ComfyRegistry Data: 70/1092025-12-02T20:47:56.206379 -
2025-12-02T20:48:01.410338 - FETCH ComfyRegistry Data: 75/1092025-12-02T20:48:01.410338 -
2025-12-02T20:48:07.052378 - FETCH ComfyRegistry Data: 80/1092025-12-02T20:48:07.052378 -
2025-12-02T20:48:12.374146 - FETCH ComfyRegistry Data: 85/1092025-12-02T20:48:12.374146 -
2025-12-02T20:48:17.609402 - FETCH ComfyRegistry Data: 90/1092025-12-02T20:48:17.609402 -
2025-12-02T20:48:22.988426 - FETCH ComfyRegistry Data: 95/1092025-12-02T20:48:22.989428 -
2025-12-02T20:48:28.389288 - FETCH ComfyRegistry Data: 100/1092025-12-02T20:48:28.389288 -
2025-12-02T20:48:33.684075 - FETCH ComfyRegistry Data: 105/1092025-12-02T20:48:33.684075 -
2025-12-02T20:48:38.846321 - FETCH ComfyRegistry Data [DONE]2025-12-02T20:48:38.846321 -
2025-12-02T20:48:39.098496 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-12-02T20:48:39.141033 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-12-02T20:48:39.141033 - 2025-12-02T20:48:39.634313 - [DONE]2025-12-02T20:48:39.634313 -
2025-12-02T20:48:39.795428 - [ComfyUI-Manager] All startup tasks have been completed.
2025-12-02T20:53:53.580817 - got prompt
2025-12-02T20:53:53.582816 - Failed to validate prompt for output 9:
2025-12-02T20:53:53.582816 - * LoadImage 46:
2025-12-02T20:53:53.582816 - - Custom validation failed for node: image - Invalid image file: image_flux2_input_image.png
2025-12-02T20:53:53.582816 - Output will be ignored
2025-12-02T20:53:53.582816 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}

```
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
```
{"id":"7c048efb-a059-44e2-970a-43e1eb472d0d","revision":0,"last_node_id":66,"last_link_id":163,"nodes":[{"id":48,"type":"Flux2Scheduler","pos":[-190.00002723180478,277.9999890326585],"size":[266.8125,180],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":136},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":138}],"outputs":[{"localized_name":"SIGMAS","name":"SIGMAS","type":"SIGMAS","links":[132]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"Flux2Scheduler"},"widgets_values":[20,1248,832]},{"id":22,"type":"BasicGuider","pos":[-190.00002723180478,50.00000457894669],"size":[266.8125,102],"flags":{},"order":21,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":133},{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":153}],"outputs":[{"localized_name":"GUIDER","name":"GUIDER","type":"GUIDER","slot_index":0,"links":[30]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"BasicGuider"},"widgets_values":[]},{"id":40,"type":"VAEEncode","pos":[-485.1038647384946,1022.0000131824881],"size":[225,42],"flags":{"collapsed":true},"order":16,"mode":4,"inputs":[{"localized_name":"pixels","name":"pixels","type":"IMAGE","link":122},{"localized_name":"vae","name":"vae","type":"VAE","link":120}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[121]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"VAEEncode"},"widgets_values":[]},{"id":42,"type":"LoadImage","pos":[-645.9999961392282,445.9999817374887],"size":[328.890625,412.796875],"flags":{},"order":0,"mode":4,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[123]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"LoadImage"},"widgets_values":["image_flux2_input_image.png","image"]},{"id":44,"type":"VAEEncode","pos":[-1006.0000256723295,1022.0000131824881],"size":[225,42],"flags":{"collapsed":true},"order":17,"mode":0,"inputs":[{"localized_name":"pixels","name":"pixels","type":"IMAGE","link":126},{"localized_name":"vae","name":"vae","type":"VAE","link":127}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[125]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"VAEEncode"},"widgets_values":[]},{"id":39,"type":"ReferenceLatent","pos":[-554.359339590377,1069.9999433497426],"size":[237.25,102],"flags":{},"order":20,"mode":4,"inputs":[{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":145},{"localized_name":"latent","name":"latent","shape":7,"type":"LATENT","link":121}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[153]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"ReferenceLatent"},"widgets_values":[]},{"id":26,"type":"FluxGuidance","pos":[-622.0000310556011,229.99997982559069],"size":[380.875,112],"flags":{},"order":18,"mode":0,"inputs":[{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":41},{"localized_name":"guidance","name":"guidance","type":"FLOAT","widget":{"name":"guidance"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[144]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"FluxGuidance"},"widgets_values":[4],"color":"#233","bgcolor":"#355"},{"id":16,"type":"KSamplerSelect","pos":[-190.00002723180478,158.00000553489576],"size":[266.8125,112],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null}],"outputs":[{"localized_name":"SAMPLER","name":"SAMPLER","type":"SAMPLER","links":[19]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},{"id":43,"type":"ReferenceLatent","pos":[-1089.999982504838,1069.9999433497426],"size":[237.25,102],"flags":{},"order":19,"mode":0,"inputs":[{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":144},{"localized_name":"latent","name":"latent","shape":7,"type":"LATENT","link":125}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[145]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"ReferenceLatent"},"widgets_values":[]},{"id":50,"type":"PrimitiveNode","pos":[-190.00002723180478,529.9999385699973],"size":[252,134.390625],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","widget":{"name":"width"},"links":[135,136]}],"title":"width","properties":{"Run widget replace on values":false},"widgets_values":[1248,"fixed"],"color":"#223","bgcolor":"#335"},{"id":51,"type":"PrimitiveNode","pos":[-190.00002723180478,674.0000452310139],"size":[252,134.390625],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","widget":{"name":"height"},"links":[137,138]}],"title":"height","properties":{"Run widget replace on values":false},"widgets_values":[832,"fixed"],"color":"#223","bgcolor":"#335"},{"id":10,"type":"VAELoader","pos":[-1165.8193186560375,242.00004140721762],"size":[357.8125,112],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","slot_index":0,"links":[120,127,159]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"VAELoader","models":[{"name":"flux2-vae.safetensors","url":"https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors","directory":"vae"}]},"widgets_values":["flux2-vae.safetensors"]},{"id":47,"type":"EmptyFlux2LatentImage","pos":[133.99997563604256,566.0000442750647],"size":[324,180],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":135},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":137},{"localized_name":"batch_size","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[161]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"EmptyFlux2LatentImage"},"widgets_values":[1248,832,1]},{"id":13,"type":"SamplerCustomAdvanced","pos":[110.000010552415,-81.9999614606296],"size":[326.828125,185.4375],"flags":{},"order":22,"mode":0,"inputs":[{"localized_name":"noise","name":"noise","type":"NOISE","link":37},{"localized_name":"guider","name":"guider","type":"GUIDER","link":30},{"localized_name":"sampler","name":"sampler","type":"SAMPLER","link":19},{"localized_name":"sigmas","name":"sigmas","type":"SIGMAS","link":132},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":161}],"outputs":[{"localized_name":"output","name":"output","type":"LATENT","slot_index":0,"links":[24]},{"localized_name":"denoised_output","name":"denoised_output","type":"LATENT","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"SamplerCustomAdvanced"},"widgets_values":[]},{"id":41,"type":"ImageScaleToTotalPixels","pos":[-641.103795861698,866.0000820592848],"size":[324,146],"flags":{},"order":11,"mode":4,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":123},{"localized_name":"upscale_method","name":"upscale_method","type":"COMBO","widget":{"name":"upscale_method"},"link":null},{"localized_name":"megapixels","name":"megapixels","type":"FLOAT","widget":{"name":"megapixels"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[122]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"ImageScaleToTotalPixels"},"widgets_values":["lanczos",1]},{"id":8,"type":"VAEDecode","pos":[-166.00006214817768,866.0000820592848],"size":[252,102],"flags":{},"order":23,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":24},{"localized_name":"vae","name":"vae","type":"VAE","link":159}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[9]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":45,"type":"ImageScaleToTotalPixels","pos":[-1162.0000358353464,866.0000820592848],"size":[324,146],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":128},{"localized_name":"upscale_method","name":"upscale_method","type":"COMBO","widget":{"name":"upscale_method"},"link":null},{"localized_name":"megapixels","name":"megapixels","type":"FLOAT","widget":{"name":"megapixels"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[126]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"ImageScaleToTotalPixels"},"widgets_values":["lanczos",1]},{"id":60,"type":"Note","pos":[-1174.00001837716,1249.9999976361999],"size":[552,192],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Unbypass (CTRL-B) the ReferenceLatent nodes to give ref images.\n\nIf you want to add more reference images, you can add multiple reference images by following the pattern.\n\nIf you don't want any reference image, just select all ReferenceLatent nodes and then use CTRL-B to bypass them, turning the workflow into a Text to Image workflow."],"color":"#432","bgcolor":"#653"},{"id":6,"type":"CLIPTextEncode","pos":[-753.9999970951774,-93.99994400244316],"size":[516,276],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":117},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[41]}],"title":"CLIP Text Encode (Positive Prompt)","properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"CLIPTextEncode"},"widgets_values":["The woman is wearing a small pale yellow knitted beanie, with a white fabric patch on the front right, embroidered with big gray text “FLUX.2 COMFY.” Kepp the face"],"color":"#232","bgcolor":"#353"},{"id":12,"type":"UNETLoader","pos":[-1165.8193186560375,-84.4000053928803],"size":[357.8125,146],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[133]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"UNETLoader","models":[{"name":"flux2_dev_fp8mixed.safetensors","url":"https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/diffusion_models/flux2_dev_fp8mixed.safetensors","directory":"diffusion_models"}]},"widgets_values":["flux2_dev_fp8mixed.safetensors","default"]},{"id":25,"type":"RandomNoise","pos":[-190.00002723180478,-93.99994400244316],"size":[266.8125,134.390625],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"noise_seed","name":"noise_seed","type":"INT","widget":{"name":"noise_seed"},"link":null}],"outputs":[{"localized_name":"NOISE","name":"NOISE","type":"NOISE","links":[37]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"RandomNoise"},"widgets_values":[649422536169327,"randomize"]},{"id":46,"type":"LoadImage","pos":[-1162.0000358353464,433.9999991956752],"size":[328.890625,412.796875],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[128]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"LoadImage"},"widgets_values":["image_flux2_input_image.png","image"]},{"id":9,"type":"SaveImage","pos":[493.99992612933056,-142.00003224932425],"size":[1182.359375,1308.453125],"flags":{},"order":24,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":9},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.71"},"widgets_values":["Flux2"]},{"id":38,"type":"CLIPLoader","pos":[-1165.8193186560375,64.40003105301105],"size":[357.8125,180],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[117]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.71","Node name for S&R":"CLIPLoader","models":[{"name":"mistral_3_small_flux2_bf16.safetensors","url":"https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors","directory":"text_encoders"}]},"widgets_values":["mistral_3_small_flux2_bf16.safetensors","flux2","default"]},{"id":66,"type":"MarkdownNote","pos":[-1822.0000241128544,-142.00003224932425],"size":[612,720.234375],"flags":{"collapsed":false},"order":10,"mode":0,"inputs":[],"outputs":[],"title":"Model links","properties":{},"widgets_values":["We are using quantized weights in this workflow, the original flux 2 repo is [here](https://huggingface.co/black-forest-labs/FLUX.2-dev/)\n## Report issue\n\nIf you found any issues when running this workflow, [report template issue here](https://github.com/Comfy-Org/workflow_templates/issues)\n\n\n## Model links\n\n**text_encoders**\n\n- [mistral_3_small_flux2_bf16.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors)\n\n**diffusion_models**\n\n- [flux2_dev_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/diffusion_models/flux2_dev_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── mistral_3_small_flux2_bf16.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── flux2_dev_fp8mixed.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.safetensors\n```\n"],"color":"#432","bgcolor":"#653"}],"links":[[9,8,0,9,0,"IMAGE"],[19,16,0,13,2,"SAMPLER"],[24,13,0,8,0,"LATENT"],[30,22,0,13,1,"GUIDER"],[37,25,0,13,0,"NOISE"],[41,6,0,26,0,"CONDITIONING"],[117,38,0,6,0,"CLIP"],[120,10,0,40,1,"VAE"],[121,40,0,39,1,"LATENT"],[122,41,0,40,0,"IMAGE"],[123,42,0,41,0,"IMAGE"],[125,44,0,43,1,"LATENT"],[126,45,0,44,0,"IMAGE"],[127,10,0,44,1,"VAE"],[128,46,0,45,0,"IMAGE"],[132,48,0,13,3,"SIGMAS"],[133,12,0,22,0,"MODEL"],[135,50,0,47,0,"INT"],[136,50,0,48,1,"INT"],[137,51,0,47,1,"INT"],[138,51,0,48,2,"INT"],[144,26,0,43,0,"CONDITIONING"],[145,43,0,39,0,"CONDITIONING"],[153,39,0,22,1,"CONDITIONING"],[159,10,0,8,1,"VAE"],[161,47,0,13,4,"LATENT"]],"groups":[{"id":1,"title":"Step 1 - Upload models","bounding":[-1174,-178,381.81818181818176,499.23588134765623],"color":"#3f789e","font_size":24,"flags":{}},{"id":2,"title":"Custom sampler","bounding":[-202,-178,670.2431030273438,601.92],"color":"#3f789e","font_size":24,"flags":{}},{"id":3,"title":"Step 4- Image size","bounding":[-202,446,672,342.72],"color":"#3f789e","font_size":24,"flags":{}},{"id":4,"title":"Step2 - Prompt","bounding":[-766,-178,540,504],"color":"#3f789e","font_size":24,"flags":{}},{"id":5,"title":"Step 3- Reference images","bounding":[-1174,350,948,840],"color":"#3f789e","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.38610387389726264,"offset":[2213.0839620007164,802.388386775267]},"frontendVersion":"1.30.6","groupNodes":{},"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true,"workflowRendererVersion":"Vue"},"version":0.4}
```

## Additional Context
(Please add any additional context or steps to reproduce the error here)

### Actual Behavior

Prompt execution failed

### Steps to Reproduce

Prompt execution failed

### Debug Logs

```powershell
Prompt execution failed
```

### Other

Prompt execution failed

Contributor guide

Open the contributing guide

Research direction

Reproduce the prompt execution failure with LoadImage and image_flux2_input_image.png using the reported ComfyUI 0.3.76 environment. Start from the LoadImage validation path and the queuePrompt call shown in the stack trace; done means determining why the image is rejected and confirming prompt execution succeeds with the same input.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
ai, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.