Repository navigation
Eric_Krea2 v1.1.0 — Initial public release
Self-contained ComfyUI custom nodes for Krea 2 (Krea AI's open-weight, from-scratch image model: single-stream MMDiT, flow matching, Qwen3-VL conditioning). No dependency on any other node pack.
Highlights
🧬 A real diffusers pipeline — not a reimplementation
Runs the genuine Hugging Face Krea2Pipeline loaded straight from weights, so you inherit upstream behaviour, fixes, and the correct trained prompt templates. There's no reverse-engineered sampling loop to drift out of sync with the model.
👁️ Vision Prompt (image-grounded conditioning)
Ground conditioning in 1–3 reference images through Krea 2's own Qwen3-VL vision path — a "prompt from a picture" effect (semantic style/content grounding, not pixel editing) with no training and none of the silently-discarded-reference pitfalls of the common community pattern. It auto-shares its megapixel budget across however many reference images you connect, and composes freely with img2img for structure + content on separate channels.
🎚️ Conditioning rebalance built into the sampler
The Multi-Stage Ultra V2 node carries cond_preset + cond_rebalance controls directly on the sampler, so you can retune the conditioning balance per run without rewiring the graph.
🗂️ Presets everywhere
Named JSON presets per section — loader / component loader / Apply LoRA / LoRA stack / Ultra / sigmas — each with a ★ Save button, plus a Merge Settings node and Settings from Image for one-click reproduction of a saved image's full recipe (embedded in the PNG).
🏗️ Honest multi-stage high-res
Up to 3 progressive stages in one node, with per-stage samplers, schedules, guidance and re-noise windows — and an on-node resolution-chain readout so you always see the real S1→S2→S3→decode sizes (and any field the VAE overrides).
🧪 Custom flow-matching samplers — no external solver
res_2m, res_2s, deis_3m, deis_4m re-implemented from the RES/DEIS papers, selectable per stage, with a shared schedule library (linear, balanced, karras, beta57, beta, bong_tangent, exponential) and a detail_bias control driven from a dedicated Sigmas node.
🖼️ First-class img2img
A VAE Encode node feeds an init_latent input; denoise strength is simply the stage's re-noise step window — no separate float to guess.
🎨 LoRA with per-stage settings + presets
Apply / unload / diagnose, plus a Multi-LoRA Stack — both with per-stage weights (S1/S2/S3) so a LoRA can steer composition harder than final detail (or vice-versa) within a single multi-stage run, and both with named-preset save/load.
⚡ Two high-res strategies for two checkpoints
Turbo → fast 4k via the 2× upscale-decode; Raw → controlled multi-stage re-denoise — plus optional downsample "quality-pass" VAE modes that are usually cleaner/sharper than the Wan 2.1 VAE at the same size.
🧩 Reference-latent edit pathway (experimental)
With an edit-trained LoRA loaded, a Reference Latents node feeds VAE-encoded reference images through the ai-toolkit "index_timestep_zero" method — real pixel/structure conditioning, reimplemented against our diffusers transformer. (Untested on a live model; requires an edit-trained LoRA — the base model can't read reference tokens.)
Getting started
Drop example-workflow.png from workflows/ onto the ComfyUI canvas to load the whole multi-purpose pipeline at once, then point the loader widgets at your local Krea 2 (Raw/Turbo) weights. See the README for node-by-node docs.
Requirements
- A ComfyUI Python env with a
diffusersbuild new enough to includeKrea2Pipeline, and atransformersprovidingQwen3VLModel. - Krea 2 weights in diffusers layout.
- Optional: FlashAttention / SageAttention for the faster attention backends, and the spacepxl Wan 2× upscale VAE (auto-downloaded on first use).