CivArchive
    Preview undefined
    Preview undefined

    UPDATED 02.07.2025

    • 02.07. Updated sdxl-to-flux worklow to 4.6 (fixed the SDXL CN part, it was misbehaving)

    • 02.07. Updated Kontext workflow to 1.4 and bundled with it a Kontext inpaint workflow.

    Basics:

    1) Download ComfyUI portable from:

    https://docs.comfy.org/installation/comfyui_portable_windows

    Update ComfyUI from Update folder (using update_comfyui_and_python_dependencies.bat) REGULARLY.

    2) You will need Node Manager and use it to install some custom nodes.

    https://github.com/ltdrdata/ComfyUI-Manager

    Remember to update your nodes regularly.

    3) Lately, the Get and Set nodes don't seem to be found by the install manager. Since they are very helpful, just go to the repo and install them manually:

    https://github.com/kijai/ComfyUI-KJNodes

    and unzip it in:

    ComfyUI\custom_nodes

    To install the requirements, just go into the ComfyUI\custom_nodes\ComfyUI-KJNodes folder and copy the "requirements.txt" file and paste it in the python_embeded folder.

    Then, run cmd inside the python_embeded folder (which is the folder that ComfyUI uses for all its dependencies) and run the command:

    pip install -r requirements.txt

    4) Choose the workflow you need from the top of the Civitai page, and Download the .zip file and unzip it here:

    ComfyUI\user\default\workflows 

    5) In ComfyUI, Load (or drag) the .json file to open the workflow.

    NOTE: Using a picture onto your ComfyUI might load an older version of the workflow. Use the json files instead.

    NOTE: The Prompt box has 2 boxes. Do NOT prompt into the clip_l box, it follows prompts poorly and gives weird results.

    NODE COLORING:

    GREEN Nodes: In these nodes you can freely change numbers to get what you want.

    RED Nodes: These are my recommended settings. Feel free to experiment, though.

    Blue Nodes: These are loader nodes. Ensure you load your files here (just click on a filename and select one from your options). If you don't see any option, it's because you didn't place any file in the correct path or, if you did, you might need to refresh ComfyUI.

    • Press "R" to refresh ComfyUI if you are adding any model, etc. while ComfyUI is running.

    =============================================

    FEATURES:

    LORAs

    \ComfyUI\models\loras

    Wildcards

    \ComfyUI\custom_nodes\ComfyUI-Impact-Pack\wildcards
    • you can place them in subfolders too.

    WILDCARD NODE:

    • Populate mode allows you to prompt into the upper box with Wildcards.

    • Fixed mode allows you to prompt in the lower box without Wildcards.

    LLM

    \ComfyUI\models\llm_gguf\
    • You can use an LLM AI model to generate a descriptive prompt from a shorter one that you type.

    • Link to the model I use (Mistral-7B-Instruct-v0.3-GGUF)

    https://huggingface.co/MaziyarPanahi/Mistral-7B-Instruct-v0.3-GGUF/tree/main

    • Choose a quantization level that works for your PC.

    ControlNet (CN)

    \ComfyUI\models\controlnet
    • Best Depth pre-processor: DepthAnythingv2

    • Best OpenPose pre-processor: DWPreprocessor

    • NOTE: You need to play with settings if you are getting weird results.

    ADetailer

    \ComfyUI\models\ultralytics\bbox
    \ComfyUI\models\ultralytics\segm

    If you get a "no Dill" warning, either use a bbox model, or "no Dill" segmentation models that you can find from Anzhc on Huggingface.

    If you want to install some more models for Adetailer, just search CivitAI or Huggingface.

    Ultimate SD Upscaler

    \ComfyUI\models\upscale_models
    • Ultimate SD Upscaler takes a lot of system resources! It will generate 4+ tiles that will eventually be merged to create the final image, but enhances the final image with an incredible level of detail.

    • As an upscaler model, I have tested many, and the best ones seem to be from the SwinIR category.

    Flux Redux (IP Adapter)

    Requires two files

    flux1-redux-dev:

    https://huggingface.co/black-forest-labs/FLUX.1-Redux-dev/tree/main

    ComfyUI\models\style_models

    siglicp_vision_patch14_384

    https://huggingface.co/Comfy-Org/sigclip_vision_384/blob/main/sigclip_vision_patch14_384.safetensors

    ComfyUI/models/clip_vision

    Flux Infill Inpaint

    Requires

    FLUX.1-Fill-dev:

    https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev/tree/main

    ComfyUI\models\diffusion_models

    =============================================

    Workflows:

    F.1 img2img

    Version 1.1: Added LORA support, as well as the ability to set image resolution.

    NOTE: Using a person's LORA while using img2img will basically work as a face changer by attaching the LORA's face to the body that is being img2img-ed.

    =============================================

    F.1 Style Changer (RF Inversion)

    This worflow allows you to input an image, and change its style with FLUX as well as with LORAs.

    Then, it takes the output and passes it through Ultimate SD Upscaler and finally to Adetailer to improve hands, etc.

    NOTE: Keep the Prompts empty. Use LORAs for styling instead. This work best.

    NOTE: You can use a Character LORA + face Adetailer to switch faces at this stage.

    =============================================

    F.1 text2img 4.0

    This one does:

    1. text2img. It can use wildcards, LORAs, and 2x ControlNet.

    2. High Res Fix using Flux.

    3. Ultimate SD Upscaler

    4. Adetailer (up to 3) with LORA support.

      You should look here on CivitAI for extra models for detection, such as nails, glasses, eyes, etc. It can use LORAs.

    For models, see the Suggested Resources section. Those are models I am currently using.

    NOTE: If you don't want to use some node or feature, just click on a node (or box select multiple while holding Ctrl) and press ctrl+b to Bypass it (it's a toggle).

    NOTE on LLM: At this point I would not use it, since it has become obsolete. Just go to ChatGPT and ask for a prompt from your idea, it will give it to you even on the free version.

    PRO TIP!

    This workflow generates an image at each stage.

    If you get a bad result at any step:

    1) CANCEL the process from the queue.

    2) Load in ComfyUI the last good image (drag and drop in the interface).

    3) Change the options that resulted in things turning bad (in adetailer, for example, you might need either increase or decrease denoise).

    4) Generate the image. The process resumes from the image you are using, NOT FROM THE BEGGING, so you don't waste time! (typically valid for Adetailer, as long as it's in the cache, at least).

    In this example, I got an insufficient hand fix. So I stopped the process, re-loaded the last good image, increased denoised in the hand detailer node, and the process resumed from the last step (the hand fix, in this case ADetailer #2) without having to re-do everything.

    =============================================

    F.1 text2img LLM (Upcoming update)

    While an interesting concept to have "all in one" where a simple concept prompt is transformed into a verbose one, it is far easier to get it from ChatGPT, which will deliver the result without taking up your resources or needing extra models.

    =============================================

    SD TO FLUX Ultimate

    NOTE: This workflow requires SD ControlNets (not flux)!

    This one does:

    1. STEP 1: SD txt2img (SD1.5 or SDXL/PonyXL),

      ControlNet is at this stage, so you need to use the correct model (either SD1.5 or SDXL).

      It has Wildcards, and SD LORAs support.

    2. STEP 2: Flux High Res Fix

      Has SD LORAs support

    3. STEP 3: Flux USDU. One for upscaling and one for enhancing.

    4. STEP 4: Adetailer(s) (up to 6, I typically use Face and Hands)

      Important, the denoise value needed depends on the image. If you get a bad result at any stage, use the PRO TIP above.

      Here, I added 3 Flux Adetailers (face, hands and feet) since they to the best job, and up to 3 SD Adetailers (for NSFW support, since SD is much better at doing these, especially in non photographic styles).

    =============================================

    F.1 Fill Inpainting

    1. Press "choose file to upload" and choose the image you want to inpaint.

    2. Right-Click on the image and select "Open in Mask Editor". There, you'll be able to paint the mask.

    3. When you are done with the inpainting, press "Save ".

    • NOTE: This is slower than inpainting, since the whole image is re-calculated, but tends to work better.

    =============================================

    F.1 Inpainting (with Sampling from another image)

    1. Press "choose file to upload" and choose the image you want to inpaint.

    2. Right-Click on the image and select "Open in Mask Editor". There, you'll be able to paint the mask.

    3. When you are done with the inpainting, press "Save to Node".

    4. Sampling: You can use elements from either the same or a different image to inpaint. The second image can be any image at all (but must be same size, or resized to that). Just load it in the second Load Image Node, and mask the part you want to be used as "source material" to inpaint your first image.

    • If you don't want to use this option, just disable the 2nd image node (ctrl+B)

    • This is FAST. Only the inpainted area is re-calculated.

    =============================================

    SDXL inpainting (with Sampling from another image)

    Why this workflow here?

    As of right now, I am not getting certain "image details" from LORAs, so this is a workaround.

    1. Just generate your images with FLUX, and then inpaint nipples and other stuff using SDXL or Pony or SD1.5 models to get your desired results.

    2. Why not adetailer? Simple, it's faster to generate many times only the details you want rather than regenerating the whole image each time and hope the details are right. Especially in ComfyUI.

    Sampling: Now you can use elements from either the same or a different image to inpaint. The second image can be any image at all (but must be same size, or resized to that). Just load it in the second Load Image Node, and mask the part you want to be used as "source material" to inpaint your first image.

    • If you don't want to use this option, just disable the 2nd image node (ctrl+B)

    =============================================

    Outpainting:

    Not 100% super duper, but you can get some decent results by extending by up to 256 pixels per side. You might need a bit of RNG though.

    =============================================

    =============================================

    DEPRECATED: aka no longer supported

    High-Res fix 1.3 LITE (deprecated)

    Basically, this workflow works in 2 stages:

    • text2img: Here I added a node that allows you to select Flux safe resolutions by clicking the dimensions button in the Green Node.

    • img2img: This regenerates the image at a higher resolution, the Green Node is where you select the upscaling factor, similar to A1111.

    Version 1.1: Added a preview for each stage of the process.

    Version 1.2: Added the dedicated Flux node for prompting. It includes the Guidance scale, but only use the T5XXL box (the lower one).

    Version 1.3: Removed the secondary upscaling. It was added as a separate workflow.

    =============================================

    High-Res fix CN (Wildcards, Loras, ControlNet) (deprecated)

    NOTE: Please use version 1.6+. Previous version were not working with LORAs properly.

    2-Pass workflow:

    1. Flux txt2img

    2. Flux High Res Fix

    This has everything High-Res fix 1.3 LITE has, plus Wildcards and LORAs support.

    High-Res fix CN + Upscale (ControlNet, Wildcards, Loras, Ultimate SD Upscaler) (deprecated)

    3-Pass workflow:

    1. Flux txt2img

    2. Flux img2img

    3. Ultimate SD Upscale

    This workflow offers everything that High-Res fix does, but also has the Ultimate SD Upscaler (upscales by creating one tile at a time of the final image).

    =============================================

    text2img CN (ControlNet, Wildcards and Loras) (deprecated)

    1-Pass workflow:

    1. Flux txt2img

    text2img with Wildcards and LORA support. This one has no High-Res fix.

    Now includes Resolution Chooser (see the high res version above for explanations).

    text2img CN + Upscale (ControlNet, Wildcards, Loras, Ultimate SD Upscaler) (deprecated)

    2-Pass workflow:

    1. Flux txt2img

    2. Ultimate SD Upscale

    Just like text2img but also with Ultimate SD Upscaler.

    text2img Adetailer (Wildcards, Loras, Adetailer) (deprecated)

    Up to 3-pass workflow:

    1. Flux txt2img

    2. Adetailer #1

    3. Adetailer #2 (disable nodes with CTRL+B if not needed).

    Each Adetailer pass supports its independent prompting and LORA.

    =============================================

    SDXL to FLUX CN (ControlNet, Wildcards and Loras)

    Works with SDXL / PonyXL / SD1.5

    2-Pass workflow:

    1. SD txt2img

    2. Flux High Res Fix

    This allows you to generate images in any of your favorite style and automatically send them to img2img with FLUX. You might need to play with the denoise value to get best results.

    SDXL to FLUX CN + Upscaler (ControlNet, Wildcards, Loras, Ultimate SD Upscaler)

    Works with SDXL / PonyXL / SD1.5

    3-Pass workflow:

    1. SD txt2img

    2. Flux High Res Fix

    3. Ultimate SD Upscaler

    =============================================

    Upscaling: Just like the "EXTRA" Tab in A1111 / Forge

    \ComfyUI\models\upscale_models

    Not such a great way to upscale images IMO, but I included it here if you want it.

    • Upscaling:

      The math is a bit weird. If you are using a x4 upscaler, that x4 will be applied automatically, so you need to multiply that number by the factor you want to get the final scaling factor.

      Example: 4 x 0.25 = 1 (no upscaling)

    • Just use any upscaler you want.

    Description

    FAQ

    Comments (26)

    DiabolicXJun 3, 2025· 1 reaction
    CivitAI

    Everything works perfectly, probably one of the best workflovs here in the community, thank you for sharing 👍👍👍

    Daedalus_7
    Author
    Jun 3, 2025· 1 reaction

    You are welcome, and thanks a lot for the words of appreciation!

    DiabolicXJun 3, 2025· 1 reaction

    @Daedalus_7 deservedly 🤝

    PopHorn1956Jun 4, 2025· 1 reaction
    CivitAI

    I have no idea where to get all the models you use in adetailer group so it is rather useless to me :(

    Daedalus_7
    Author
    Jun 4, 2025· 1 reaction

    Have you tried a mysterious site called CivitAI?

    Daedalus_7
    Author
    Jun 4, 2025· 1 reaction

    Also, you can disable nodes you are not using, so you could still use the workflows if you want to not use something. Not to mention, that you can choose your own models for Adetailer and don't need to use mine. As for Anzhc's models, you can find them on huggingface:

    https://huggingface.co/Anzhc/Anzhcs_YOLOs/tree/main

    NOTE: Some are flagged as unsafe because they are older, but I am not using those anyway.

    PopHorn1956Jun 4, 2025· 1 reaction

    @Daedalus_7 Ofc I've started from HF... And "Adetailer" search instead of "ultralytics" was not so obvious for me too... Ok, I'vefound them but providing a link would be helpful

    PopHorn1956Jun 4, 2025

    @Daedalus_7 Thank you 

    katana88Jun 6, 2025· 1 reaction
    CivitAI

    Thanks for sharing the Redux workflow — it runs surprisingly well even on an 8GB VRAM setup! The hand detailer with manicure support is absolutely sick!

    Imperfect3931Jun 9, 2025· 2 reactions
    CivitAI

    Is this designed to work on a 4090, or do you need enterprise hardware? I can run Flux using a simpler workflow with no problem. This workflow however maxes out the 4090's ram and my PC's 64gb of ram. Once it caps memory, the gen freezes or says it's going to take 45 minutes. All settings default from the JSON, I just changed the prompt.

    If this isn't normal, what am I doing wrong?

    Daedalus_7
    Author
    Jun 9, 2025

    I have a 3090, and it works with no problems for me at about 1.47sec/it and using FP16 flux-dev, now i am even using clip-l fp32 and t5xxl also at fp32.

    You might need to see if you need to update comfyui, custom nodes, or various dependencies and pay attention to error messages you get when starting up confyui and try to feed them to chat gpt. It can be helpful.

    Also, try to close completely comfyui and restart it, sometimes some models just stay in memory for some reason and don't offload properly.

    Finally, Ultimate SD Upscale is heavy, so don't expect to be able to use your pc while that's running, it's very RAM hungry. You would need at least 96GB of RAM (I have 128GB) to do stuff like watching youtube etc. while it is working.

    nsdasfasjf83q1234Jun 19, 2025
    CivitAI

    When loading this I get "Missing Node Types" for SetNode and GetNode. I have installed KJNodes, and it doesn't seem to help. The manager doesn't seem to load the missing nodes, it just sits and loads forever.
    Any ideas?

    Daedalus_7
    Author
    Jun 19, 2025

    Since the Manager is not auto-detecting these at the moment, you'll have to download/install them manually:

    1) download the zip file from:

    https://github.com/kijai/ComfyUI-KJNodes

    2) Unzip it in:

    ComfyUI\custom_nodes

    3) Rename the folder to ComfyUI-KJNodes

    4) run cmd while in the python_embeded folder:

    python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-KJNodes\requirements.txt

    ==========================================================

    If you are getting an error installing the requirements, just go into the ComfyUI-KJNodes folder and copy the "requirements.txt" file and paste it in the python_embeded folder.

    Then, run cmd inside the python_embeded folder and run the command:

    pip install -r requirements.txt

    MuhHoJun 21, 2025

    where is python embedded folder? I can't find it

    Daedalus_7
    Author
    Jun 21, 2025

    @MuhHo It is available with the portable version of ComfyUI. Unfortunately, I only use that. If you are having trouble installing dependencies, ChatGPT or Copilot can be very helpful.

    duoyeJun 24, 2025
    CivitAI

    Missing Node Types When loading the graph, the following node types were not found
    检测加载器
    我这里提示缺少这个节点
    缺失节点右上角是Impact Pack 标题是UltralyticsDetectorProvider
    但是我注意到 Impact Pack 的其他节点没有报错,我将你的描述告知了AI,AI告诉我需要下载的三个我都已经安装,并且里面不是空文件,日期是最近几天安装的,我现在无法确定问题所在。

    Daedalus_7
    Author
    Jun 24, 2025

    You need to install them using the node manager.

    duoyeJun 24, 2025

    @Daedalus_7 
    你的提醒让我意思到可能是版本问题(我是使用的管理器安装缺失节点再补装的没安装上的),我查看缺失文件对应包的网址,里面提到最新V8.0版本要使用UltralyticsDetectorProvider节点需要单独安装扩展ComfyUI-Impact-Subpack,不过ComfyUI-Impact-Subpack提示推荐使用管理器安装ComfyUI Impact Subpack,但是我的管理器好像在缺失节点并没有识别出来,所以我只能选择根据流程线下安装但是安装成功后还是没有解决问题,并且似乎我安装的这个没有被我的管理器识别出来,大佬救命QAQ

    Daedalus_7
    Author
    Jun 24, 2025

    @duoye You might be missing some dependencies. Try to see which errors you get and feed them to chatGPT. Also, make sure your comfyui and all its dependencies are updated.

    duoyeJun 25, 2025

    @Daedalus_7 我重新检查了依赖,依赖有版本兼容的问题,不过这个AI说可以忽略。我尝试删了重装,但是管理器安装失败,我查看文件安装的是一个空文件,我重新尝试了8.0的前一个版本手动安装,并更新依赖到需求的版本,但是还是无法被识别。是否可能是这一个工作流的版本有点偏老了,我注意到这个工作流是去年年底的时候更新的而那个时候没多久就更新了8.0需要手动安装节点。我明天再看看换那个版本能用。我重新下的是这个版本。
    https://github.com/ltdrdata/ComfyUI-Impact-Pack/tree/20f2cac6f05d0031da99e713d59143bd61c197ef
    V8.0: The Impact Subpack is no longer installed automatically. To use UltralyticsDetectorProvider nodes, please install the Impact Subpack separately.

    fkBlizzardJul 11, 2025

    @duoye 不知道你解决没有,不过以防别人也遇到同样情况,我说一下我的解决方案,如果你用的是秋叶的启动器,尝试在启动器高级选项,环境维护,重新安装单个Python组件,输入Ultralytics,我使用这种方法解决了这个问题

    duoyeJul 11, 2025

    @fkBlizzard 感谢,我问题已经解决,今天刚好上来找工作流准备回复个解决方案。
    我的解决办法是自己手动安装,似乎问题是出自整合包的版本过后,导致无法正确的获取相应的节点。

    ZaxooshJun 27, 2025
    CivitAI

    What's the most suitable VAE for the Phase 1B?

    potsplit12216Jun 29, 2025
    CivitAI

    Could you suggest any good loras for fixing hands with adetailer? Without lora the result is really minimal

    Daedalus_7
    Author
    Jun 29, 2025

    Have you tried increasing the denoise? For best results, inpainting is the best way, though.

    Workflows
    Flux.1 D

    Details

    Downloads
    1,254
    Platform
    CivitAI
    Platform Status
    Available
    Created
    6/3/2025
    Updated
    6/12/2026
    Deleted
    -

    Files

    flux1DEVKontext_F1FillInpaint10.zip

    Mirrors