Text-to-Image
Diffusers
Safetensors
Krea2Pipeline
image-generation
diffusion
flow-matching
dit
krea
turbo
Instructions to use CalamitousFelicitousness/Krea-2-Turbo-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CalamitousFelicitousness/Krea-2-Turbo-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CalamitousFelicitousness/Krea-2-Turbo-Diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: krea-2-community
|
| 4 |
+
license_link: https://www.krea.ai/krea-2-licensing
|
| 5 |
+
pipeline_tag: text-to-image
|
| 6 |
+
library_name: diffusers
|
| 7 |
+
tags:
|
| 8 |
+
- text-to-image
|
| 9 |
+
- image-generation
|
| 10 |
+
- diffusion
|
| 11 |
+
- flow-matching
|
| 12 |
+
- dit
|
| 13 |
+
- krea
|
| 14 |
+
- turbo
|
| 15 |
+
base_model: krea/Krea-2-Turbo
|
| 16 |
+
base_model_relation: finetune
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Krea 2 (K2) Turbo - Diffusers
|
| 20 |
+
|
| 21 |
+
Diffusers-format conversion of the Krea 2 **Turbo** checkpoint from [Krea](https://krea.ai).
|
| 22 |
+
Turbo is an 8-step distilled model built for fast, high-quality text-to-image generation, and
|
| 23 |
+
is the checkpoint recommended for inference.
|
| 24 |
+
|
| 25 |
+
LoRAs trained on the undistilled
|
| 26 |
+
[Krea-2-Base-Diffusers](https://huggingface.co/CalamitousFelicitousness/Krea-2-Base-Diffusers)
|
| 27 |
+
apply directly to Turbo, so the recommended workflow is to train on Base and run on Turbo.
|
| 28 |
+
|
| 29 |
+
## Model Summary
|
| 30 |
+
|
| 31 |
+
Krea 2 is a latent-diffusion image model trained from scratch with an emphasis on aesthetics
|
| 32 |
+
and stylistic control. The architecture is a single-stream multimodal diffusion transformer.
|
| 33 |
+
|
| 34 |
+
- **Transformer**: single-stream DiT, 12.9B parameters, 28 blocks at width 6144. Grouped-query
|
| 35 |
+
attention, a learned output gate, per-head QK normalization, and a 3-axis rotary embedding.
|
| 36 |
+
A text-fusion stage inside the transformer collapses twelve text-encoder hidden-state layers
|
| 37 |
+
into one conditioning stream.
|
| 38 |
+
- **Text encoder**: [Qwen/Qwen3-VL-4B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct),
|
| 39 |
+
tapped at twelve intermediate layers (text-only conditioning).
|
| 40 |
+
- **VAE**: the Qwen-Image autoencoder (`AutoencoderKLQwenImage`, f8, 16 latent channels).
|
| 41 |
+
- **Sampler**: flow matching with a fixed timestep shift.
|
| 42 |
+
|
| 43 |
+
Weights are stored in their original mixed precision (bf16 matmuls, fp32 norms and modulations).
|
| 44 |
+
The transformer config carries `is_distilled: true`, so guidance is disabled automatically.
|
| 45 |
+
|
| 46 |
+
## Recommended Settings
|
| 47 |
+
|
| 48 |
+
Turbo is distilled for few-step sampling and runs without classifier-free guidance.
|
| 49 |
+
|
| 50 |
+
| Setting | Value |
|
| 51 |
+
| ------- | ----- |
|
| 52 |
+
| Steps | 8 |
|
| 53 |
+
| Guidance (CFG) | 0 (disabled) |
|
| 54 |
+
| Resolution | 1024 x 1024 up to 2048 x 2048 |
|
| 55 |
+
|
| 56 |
+
The timestep shift is pinned (`mu = 1.15`), matching the distillation schedule.
|
| 57 |
+
|
| 58 |
+
## Prompting
|
| 59 |
+
|
| 60 |
+
Natural-language prompts are recommended. Long, detailed descriptions yield the best results,
|
| 61 |
+
though strong images are produced from short prompts as well. For text rendering, the words to
|
| 62 |
+
be rendered are wrapped in quotes. An optional prompt-expansion system prompt is available in
|
| 63 |
+
the upstream [krea-2-oss](https://github.com/krea-ai) repository.
|
| 64 |
+
|
| 65 |
+
## License
|
| 66 |
+
|
| 67 |
+
The weights are released under the [Krea 2 community license](https://www.krea.ai/krea-2-licensing).
|
| 68 |
+
|
| 69 |
+
## Citation
|
| 70 |
+
|
| 71 |
+
```bibtex
|
| 72 |
+
@misc{krea2,
|
| 73 |
+
title = {Krea 2},
|
| 74 |
+
author = {Krea},
|
| 75 |
+
year = {2026},
|
| 76 |
+
url = {https://www.krea.ai/krea-2}
|
| 77 |
+
}
|
| 78 |
+
```
|