Hello there and thanks for checking out this workflow!
What's new in v12? : Fixes and SubGraphs compatible with the latest ComfyUI Updates!
—Purpose—
This workflow provides a simple, solid and reliable way to efficiently inpaint images to perfection!
I hope this proves to be a useful tool to you!
—Features—
LoRA support
Batch Processing
Flexible Before/After Preview for any batch size and mask amount
Image Filter to cherry pick
Tutorial guide for nodes and settings in dedicated ►INFO boxes
—Common Issues—
ValueError: Width and height must be >= 0
→ Make sure you masked an area on the node named "Mask"
—Custom Nodes—
All of which can be installed through the ComfyUI-Manager
—Troubleshooting—
If nodes show up red (failing to load), check the 'Install Missing Custom Nodes' tab of the ComfyUI Manager for the missing node packs and install them.
Please check if all custom node packs load properly after installing, i.e. no
(IMPORT FAILED)messages next to any of them in the console upon ComfyUI startup.Always reload/drag'n'drop the original, downloaded workflow file into ComfyUI to reload an intact version of the workflow.
→ The last opened workflow that appears on startup shows a cached version of the workflow, "remembering" group nodes that failed due to missing nodes as failed, keeping them broken even after having everything installed correctly.
—Thanks—
The workflow would not be possible as is without these custom node packs. If you want to support the custom node creators, give them a ⭐ on their github repos! Thank you!
Feel free to ask any questions, share improvements or suggestions in the comment section!
Also let me know if you encounter any confusing points I can elaborate on and focus on improving for the next update!
Description
v8
- upgrade of all guides and ►INFO boxes to markdown 🎉
- merged loop processing and batch selection into main Inpainting — AIO node
- fixed a sneaky bug that could affect mask section counting
- changed seed handling from 'int' to 'number'
v8.1
- hotfix for seed generator and process selection nodes
FAQ
Comments (15)
Nice job! I'm fine with the process, but I wanted to ask a question about the tools you used to build the workflow. In particular, how could you select colors and apply them only to the title of nodes in Comfy? I have an option for colors when I right-click nodes but the color is applied to the whole node, title and background. Is it a particular extension? Thank you very much!
Hey there, glad you like it!
Yes, I had a node pack that did that, which wasn't updated anymore. So I looked for the next pack that had an implementation of colors, which was the ComfyUI-Custom-Scripts and I modified it a little by extending its coloring capabilities + some qol.
I did submit a PR to the pack, but Pythongosssss did not yet see/approve it.
https://github.com/pythongosssss/ComfyUI-Custom-Scripts/pull/433
Feel free to use and upvote it, if you like, so he will be inclined to see the importance of customization options 😄
@RedPinkRetro Woah, nice job! I should start code what I wish on my own too 😂 Pulled the PR and upvoted, hope it will get approved soon! Thank you very much
@imGazza Thank you so much! I had no choice really, as I was so used to the color customization because of the previous pack (which I also modified to do that via PR before 😅)
Absolutely! Especially expanding on some already existing things is a great way to get started I believe. Analyzing what's there and how it could be changed to do something different, in addition to consulting gpt-4o-mini 😅, it was fairly straightforward.
Especially when testing it is as easy as restarting Comfy with the changed script and see for yourself.
@RedPinkRetro It's funny because I generate images as a creative hobby to evade my regular job as a software developer and in the end I still find myself cloning repos and reading code anyways 😂 Again thank you for your answers ❤
@imGazza Maybe that's some ironic wink of fate to reignite your passion about software dev that brought you on your path 😄
And professionals like you can help hacks like me by pointing out their mistakes 😅🙏
Hi! I can't load the latest version because of two nodes:
workflow>Process Selection
workflow>Global Seed Generator
Could you tell me where they're from?
Hey there! Are you by any chance running a manually set frontend version?
I ran into this issue myself and it was caused by a bug as those two nodes have no reason to fail loading if the rest of the workflow loads.
Even restarting could lead to the Seed Generator working every other time. It was weird, but I am running frontend 1.13.4 at the moment without any issues of that sort.
Thanks, it worked!
@akvofpl Perfect!
Did it work by using the frontend version or did you refer to the hotfix? 😅
To anyone wondering how to set a custom frontend version, in my case it's:
1. navigate to the "run_nvidia_gpu.bat" file located in the root ComfyUI folder and open with any text editor
2. add
--front-end-version Comfy-Org/ComfyUI_frontend@VERSION_NUMBER
(check ComfyUI_frontend releases)
So it ends up similar to the following:
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --front-end-version Comfy-Org/[email protected]
pause
Note that it might look different on your end based on the version of ComfyUI you got and whichever further start-up arguments may be present in your case already
@RedPinkRetro I just updated requirements using pip, after that the latest frontend version installed automatically
workflow>Process Selection
workflow>Global Seed Generator
Hi! Getting above errors with new frontend version. Can you suggest alternate node to Process Selection to fix this?
Hey there, that is a weird bug someone else reported as well and I got it, too once.
But it was fixed by changing the frontend version.
Due to the ImageChooser node being deprecated as well at this point or maybe next update, I rebuilt the entire workflow and should be updating it with substantial changes shortly anyway. 🙌
For the time being you could manually change the frontend version to 1.13.4 I believe to get rid of it.
Just add the following to the run_nvidia_gpu.bat file
--front-end-version Comfy-Org/[email protected]
Didn't work. Replaced the Global Seed Generator with Seed Generator. Not sure which node could replace process selection.
@blue_zima_blue I uploaded a quick hotfix as v8.1 as a solution until I have v9 ready 👌


