Krea-2 Bridged Direct Pixel Head

English | 简体中文 | ComfyUI Node (GitHub) | Comfy Registry

1:1 held-out comparison against stock qwen_image_vae

Related Repositories

Model ComfyUI Node Weights Notes
Krea-2 (this repo) Wither033/ComfyUI-Krea2-PixelHead pocis/Krea-2-PixelHead 52.6 MiB BF16, 6144d bridged RGB, 59.55 ms (24.7×), 33.33 dB
Qwen-Image 2.1 Wither033/ComfyUI-QwenImage21-PixelHead pocis/Qwen-Image-2.1-PixelHead 48.8 MiB (1x) / 52.1 MiB (1x+2x), 4-ch RGBA, 5.55 ms (67.1×), 33.91 dB
MiniMax-H3 (preview) Wither033/ComfyUI-MiniMaxH3-PixelHead pocis/MiniMax-H3-Video-PixelHead Experimental preview (not recommended for production yet; high-frequency textures are soft)
Training Code & Notes Wither033/FastFrames-PixelHead-Trainer HF Collection Training toolkit, DiT hook notes, and Colab L4 scripts

English

Krea-2-PixelHead is a 27.49M-parameter (52.6 MiB BF16) bridged direct pixel readout head for Krea-2 (Comfy-Org/Krea-2, krea/Krea-2-Turbo, krea/Krea-2-Raw, FP8/INT8/GGUF quantizations, and fine-tunes).

Following FastFrames (arXiv:2611.23226), it reads SingleStreamDiT's 6144-dim modulated target-image tokens right before last.linear (stripping text and style-reference tokens) together with the denoised 2×2 latent patches (d_lat = 64), decoding to RGB in 59.55 ms vs 1468.9 ms for the 242.0 MiB 3D-causal qwen_image_vae.safetensors (24.7× faster).

Files

File Size Notes
krea2_pixel_head_bf16.safetensors 52.6 MiB Recommended (BF16 trunk + FP32 output projection).
krea2_pixel_head.safetensors 104.9 MiB Full FP32 checkpoint (27.49M params).
workflows/01_Krea2_PixelHead_ZeroVAE_EN.json 8 KB Zero-VAE workflow + optional stock VAE comparison (English).
workflows/01_Krea2_PixelHead_ZeroVAE_ZH.json 8 KB 免 VAE 直出与官方 VAE 对比工作流(简体中文)。

Benchmark (768×768 Held-Out Fine-Art Split, NVIDIA L4)

Decoder Size Median Latency Speedup PSNR (↑) LPIPS-VGG (↓) Extra VRAM
Official qwen_image_vae 242.0 MiB 1468.90 ms 1.0× (ref) 0.0000 ~1.8–5.5 GB
Krea2PixelHead 52.6 MiB 59.55 ms 24.7× 33.33 dB 0.2300 < 0.2 GB

1:1 Crops (Left: Official 242 MB VAE · Right: 52.6 MB Krea2PixelHead)

Lace Collar Portrait (37.1 dB) Oil Portrait Hands (39.1 dB)
Renaissance 1:1 Hands 1:1
Color Illustration (32.9 dB) Copperplate Etching (30.8 dB)
Group Illust 1:1 Etching 1:1

Setup in ComfyUI

  1. Install ComfyUI-Krea2-PixelHead via ComfyUI Manager (comfyui-krea2-pixelhead) or git clone.
  2. Place krea2_pixel_head_bf16.safetensors into ComfyUI/models/pixel_heads/ (or ComfyUI/models/vae/).
  3. Insert Krea-2 Pixel Head Tap on the MODEL wire before KSampler, and replace VAEDecode with Krea-2 Pixel Decode (Zero VAE).

简体中文

Krea-2-PixelHead 是适配 Krea-2(含 Comfy-Org/Krea-2、8 步 krea2_turbo、krea2_raw 原版、FP8/INT8/GGUF 量化版及微调版)的免 VAE 像素直出头,BF16 权重体积 52.6 MiB。

模型在采样最后一步读取 SingleStreamDiT 进入 last.linear 前的 6144 维图像特征与 2×2 去噪潜块:

  • 解码耗时:在 L4 上解码 768×768 中位耗时从官方 qwen_image_vae 的 1468.9 ms 降至 59.55 ms(约 24.7×),文生图无需加载 VAE;
  • 还原精度:40 张留出油画与版画样本均值 33.33 dB PSNR(肖像类样本 37.1~41.6 dB);
  • 兼容模式:支持 8 步 Turbo(CFG = 1.0)、20~35 步多步采样(CFG > 1.0)以及风格参考图输入。
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for pocis/Krea-2-PixelHead

Base model

krea/Krea-2-Raw
Finetuned
Comfy-Org/Krea-2
Finetuned
(4)
this model

Collection including pocis/Krea-2-PixelHead

Paper for pocis/Krea-2-PixelHead