Downloads · 30 days
1.6K
42% of all-time downloads
MLXBits/krea-2-mlx-q4
krea-2-mlx-q4 is a text-to-image model from MLXBits. Use it when you need an image from a text prompt. It is set up for mflux. The card lists the license as other.
A 4-bit quantized MLX conversion of krea/Krea-2-Turbo, saved with mflux for fast local text-to-image generation on Apple Silicon.
Downloads · 30 days
1.6K
42% of all-time downloads
All-time downloads
4K
Public
Parameters
2B
15.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.8 GB · 100%
How the weights are stored.
U321.6B · 80%
From the Hugging Face model README
A 4-bit quantized MLX conversion of
krea/Krea-2-Turbo, saved with
mflux for fast local text-to-image
generation on Apple Silicon.
Krea 2 is a single-stream MMDiT text-to-image model built on the Qwen-Image stack: it reuses the Qwen-Image VAE and conditions on a 12-layer hidden-state tap from a Qwen3-VL-4B text encoder. The Turbo variant is distilled and produces high-quality images in 8 steps.
| Base model | krea/Krea-2-Turbo |
| Format | MLX safetensors (sharded) |
| Quantization | 4-bit |
| Saved with | mflux 0.18.0 |
| Pipeline | Text-to-image |
| Hardware | Apple Silicon (Metal / MLX) |
This is a ready-to-run quantized snapshot, so it loads without re-quantizing at runtime. It contains the transformer, the Qwen3-VL-4B text encoder, the tokenizer, and the Qwen-Image VAE. At 4-bit it is the smallest snapshot (~7 GB), trading some fidelity for a lower memory footprint than the 8-bit build.
Install mflux:
pip install mflux
Generate from the local model directory:
mflux-generate-krea2 \
--model /path/to/krea2-q4 \
--prompt "a photograph of a red fox sitting in a sunlit forest clearing, sharp focus, bokeh" \
--width 1024 \
--height 1024 \
--seed 42 \
--steps 8
Turbo defaults: 8 steps, guidance 1.0 (CFG off), er_sde sampler. The
plain flow-matching Euler sampler — which matches the official diffusers
FlowMatchEulerDiscreteScheduler — is available via --scheduler euler.
Standard mflux CLI options are supported (--metadata,
--stepwise-image-output-dir, multiple --seed values). Image conditioning
(edit / reference) is not yet implemented.
from mflux.models.krea2 import Krea2
model = Krea2(model_path="/path/to/krea2-q4")
image = model.generate_image(
seed=42,
prompt="a photograph of a red fox sitting in a sunlit forest clearing, sharp focus, bokeh",
num_inference_steps=8,
width=1024,
height=1024,
guidance=1.0,
)
image.save("krea2_fox.png")
[32, 48, 48],
per-head QK-norm + sigmoid-gated attention, AdaLN-single 6-way modulation, and
a txtfusion adapter that fuses the 12 text-encoder hidden states.[2, 5, …, 35] flattened
layer-major; the chat-template prefix is stripped so only prompt tokens
condition the DiT.This conversion inherits the license of the base model,
krea/Krea-2-Turbo. Review and accept
the original model's terms before use.