CivArchive
    Seed Variance Enhancer - Krea 2 Turbo - v1.0
    NSFW
    Preview 135365432
    Preview 135364785
    Preview 135360722
    Preview 135360723

    Seed Variance Enhancer - Krea 2 Turbo

    Seed Variance Enhancer is a ComfyUI node that adds randomness to the text embedding to produce more diverse, and sometimes surprising, image outputs. This version is optimized for Krea 2 Turbo.

    This node is an adaptation of ChangeTheConstants' SeedVarianceEnhancer (v2.2), retuned for Krea 2 Turbo (8-step distilled, Qwen3-VL 4B text encoder, guidance_scale=0). Like the original, it is released under the MIT No Attribution (MIT-0) license.


    Why this exists

    Krea 2 Turbo is a great model, but like other distilled Turbo models it suffers from low variation between seeds — change the seed and the images barely change. The original SeedVarianceEnhancer solves this for Z-Image Turbo by adding random noise to the text embedding, nudging how the model interprets the prompt so that outputs become more varied.

    The mechanism itself is model-agnostic, but the right amount of noise depends on the text encoder's embedding scale. Z-Image and Krea 2 (Qwen3-VL 4B) have different scales, so a fixed strength value ends up either too strong or too weak. This version is tuned so it works on Krea 2 out of the box.

    Seed Variance Enhancer trades some prompt adherence for variety. Some outputs will miss, but if you generate many images across different seeds, you're more likely to find one you love than without it.


    What's different in the Krea 2 build

    • auto_strength_factor (self-calibration) — The noise strength is specified as a multiplier of the measured embedding standard deviation (effective_strength = std × factor). This auto-derives the right strength regardless of the encoder's scale. On Krea 2, just leave it on and you don't have to hunt for an absolute number.

    • Richer diagnostics — With log_to_console enabled, it prints the embedding std, effective strength, real-token count, percentage of values noised, and — most usefully — how much the embedding actually changed (L2 perturbation). This makes it trivial to tell whether the noise is too weak or simply not reaching the sampler.

    • RNG isolation — The global torch RNG state is saved and restored around noise generation, so this node never disturbs the sampler's own seed.

    • It also inherits the v2.2 masking feature (protect important parts of the prompt from the noise).


    How to use

    Place the node between the positive prompt encode and the sampler.

    [CLIP Text Encode (Qwen3-VL 4B / type=krea2)] → [Seed Variance Enhancer - Krea 2 Turbo] → KSampler / SamplerCustom (positive)
    

    Leave the negative path untouched. Krea 2 Turbo runs with CFG off (guidance_scale=0), so generation is driven by the positive conditioning alone — which is exactly what this node modifies.


    Start with the defaults below. They add noticeable variety without hurting the fast generation too much.

    If you want more fun, raise auto_strength_factor and see what you get — you'll find outputs you'd never have thought of. Conversely, prompts that fall apart at default settings can produce great results once you lower steps_switchover_percent and tune the strength. Getting the best out of a given prompt can take some trial and error.


    If you're not seeing variation

    1. Set this node's seed to randomize / increment. The noise is keyed to this node's own seed. If it stays fixed, every run gets the same perturbation and a low-variance Turbo model will keep producing nearly identical images (this is the most common cause).

    2. Confirm the noised conditioning actually reaches the sampler. Crank auto_strength_factor up to 5–10 and generate. If the image breaks apart, the wiring is correct; if nothing changes at all, the node isn't in the active path.

    3. Turn on log_to_console and read the numbers. If L2_perturbation is under ~1%, the noise is too weak (raise the strength). If it's 30%+ but the image still doesn't change, the cause is wiring or a fixed seed — not strength.

    4. Longer prompts give more variety, because there are more embedding values to perturb.


    Installation

    Unzip the contents and place the KreaSeedVarianceEnhancer folder into your ComfyUI/custom_nodes directory. Start or restart ComfyUI. The node appears as "Seed Variance Enhancer - Krea 2 Turbo" under the advanced/conditioning group.


    Credit / License

    This node is a derivative of ChangeTheConstants' SeedVarianceEnhancer v2.2. Many thanks to the original author for releasing such a useful node. Both the original and this adaptation are under the MIT No Attribution (MIT-0) license.

    (日本語)

    Seed Variance Enhancer - Krea 2 Turbo

    Seed Variance Enhancer は、テキスト埋め込みにランダム性を加えることで、より多様で、時には驚くような画像出力を生成する ComfyUI ノードです。このバージョンは Krea 2 Turbo での使用に最適化されています。

    本ノードは ChangeTheConstants 氏の SeedVarianceEnhancer (v2.2) を、Krea 2 Turbo(8ステップ蒸留・Qwen3-VL 4B テキストエンコーダ・guidance_scale=0)向けに作り替えたものです。原作と同じく MIT No Attribution(MIT-0)ライセンスで公開しています。


    なぜ作ったか

    Krea 2 Turbo は素晴らしいモデルですが、蒸留された Turbo 系の宿命として、シードを変えても出力のバリエーションが乏しいという不満がありました。元になった SeedVarianceEnhancer は Z-Image Turbo 向けにこの問題を解決するノードで、テキスト埋め込みにランダムノイズを足してモデルのプロンプト解釈をわずかに揺らすことで多様性を出します。

    この仕組み自体はモデル非依存ですが、ちょうどよいノイズの「強さ」はテキストエンコーダの埋め込みスケールに依存します。Z-Image と Krea 2(Qwen3-VL 4B)ではスケールが違うため、固定値のままでは効きすぎたり効かなさすぎたりします。そこで Krea 2 でそのまま使えるよう調整したのがこのバージョンです。

    Seed Variance Enhancer は、プロンプトへの準拠を多少犠牲にして多様性を得るノードです。出力の中には失敗するものもありますが、異なるシードで多数生成すれば、使わない場合よりも気に入る一枚が見つかるはずです。


    Krea 2 版での変更点

    • auto_strength_factor(自動キャリブレーション) — ノイズの強さを、測定した埋め込みの標準偏差(std)に対する倍率として指定します(実効強度 = std × factor)。これにより、エンコーダのスケールに関係なく適切な強さが自動で決まります。Krea 2 ではこれを有効にしておくだけで、強度の絶対値を探す必要がありません。

    • 診断ログの強化log_to_console を有効にすると、埋め込みの std・実効強度・実トークン数・ノイズ適用率に加えて、埋め込みが実際にどれだけ変化したか(L2 比) を出力します。「効いていないのか/配線が届いていないのか」を一目で切り分けられます。

    • 乱数の分離 — ノイズ生成時にグローバル乱数状態を保存・復元するため、サンプラー側のシードに干渉しません。

    • v2.2 由来の マスキング機能(プロンプトの重要部分をノイズから保護)も引き継いでいます。


    使い方

    ポジティブプロンプトのエンコードとサンプラーの間に配置してください。

    [CLIP Text Encode (Qwen3-VL 4B / type=krea2)] → [Seed Variance Enhancer - Krea 2 Turbo] → KSampler / SamplerCustom (positive)
    

    ネガティブ側はそのままで構いません。Krea 2 Turbo は CFG オフ(guidance_scale=0)で動くため、生成を駆動するのはポジティブ条件付けのみ ── まさにこのノードが操作する部分です。


    推奨設定(Krea 2 Turbo / 8 ステップ)

    まずは以下のデフォルトから始めてください。迅速な生成をあまり損なわずに、はっきりとした多様性が加わります。

    さらに遊びたい場合は auto_strength_factor を上げてみてください。思いもよらない出力が得られます。逆に、デフォルトで画像が乱れてしまうプロンプトでも、steps_switchover_percent を下げて強度を調整すると優れた結果になることがあります。最適解はプロンプトごとに試行錯誤が必要な場合があります。


    バリエーションが出ないときは

    1. このノードの seed を randomize / increment にする。 ノイズはこのノード自身の seed で決まります。fixed のままだと毎回同じ揺らし方になり、低分散な Turbo では出力がほとんど変わりません(最も多い原因です)。

    2. ノイズ入りの条件付けがサンプラーに届いているか確認する。 auto_strength_factor を 5〜10 など極端に上げて生成し、画像が崩れれば配線は正常、まったく変わらなければ経路から外れています。

    3. log_to_console をオンにして数値を読む。 L2_perturbation が 1% 未満なら弱すぎ(強度を上げる)、30% 以上あるのに変わらないなら配線かシード固定が原因です。

    4. 長いプロンプトのほうが多様性が出ます。 ノイズを足せる埋め込み値が増えるためです。


    インストール

    zip の内容を解凍し、KreaSeedVarianceEnhancer フォルダを ComfyUI/custom_nodes に置いてください。ComfyUI を起動/再起動すると、advanced/conditioning グループ内に 「Seed Variance Enhancer - Krea 2 Turbo」 として表示されます。


    クレジット / ライセンス

    本ノードは ChangeTheConstants 氏の SeedVarianceEnhancer v2.2 を基にした派生版です。素晴らしい元ノードを公開してくれた作者に感謝します。原作・本派生版ともに MIT No Attribution(MIT-0) ライセンスです。

    Description

    FAQ

    Workflows
    Krea 2

    Details

    Downloads
    1,157
    Platform
    CivitAI
    Platform Status
    Available
    Created
    6/30/2026
    Updated
    7/7/2026
    Deleted
    -

    Files

    seedVarianceEnhancer_v10.zip

    Mirrors

    CivitAI (1 mirrors)