Halloween2024 - ComfyUI Flux Guide
Hi everyone.As I wrote in my last article, I am not an expert in using ComfyUI. However, in the last few days I have discovered that I can use it as I want, but others have not figured out how (yet). So this article is - really very short and sweet - about the possibility of using ComfyUI to create images using Tensor.Art's Flux checkpoint.In this article, I'm assuming you already have ComfyUI on your computer and we can start fine-tuning right away.Next, if you haven't already, please install ComfyUI Manager. This is a very useful add-on that allows you to easily add missing modules to ComfyUI for example. You can use it to install the missing modules I used in my example if you want. I'll come back to this later.Now that ComfyUI is already installed, two things are needed.Flux Checkpointput it in your ComfyUI/models/checkpoints/ folderFlux VAE Fileput it in your ComfyUI/models/vae/ folderOnce we've done that, we can create the workflow we want. I've tried to illustrate it as best as I can, you can move it around later, but for replication purposes, it was much easier to read.Notes on the workflow:If you cannot completely recreate this workflow, i.e. saving the file, then you are missing the Save Image Extended extension for ComfyUI. This can now be easily added via the manager.Please do not be put off by the warning, the module works wonderfully (with the setup shown here), although I would have liked to have saved more information when saving.You can of course add as many LoRA etc. as you like to the workflow, one extension was enough for me to start with and it is also sufficient for the example.Next we create the images. Adapt the workflow to your needs:Prompt (Positive Prompt only)LoRA(s) or not (just "Bypass" them if you don't need them)Height & Weight of the image you want to createGuidance Scale (FluxGuidance)Sampler (KSamplerSelect)Scheduler & Steps (BasicScheduler)If you used my setup in the Save Image module, you will find the image named COUNTER_SEED in your output directory. The counter is having 5 digits (if you copied my setup) and is used to know order them the same way they got created. That's why I wanted to use this extension, because I couldn't create such file names with the standard Save Image module.The seed is needed to create the same image again within Tensor.Art. I've added it to the filename, so i just need to copy the name and remove the counter part and i don't need to use other tools or workflows to get the needed information out of the meta-data of the file.Ok... The result. I created a file that I want. How do I post it here? That's not possible. But the good point: create it again without the other images you generated first until you get the image you like the most.Make sure you use the same setup in Tensort.Art as in your workflow. In my case, I would like to have this now:Then you need to add the prompt used and generate your image again... BUT...as I mentioned before, I'm not a professional in using this AI tool... so there is a difference between the generated images. The difference is soooo small that it shouldn't be a problem for you, but I'll show you an example between Tensor.Art and creating the same file locally:If you compare these images (the first one is the local version) you might see a difference in the ornament on her chest. These differences are very very small but if it is THAT detail that makes the image perfect for you it may give a different result on Tensor.Art.So if anyone reading this has a solution to this problem feel free to help me with it.Thanks for reading