Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Krea Seed Variance Enhancer for SwarmUI

A custom C# backend extension built for SwarmUI that implements the KreaSeedVarianceEnhancer node mechanics.

Highly distilled "fast-render" models (such as Krea 2 Turbo) frequently suffer from extremely rigid seed variance, where altering the seed value produces near-identical layout composition. This extension introduces controlled, calculated vector noise directly into your prompt conditioning layer during early sampling steps to break out of rigid patterns—delivering fresh compositions, angles, and layout variations without changing your core prompt phrasing.


Prerequisites

Your underlying ComfyUI backend instance must have the following node tracking package installed to process the pipeline calculations:

  • ComfyUI-KJNodes (Or the original standalone KreaSeedVarianceEnhancer repository).
    • To Install via CLI: Navigate to your custom nodes directory and clone:
      cd SwarmUI/dlbackend/comfy/ComfyUI/custom_nodes/
      git clone [https://github.com/kijai/ComfyUI-KJNodes.git](https://github.com/kijai/ComfyUI-KJNodes.git)
    • Restart your backend/SwarmUI after manual installation.

Installation

  1. Create a directory named KreaSeedVarianceEnhancer inside SwarmUI/src/Extensions/.
  2. Save KreaSeedVarianceEnhancerExtension.cs and KreaSeedVarianceEnhancerExtension.csproj into that folder.
  3. Restart SwarmUI. The core will discover the .csproj and build the binary wrapper components automatically.

UI Parameters (Sampling Group)

Once loaded, the following sliders are added natively to your generation parameter sidebars:

  • Krea Variance Enhancer Enabled: Toggles processing intercept on/off.
  • Krea Variance Noise Insertion: Choose when noise is mixed (beginning steps is recommended to modify underlying layout foundation).
  • Krea Variance Auto Strength: Scales global intensity proportional to your prompt data distribution curve.
  • Krea Variance Randomize Percent: Controls exactly how many vector elements are exposed to shifts.
  • Krea Variance Granularity:
    • values: Scatters subtle variations (fine details/textures alter).
    • tokens: Shifts entire context concepts simultaneously (camera angles, subject layouts, completely new object positions occur).
  • Krea Variance Switchover Percent: Defines exactly when noise drops away completely so the model can spend the remaining iterations locking down sharp, clean, un-distorted details.

About

A custom C# backend extension built for SwarmUI that implements the KreaSeedVarianceEnhancer node mechanics.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages