CivArchive
    Preview undefined
    Preview undefined

    The workflow is designed for a single image. I didn't test much it for batches more then one. Since v10.3 you can make multiple images in one job.

    The features of that workflow (in the newest version):

    • Basic generation and editing (TXT2IMG, IMG2IMG, inpaint);

    • LORAs with control of automatic adding keyword into prompt (through LORA Manager);

    • Advanced generation (multiply TXT2IMG control-net , inpaint, outpaint, onlymasked inpaint);

    • Checkpoint loader lora with some additional features for Pony (scores presets, rating presets, negative presets and so on);

    • Saving metadata in Civitai's format;

    • Advanced prompting (styles selector, control on lora's keyword, negative/positive presets, morphing support, prompt formatting);

    • 5 separated detailer groups with some pre-set settings, additional/combined prompt for each of them. You may add more detailer groups to connect them in the same way or delete it if necessary. I think it is pretty simple;

    • Almost fully switch-toggle control: if you use the workflow as is, you don't need any manual connection, muting, bypassing, activating. (The previews of the adetailers are exceptions. They have global toggles, but sometimes it's more useful to activate or bypass some of them manually. I didn't find a better decision for it. Since v11, there are no toggles for it; the previews are inside adetailers groups.)

    • Model upscale

    • Lama object remover

    • Not totally, but mostly nodes in the 'backend' (nodes under Lora Manager node) have tips on nodes and their links that give some help if you want to bring some modification;

    • Detailed (probably too detailed) a readme node with explanation of the logic of work and some advice.

    • Few bookmarks/shortcuts for fast navigation

    • Token counter for positive (+Lora's keyword + styles)

    • Florance-2 tag caption

    The main goal of this workflow is to make the basic functionality of the WebUI and some extensions I use as functional as possible, mostly for Pony, as a residual matter — sd and sdxl. Some of these attempts have already failed.

    Yolo/segmentation models:

    https://huggingface.co/ashllay/YOLO_Models/tree/main

    https://huggingface.co/Anzhc/Anzhcs_YOLOs

    Additional prompting:

    https://github.com/asagi4/comfyui-prompt-control

    Credits:

    The main concept is from this workflow https://civarchive.com/models/1507055/text-to-img-complete-workflow-multi-loras-adetailer-wildcards-and-more-comfyui by @Mittoshura.

    Description

    v4.0 Remade this workflow from scratch almost fully. Changed the internal logic, changed nodes to set the resolution; now it automatically puts a value divided by 8. Added (Inpaint/Outpainting) and Only masked inpaint modes. Removed experimental control-net img2img.

    v4.1. Fixed an issue when KSampler cannot get the model when all LORAs are bypassed.

    FAQ

    Comments (13)

    kg843Sep 6, 2025· 1 reaction
    CivitAI

    how can i fix this issue Required input is missing: latent_image - Return type mismatch between linked nodes: scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'zipf_linear', 'zeta', 'bong_tangent']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'zipf_linear', 'zeta', 'bong_tangent', 'beta57'])

    DemonAlone
    Author
    Sep 6, 2025

    Changing mode and turning back doesn't work?

    kg843Sep 6, 2025

    @DemonAlone It has no effect at all. It's the same no matter how many times I try.

    kg843Sep 6, 2025

    @DemonAlone Can you fix it and release a new version?

    DemonAlone
    Author
    Sep 6, 2025

    @kg843 Pretty strange... Anyway, try this one. It is not finished yet, but it should work. Please text me back the result. https://demonalone.ru/index.php/s/nZ3RCKo2Y9kYT4S

    kg843Sep 7, 2025

    @DemonAlone Using exporttmp.json also reports the same error without any change

    DemonAlone
    Author
    Sep 7, 2025

    @kg843 Does Raw mode is working? With or without adetailer.

    kg843Sep 7, 2025

    PytorchStreamReader failed reading zip archive: failed finding central directory

    DemonAlone
    Author
    Sep 7, 2025

    @kg843 What archive? If you use RAW mode and without adetailer, it will send an image directly to the preview node with red color.

    kg843Sep 7, 2025

    @DemonAlone This selection just outputs the image loaded in #125 intactly.

    DemonAlone
    Author
    Sep 7, 2025

    @kg843 yes, that should be, now if this works with any adetailers? And with v5.1 the behavior is the same?

    kg843Sep 8, 2025

    @DemonAloneYes, no other job t2i or i2i job.

    DemonAlone
    Author
    Sep 8, 2025

    @kg843 The problem seems to be not in the workflow, but try these three things anyway. V5.1 has a kSampler right next to adetailer's previews.

    First, connect your own latent image node (I am using vanilla but still) to kSampler in txt2img mode. Second, try replacing that kSampler with any other one while disabling all other options like Lora, Civitai metadata etc. I don't like the kSampler, but only this one works stable with scheduler selector for now.

    Third, disconnect Input parameters from kSampler and input your parameters directly.

    I have been working for a few hours while making my last image with blue girls, not even once did I get any errors.

    Workflows
    Other

    Details

    Downloads
    82
    Platform
    CivitAI
    Platform Status
    Available
    Created
    9/4/2025
    Updated
    5/14/2026
    Deleted
    -

    Files

    txt2imgIMG2IMGWorkflowForSDXLPONY_v40.zip

    allInOneWorkflowForSDXL_v41.zip

    Mirrors