ComfyUI Detailer/ADetailer Workflow
If you're having ANY issues with this workflow, please include the error log from your console when writing a comment here on this page. Chances are 99.98% i can help you with your issue - but i need the error log. And me not having to ask for it first will save you potentially hours. Chances are also high the solution to your problem is already documented in the FAQ here.
You can now support me on my Ko-Fi if you have too much money (✿◡‿◡)
Requirements for each version are listed below or can be found inside a Note in the Workflow itself.
Because of the many connections among the nodes, I highly recommend turning off the link visibility by clicking the "Toggle Link visibility" (Eye icon) in the bottom right of ComfyUI.
Description
I originally came from A1111 WebUI to ComfyUI and, honestly, a lot of things felt way more complicated than they needed to be. I couldn’t find workflows that were both visually pleasing and showed me all the important options without requiring a deep understanding of every little thing in ComfyUI.
Over a few months I learned the ins and outs of Comfy and built my own very barebones, simple workflow (v1) with one main goal: streamline the process and make it visually understandable. I released it here thinking it might help others who also want to make the jump from A1111 to Comfy.
Over the last year I’ve kept adding more and more features as people started using the workflow and requesting things. The workflow has grown a lot, but I’m still trying to keep the same ease-of-use that this whole journey started with. The main goal is still the same: give you a lot of powerful options in a layout that’s as clean, readable, and as user-friendly as ComfyUI will allow.
At this point I feel like I have a pretty solid understanding of how Comfy works, and I’ve even created my own custom nodes to add missing functionality so this workflow could match the ideas I had for it. I try to hide as much of the technical complexity as possible — but if you’re ever curious or confused about anything, please feel free to ask!
Thanks to all of your suggestions, the workflow now includes features like:
Single-image and batch generation
Automatic detailers for specific body parts
Upscaling
v-pred models
LoRAs
ControlNet
IPAdapter
Hires fix / refiner
Manual inpainting
Thank you to every single person who uses this workflow, donates Buzz, or shares images on this page.
I really appreciate you taking those extra steps to support and promote the project. ♥️
Requirements
v4.4 and above require ComfyUI version 0.3.51 or above and also need the frontend to be AT LEAST 1.24.3 or later.
v5.1 - Full List
v5.0 - Full List
v4.4 - Additions to v4.3 (IMG2IMG Only)
Otherwise same as v4-4.3 below
v4.2-4.3 - Additions to v4.1
Otherwise same as v4.1 (incl. v4) below
v4.1 - Additions to v4 (IMG2IMG Only)
Otherwise same as v4 below
v4 - Full List
v3 - v3.2 - Full List
v2.2 - Additions to v2
Otherwise same Custom-Nodes as v2 but you can remove Comfyui-ergouzi-Nodes
v2 - Full List
v1 - Full List
How to use
Since all of the different versions work differently, you should check the "How to use" Node inside of the Workflow itself.
I promise that once you read the explanation of the workflow itself, it'll click and it will be a simple plug and play experience.
It's the simplest I could've made it coming from someone who's only started using ComfyUI 4-5 months ago and had been exclusively an A1111WebUI user before.
When were what functionalitys added?
Starting from v3, ControlNet is included.
Starting from v4, IPAdapter is included.
Starting from v4.3, HiRes Fix and Dynamic prompts(wildcards) is included.
Starting from v4.4, Refiner is included.
Starting from v5.0, Manual Inpainting is included.
Any errors during execution?
If you're running into any errors during the execution of the workflow, please check the FAQ of my Guide first. The guide is written for the IMG2IMG Workflow but when issues arise that people run into frequently i'll add the solutions and what's hapenning to that FAQ section.
If you can't find the problem you're running into there - feel free to write me a comment on the model page so that i can help you and other people might benefit from it as well.
Feedback
I'd love to see your feedback or opinion on the workflow.
This is the first workflow I have ever created myself from scratch and I'd love to hear what you think of it.
If you want to do me a huge favor, you can post your results on this Model page.
I'll make sure to send some buzz your way!
Description
Important: Update all of your custom nodes and comfyui to the newest version.
The latest updates have broken some default comfy functions and this workflow version has built around them to fix these issues and implement new custom mechanics to not be dependent on comfy core stuff breaking in the future.
Added new multiline prompt node for positive and negative prompt with option to add wildcards directly through a dropdown browser
Load last generated image node replaced by a better working version i created myself, last comfyui update broke the original node (again) - this is more stable and doesn't require an already existing img in output while also respecting subfolders
changed default KSampler for hires-fix to Ultimate SD Upscale, better results even at higher denoise strengths due to tiled processing (hiresfix takes slightly longer, better results)
fixed a bug where the image saved didn't have the processed negative prompts if wildcards were used in the negative prompts
removed wlsh custom_node dependency and replaces upscaling with my own upscaling that works the same but uses less vram
Switched out some boolean switches for lazy switches for better performance
Removal of Crystools nodes as they are mostly obsolete and can be replaced by core/kj nodes
now saves positive & negative prompt of inpainting when in use, including lora's used
fixed bug that threw an error when only upscaling an image, caused by a missing non-bypassed fallback string for this specific scenario
fixed hires-fix bug on medium denoise strength due to controlnet pos/neg clip being used during hires-fixing
fixed bug introduced with a comfyui update where the assets in comfy wouldn't show the saved image but the example.png instead
removed old historical link and node data from json that is no longer in use (no functionality or bugs fixed, simply changes for the workflow validator from comfy and rgthree)
FAQ
Comments (159)
Firstly I have to say, the canvas and workflows you have created are pure art by themselves. Secondly I have a question. Are the nodes you have as requirements in your latest update (16th March 2026) all available in the comfyui manager or will I need to search dif areas on the Web? Keep at it you absolute star!
Hey @Feral_Signal_Studios,
Thanks so much for your Kind words! I really appreciate them 🥰
The custom nodes required for the workflow are all available through the comfy manager, they are mostly very popular custom nodes.
Just go into the Manager and click on „Install missing custom nodes“, just don‘t download the Dummy Nodes - They have a conflict with the naming of the Advanced ControlNet.
@vslinx unfortunately i can only get most of the nodes needed with only one exception, comfyroll studio. For some reason whenever i try to install the comfyroll studio node pack it just doesnt do anything at all. Having issues with it today. however i did ruin my comfyui installation a ways back now and maybe its something to do with that. ill keep troubleshooting myself but any tips or tricks you might have that could help me out a bit if you have the time would be much appreciated.
@Feral_Signal_Studios that's weird, i checked all of the nodes yesterday again after your comment and saw that comfyroll was able to be installed wihtout any issues through the comfy manager. Are you getting any specific errors?
Worst case you should be able to manually install the node by putting it into your comfyui/custom_nodes folder:
https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
(download either via git or by clicking on code -> download zip and then moving the contents)
@vslinx no unfortunately no specific errors pop up or anything, it seems to run the install like everything is fine, tells me to restart comfyui for the installed nodes to take root and then it's like they were never installed. Maybe it's an issue with a conflicting or deprecated node group or again it might be something to do with me screwing up my install from a while back. I was hoping to do this through the manager to save any screw ups again but I'll have a go with the git hub repository and manually install. I will let you know how it goes, thank you for your patience.
@Feral_Signal_Studios that sucks :/
i have checked really quick and there are no known conflicting node packages, so unless you have installed some stuff manually and that is not available through the comfyui-manager browser.
If you ever quickly and easily want to do a clean install of comfy in it's newest version you could use my installation script that quite a few people have used until now.
It automatically downloads ComfyUI, all required nodes for this workflow incl. Comfy Manager and then gives you the option to also optionally download the controlnet models if you want and create a desktop shortcut at the end.
It'll execute wherever you open it and create a ComfyUI folder at that point.
Only requirements are python (3.12 is best) and git installed.
You can find it here:
https://huggingface.co/vslinx/ComfyUIDetailerWorkflow-vslinx/tree/main
Afterwards you could just copy your models folder over from your old installation.
@vslinx that's quite inspired so thank you I might take you up on that. Honestly though I was hoping to have had squashed this little bug myself by now hah. If I really can't figure out what iv done wrong then yes totally will download your script. Thank you for all your help so far and your timely responses, has made things a little less anxiety driven for me. My canvas's are proper basic compared to your workflow, I hope I can be half as good one day.
@vslinx Just squashed the comfyroll bug and loaded your workflow and have it working properly now, its an absolute beast of a canvas really, not that i am anyone to you but i am well impressed. i hope you continue to create your canvas monsters for a long time to come. followed you btw, def worth it! Stay Feral!
@Feral_Signal_Studios happy to hear!
And i value all feedback equally, it might has a lot of downloads but most people commenting are usually because something isn't working :D so i always appreciate when people say thanks ^-^
@vslinx most welcome indeed, i am enjoying generating with your workflows much more than the ones i am creating myself hahaha. Also big well done for cutting down the upscaling by more than half, it took 13 stages in your 5.1 before you updated it now i think it takes like 5 or 6, nice one!
@Feral_Signal_Studios Thanks, happy to hear you're enjoying the workflow!
It has become quite massive but i hope i'll get it to be more stable in the future 🫡
I might implement a 1-pass hires fix in the future if i hear anything about negative implications on the quality the way it's implemented right now, but until then it seems to work fine :P
@vslinx I'd say your very on the ball with it as it is, again I can't wait to see what you come up with next, but don't it rush too fast, otherwise we will never get to play with the current version very much lol, as always my friend, stay feral!
First of all, thank you for the quick fix! That was really quick.
Second, may I suggest an addition for the next version? Is it possible to integrate the body-specific detailers into the manual inpaint workflow? For instance, currently, if I want want to change the eye colour for an image,upon manual inpainting, there is a high chance that the generated eye is blurry, or at the very least, of a quality that is worse than one without the detailer.
But in any case, once again, thank you for the great workflow!
Heya @last27683599,
no problem - thanks again for reporting the issue!
I don't always update my comfy the moment they release a new version, i might sometimes go days or weeks without noticing bugs in newer versions ^^
"Sadly" adding the body-specific detailers in the manual inpainting workflow wouldn't make sense, since you could simply re-run the workflow but with the eye/face detailer activated this time.
If you do not change the seed between generations, the image generated will be the same.
Right now re-executing the workflow sadly forces the image to be generated completely new again even if it looks the same, i opened a merge-request in the Impact-Pack over a month ago so that the image would be cached and not has to be generated again, but sadly the maintainer has not yet accepted the merge :/
But if you'd want you could apply the file change locally in your impact-pack node to solve this problem.
Additionally you could also just pass your generated image into the img2img workflow, deactivate the img2img transfer, upscaling etc. and only have the face/eye detailer activated.
This will just do an img2img where you only use detailers.
Also the manual inpainting should not result in lower quality outputs than the detailer itself, are you using the manual inpainting together with the hires fix option inside of it? I have not had worse results with the manual inpainter yet :o
@vslinx Thank you for offering alternatives as a solution!
To explain why I suggested that feature, it stems from instances where I like the pictures the seed generates, but the detailers fail to automatically detect, for instance, the eyes or the face. Occasionally, the face detailer would change the eye colour of the generated picture (i.e., the preview after upscale picture) for whatever reason, even when the face prompt control is turned off, overriding the original prompt and even the eye detailer control prompts. In such instances, I would use manual inpainting to fix the eye colours. And whilst it works, the colour quality is noticeably worse, even with the hi-res fix enabled. Specifically, the colours are more "smudged and blurry".
This also applies to another workflow I haven't put much practice into, but briefly experienced with now that I was reminded of it. Generating multiple characters (at the very least, without using regional prompting) remains a huge challenge, especially in cases where the characters I attempt to generate are "original" (changed appearances, i.e., hairstyle, hair length, eye colour, eye shape, from character loras). Previously, you had suggested, as an alternative to regional prompting, that I could draw a mask that covers the entire character and then use a character to replace the full character once V5 is released (https://civitai.com/models/1297813?dialog=commentThread&commentId=946718&highlight=946858). Reminded of this now, I have experimented with it briefly, and from my limited usage of this method, it works kinda clunkily. I think it would be even more so if you have a specific height/height difference, composition, and other elements in mind, but I haven't had the time to test that yet.
To further test the quality of the generations when applied to an entire character, I generated a cowboy shot of a character and then manually inpainted essentially the entire image to generate another character. The results: more times than not, there are issues: the anatomy is "janked", there are obvious artefacts, or there's... random stuff. Even when the output doesn't have these issues, the previously mentioned "smudged and blurry" colours are ubiquitous, and extend further into the quality of the lines (i.e, the clothing), which resembles more like that of a "clean" rough sketch. Whilst the colour and line quality aren't aggregiously worse when the output doesn't have the aforementioned irregularities, the downgrade in quality is definitely noticeable. I have included some examples to illustrate what I mean: the image at the very top is the one I am manually inpainting over, and the rest are the inpainted generations, ordered in chronological order.
https://imgur.com/a/JFKU4yX
Please note that while I have experimented with different numbers (to see if they would fix the colour and line quality issue), as the experiment went on and more and more pictures generated are "janked", I have reverted the settings towards exact numbers which have generated the "good" output at the very beginning to see if they could produce stable, "good" generations. Long story short, it would appear I was merely lucky early on when I got those "good" ones.
Generally, from my results, using controlnet and pre-processing, even with a low denoise of 0.45, generates images that do not change the character, merely changing their eye colours; this is the same when the denoise value in the manual-inpainting group is 0.55. Most of the images you see are generated with the denoise value of 1.00 (the max), and some at 0.75. Context value for most of them is 1, with a few at 1.5 and 1.61 — though I don't think context value matters here, given.... well, the context. The "good" ones you see, and the numbers I mentioned I reverted to previously, are 1.00 manual-inpainting denoise, 1.61 context factor, no controlnet.
I'm not sure if better-optimised settings could address these issues, but that's my current experience. I have completely forgotten about the IMG2IMG option, though, so thank you once again. Do you think IMG2IMG could address my use cases?
In any case, I can't express how great this workflow already is and how much it has allowed me to use all these advanced techniques that I would've never gotten around to learning in the first place. Looking forward to future versions/the AIO! (Hopefully with regional prompting xd. I completely understand if that isn't included, though, given what you've explained in my previous comment thread and in more recent comments)
---
Edit: I have made a few tweaks that have made good strides toward stability, with the results appended to the Imgur link (the last 8 images). Most notably, I turned off the option to use different sampler settings, which was on by default for 5.1. I've always had that option turned off, and did turn it off yesterday when I switched to 5.1, but since Comfy decided to purge all my workflows for god knows what reason this morning, I had to restore my files manually, and it seems I neglected to modify this option.
Specifically, I am using euler ancestral, normal, 30, 4 instead of the default sampler settings in the Alternative Sampler group. All but the third-from-last and the eighth-from-last image utilised the combination of controlnet and pre-processing. I used 0.55 manual inpainting sixth-to-last, 0.65 for the fifth-from-last, then 0.8, and 1.0 for the last two (as well as the eighth and seventh-from-last). The controlnet denoise is 0.45 across all images where controlnet was used.
As you may see from the Imgur link, this tweak made controlnet + pre-processing work better; however, the issue of random artefacts remains. The controlnet + pre-processing + the aforementioned sampler settings seem to address the colour and line quality issue somewhat, especially the latter; without controlnet + pre-processing, however, the issue of blurriness and smudginess remains, albeit in a different form.
On another note, I did use controlnet + pre-processing with the first workflow I mentioned above for changing eye colours, and the colour quality did suffer noticeably from my experience. I think that's likely because the inpaint area is much smaller, but I'm not sure. If I have time to do some more testing for that, I will append the results below.
@vslinx Quick append as noted in my previous message: here is an example of the first workflow I'd mentioned, demonstrating the noticeable blurriness and smudging in colours:
https://imgur.com/a/JrrSOK4
@last27683599 phew that's a long read! hahaha
My thoughts:
- Denoise Strength of 1 is very very high, you basically do a full replacement of the content without giving the base any context to work with, so you 100% rely on the controlnet from that point onwards, just remember that
- ControlNet Strength of 1 is very high, it basically forces the character into that exact position with no leeway. I would not necessarily recommend it unless you use a specialized inpainting checkpoint.
I'd try to play around, i know you said that you tried 0.55 but that most likely didn't work together with the sampler. Strength of 0.52-0.55 should already copy the post near-identical, might have to play with the seed a bit, or increase strength to 0.6
- The Sampler DPM++ 2M is something i chose and activated by default for the most common user, most people would only want to change small things and for that the DPM++ 2M is definitely the best choice.
Different Samplers converge very differently, a good read for that topic would be this.
To explain simply some samplers spend more time in the earlier denoising steps, some spend more in the middle and some more in the end. DPM++ 2M is a multistep solver, meaning it doesn't decide how to add noise to the image to change it only based on the current point, but it uses information from previous steps. So if you're not starting on a blank canvas that means that it preserves structure way better, blends edges more naturally into unmasked regions, gives cleaner results at lower step counts and it's less likely to inject a lot of noise into the masked area.
For our images, especially anything involving denoise like inpainting, that means that they are closer to the original because they preserve more of the original. It's the best sampler to add some details, change smaller things like eye-color or clothes.
That's why i also changed the hires fix over to that sampler + scheduler(karras) because it preserves the original better, this is why now there's less artifacts and difference between the pre-hires fix and the hires-fix image. It's also the better alternative if you want to do detailing.
But that is also the reason why completely changing the content of the image would be harder with that or would mean you'd have to up the denoise level way higher than usually necessary, because it respects the form of the previous denoise step more than other samplers.
- Try changing the preprocessor for the controlnet and the controlnet model, maybe you're using one that is either not specific enough or too specific. Canny or MangaLine can force details from the original you might not want to copy because they are very harsh with their details even at lower controlnet strengths. Try MiDas Depth Map, i usually use that if i want to copy composition but not likeness of the character, it usually does a good job not moving too many of the original characters features over.
With simple poses like this you might also just be able to use OpenPose for your ControlNet, since it's quite the simple pose. OpenPose only copy's the skeleton and nothing about the appearance at all, so you can easily increase strength here.
- What Upscale Model are you using? I have had issues in the past with inpainting because i was using a shitty upscale model like Anime-Sharp or something.
These Upscalers remove a lot of details and are quite blurry - as long as you have hires fix on you won't notice it because it runs after that. But they really remove a lot of the images detail.
Using the inpainting you're doing something like this:
Generate Inpaint Area -> Upscaling -> hires fix -> Paste into original and blend
Depending on the strength of the denoise, the hires fix might not have a huge impact.
So you could try changing the upscale model and see if that improves sharpness.
I have moved from RealsESRGAN and AnimeSharp to "4x_NMKD_Siax_200k.pth", which i also set as the default and it really improved my image quality compared to earlier work of mine.
It will introduce some sharpness lines but the hires fix will remove these.
I have implemented a "Use different Upscale Model"-Section where you can replace the upscale model only for the inpainting, so you might want to play around here and check if a different upscale model could improve your result.
I hope any of these things were helpful :D!
And sorry for the long read - let me know if any of these things helped you!
@last27683599
Here i did a replacement with your image.
I tweaked the settings a bit, but apart from that i loaded your image into the "Load last generated image"-Node and then rightclicked -> WD14 Tagger, copied the tags and added them to the inpaint prompt. I removed everything describing the hair and eyes, replaced them with the other characters and added the character tag at the beginning.
Then i drew the mask over the whole character and send it off.
This is the result, you should be able to download the image and drag it into your comfyui to load the workflow directly and see what settings for controlnet, denoise and sampler i used.
@vslinx Hi, thank you for the detailed answer! The explanation of samplers and preprocessors, especially, is very informative. Just one slight correction, to be clear: the highest on the controlnet strength I've gone is 0.55, with most being at 0.45. The issue I had with the controlnet previously was that it was copying too much of the image, so I never had a reason to increase the value — if I'm understanding how it works correctly. And to answer your question regarding upscalers, I was using RealsESRGAN previously; I will be sure to check out nmkd and apply what you've
So, I've been trying to emulate the workflow you've provided, but I've run into a slight issue. After right-clicking and selecting the WD14 tagger, nothing happens. Am I supposed to do something else after clicking on that option?
Some more questions while I'm at it:
I notice your workflow was done in IMG2IMG, but am I mistaken in assuming that, since it's just the manual-inpainting version, it's still applicable to the TXT2IMG workflow?
Moreover, I see that your colour fix strength and hi-res fix denoise are different between the manual-inpainting and the general function control group; is there a rationale for that?
Whilst on the miniguide on the left, you recommend a 0.05-0.35 value for hi-res fix denoise. You also mention keeping the colour fix strength low—what value would be considered low, and could you give a recommended range to keep within?
Lastly, some controlnet-related questions. I realise that you don't have pre-processing turned on — whilst I have read the controlnet tutorial at the bottom, I can't say I really understood what it meant; what difference does it make to turn on each of those options? Same question for the ControlNet group of "Pre-processing image to Pose" and "Load ControlNet Pose". Finally, in the workflow you provided with your settings, since the control net model name is cut off due to length, are you using Depth Midas for both the model and the pre-processor?
Sorry for the bombardment of questions. Once again, thank you so much for taking the time to read the mountain of text I have sent and giving me such a detailed yet concise answer :)
@vslinx Moreover, I've been testing the nmkd upscale model you recommended, and from my experience, it seems like its output makes it relatively blurry in comparison to realESRGAN; or perhaps one could say the latter makes the image much sharper(?). Would you say this is consistent with your experience?
For referece, these two images were generated with the exact settings and exact seed, with the only difference being the upscaler used. The upper image is nmkd, and the lower one is realESRGAN.
https://imgur.com/a/fFJuHFg
@last27683599 sorry man i just noticed that i had never answered 🥲
"So, I've been trying to emulate the workflow you've provided, but I've run into a slight issue. After right-clicking and selecting the WD14 tagger, nothing happens. Am I supposed to do something else after clicking on that option?"
- You can check your console, the first time you do that it'll usually take a little bit as it has to download the WD14 model for image interrogation. Then it usually just takes 4-5 seconds when doing that. A popup should open and your prompt should appear. It's basically the same the IMG2IMG Transfer does in the IMG2IMG Workflow.
"Generally, from my results, using controlnet and pre-processing, even with a low denoise of 0.45, generates images that do not change the character, merely changing their eye colours; this is the same when the denoise value in the manual-inpainting group is 0.55. Most of the images you see are generated with the denoise value of 1.00 (the max), and some at 0.75. Context value for most of them is 1, with a few at 1.5 and 1.61 — though I don't think context value matters here, given.... well, the context. The "good" ones you see, and the numbers I mentioned I reverted to previously, are 1.00 manual-inpainting denoise, 1.61 context factor, no controlnet."
- The effect that the denoise has, is very heavily dependent on the sampler & scheduler, they are basically what really drives how much change is introduced after the denoising. When you do a 1.00 denoise basically nothing of the original form of the image is kept, even with a high context area you'll still run into the problem that your inpainted area will not fit into the total image.
"I notice your workflow was done in IMG2IMG, but am I mistaken in assuming that, since it's just the manual-inpainting version, it's still applicable to the TXT2IMG workflow?"
- Yeah no worries, i just had the IMG2IMG open - both versiosn work the same for the inpainting part!
"Moreover, I see that your colour fix strength and hi-res fix denoise are different between the manual-inpainting and the general function control group; is there a rationale for that?"
- The Hi-Res fix in the inpainting area still works the same as before, so lower denoise for hires fixing is required. This is due to it not making a lot of sense to use the Ultimate SD Upscaler since we only inpaint smaller parts and the KSampler is sufficient for that, but yeah maybe i should explain why i recommend different strengths :D
"Lastly, some controlnet-related questions. I realise that you don't have pre-processing turned on — whilst I have read the controlnet tutorial at the bottom, I can't say I really understood what it meant; what difference does it make to turn on each of those options? Same question for the ControlNet group of "Pre-processing image to Pose" and "Load ControlNet Pose". Finally, in the workflow you provided with your settings, since the control net model name is cut off due to length, are you using Depth Midas for both the model and the pre-processor?"
- In the Inpainting Area, if you active "Use ControlNet?" it'll take the inpainted area, preprocess it with your selected preprocessor model and then use controlnet to keep the shape. Any of the other 3 following settings ONLY affect the external ControlNet Image. You can use the external ControlNet Image to upload another Pose, so if you'd mask the arm and then upload an image of an arm waving for example, you could activate "Use ControlNet?" together with "Use External Pose?" to use an external image to influence the controlnet, instead of using the original image. If you don't have an already finished pose for the Image, you could activate "Use Pre-Processing" to instead pre-process the image of an arm, to a pose and then have controlnet use it. Lastly you could also activate "Fit pose into mask?" to move your external controlnet image ONLY into the mask, and not onto the whole image. Otherwise you'd have to fit the aspect ratio of the image and have your wanted pose in the correct spot. With all of these settings activated, you could (for example) use the External ControlNet Image to upload the image of a waving arm, use pre-processing and then fit pose into mask to change the gesture of a person. Like you can see here.
In the General ControlNet-Section of the workflow you can do each individually. You either Upload an actual Image in the "Pre-Process image to pose"-Node if you want to turn an image into a pose and then use that pose to create your image with controlnet (you can see the pose in the ControlNet Pose Preview-Node in the Debug Section) or just upload an already existing Pose in the "Load ControlNet Pose"-Node and use that instead.
And yes, if i want to keep shape and form but no finer details i usually use depth midas for both preprocessor and controlnet.
"Moreover, I've been testing the nmkd upscale model you recommended, and from my experience, it seems like its output makes it relatively blurry in comparison to realESRGAN; or perhaps one could say the latter makes the image much sharper(?). Would you say this is consistent with your experience?"
- Can't say that this matches my experience :/ Here you can see esrgan and the nmkd-siax-200k, while esrgan isn't bad, nmkd for me is usually sharper and delivers better outcomes for me once hires fix was applied :s
@vslinx No worries! Thank you for the extensive answer! I didn't realise prepocessing is also related to the external image, so I guess I've had that on for no reason this entire time, haha. By the way, it seems the example links you included might be broken, but your explanation painted a clear enough picture!
I know I've been bombarding you, but if so please feel free to take your time, but if you'd kindly indulge just a couple of final questions:
<ul>
<li>Ultralytics Models: I realise in the 5.0/1 versions that you have anzhc's face, eyes, and chest ultralytics, but they aren't included in the "Recommended Ultralytics Models" section below—is the recommended section outdated, or is the anzhc ultralyrics just something you are experimenting with?</li>
<li> Detailer Values: While you've provided a rule-of-thumb recommendation, the pre-filled values in the individual detailers seem to be different. Should your pre-filled values be treated as the intended "out-of-the-box" recommendation like some of the other defaut values on the workflow, or are those just default node values users are supposed to tweak to match the rule-of-thumb values? </li>
</ul>
Once again, so sorry for all the questions 😅. I really appreciate your time, updates, and all the help!
@last27683599 No biggie!
Yeah pre-processing is always related to an externally provided image ^^ If you turn on pre-processing without turning "Use External Image" on, it shouldn't do anything and still take the own image :D
Maybe i should update the explanation to make it more clear.
Yeah i have tested anzhc's ultralytics models for a bit and i like a few of them, usually the ones that i release the workflow with are just the ones i have most recently used.
I started dibbling a bit in realism recently and anzhc's detection models were just better than the others since it works for both realism as well as anime quite well.
In a future update i might add them to the recommended list :)
The denoise values that i ship the workflow with are all subject to change, i don't really think much about them, they are usually just the ones that work best for me.
As i explain in the mini-guide there is no real one-fits-all solution when it comes to the denoise value, i usually keep the value at around 0.15 when the generated image already had great facial features and i just want to upscale the quality of that area. When there are some minor deformations i usually increase the value to around 0.35 which is enough in most cases.
Most models now do faces and eyes really well, that's why i use low denoise values that will most likely work out of the box for most people ^^
And don't worry - i never mind answering questions :D ♥
@vslinx That's super helpful context on the denoise values, thank you! I think I may have phrased my question poorly though—I was actually asking about the other values within the detailer nodes themselves, like feather, steps, CFG, guide size, max size, noise mask feather, etc, under the Detailers section rather than the Detailer Control section. Though I assume they are meant to be tweaked rather than just out-of-the-box values/values you yourself use? Sorry for the confusion😅
@last27683599 aaaaaaah sorry :D that's what you meant.
Yeah, i usually recommend fiddling with the settings as explained here.
One think i'd always recommend is setting guide_size to 1024 and max_size to 2048, that'll inpaint the area at a higher resolution and resize it afterwards, usually leading to better results.
It's just a bit heavier for GPU's but most consumer GPU's should handle this without issues.
Hello,
I am using theTXT2IMG 4.5, and when I run the model, it just giving me the preview image. I have loaded a lora and put in a positive prompt as well. I am not sure what I am doing wrong.
Ignore this. I changed to 5.0 and it works great!
Hey @BiggestFan,
try switching to the newly released v5.1!
ComfyUI has done 2-3 Huge updates in a row that broke even some of their own core nodes, the 5.1 has the same exact functionality as the 5.1 visually, but under the hood it's a lot more stable!
Hope you'll enjoy the workflow ♥️
@vslinx I siwtched to it and it worked great! Is there a way to incorperate Regional Prompter from here into the Workflow? https://civitai.com/models/1080711?modelVersionId=1888023
@BiggestFan happy to hear! 🥰
Tje regional prompting basically already works using the manual inpainting area.
The workflow from Potatcat basically doesn't do anything different there.
Just activate the manual inpaint area, and then activate the controlnet+preprocessor to lock in the pose and position. Do not put the strength too high, somewhere between 0.45 and 0.55 should be fine. Then draw the mask of one character -> write the prompt -> hit run and it'll replace the person using the mask and the controlnet.
Then just hit the refresh button (or leave auto-refresh on) and the new image you created previously will be loaded. Now just mask the other character and write a different prompt and hit run :)
That should work just as good, sadly adding multiple more nodes would make the workflow even more complicated and i'd prefer not to put too much into it, else i'll run the risk of cluttering it to the point nobody (possibly including me) understands it anymore 😂
@vslinx Thank you for the reply! I had this workflow working well yesterday, but today I am recieving these errors under the Sampler nodes:
scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent', 'beta57'])
Return type mismatch between linked nodes
scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent', 'beta57'])
Return type mismatch between linked nodes
scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent', 'beta57'])
I have all of them set to simple.
This is happening under Sampler for Normal Sampler, and sampler Refiner Sampler in Refiner
Heya @BiggestFan,
That means you have probably installed the RES4LYF Clownshark custom node
Please check the second problem here in the faq section:
https://civitai.com/articles/15480#faq:
This is sadly not something i can fix and would have to be fixed by node-creator.
@vslinx Yep! That fixed it! Thank you for the quick reply. Do you use buzz?
@BiggestFan no problem! :D ♥️
Yeah i do, i mainly use it to give back to the people who create images and videos using my workflows/models 🫡
No need to gift me Buzz though, always happy to help ~
Um... After I started using TXT2IMG 5.1, the image generation time with the hi-res fix function is much slower than in version 5.0 (about 30–50 seconds longer). Why is that?
Hey @frank5171628626,
sorry that it takes longer now, i have mentioned this in the changelog.
But i get that if you're doing larger amounts of images it's really inconvenient.
I have swapped out the default ComfyUI Sampler with the Ultimate SD Upscaler, it takes longer but the results are way better, especially at higher denoise values.
Before the denoise had to be kept really really low somewhere between 0.05 and 0.15 and even then the default comfy sampler caused major image shifts compared to the upscaled image.
To keep images closer to their actual pre-hires fix preview i changed the way we do this.
This also makes it's behaviour closer to the one in A1111 Webui.
BUT maybe my settings weren't really optimized for speed and i apologize for that.
I have tinkered a bit further and if you're generating more pictures, would you mind testing something for me and letting me know if the speed has improved again and if the images still look good across the board?
Could you open this node in the workflow by clicking on the bubble to the left and then on the icon in the top right of the node?
And then in the node in the middle can you change the following 2 values:
- mode_type: chess -> Linear
- seam_fix_mode: Half Tile -> None
This has cut down generation time for me in half, without any visual drawbacks.
If you would be able to confirm it - i'd be more than happy to update the workflows here on the site!
@vslinx
Thank you for your response! After testing, the generation speed has indeed improved (become faster). Thank you so much!
happy to hear @frank5171628626 !
Did you notice any quality drawbacks! if not i‘ll ship the change :)
@vslinx It works just as well as version 5.0 now!
@frank5171628626 thanks for the feedback! I'll implement it and push the changes for everyone ♥️
cant create image: got prompt
Failed to validate prompt for output 227:
* KSampler 546:82:
- Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent', 'beta57'])
* KSamplerAdvanced 546:576:
- Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent', 'beta57'])
* KSamplerAdvanced 546:575:
- Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'ays', 'ays+', 'ays_30', 'ays_30+', 'gits', 'beta_1_1', 'bong_tangent', 'beta57'])
Output will be ignored
Failed to validate prompt for output 224:
Output will be ignored
Failed to validate prompt for output 228:
Output will be ignored
Failed to validate prompt for output 225:
Output will be ignored
Failed to validate prompt for output 230:
Output will be ignored
Failed to validate prompt for output 29:
Output will be ignored
Failed to validate prompt for output 274:
Output will be ignored
Failed to validate prompt for output 226:
Output will be ignored
Failed to validate prompt for output 259:
Output will be ignored
Failed to validate prompt for output 532:
Output will be ignored
Failed to validate prompt for output 229:
Output will be ignored
Failed to validate prompt for output 231:
Output will be ignored
Failed to validate prompt for output 407:
* vsLinx_BypassOnBool 909:
- Required input is missing: any
Output will be ignored
Prompt executed in 0.08 seconds
hey @keima1203721,
please check die FAQ mentioned in the description.
!Update!
Today (20 March 2026) i have updated the 5.1 version, if you had experienced very slow hires-fix times, this will fix it for you. Just download the 5.1 from here again and you're good to go.
I did not want to publish a 5.2 and bother people and farm downloads, since it's a minor change and people who are bothered by it are probably gonna come to the comment section and see this.
Also:
If you're experiencing subgraph connections going rogue, inputs disappearing and overall visual bugs - i sadly can't do anything against that.
Comfy's newest updates broke basically everything in the frontend, this is not a custom_node or workflow issue - but a comfy issue.
There are a lot of pending merge-requests on their github repo in both their backend as well as their frontend section.
I have high hopes these things should be fixed soon.
In the meantime I can recommend downgrading ComfyUI to 0.16.4 and the frontend to 1.39.19 - these were the last stable releases. If you need help just ask ChatGPT or another LLM.
Bugs you currently might encounter because of these issues:
- Missing subgraph inputs
- Missing selection dropdowns
- Visual bugs like text fields from minimized subgraphs floating around your workflow
- Random node's that might lose connection to other nodes on workflow load/refresh (breaks the workflow)
- Workflow completely disappearing and emptying of complete canvas on refresh
- Workflow randomly saves without you triggering the save (especially awful in combination with the bug above which will then completely overwrite your previous changes to the workflow :)))))))))=§"=)!/§)"§/!)"§/)§")§"!§"")§!"§!"!!)
Can confirm that this hotfix drastically sped-up hires-fix times for me. Thank you, vslinx!
@kitblasters339 Thanks for the confirmation!
Glad it's speed up now 🫡♥️
Let me know if you see Quality Degradations compared to the previous versions as this is still somewhat of a work in progress 🥰
@vslinx I didn't use the original 5.1 long enough to make a solid comparison, but I will say that I am blown away by the quality of the hi-res fixing, including in the updated 5.1. It's completely changing my workflow.
@vslinx Hi again, was this updated 5.1 for text2image only or for both text2image and image2image?
@Feral_Signal_Studios The update was for both! :)
@kitblasters339 nice! then i'm glad that the changes are working well 🥰
thanks again for the feedback ♥️
Hi, not sure if this is a ComfyUI or node-specific issue, but Load Last Generated Image doesn't refresh if you've previously edited and saved an image with "Open in MaskEditor". You could easily just ctrl + r and refresh, so it's not at all a serious bug and merely poses as a very minor inconvience, but gonna report this anyways just in case.
Hey @last27683599,
The node has been replaced by my own custom node since the old one broke everything so often, especially for new users without images in the output that i got too tired of it and wrote my own :D
The node now should correctly (as intended) preserve the drawn mask on the loaded image even through reloading the site and re-loading the workflow.
When you click "Refresh" the image as well as the mask should reset, when having "Auto Refresh" on it should also refresh image+mask when a new image is added to the output folder.
@vslinx Hi, terribly sorry that I wasn't clear in my previous message. The issue is that after creating and saving the mask, the Load Last Generated Image node does not refresh, even after clicking the refresh button. I have recorded a short footage of what I'm attempting to describe and included it below to ensure I'm being clear:
https://youtu.be/sIlS3almRQQ
This is the case too, even when a new image is added to the output folder: I have tried both manually dragging a new image into the output and generating a new one organically through the txt2img workflow.
This is easily fixed by refreshing (at least in the desktop application version of ComfyUI): Ctr + R-ing fixes it and displays the correct image you clicked before you reloaded. So, say you clicked "refresh" before you reload (and saved). Upon reloading, it would display the newest file in the output folder as intended; if you selected image A (and saved), upon refreshing, it would display image A.
I hope I managed to articulate what I mean in a way that made sense. And sorry for the long read; every time I comment, I somehow end up typing essays... 😅
@last27683599 Aaaaaaaaaaah, no need to be sorry mate :D
I misunderstood ^^ And thanks a lot for the video, that really helps!
Yeah this is definitely a bug, but i'm not able to reproduce it in my own comfy for some reason.
If you have comfy desktop installed it might be a comfy desktop exclusive bug.
Which version is your comfy and your frontend?
You can see that under Settings -> About
@vslinx Yes, I am indeed on the comfy desktop. I'm on ComfyUI v0.18.0, ComfyUI_frontend v1.41.21. Also, ComfyUI_desktop v0.8.24, if that also helps.
Edit: Comfy desktop just updated, and the issue persists in ComfyUI v0.18.1, ComfyUI_desktop v0.8.25 (frontend's version remains the same).
@last27683599 "good" news. I was able to reproduce the error now on the new comfy version.
So i guess that they broke something with the javascript (again).
I'll try to fix it and release an update, i'll let you know once i have pushed the update to github.
Then you'll be able to simply update the custom node through comfyui manager.
@last27683599 Done!
Fixed the issue. With the Frontend 1.41 update they have pushed a lot of changes and it seems that they are slowly starting to force the vue based logic for the frontend nodes 🥲
If they continue with this, a lot of custom nodes will break relatively soon and i already know from the developer of rgthree that he's not going to update them to the new 2.0 design standard - so we will see how future-proof these updates soon might be 😅
But i have fixed the bug caused by the update and made sure it's downward compatible!
You can update the vslinx custom node through the comfy manager to 1.7.1 and the workflow and node should work as intended again. Thanks again for the report and for the video, helped a lot in finding what the issue was!
Heyy!, this new version works flawlessly!, i just happen to have a problem with hi-res fix, when i try to generate a single image it turn out great, even after upscaling it, but if i turn on hi-res fix it completely destroys the image!, i'm trying to figure out a workaround but as now it's like it completely remakes the image, with higher quality but nothing like the original generation, and with some jankyness
Hey @vhsk2005560,
This usually happens if the models don't do very well with denoise, you can try two things:
- Change the model and see if the problem persists, if that doesn't work try to deactivate color-fix(if activated)
- Lower your denoise, if it's already at 0.10 or 0.05 and the problem persists, it's something different
I have one more thing you can try if neither of these work, but let me see how it goes first 🫡
@vslinx messing with the denoising seems to improve it considerably, thanks!, now the only problem that i got is that the images generated doesn't pop up in Resources, but in the work queue!
@vhsk2005560 what do you mean? :o
@vslinx see the upper left corner of Comfy?, that's where you usually get your generations, but it happens to me that they don't appear in there!, in the upper right corner next to the generation button theres a little tile that shows up a queue of all your generations, that's the only way i have for looking at the images generated
@vhsk2005560 Aaah you mean the Assets Tab :D
If your images do not appear there, check if your images appear in the output folder. If they are in the Output folder but do not appear in the Assets tab, it‘s most likely due to a comfyui update :/ They have broken a lot recently and i have experienced the same issue on some instances with different workflows.
They really broke a lot and did some fixing that broke other stuff :D
!Another Update! 🫡
Since it worked well to do an announcement here last time:
I have updated the ComfyUI-vslinx-nodes to v1.7.2 which include a new setting that is enabled by default.
This setting prevent's the issue that Subgraphs and Custom-Nodes previously had with the RES4LYF node and the mismatch between schedulers.
Since both the RES4LYF and Impact-Pack haven't accepted any Merge-Requests in the last 2-3 months i didn't have high hopes for them to accept the already existing open merge requests that'd fix some of these issues.
Instead i have implemented a fix for this problem globally that works with every custom node by simply catching the error before it happens and normalizing the input_list with the expected list.
TL;DR
You can now keep your RES4LYF-Node installed, no more need to uninstall the Node.
I don’t speak English, so I’m using a translator. There might be some mistakes, but I’d appreciate it if you could overlook them. I just started using ComfyUI recently and might not fully understand how it works yet, but even after setting up the workflows and running them, no image is generated—only “Job#[some number]” appears, and it’s not working. I’d like to know two things: “Where the image is supposed to be generated” and “Which settings are missing.”
Hey @nonoiru,
no worries - i hope the translator will help you understand everything ^^
If there is no image being generated it's most likely due to you not having filled out some of the required nodes that need a selected model.
The new ComfyUI versions have a red marker around the nodes that need input by you, if you have an older version here is a screenshot of all the nodes you need to fill out.
You 100% have to fill out all nodes on the left side in the "Model Backend"-Section, just select any model for the "Refiner Backend", if you don't use it - it won't matter.
You can ignore the Detection Models as long as you don't use the detailer.
But you will have to select a Model for the IPAdapter and ControlNet area, you can also just use the little arrows if you don't have any models there to set the value to "undefined", that'll also let you run the workflow.
@vslinx Thank you for your kind response. As you pointed out, part of the “model backend” was missing, so I fixed it, and now it’s working fine. Thank you so much.
@nonoiru glad it's working now! Hope you'll enjoy the workflow. 🥰
the image is not saved automatically to output, am I doing something wrong? or is it supposed to be used with image selector?
it exist in the temp folder though
Heya @hakusei666,
if you don't have an image in the output folder, it means that the Image Saver node was never reached due to an error before that.
Could you share what your comfyui console is saying?
@vslinx it's kinda weird, I turned on face, eyes and hand detailer, now it's saved to the output. thanks for the workflow, I almost gave up comfyUI and about to try it on swarmUI, then found this amazing workflow.
@hakusei666 hmmmm that's weird :o
Maybe there were some models you hadn't selected yet or that hadn't defaulted to undefined yet. These are the model's you should select, even if you don't use them, to ensure that comfy's internal execution validator will allow full execution.
Aww that's nice to hear! Thanks a lot 🥰
I try to make the workflow as easy userinterface-wise as possible in comfyui - even if it really has it's limits ^^ Hope you'll enjoy the workflow!
Pretty new to this so I probably did something wrong, but when I added the recommended Ultralytics and detailers, now every image I generate changes the nipples on my images to vaginas.
Hey @Captain_Goon,
while this does sound funny - it's obviously not the intended goal :D
In the Debug section can you unfold the Nipples and Vagina node to check where this problem occurs? If it's in the nipple section, it means that the prompt you're using generates vaginas.
If it's in the vagina section, it means that your selected ultralytics model recognizes the nipples as vaginas, in that case i'd recommend switching that ultralytics model out to a different one.
Hey @flyingdargon341,
whats your comfy and frontend version? ComfyUI recently broke a shit ton of stuff with their new frontend deployments 🥲 i guess they do more stuff with AI nowadays and with less oversight 😅
The broken frontend sometimes connects/disconnects existing node connections or shuffles them. Causing wrong inputs into nodes that shouldn‘t be possible to begin with.
I have setup a new instance today with comfy version 0.18.1 and ComfyUI_frontend version 1.42.8 and that works well, maybe consider updating your comfyui to these versions.
You can find your version in comfyui under settings > about.
@vslinx I updated my front end and now it's working. Thank you!
@flyingdargon341 yey nice!
Glad it's working now 🥰
Hey the workflow works great, but I just have one question about the Hires fix. I dont know if its a dumb question but i dont really understand ComfyUI all that well. When I use a vpred model and tick the vpred option the images generate perfectly until it reaches the hires fix point where the image then becomes like a collage of 6 different images. The settings stay exactly the same when im using a non vpred model and then it works fine. Am I doing something wrong and is there something that I have to tick or change to make it work?
Hey @Jeny,
you are actually right, it seems that the current way of the workflow does break during hiresfix when a vpred checkpoint is being used.
I guess it's something about the architecture of the vpred models, let me check if i can find a fix really quick :)
@Jeny can you check if these work better?
https://www.mediafire.com/file/et9ryk3c68qr4bd/TXT2IMG-ADetailer-v5.2-vslinx.zip/file
For V-Pred you might have to reduce the hires fix denoise a bit ^^
@vslinx It works perfectly! Thanks a ton!
@Jeny yay! thanks for testing ^-^
Hey sorry if this is a dumb question. For some reason, even though I have a 4080 GPU, I get stuck on 22% VAE Decode without fail. In another workflow, I used a tiled decode to work around this, but I have no clue where you've stashed the decode and your workflow is 10x more complex than the other.
Any tips for this? I pretty much can't use the workflow.
Hey @tal0n,
ComfyUI has recently pushed a lot of vram optimization stuff where it'll offload things to the RAM when it thinks you do not have enough vram available.
There are some instances in the past where i also had this issue, what usually helps is to check that you do not have much vram usage active.
Stuff like Wallpaper Engine for example also do use quite a bit of vram, you might want to rightclick and pause the animation if you're using it.
Other things that could help is to update your comfy backend and frontend to the newest version and/or deactivating the memory optimization by appending this start parameter to you comfy start:
--disable-smart-memory
@vslinx thanks!
@vslinx yeah.. trying some more gens, wallpaper engine is off, still getting the same results. Every gpu intensive thing is off, only application open is chrome. Randomly sometimes I can get past the vae decode, other times I can't.
Tiled decode has worked better for me in the past, but I can't find where I'd replace it in yours.
@tal0n that‘s weird and really shouldn‘t happen on a 4080 :/ that sucks
In the TXT2IMG workflow, in the bottom left corner inside the Backend Section you should she a „Sampling“ Subgraph, if you open it - you‘ll find a green group with the normal Sampler. Here you should be able to replace the VAE Decode to a tiled one.
In the IMG2IMG workflow you will find the KSampler + VAE Decode in the IMG2IMG Transfer Subgraph at the bottom of the workflow inside the „Image transer“-Group.
<3 Great workflow! Takes a bit of time to get used to Comfy, and figure the best settings to get consistent results, but is a solid one. Is there any chance to make the wildcard section separate, and make it so you can actually add multiple wildcards? Seems like it doesn't autocomplete wildcards by typing and the selector uses only one wildcard.
Hey @dNerop,
glad you're still enjoying the workflow 🥰
Yeah comfy can be a bit less user-friendly than a1111, forge or swarm ui ^^ which is why i'm trying to make the workflows as feature-rich but visually easy for everyone.
You actually can use the wildcard selector to add multiple, just click it again and select a different wildcard, the selection down there will just show you the last selected one.
But i understand that it might not be absolutely clear UI-wise that you can add one than more, so i might make it so that the selection jumps back to "Select a Wildcard" after selecting one.
@vslinx Thanks for the heads up <3 It was one thing that was confusing me haha, since it didn't show a list of active wildcards, or putting them into the prompt, made me think it was just the one selected. And yes, love your work, always recommending your works to other peeps that want to give Comfy a try.
@dNerop thank you for recommending my work to others! 🥰
I have pushed the changes to the node 1-2 Days ago, so if you update the vslinx-nodes through comfy manager you should now have it so that the input field resets to "Select Wildcard", which is the more user friendly approach :D
@vslinx I'll give it a shot <3 Thank you for your work and time! Hope you're having a great weekend :D
Hi again vslinx, i hope you and yours are doing well. I was just wondering about the ipadapter within your workflow. Currently i see buttons for both style and composition which is great but forgive my stupidity if this question has already been asked or its just that i dont understand from the beginning but is there any plans to include one for facial features? Maybe its my mis-understanding of things and the question i asked is irrelevant but i would appreciate you schoolin me again haha. Thank you for your dedication to the project and as i said before well done for the piece of art!
Heya @Feral_Signal_Studios,
thanks for the compliments first of all!
And no worries - i have answered the question a few times by now but i don't expect people to go through old comments or anything ^^
I have in the past not intended to implement IPAdapter for Facial identity.
I think it's better to leave that to tech like faceid/instantid etc. and to have that as part of it's own dedictated worklfow since it's hard to implement into the workflow in a meaningful way that wouldn't overload the UI even further.
But i'm currently working on the 5.2 version of the workflow and i have removed the ipadapter for style and composition and instead i'll leave it to the user which ipadapter type they'd like to use. So there will only be 1 image input and you as a user can decide which ipadapter type you'd like to use.
So you could use ipadapter for facial features as long as you pick the correct type and then download+select a ipadapter model that is specialized in that regard.
You can always find my work-in-progress versions of the workflow on my huggingface repo here:
https://huggingface.co/vslinx/ComfyUIDetailerWorkflow-vslinx/tree/main/workflows/TXT2IMG/v5.2
You will have to make sure you have my vslinx-nodes completely up-to-date though, i have released v1.9.0 today, but comfy registry and comfy manager sometimes take up to a day to actually pull the new version, so you might have to directly pull the newest version of the node from the github of my node here:
https://github.com/vslinx/ComfyUI-vslinx-nodes
@vslinx thank you for the information and to be honest that actually makes more sense to me for you to do it this way in your future workflows. Thank you for the links and a bit more info on what your working on too.
@vslinx I want to use the Super-shuhe/InstantID-FaceID-6M model. What IPadapter type should I select in the workflow? By default, it's using Style Transfer.
@hakusei666 i'd start trying by just using linear at the beginning if nothing has been recommended on the modelpage itself.
Usually when applying ipadapter for likeness of a character you'd want to use either Linear or strong middle/ease in-out if you want stronger identity lock-in without it bleeding into overall composition/style.
I updated comfy and now this just won't work. I've tried a fresh install now twice. All I get is this--
- Failed to convert an input value to a INT value: pick_list_start, , invalid literal for int() with base 10: ''
same, after last two weeks updates
Hey @Rocco87 and @insaneriverg732,
this is not an issue of the workflow - but sadly a problem caused by a node update from the image filter :/
The node-developer has pushed a change that made the node downwards incompatible.
You can fix that easily though by rightclicking the "Image Filter"-Node at the bottom in the Sampling group. And then clicking on Fix node (recreate). Like you can see here: https://qu.ax/x/lSbuJ.png
That did it, thanks a million. I was a little upset my favorite workflow stopped working
@Rocco87 hehe, glad to hear it's your favorite workflow 🥰
I'll push v5.2 soon that'll come with it pre-done and some more changes.
This already happened with the image-filter once in the past, so i might just create my own version of it with backwards compatibility 😅
Hey @Vaisoul,
TXT2IMG means you're turning your text into an image, so you create a new image from scratch.
This workflow has built-in processes to directly refine said image based on your settings, or not at all if you don't wish to.
The IMG2IMG variant is for either refining images or creating new images based on an already existing image.
Hello.
Thank you for creating and sharing such a wonderful workflow. Thanks to your work, even a beginner like me can take on advanced tasks.
I’ve been able to do so many things because of you, but I wanted to let you know about a strange behavior I discovered.
Regarding the "Start quality prompt (Optional)" node:
It seems to be affecting the output regardless of whether the toggle is enabled or disabled. Additionally, I tried moving some prompt from the "positive prompt" to the "Start quality prompt (Optional)" field, and even with a fixed seed, the results changed significantly.
Hey @koh4kyu250,
First of all - sorry for the long wait, it never got a notification about your comment!
I think that was during the change from civitai.com to civitai.red and maybe some of the notifications got swallowed during that time
i have checked a little bit around, activated and deactivated the start quality prompt and instead moved that part into the main prompt and the other way around and so on.
And i was not able to recreate the said behaviour :/
Could it be that you've not been ending your prompt's with a comma?
The prompts do not add a comma at the end when they concat(combine), that means if your start prompt looks like this:
test, test2, test3
and your main prompt looks like this:
test 4, test 5, test 6
The end prompt would look like this (visible in the debug area, full prompt preview):
test, test2, test3test4, test5, test6
Which means that you basically have a broken prompt that generated your image, if you then would move that start prompt into the main prompt, and change/add a comma or empty space, your prompt that generates the image would actually not be the same as when you've had them seperated.
This would be expected behaviour.
I have tried to recreate your said scenario in version 5.1 and the 5.2 beta from my huggingface and was not able to do it :/
I saw in another post you answered that a new version will soon release. But i wanted to keep using the workflow cause for real its one of the best out there. But for some reason the Image Selector wont work anymore and the fix you told the other guy wont show the option for me.
Is that Fix node(recrete) from another node that isnt included in the workflow?
Heya @NSFWSEGUNDO,
what version are you using and what exactly is broken/is your console showing?
The Image Selector should work after using "Fix node(recreate)", that is a default comfy function as far as i am aware of.
Or at least part of the custom-nodes that are required for this workflow anyways.
If it's not working for you, you could already try the work-in-progress workflow already over on huggingface, there is only one small todo left, but it should already work perfectly fine.
You can find it here:
https://huggingface.co/vslinx/ComfyUIDetailerWorkflow-vslinx/blob/main/workflows/TXT2IMG/v5.2/TXT2IMG-ADetailer-v5.2-vslinx.json
@vslinx I'm using ComfyUI 0.20.1
@NSFWSEGUNDO i meant as in version of the workflow.
Are you using the 5.1 TXT2IMG?
If your comfy version is 0.20.1, what version is your frontend? you should be able to see it under settings > about.
Otherwise it'd help if you can post the error that you're getting in your console, and maybe try the 5.2 that i send in the last comment.
The "Fix node (recreate)"-Function is from the ComfyUI-Manager which you should have installed as it's basically the gateway to the other nodes.
@vslinx Sorry for the delay, my front end version is 1.42.15 and i was using the 5.1 TXT2IMG. The option to Fix Node(recreate) for some weird reason don't apear only on that workflow, any other and the 5.2 its shows up.
Comfyui is trying to give me an aneurysm this year.
I posted a comment here earlier this year, where an update with 'better V-ram' crashes my computer. You helped out but it took several updates before I could do anything.
Everything is now in a better state, I can finally generate images again, albeit 6 times as slow as before their 'efficiency' update.
So I felt adventurous, looked at your IMG2IMG guide and update all my nodes before trying the workflow. It gave greyscale images. Drat, oh well, I'll try again some other time.
Suddenly none of my old generations or workflows work, it just does nothing.
suddenly DZ-FaceDetailer is a conflicting node and disabled. I think that's the issue, since I only updated the nodes and added the 'pysssss' list as you suggested in the guide.
Any ideas (also thank you again for last time)
heya @MindAddiction,
sorry for the late answer - i've been quite busy with work the last 2 weeks so i didn't get to check my private projects much 🥲
ComfyUI updates have been a real pain in the ass for me too with their efficiency updates, even though i have a 24GB VRAM GPU that should handle this type of work easily.
The DZ-FaceDetailer uses the same node ID name "FaceDetailer" as the much more commonly used FaceDetailer from ImpactPack which is used in the workflow.
So that's probably what was causing issues with the workflow in your case!
Make sure you download all the custom nodes from the description here and don't rely too heavily on the nodes from the automatic missing custom node downloader as they only match per node-name which can cause conflicts :/
So make sure to throw the DZ-FaceDetailer out and download the ImpactPack custom_nodes :D
Let me know if this solved your issues!
I also have a 5.2 being prepared right now which brings a lot of improvements for generation time and especially for VRAM optimization since i don't want to rely on the ComfyUI vram optimizations. Right now i basically have the 5.2 for TXT2IMG ready but i'm still working on implementing all changes for the IMG2IMG version of it. If you want to try the 5.2 TXT2IMG workflow you can find it here.
@vslinx Thank you again for taking your time to respond and in detail! Is there anything I can do in return, like do you have ko-fi or something?
Anyway, still not working properly, unfortunately.
What did I attempt?
-backed up my custom nodes folder under C:\Users\NAMECOMPUTER\Documents\ComfyUI and then deleted everything.
-Used cmd in admin to go to
cd C:\Users\name\Documents\ComfyUI and git clone all the mentioned nodes.
-opened Comfyui again, and clicked the big blue 'run' button.
it ran and then immediately stopped again.
It is giving me several errors:
________________________________________________
Missing models
-Clip_Vision: CLIP-ViT-bigG-14-laion2B-39...
-ipadapter: noobAI\noobIPAMARK1_mark
-unknown: noobAI\noobaiXLControlnet
Missing inputs:
-images: (example) and Pre-Process image to Pose
and these errors:
Image filter:
Failed to convert an input value to a INT value
pick_list_start, , invalid literal for int() with base 10: ''
LoadImage:
Custom validation failed for node
image - Invalid image file: example.png
UpscaleModelLoader:
Value not in list
model_name: 'RealESRGAN_x4plus_anime_6B.pth' not in ['4x-UltraSharp.pth', '4x_foolhardy_Remacri.pth', 'RealESRGAN_x2plus.pth']
_________________________________________________
Most of these seem to relate to Controlnet and IPA, which I have never/not yet used before. And they shouldn't be enabled either.
The only one that might be causing an issue that I can't seem to find is the UpscaleModelLoader message.
SMALL RESOLUTION:
It did run when I disabled 'Image Selection', so that might be the current issue.
Though where it's having an issue, I don't know.
Tried this on your 5.2 as well, but even with Image Selector disabled it didn't run.
Do you have any suggestions?
@MindAddiction no need to thank me!
I do have a ko-fi but you don't have to bother, i always help when i can with the stuff i create - so no need to waste your hard earned money 🙂↕️
I have an explanation for all of the error's you're encountering, so let me go through them in order:
Missing models
-Clip_Vision: CLIP-ViT-bigG-14-laion2B-39...
-ipadapter: noobAI\noobIPAMARK1_mark
-unknown: noobAI\noobaiXLControlnet
ComfyUI sadly validates all node-inputs at execution time, and even if no downstream node requires any of the models, it'll still validate them and throw an error if NO model is selected.
That means you need to have at least a ControlNet model, IPAdapter Model and the CLIP-ViT model in their respective folders and selected for the workflow to run.
The IMG2IMG workflow requires at least the ControlNet model 100% because it's part of the process of the IMG Transfer as mentioned in the Guide.
So you have to download at least 1 model and select it in these Nodes:
"IPAdapter Models" and "ControlNet Models", you can find them in the description or in the guide under "Files".
"Missing inputs:
-images: (example) and Pre-Process image to Pose"
Usually when you install comfyUI there will always be a "example.png" in the Comfyui/Input folder, this does not happen for installer version of comfyui or the portable one.
If you do not have an example.png input image, you'll need to select a different image for the "Load Image"-Nodes in the Workflow. For the TXT2IMG-Workflow that'd be:
- Load IPAdapter Image
- Load ControlNet Image
- External ControlNet Image (Manual Inpainting Area)
The easier fix I'd say is to probably just put ANY image into your ComfyUI/Input folder and name it "example.png", then just refresh your browser window and they should load in.
Image filter:
Failed to convert an input value to a INT value
pick_list_start, , invalid literal for int() with base 10: ''
This was an error of the node-developer which made the node backwards incompatible, the node-developer has done this a few times already and it's always a pain in the ass but very easy to fix. You simply have to go down to the "Model Backend"-Area and rightclick the "Image Filter"-Node and then click "Fix node (recreate)" which will force the node to created again with the same settings which removes faulty configs of the node. You can see how to do it here.
In the 5.2 you don't have to do it since i've already done it, so you can keep the Image Filter on if you want to use it.
LoadImage:
Custom validation failed for node
image - Invalid image file: example.png
Same error as two above, easy fix is to simply add a "example.png" to your Comfyui/Input folder.
UpscaleModelLoader:
Value not in list
model_name: 'RealESRGAN_x4plus_anime_6B.pth' not in ['4x-UltraSharp.pth', '4x_foolhardy_Remacri.pth', 'RealESRGAN_x2plus.pth']
Like you said, this is because you need to select an upscale model that is in your list. You can simply just click on the Upscale Model and select one that is in your list, the one selected here was simply what i had selected. Newer versions of Comfyui should also mark all nodes red that need you to input any values because they are not present in your instance.
I wish comfy would stop forcing the validation of nodes that aren't even used in downstream nodes - but i doubt they'll do it any time soon :')
Some nodes don't require input and will just silently fail at point of execution which prevents problems like the ImpactPack Ultralytics Model-Selector that is used for the Detailer or my own "Load last generated Image"-Node that is used in the workflow. But the comfy default ones will sadly throw this error.
So for most of your errors just make sure to download at least 1 model and select it in the corresponding nodes (should be marked red by comfyui in newer versions) and you should be good to go!
@vslinx Sadly still not resolved, and gotten worse again.
I have no idea what I did, but not enabling Image Selection caused an image to be generated, but I could not choose which.
Today, after putting in an example image, etc. it only prints the example image. Nothing else works. Not even just running it. Just clicking on run, bar fills up and it says job done, in every iteration of images I've ever generated. 5.1, 5.2 etc...
I have no clue how updating a node wrecked every possible iteration I've ever generated, but there it is.
It also finds most of the files I downloaded, except the noobIPAMARK1. It does not detect it in my F:\Images\models for AI\models\ipadapter or C:\Users\name\ComfyUI\models\ipadapter maps.
I did have to make the map myself, but it seems fine with recognizing the noobaiXLControlnet_epsBlur etc, in the same map. So no clue.
Also, these errors were there before but were never really an issue, I never needed those models before I could generate anything, and implementing them only makes the system output the example images now.
I have no clue what is going on or how to even resolve it. Any assitance would be helpful because this is frustrating as hell, since I don't know how any of this works.
Could it be the pyssss settings? That was the only thing that changed along with the nodes.
Also I could not find:
Image filter:
Failed to convert an input value to a INT value
pick_list_start, , invalid literal for int() with base 10: ''
My Model Backend-Area does not seem to have the "Image Filter"-Node
and there is no option to click on click "Fix node (recreate)".
I put every setting I had in an imgur gallery:
https://imgur.com/a/14B5GJM
I think it might just be taking from the example instead of generating something itself.
Any help would definitely be appreciated, because I have no clue anymore.
@MindAddiction That is really weird, if you dont select anything, the workflow should never continue with the image selection activated.
When you run it and it just instantly finishes, is there anything in the console?
usually you should see an error, otherwise when a workflow instantly finishes it's due to the workflow not finding a model that has been selected.
It sounds weird that this happened after a node update, i'm running comfyui version 0.22.0 and frontend version 1.43.18. Can you check your frontend version?
Are you using symlinks for where you've put the files? I'm not sure how good comfy works with it, but you could just put a 1kb txt file, name it "placeholder.safetensors" and put it into the ipadapter folder and just select it in the node. It should work as long as you don't actually want to use IPAdapter.
These two problems probably correlate since the model is missing and therefore the workflow instantly fails on execution.
The reason you're seeing the example images as outputs, is because the workflow doesn't instantly stop anymore, so it at least can continue for a bit. The system doesn't really output them, it just shows them as preview images in the debug area.
The pysssss settings should not impact this behaviour whatsoever since all it does is some autocompletion in text fields.
In the 5.1 version you will find the Image filter here.
In the 5.2 version it's hidden in a subgraph and you'll have to click the icon in the top right corner of the node to see the node there.
For some reason it sounds like your setup might be a bit broken due to updates or something.
If you'd be fine with re-installing comfy somewhere else you could try my installation script which downloads the newest version of comfy with my workflows and all required nodes for them. Additionally it asks you if you want to download the controlnet models etc.
You could find it here as the windows-nvidia.bat.
But you can try the other things first.
Since you're now propagating the sample images further, it sounds like you're basically there but the image filter and ipadapter model might be your last problems.
@vslinx
I've followed your advice and done a complete reinstall on a completely different drive/partition.
Works decently with your install (though I am going to have to get used to the web interface, I always used the desktop variant.), but I am running into a problem that I can't identify yet.
This is in your 5.2 TXTtoIMG version.
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
https://pastebin.com/WFzJmHq5
@MindAddiction well i'm glad it seems to be somewhat decently working now!
Sorry you have to deal with a new environment 😅
On the bright side though: The git variant is the most frequently updated version, meaning you'll have it easier just upgrading in the future by doing a "git pull" which is nice (i think) haha
It also is definitely easier to debug and deal with once you've gotten used to it!
... IGNORE THIS PART ↓
Your problem seems to be the clip vision model, which is used for the detailers.
Usually the download script should install it unless something happens during the download that might corrupt the file. Can you check if you have a "CLIP-ViT-bigG-14-laion2B-39B-b160k.safetensors" file in your ComfyUI\models\clip_vision folder?
It should be around 3,43GB large (3.689.912.664 Bytes) in total.
.... IGNORE THIS PART ↑
NEVERMIND
I just checked and it seems that the repo that this clip_vision model was downloaded from was taken offline by the user. So you're missing the model used for detailing.
You can either download it here and rename it to: "CLIP-ViT-bigG-14-laion2B-39B-b160k.safetensors" and put it into the clip_vision folder.
Or you simply use the Model Manager inside Comfy Manager.
By first clicking here in the Manager and then simply searching for "CLIP-ViT-big" and click download/install here in this overview. This way it'll be downloaded and correctly renamed.
That should be the last puzzle piece to fix it :D
Thanks for bringing it to my attention, i have corrected the URL in the skript and guide/description.
@vslinx It works! I tipped you on your kofi, you really saved me a massive headache.
@MindAddiction just saw that! Thank you so much!! 🥰
Really didn't had to - but i really appreciate it!
I feel like i didn't really save you any headache and just caused headaches with my workflow, but i'll take it! haha
Again - thank you for your generosity! ♥️
I’m getting this error when using Set CLIP Skip:
AttributeError: 'NoneType' object has no attribute 'clone'
Can someone help me fix it?
Hey @jerdem44,
that error should only appear when you're trying to use a non-sdxl based checkpoint.
Since Clip-Skip can only be applied to CLIP based checkpoints like SD1.5, SDXL, Pony, Illustrious and NoobAI.
Which Checkpoint are you trying to use the workflow with?
@vslinx I’m using the Uncanny Photorealism checkpoint.
@jerdem44 Are you talking about this checkpoint?
https://civitai.com/models/2086389/uncanny-photorealism-chroma
If yes, this is a chroma based checkpoint, which this workflow wont work for.
If you're looking for a chroma workflow you'd have to go to https://civitai.red/models and click filter in the top-right, select "workflow" for model types and then under "Base model" search for chroma.
Thank you very much for sharing this excellent workflow.
I’m currently running into an issue when enabling ControlNet. During the workflow execution, the process fails at the KSampler (normal sampler) node in the sampling stage.
Here is the error information:
# ComfyUI Error Report ## Error Details - Node ID: 546:82 - Node Type: KSampler - Exception Type: TypeError - Exception Message: TypeError: 'NoneType' object is not iterableThe relevant part of the Python traceback is as follows:
File "D:\ComfyUI_windows_portable_new\ComfyUI\comfy\samplers.py", line 942, in set_conds self.inner_set_conds({"positive": positive, "negative": negative}) File "D:\ComfyUI_windows_portable_new\ComfyUI\comfy\samplers.py", line 949, in inner_set_conds if self.model_patcher.is_dynamic() and comfy.sampler_helpers.cond_has_hooks(conds[k]): File "D:\ComfyUI_windows_portable_new\ComfyUI\comfy\sampler_helpers.py", line 70, in cond_has_hooks for c in cond:My current ComfyUI version is 0.22.0.
Could you please help me understand what might be causing this issue, or if there is a known fix or workaround?
Thank you very much for your time and support.
Hey @Lokat,
can you check what your frontend version is under Settings > About?
This error sounds like the KSampler i not getting one of the two conditionings, either positive or negative. This could only happen if some of the connections between nodes are gone or mixed up.
In the past this happened when comfy broke a lot of the wiring in the frontend releases, if you're still on one of the older versions this could happen.
You could also try downloading my 5.2 version that's currently here:
https://huggingface.co/vslinx/ComfyUIDetailerWorkflow-vslinx/tree/main/workflows/TXT2IMG/v5.2
As i'm just finishing up some remaining wordings and creating sample images etc. for it to be released here.
@vslinx hello, my ComfyUI_frontend version is v1.43.18. I downloaded and tested your 5.2 workflow, but unfortunately the issue still persists and the error remains unchanged. Claude Code suggests that the bug may be related to the Advanced-ControlNet node. I’m still trying to figure it out, and if I manage to identify the cause, I’ll let you know. Thanks for your reply and help.
@Lokat can you check if you have the correct node installed?
If you're simply installing the nodes via the "Install missing custom nodes"-Feature you might accidentally install a wrong node that'll have compatibility issues with the actual node needed for you.
There is a node called Comfy_Dummy_Nodes that get's automatically installed because it has the same ID as the advanced controlnet. It breaks the Advanced ControlNet node so you have to make sure to uninstall if you have it and only install the Advanced ControlNet-Node that is in the description.
@vslinx You were right, after uninstalling Comfy_Dummy_Nodes, ControlNet started working properly again. Thank you so much for your help!
@Lokat glad it works! I wish the custom-node developer would just take his custom-node offline since it basically has no users except maybe himself but that's wishful thinking :D
Glad it works for you now!
Hi, is it possible for you to implement an update to support the necessary nodes for the Anima model, which seems to be all the rage lately? It requires VAE and text encoding—while the former is covered in the workflow, I'm not sure if the latter is.
Heya @last27683599,
i thought about turning this workflow into a anima version, but sadly most of these components don't work well with Anima (yet).
HiRes Fix is possible - but only with Ultimate SD Upscale and certain samplers/schedulers.
Detailing works awful - apart from some specific Anima based checkpoints.
Inpainting doesn't really work well either, except specially trained checkpoints for it.
IPAdapter and ControlNet don't work at all yet or just through a lot of hoops, like installing a specific fork of comfyui like here.
So i definitely thought about it and played around a bit yet, but sadly anima is not at the stage yet where even a third of the features of this workflow make sense :/
I have created a simple IMG2IMG and TXT2IMG Workflow for Anima already for private use, which is very different from this one - but i didn't release it yet because i don't think the interest was there and because i didn't had much more time at that moment to refine it.
Now Anima 0.2 and 0.3 came out already so i might revisit, but sadly even on Anima 0.3 i have not had that great results yet :') Yes the Prompt adherence is amazing and being able to use tags and/or natural language both is amazing - but i still get hallucinations, extra limbs and weird body horror so often that i might just think it's me that's the problem 😂
I definitely haven't given up on Anima and will see if i can release a workflow for it! But at this point in time it won't nearly have as much functionality as this one - simply because Anima doesn't support most of the functionality yet :/
@vslinx Thanks for the detailed breakdown! I wasn't aware of how limited the ecosystem support for Anima still is. Looking forward to seeing what you come up with once it matures a bit more!
Hello, first of all, thank you so much for this workflow, it's truly amazing!
I have just one issue: in other workflows or simple inpainting setups, I'm able to inpaint without any problems, even if the results aren't perfect, I can at least see some change happening. However, when I try to do manual inpainting within this workflow, I get no result at all. The entire process runs fine, but the output image remains completely unchanged.
I'm using PerfectPony, could this be the cause, or is there something I'm missing?
Thank you so much!
Hey @omfginkfc858,
could you possibly save the workflow you're trying to execute and upload it somewhere so i can check if there might be a settings that's not set correctly?
You could upload it to mediafire, google drive or some other platform you're comfortable using
Hello, sorry for the late reply, and thank you for offering to help!
After uploading my reference image to the Input Image section, I have no problem generating the image I want using ControlNet.
However, I can't use Inpaint to edit any image, whether it's in the TXT2IMG workflow or the IMG2IMG workflow. Whenever I try, nothing happens in the masked area, it simply doesn't produce any result.
I've already tried adjusting the Denoise and Context Factor settings, but it doesn't make any difference. As a result, Inpaint doesn't seem to have any effect, and it also doesn't influence Inpaint ControlNet in any way.
https://www.mediafire.com/file/y83zc1x4oceumgp/InpaintProblem.json/file
@omfginkfc858 no worries! :)
In the workflow you've send me, the "Inpaint?"-Switch is not activated.
Have you activated it when trying to inpaint? If yes, please send the workflow in the exact state of how you're trying to inpaint an image. This way i can check if something has been overseen 🫶🏽
@vslinx
Of course! Unfortunately, enabling Inpaint in the workflow doesn't make any difference either. 😕 Your workflow is amazing, and it would be awesome if I could get Inpaint working with your setup.
https://www.mediafire.com/file/c9bp51vh4ha1kle/InpaintProblemv2.json/file
@omfginkfc858 sry for the late reply :D i was out for the weekend.
I have just loaded your workflow, downloaded Prefect Pony v6 and just put an image in, drawn a mask and hit generate. And for me it did exactly as expected.
As you can see here, even if it looks ass because the style of the two images is incredibly wrong, i only drawn a mask, put your mentioned checkpoint and hit generate :/
So there must be something wrong on your end if you did indeed drawn a mask.
Can you show me a screenshot of what this area looks like for you after generating?
If something is wrong with your comfy instance there should be a error in your console where you start comfyui. If it's failing for you even though you've drawn a mask, i'd have to see your full log to check if anythings wrong there :/
I haven't changed any of your settings in my test-run apart from swapping out the model for the prefectpony that i downloaded since i didnt had it before.
@vslinx Hello again! :D Welcome back! :D
I've actually been struggling with this ridiculous issue for the past two weeks. Yesterday, I decided to build my own workflow, and while doing that I was planning to use Inpaint Crop and Stitch for the inpainting part.
While reading through the GitHub page, I randomly came across a line that said, "Set the mask opacity to 100%."
After spending all this time looking for some complicated technical issue, even reaching out to you, I realized the problem was just my own silly mistake... Mask Opacity...
Also, thank you so much for all your help! I really appreciate it.
@omfginkfc858 Oh damn! 😂
Well i'll put it on my "happens" list so if somebody runs into it i have another parameter they can check :P
Weird that the opacity wasn't set to 100% by default :D but yeah it definitely makes sense haha
Glad it got fixed now though! and i hope you'll enjoy the workflow ^-^
How long does it take to create images in 5.1 version?
hey @aimodelfree,
as with everything generative ai related it heavily depends on your gpu 😅
And also what additional processes you want to run.
You can create an image in 4 seconds if you don‘t do upscaling, hires fix, detailing and using a dmd2 lora.
But it could also take 60+ seconds if you‘re not using a dmd2 lora, upscale, hires fix and detail multiple body parts.
Was using this fine a couple months ago, but after updating comfyUI to try another workflow, when I came back to this one, using Image Selection would make it no longer work. I have just tried reinstalling windows but it still doesnt work, with the same errors from before reinstalling windows.
Image filter, LazySwitchKJ, and vsLinx_BypassOnBool have copyable errors.
Image filter
Failed to convert an input value to a INT value
video_frames, d75f40dc-a821-4c37-beda-588c6ae8fbc0, invalid literal for int() with base 10: 'd75f40dc-a821-4c37-beda-588c6ae8fbc0'
Failed to convert an input value to a INT value
pick_list_start, , invalid literal for int() with base 10: ''
LazySwitchKJ
Required input slots have no connection feeding them.
Neg swap is missing a required input: on_false
vsLinx_BypassOnBool
Required input slots have no connection feeding them.
Bypass CN Pose Preview on Inpaint is missing a required input: any
Return type mismatch between linked nodes
bypass, received_type(IMAGE) mismatch input_type(BOOLEAN)
Hey @AlmostARealOne,
have you tried loading the old workflow or have you downloaded the new version from this page? (v5.1)
If you've loaded the old one, comfyui had a few breaking changes where connections to nodes broke off etc.
And this is what has seemed to have happened here. If you've downloaded the workflow again, you should try upadting your KJ Node pack, the vslinx node pack and the cg-image filter one through the Comfy Manager if you can.
If you could check what your comfyui and comfyui frontend version are, it'd also be helpful.
For that you can go into Settings > About and then at the top you should see it.
You could also try downloading the current Work-In-Progress version of the 5.2 workflow here:
https://huggingface.co/vslinx/ComfyUIDetailerWorkflow-vslinx/tree/main/workflows/SDXL/TXT2IMG/v5.2
It had a lot of stability changes to fight comfyui's permanently breaking updates 😅
I've been finishing it up but haven't had a lot of time yet to move all changes to the IMG2IMG workflow which is why i haven't published it on civitai yet.
@vslinx Just saw msg and need to sleep for work, i just tossed in the 5.2 and ran it, it will run only if i have images in the ipadapter(even though all controls are turned off except for the image selecter, trying to test what didnt work) so it seems it does work with that. It was the 5.1 i was using comfyui 0.26.2 and comfyui_frontend 1.45.19, and the extensions manager says everything is up to date(had to install them all today from it after reinstall but doublechecked)
@AlmostARealOne sadly it's normal that the workflow won't run until all variables are provided.
That "sadly" doesn't have anything to do with my workflow but rather with how comfyui does pre-workflow validation before execution :/
The only thing i can recommend is to simply drop a "example.png" into the Comfyui/input folder. No matter what the image looks like, it'll take it as a base/default image for the workflow.
Usually ComfyUI comes with a example.png in it's input folder so i'd assume you probably have comfy portable, comfy desktop or a pinokio version installed :/ These versions do not come with that image, for whatever reason :')
@vslinx Correct, I run on comfy desktop, which does actually start it off with saying "example.png" and there is one in the input folder, but it stays blank and says missing input anyway.
I usually actively run it with the ipadapter on anyway, so it doesnt actually effect me, was just something I thought id point out, usure if it was known.
With my limited testing, it seems more stuck on strictly following the composition than it used to be on the old version(I tried changing it from its default to weak input as type?), but it does successfully run to "completion". Needs to be said in air quotes, as now that I am home to test it, there does not seem to save the completed img, as the output is empty.(i cant find the img saver to see how its connected, though i thought it did flash at the end as running before it said completed)
P.S This is unrelated to the issues, but do you accept commisions/requests on your workflow? The only reason I bothered trying a different one was because I saw one with a remove background at the end of it I wanted to try. Would you consider from either request/commision to add one to your txt2img workflow?
@vslinx Well I found the image saver, tried placing in a couple different ones and none worked, and then tried the other workflow with the BG remover and it could not save either. So I assume it is an issue on my side, though I do not know with what as I didnt have this problem the last time I set up comfyui.
While tracking down the image saver, I did figure out where I could add the BG remove before it though, so there is that. If you know what could potentially be causing my comfyui to not be able to save, I could use the tip, but your 5.2 seems to be working fine as far as I can tell.
@AlmostARealOne could it be that you have the wrong image saver installed?
If you simply installed all custom nodes through the comfyui manager/automatic missing node installer, you have most likely installed the wrong one with the same id and node name.
You should manually delete the ComfyUI-Image-Saver in your custom_nodes folder and git clone this one:
https://github.com/alexopus/ComfyUI-Image-Saver
As you can see it's from alexopus, which branched off of the original from giriss which was no longer maintained.
If you've installed all custom-nodes automatically, please also make sure you have the Advanced Controlnet installed from here:
https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet
And that you have not also downloaded this one:
https://github.com/FuryNocturn/ComfyUI-Dummy_Node_Pack
Because this one is done by someone and published that has no idea what he's doing and he has registered it in the official comfyui registry, meaning you'll automatically download it if you simply download the node by it's id.
@vslinx I didnt check what I had, but I deleted the image saver and installed the one via git clone you said to, and the other one is from Kosakadink version 1.5.7(couldnt find it to compare on github link) Your post mentions sending the log, but you cant attach attachments here, so I am going to dm them if you dont mind still helping to see if that lets you see better.
Edit nvmd, thought you could attach txt files there, not sure where I am expected to send log files at
@AlmostARealOne i'll hit you up in the dm's ^^
-- The user found the issue, leaving this here for people who might run into the same problem --
After downloading the v5.2 from the huggingface link above, the user could generate images but they were seemingly not saved.
It turns out that the Comfy Desktop application uses multi-instances by default and each comfy installation through Comfy Desktop has it's own instance folder.
So the images do not end up in your direct output folder (even though there is a file called "_output_images_will_be_put_here") like you'd expect, but instead in the output folder of the subfolder of that specific instance. In the Comfy Desktop application there is no Button that'll lead you directly to the comfy instance folder nor the output folder, so you'll have to find out yourself WHERE in that installation the folder is.
This is probably a very good WF. But it critically lacks a separate Note with a COMPLETE listing of ALL the models it uses
Hey @RussianMan_BRUTAL,
what do you mean? 🤔
All recommended models are mentioned in the guide as well as in multiple notes in the workflow itself.
As a workflow creator of a workflow of this size and range of functions, i assume that people that try this workflow know what a detailer, refiner, controlnet and ipadapter etc. is.
Regardless of that everything is explained in the notes in the workflow itself.
If you want to know the exact checkpoint, and/or loras used to create the example images, you can just check the resources for them as they are all linked.
This is a all-in-one workflow for ALL SDXL based checkpoints, meaning sdxl, pony, illustrious and noobai. I can't provide nodes with links to all models for all of these as they are completely based on your preference and since you'd need a different controlnet and ipadapter for illustrious than you'd need for base sdxl or pony.
The models that work unilateraly are just the detection models, for everything else you'll have to use what's compatible with the models you want to use. Hope that helps.
is it compatible for realistic 3d models like cyberrealistic pony? detection models seem for 2D
Can confirm this works for anime, hybrid, realistic, etc.







