Krea 2 Drops Open Weights for Text-to-Image
Krea just published the technical report for Krea 2, their first foundation model series built for creative image generation. Two checkpoints are available: K2 Raw, an undistilled base model for fine-tuning and research, and K2 Turbo, a guidance-distilled and timestep-distilled version for fast few-step generation. Both are open-weights, which means you can download them, run them locally, fine-tune them, and build on top of them.
I spent the afternoon reading through the 84-reference technical report. What struck me isn’t just the model architecture — it’s the infrastructure story. Most foundation model papers gloss over the data systems and training pipelines. Krea’s report goes deep on the unglamorous parts: how they built a 208 TB metadata store on PostgreSQL, why they picked Weka over a DIY Ceph cluster, and how they handle GPU failures at scale without losing training progress.
The Architecture: DiT-M with Zero-Terminal SNR
Krea 2 uses a Diffusion Transformer (DiT) backbone with modifications they call DiT-M. The core idea is familiar if you’ve followed the DiT lineage from Peebles & Xie (2023) through SD3 and FLUX: treat image patches as tokens and run them through transformer blocks. Krea’s twist is combining this with flow matching — specifically, a rectified flow formulation with zero-terminal SNR, meaning the noise schedule goes all the way to pure noise rather than stopping short.
Why does zero-terminal SNR matter? In practice, it means the model learns to generate from true random noise rather than partially corrupted images. This produces more diverse outputs and reduces the “mean face” problem where diffusion models converge toward average-looking generations. The tradeoff is that training is less stable — you need careful signal-to-noise ratio scheduling to prevent gradients from exploding in the terminal timesteps.
The model uses Grouped Query Attention (GQA) with 8 query heads and 2 key-value heads, following the pattern DeepSeek-V2 popularized for LLMs. Each transformer block uses a SwiGLU feedforward network — another LLM architecture import that’s become standard in diffusion transformers. For positional encoding, they use RoPE (Rotary Position Embeddings) applied in 2D across the latent grid, which gives the model a built-in sense of spatial relationships without explicit position tokens.
K2 Raw vs K2 Turbo
The two checkpoints represent different points on the quality-vs-speed spectrum:
| K2 Raw | K2 Turbo | |
|---|---|---|
| Distillation | None (base model) | Guidance + timestep distilled |
| Generation steps | 28-50 | 4-8 |
| Use case | Fine-tuning, post-training research | Fast inference, real-time apps |
| Creative control | Higher (more CFG range) | Lower (distilled guidance baked in) |
K2 Raw gives you the full undistilled model. You can crank classifier-free guidance up or down, experiment with different samplers, and fine-tune on custom datasets. K2 Turbo has guidance and timestep distillation baked in, so it generates in 4-8 steps instead of 28-50. The tradeoff is you lose some creative control — the guidance scale is effectively fixed.
If you’re a researcher building on top of text-to-image models, start with K2 Raw. If you’re building a product where latency matters, K2 Turbo is the pragmatic choice.
RL Fine-Tuning: Beyond Aesthetic Scores
Here’s where Krea 2 diverges from most open image models. After pretraining, they run a multi-reward RL stage using a variation of Flow-GRPO — essentially, online reinforcement learning for flow matching models.
The reward model isn’t just a single aesthetic scorer. They train multiple reward heads covering different quality dimensions: aesthetic quality (using a custom predictor), prompt alignment, composition accuracy, and style diversity. The RL stage optimizes the model against a weighted combination of these rewards, which means the final model isn’t just “pretty” — it actually follows complex prompts better.
This is philosophically similar to what LLM labs do with RLHF but applied to diffusion. Instead of labeling preferences between generated images (which is expensive and noisy), they use automated reward models trained on human preference data. The Krea team reports that the RL stage produces noticeable improvements in prompt adherence without sacrificing aesthetic quality — something that’s been hard to achieve with earlier post-training approaches like DPO for diffusion.
They also mention early experiments with Multi-Teacher On-Policy Distillation (MOPD) — training domain-specific expert models (e.g., one expert for photorealism, another for illustration style) and distilling them into a single student. This avoids the capability collision problem where merging expert weights degrades both. The approach is validated internally but not yet part of the public K2 release.
The Infrastructure Story: PostgreSQL at 208 TB
The most technically interesting section of the report isn’t about model architecture at all. It’s about how Krea built their data processing pipeline.
They run a custom system called krablet — a sharded PostgreSQL cluster where each node (krablet) holds one shard of the training metadata plus a deployment of “funnel” servers that batch and queue mutations to minimize lock contention. All reads go through a layer of RPC servers that maintain connection pools to every shard.
The numbers are wild: 208 TB of metadata alone, processing tens of thousands of contended UPSERT transactions per second. This isn’t a traditional data warehouse — it’s an operational system where every image in the training pipeline has a row, and workers claim and process rows using FOR UPDATE SKIP LOCKED semantics.
The elegance is in how they model the entire data pipeline as a queue built on Postgres tables. Each processing stage (OCR, embedding, captioning, deduplication) is a column. Workers run queries like:
WITH picked AS (
SELECT image_name FROM images
WHERE contains_text IS NULL
ORDER BY ocr_last_tried_at NULLS FIRST
LIMIT 8
FOR UPDATE SKIP LOCKED
)
UPDATE images i SET ocr_last_tried_at = NOW()
FROM picked p WHERE i.image_name = p.image_name
RETURNING i.*;
This is a work queue with atomic claim semantics and automatic retry ordering. Failed rows get retried at the end of the queue because last_tried_at updates atomically. No dead-letter queues, no Kafka offset management, no dropped messages. If a worker crashes, its claimed rows just get picked up by another worker on the next poll.
The researchers interact with this through a library called pluck, which provides a Table.map(fn) interface. Under the hood it uses TABLESAMPLE for statistical partitioning, then processes batches with the same SKIP LOCKED pattern. A researcher can spin up a thousand worker pods on Kubernetes or one — the system autoscales based on COUNT(*) of unprocessed rows.
Storage: Weka Over DIY Ceph
For the actual model training, Krea evaluated building their own Ceph cluster (they estimated 14 days of engineering time to deploy and tune) against Weka, a commercial parallel filesystem. They went with Weka.
The performance gap was significant: Weka delivered higher throughput and lower latency than their projected Ceph numbers. But the real win was operational. When InfiniBand fabric instability hit their cluster, Weka’s support team diagnosed it within hours. With a DIY Ceph cluster, that’d be days of internal debugging.
The one self-inflicted wound they acknowledge: IPoIB mode (IP over InfiniBand) contributed to fabric instability. The InfiniBand fabric was already unstable before Weka, but IPoIB made it worse. This is the kind of infrastructure detail most papers skip — I appreciate that they included it.
What’s Missing and Where They’re Going
The report is honest about limitations. Krea 2 models are undertrained by the team’s own assessment — they ran conservative architecture and optimizer choices to prioritize stability, and the next pretraining cycle will scale up significantly.
Their roadmap includes several ambitious directions:
Scaling to native 2K-4K resolution using sparse attention. Current production image models generate at ~1K and upscale. Native high-res generation would eliminate the upscaler artifact problem entirely.
Mixture of Experts (MoE) for the diffusion transformer. This is a direct import from LLM scaling — if it works for diffusion the way it worked for language models, it could dramatically improve parameter efficiency.
Architectural simplification. Right now, serving a production diffusion model requires an autoencoder, a diffusion transformer, a text encoder, a prompt expansion model, and sometimes a style reference model or upscaler. Each component has independent training pipelines and mutual dependencies. Krea wants to unify these under a single model, similar to how LLM training centers on one unified transformer.
Native structured prompting. Users don’t just write natural language prompts anymore. They use tags, JSON, bounding boxes, visual guidelines, and Markdown. The team sees native comprehension of these formats as a core model capability rather than a preprocessing hack.
How Krea 2 Stacks Up
There are a lot of open-weights image models now. Here’s my rough take on where K2 fits:
Against SD3.5 Large: Krea 2 has better prompt adherence in my testing, especially for complex compositional prompts. The RL fine-tuning stage shows. SD3.5 still wins on raw photorealism in standard portrait scenarios, but K2 pulls ahead when prompts get creative — unusual lighting, mixed media styles, abstract concepts.
Against FLUX.1 [dev]: FLUX has been the open-weights quality leader for a while. K2 Raw is competitive but not clearly better on standard benchmarks. Where it differentiates is creative exploration — FLUX trends toward polished, commercial-looking outputs, while K2 Raw gives you more stylistic range. If you’re generating stock photos, stick with FLUX. If you’re an artist experimenting with styles, K2 is more interesting.
Against FLUX.1 Krea [dev]: Krea and Black Forest Labs previously collaborated on FLUX.1 Krea [dev], which was a fine-tuned FLUX variant. K2 is a ground-up retraining, not a derivative. The jump from fine-tuning someone else’s model to training your own foundation model is significant — it means Krea now controls the entire pipeline from data curation to RL.
The open-weights landscape in mid-2026: We’re seeing a pattern where image models are following the LLM trajectory. More open releases, more technical transparency, and increasing competition on infrastructure rather than just architecture. Krea 2 fits squarely in this trend. The model is good. The infrastructure story is better. And the fact that they published an 84-reference technical report with real PostgreSQL schema and InfiniBand war stories makes me optimistic about where this is heading.
Who Should Use Krea 2
Researchers and fine-tuners — K2 Raw gives you a clean base model with no distillation artifacts. You have full control over the generation process.
Product builders who need fast inference — K2 Turbo generates in 4-8 steps. That’s fast enough for interactive applications without requiring a GPU cluster.
Anyone building on open-weights image models — Krea 2 is competitive with current open models like SD3.5 and FLUX, and the technical report gives you enough detail to understand exactly what you’re working with.
Who Should Skip It
If you need production-ready image generation with no setup, use Midjourney or DALL-E through an API. Krea 2 is for people who want to run models locally, fine-tune, or build custom pipelines. The open weights come with a custom license — check krea.ai/krea-2-licensing before commercial use.
I’m most excited about the infrastructure transparency. Foundation model companies usually treat their data pipelines as trade secrets. Krea’s willingness to share the krablet architecture and their honest assessment of Weka-vs-Ceph is genuinely useful for teams building at this scale. The model is solid. The infrastructure story is what makes this report worth reading.