CivArchive
    Preview 131026420

    A simple workflow for Klein family models in the first row was developed for 9b and 4b distilled versions, but it should work for base models with minimal changes (such as replacing ConditioningZeroOut with negative conditioning).

    For legacy mode, both ComfyUI preview previews and the mute/bypass toggle within subgraphs are broken again. I recommend launching ComfyUI using either

    --front-end-version Comfy-Org/[email protected] 

    or

     --front-end-version Comfy-Org/[email protected]

    The workflow is for legacy mode. I am not planning to make it useful or even test for Nodes 2.0 mode.

    Since for three months, despite my request, I haven't received a single feedback on the 🚩vX Latent versions of this workflow, I've concluded that it's unnecessary or pointless. 🚩v2.5 Latent will remain the last public experimental release and stay private. Ordinary versions will continue to be released as usual.

    🚩vX Latent This is an experimental versions of the workflow. It’s not intended for general use (though it might still work as a regular one🟢). The main goal here is to slow down degradation when editing images individually by one-by-one editioning. Typically, using VAE decode artifacts appears after 3–5 edits, which can be addressed by simply removing the latent encoding/decoding steps via two nodes: Latent Loader and Latent Save. This approach fully bypasses VAE entirely for preview purposes—only to use it during editing previews.

    I implemented a chain of K-samplers and used a specific schema; while there are no visible artifacts, over time the colors fade slightly, but this is still better than the standard Edit mode. If you try it out, please provide feedback about this workflow (whether positive or negative). I recognize that other methods exist for restoring images, but they’re much more complicated—so I’m exploring this approach first.

    At least for now, changing the size in Latent Edit mode isn’t available. It’s possible, but it comes with many limitations; I didn’t find the way I like. So you’ll have the same size as what was saved (.latent file).

    Description

    This is a fork or spin-off from a regular version, featuring latent load/save functionality.

    FAQ

    Comments (8)

    3d_irinMay 16, 2026
    CivitAI

    Hi! 😊 Thank you so much for this workflow! I tested the IMG2IMG mode so far, and it works really well. The result is surprisingly good, especially with character LoRAs - it changes the face/identity while still preserving the original image structure, which is exactly what I needed.

    I also really appreciate the overall design and the extra features. The workflow is powerful and very useful once you understand how it is organized.

    I wanted to ask a couple of questions, though.

    First, about the Resolution Master node: on my side, its UI seems to be glitching. The node appears almost like a blank green block, and the parameters are not editable from the side panel. I can only accidentally click invisible areas inside the node, which makes it very easy to change something unintentionally, for example batch size. Would it be possible to expose the main parameters like width, height, and batch size in a more accessible way, or make them easier to edit from the side panel?

    Second, I wanted to ask about the negative prompt. I could not find a clear negative prompt field in the workflow. Did you design it to work without a negative prompt by default, or is there a specific place where it should be connected? If I add my own negative prompt manually, will it actually affect IMG2IMG/Edit/Inpaint modes correctly?

    Other than that, thank you again for sharing it. The workflow is really cool and already helped me get much better results than my previous attemptsšŸ‘šŸ»

    DemonAlone
    Author
    May 16, 2026

    @3d_irin, Thank you for such nice feedback!
    About Resolution Master: You are probably using Nodes 2.0, and I experience this issue as well. I don't use Nodes 2.0 or intend to do so in the future. Nonetheless, resolution can still be changed on core nodes (for latent size and width/height).
    Regarding negative conditioning, yes—I don’t use it since I’m not using Base versions. However, if you want to enable it under UNet Loader with the "Name" (Image Saver) node—there’s a green subgraph called ā€œPositiveā€ (which I now realize is named incorrectly), you’ll need to remove the red ConditioningZeroOut node inside that graph and replace it with a similar copy of CLIP Text Encode (Prompt). Connect clip input to out, then connect negative conditioning to its output.

    If you run into any issues with either the first or second problem, feel free to text me back; I’ll do the necessary workflow modifications for you.

    three7sMay 21, 2026
    CivitAI

    Nice workflow but as of a few days ago getting this error message; Return type mismatch between linked nodes scheduler, received_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'bong_tangent']) mismatch input_type(['simple', 'sgm_uniform', 'karras', 'exponential', 'ddim_uniform', 'beta', 'normal', 'linear_quadratic', 'kl_optimal', 'bong_tangent', 'beta57'])

    DemonAlone
    Author
    May 21, 2026Ā· 1 reaction

    @three7s Usually, this involves either an installed RES4LYF or another custom sampler/scheduler. If you still want to use them and avoid the error message, go inside the KSampler subgraph and delete both instances of the 'Any to String (Image Saver)' node. Your images won’t have metadata about the sampler/scheduler anymore, but the error should disappear.

    three7sMay 23, 2026Ā· 1 reaction

    Nice! Works fine with RES4LYF disabled. Thank you.

    volianticq5953May 26, 2026
    CivitAI

    Thanks for the best workflows. You have the same workflow in archives v3.3 Latent and v3.3 Manual inpaint.

    Could you please explain in more detail how to use Inpaint and Latent Edit in this workflow? I can't quite figure it out. When using Latent Edit I get an error. And for Inpaint how do I draw a mask?

    volianticq5953May 26, 2026

    And regarding controlnet. What query should I use in the hint to activate it correctly?

    DemonAlone
    Author
    May 26, 2026Ā· 1 reaction

    @volianticq5953Ā , Thank you for the information about the file. The JSON was identical in both archives, but the PNG files, with embedded workflows, should be different. Anyway, I’ve fixed it.

    Regarding ā€œControlNet,ā€ I set it to ā€œEdit Mode,ā€ uploaded an image to load the image node, selected a preprocessor (I tried depth mask and something else – I don't really remember exactly), entered the prompt, but instead of using something like "change dress color," I used a common prompt in the same way as for txt2img/img2img.

    For the inpaint mask, it’s the same as always: right-click on ā€œLoad Imageā€ and select ā€œOpen in Mask Editor | Mask Canvas.ā€ There's more information within the workflow now, but still don’t expect it to perform as well as SDXL-like models.

    Concerning latent editing, it’s similar to working with images – you first need to save your initial .latent file for input. I mean there’s an option ā€œSave Latent with Metadataā€ and refreshing the workflow (pressing R). I plan to create a more detailed manual with examples and possibly develop my own "Save Latent" node instead of using the core one. For now, just use the standard version of the workflow.

    Workflows
    Flux.2 Klein 9B

    Details

    Downloads
    298
    Platform
    CivitAI
    Platform Status
    Available
    Created
    5/10/2026
    Updated
    8/14/2026
    Deleted
    -

    Files