Have you ever created an image you like and would have kept, but a face or hand just came out wrong? You need a workflow that can take control and address that.
Ever make an image that had multiple characters, but when you tried to assign them the correct eye color or expression, the checkpoint got confused, and you had to play generation roulette? You need a workflow that lets you decide whose face has to come out just so - no letting the model guess, total separation via individual detailers easily organized and there when you need them.
That is what this workflow, used properly, will allow you to do. This workflow is my daily driver T2I workflow for checkpoints based in SDXL, Illustrious and Pony, and now Anima and Krea too. It is based upon my Img2Img SDXL Workflow + META, which I was only able to create thanks to bits taken from other workflows, particularly those of Lonecatone23, Legendaer and Yukichan_IT, and Lonecatone23 advises me occasionally even to this day in the Dawn of the age of Krea, which was invaluable. Over several revisions, I have made a number of refinements to the workflow while at the same time striving to keep it simple so that even a beginner can take hold of this workflow and start generating.
About Version 6.3
I made some small changes. Big shoutout to bkidderz for showing me how he does wildcards. In order to implement his methods, I had to change my wildcard processor. However, doing so didn't break anything including freezing the seed in order to freeze the wildcard results, a handy feature. All images made in the gallery utilized the new setup, and I often gained inspiration from the wildcards before finally settling on what I would actually depict. You might have much more success with your prompt, and remember that since Krea 2 is so good with multi-character prompts, you could wildcard that!
About Version 6.2
Made some small tweaks to the detailer arrays -- some detailers were not connected to all the primitives, leading to unnecessarily high number of steps, etc. (3rd and 4th detailers across the board). Also connected the denoise mask to the feather primitive, allowing you to change both at once.
The main change in 6.2 is to get LoRAs working again. I know right? Horrible. Read all about that disaster here.
About Version 6.0
This version came about due to my attempts to limit image-saving to not unnecessarily save extra copies of the upscaled image if the detailers were not also running. Now in theory I could further enhance the logic so that if the detailers didn't find any SEGS and thus didn't run, to not save the additional file, but the LOGIC for this, the way I did it, created an error, and I didn't know how to fix it! Thanks to Lonecatone23, who swooped in to save the day, patiently showing me how, you all can benefit and me too.
Lonecat (south of the border, this hombre is known as the Lone Catone) showed me how to make the workflow more efficient, saving time on upscales and removing redundant processes. After getting his fixes, I incorporated them into SDXL 6.0 with a full overhaul. Then I copied that workflow and made the adjustments needed to create an Anima T2I, SDXL I2I, and Anima I2I workflow. The I2I workflows contain the same resizer feature but I made it better and more robust, so now you can resize it or not and scale your resized image up (or down) prior to generating. Get set nodes have been added in some areas to reduce the stringiness of the workflow, although it remains fibrous in many areas. Of course, Metadata saving remains in force, making it a snap to share your images on this platform Enjoy!
Main Features:
✦ Text to Img Generation - That's what we're here for, text to image.
Include Metadata / Embed Workflow Option. Stable 1 megapixel generation, or dare to increase it with Size Boost.
✦ Metadata saving included — CivitAI ready. You can also embed the entire workflow into your images, by default this is turned off.
✦ Upscaler with Color Matching - this is the feature that makes images go from good to great. Or use HiresFix for a quick increase in resolution
✦ Quality Tags Presets Switch - instead of typing Masterpiece, best quality, etc. etc.
✦ Two Segs Detailer Arrays - two SEGS pipelines (by default, hands and faces) that you can individually prompt or apply one prompt to all. Sophisticated tool created to handle individual details - your backstop for when the image has to be perfect.
✦ Parallel development with I2I workflow - if you learn this one my Img2Img works essentially the same way.
✦ CFG Controls - need more control, more CFG? It's handled automatically, crank it up to 10.
✦ LoRA Manager — Search your LoRA database with style, I love this node. Dump it if you prefer something else.
✦ Simple and reliable — Enter your prompt, hit run, let the segs previews populate, freeze the gen seed, and fill in prompts and run it again. That's it.
New with 5.0 SE
Skipped 4.0, just because
Seed Jump
Style Preset switching
Added a toggle and Subgraph for exceeding native SDXL resolution on initial gen
Fixed Typos for name of Face Detailer LoRA blocker nodes
Does not include Quality Tags Fast Switching, uses native concatenate nodes
5.0.1 Changes:
Changed Positive Text Box to Mira, which was already being used in this workflow
Changed Wildcard Processor
Seed controls Wildcard selection (Freezing seed freezes your wildcards too now)
Added Final Prompt Preview
Added a toggle and Subgraph for exceeding native SDXL resolution on initial gen
Slight rearrangement of Control Group, hopefully optimal
New with 3.0:
With 3.0, the layout has changed and metadata flows have changed. The checkpoint loader is now the checkpoint selector, which should provide some convenience and added stability. The LoRA blocker no longer requires fiddling with the spaghetti string to toggle it, there is now a toggle switch. Sliders have been implemented throughout the Input center, including controls for the Upscaler.
New with 2.2:
Added toggles for including the workflow in the image's metadata.
Added a means by which you can bypass the upscaler and still send the image (directly from phase 1 gen/hires fix) to the detailer, rather than being forced to use upscaler in order to access the detailer.
Color Matching directly following Upscaler - I have found that some models have noticeable drift in color tone and this corrects that, works beautifully.
New with 2.1:
Detailer moved to the back of the order, after upscale, to ensure that full control over expressions remains with you, the artist. I'm very happy with this workflow in its current form, although there might be new versions or changes down the line.
New with 2.0:
Raise CFG without crushing the image
Upscaler with a third save node
Somehow resists LoRA bleed, whether it's the scheduler / sampler combo or what I'd love to know. It's not perfect though!
Preview KSampler - a game changer for skipping unsatisfactory seeds. Use it!
You will need to download an upscaler model if you don't have one already.
How this Workflow Came to Be
I was using one of these massive workflows with all the bells and whistles and I ran into a snag. A LoRA was confounding the hand detailer and the hands were all coming out like macaroni alfredo. So, I turned off that LoRA. I was also running into a common problem: when two characters are in the frame, they end up with the same eye or hair color. The tags were blending across character BREAKs which is ultra common, and detailers that handle all bboxs in order cannot be instructed on each bbox individually. That's something that my I2I workflow was designed to do, and the mega huge T2I workflow with all its heft didn't have detailer separation as a feature.
I don't think I could add to such a complex workflow without tripping up and it end up taking 2 hours. I thought if I'm going to modify a workflow it might as well be my own. It would keep things simple with only nodes I know I have, I'd finish in under 30 minutes, and then I would have complete control over faces.
Saving the metadata is important too, however somehow in converting things and removing things that get concatenated (such as the natural language prompt), the metadata portion got a little scrambulated, and don't worry I fixed it -- but 30 minutes turned into a several hour affair. Under nine hours though, I'm pretty sure. The latter part was mostly testing and tweaking. I ended up making some changes to the detailer modules so that they don't spam the image feed, and upgraded that module to V1.1.
During testing, I started with one figure, then two, and I soon discovered that this workflow is absolutely a beast at ensuring your faces all look great. Whether you have one face in the image or five, the detailer can make each one pop with high aesthetic quality and unique expressions, and the SEGS previewer keeps you in control.
The hand detailer gives you per-segs control over hands although sometimes bad hands are going to happen, particularly when there are many in one image. Fingers in AI is always a little trickier, but the workflow allows you to add a hand detailer LoRA directly to the detailer, upping your chances of success dramatically. Do it. At the same time, that LoRA will be blocking other LoRAs that could create havoc on delicate fingers. I haven't seen this approach elsewhere, curious whether it holds up in your experience. Please let me know in the comments what you think about my LoRA blocker, if you have any aspects you think ought to be changed, bug fixes, etc. This is just version 1, it's bound to evolve.
Requirements
You will need a face bbox detector - like this one
You will needs a hands bbox detector - like this one
You might decide to add or replace a bbox detector for face or hands with one for eyes, or add another bbox array. For eyes, try this one
In ComfyUI you may need to turn some safety features off to use pickletensors. Consult AI if you run into problems.
Custom Nodes Used in the current version:
ComfyUI Impact Pack
rgthree-comfy
ComfyUI-KJNodes
ComfyUI-Easy-Use
ComfyUI-Crystools
efficiency-nodes-comfyui
Comfyroll Studio
Dynamic Thresholding (SDXL Only)
ComfyUI-Lora-Manager
ComfyUI_essentials
CG Use Everywhere Anything Everywhere
ComfyUI Impact Subpack
ComfyUI-mxToolkit
Skimmed_CFG (SDXL Only)
Various ComfyUI Nodes by Type
Comfyui_Mira
ComfyMath
ComfyUI Image Saver
ComfyUI-LogicUtils
JPS Custom Nodes for ComfyUI (Anima Only)
Description
Skipped v4.0
Quality Tags Style Swapper added
Replaced Wildcard Processing Node, and placed it under central seed management
Seed Jump on upscaler and detailers
FAQ
Comments (14)
For anyone who downloaded 5.0, there were some fixes and some minor features that were included in 5.0.1, please check it out.
I've a problem with installing Various Nodes -JWStringConcat. Even after manual git install Comfy is unable to see the nodes :(
Could be an individual case. I don't know for sure but the last time I had a problem installing a node pack, I uninstalled it, rebooted Comfy and then installed it. If you already did that, I would substitute those nodes, although it's kind of a pain and ugh.. The thing I liked about this node that when it is not in use, it's not caching whatever went through it last, which would basically corrupt the prompt with additional quality presets. So this one actually solved that problem and that is why it (or one like it) is needed for the way I set up that part of the workflow.
@MGHerder such a pity. I spent half day to figure out but no luck. I am not going to reinstall my comfy as it has too many nodes in it. But thank you man! You are doing great work!
@Inperfector I’ll put 5.0 back up without the quality presets part.. might take a while, got plans tonight
@Inperfector I ended up finding 5.0 and .. making some little fixes and tests and then uploaded it, in case you still want to use this workflow but without the change in concat nodes.
@MGHerder thank you for your efforts bud! I will have a try!
I made some changes and had a mismatch with resolution although I don't think anyone downloaded that version while it was erroneous. There was also an oversight on my part due to overlapping spaghetti that omitted the preset part of the negative prompt from the conditioning pipeline and the metadata. Tiny update that applies only to version 5.0.2, Those with 5.0.1 please update, apologies.
I noticed that when setting the presets to none, it crashed because the concat nodes can't accept a null value, so I connected the none presets to the switch, and I wanted to make sure this bug fix was applied to this model, making the latest version v5.0.3
I'm planning on adding an Anima version. Also, I've been using version 5.1 and should probably release that too. It's in some of my images' metadata... Minor changes, I'll provide documentation, just very busy!
Could you explain this part?
Parallel development with I2I workflow
So, does this workflow has or doesn't have an IMG2IMG node?
@OTAKKx From what I have heard Anima is not really set up for I2I. But I do have an SDXL I2I workflow and it’s very similar to this one and especially similar to my T2I SDXL workflow. I haven’t tried I2I anima at all.
@MGHerder oh, got it, I2I does work in anima, i've tested it myself, so feel free to look into it.
@OTAKKx THAT is useful information. Thank you, will definitely do so.


