stable-diffusion.cpp/docs/models/krea2.md

3.7 KiB

Krea2

Krea2 uses a Krea2 diffusion transformer, the Wan2.1 VAE, and Qwen3-VL 4B as the LLM text encoder.

Model files

Component Weights and downloads CLI option Requirement
Krea2 Raw Safetensors
GGUF
--diffusion-model Choose matching variant
Krea2 Turbo Safetensors
GGUF
--diffusion-model Choose matching variant
vae Safetensors --vae Use matching VAE
Qwen3-VL 4B Safetensors
GGUF
--llm Use matching text encoder

Usage

Web UI

Follow the Web UI guide to start the server, then select the recipe matching your weights. Fill the component slots below and click Load models. Use the files and compatibility requirements in Model files.

Recipe Component slots
Krea 2 Raw (krea2-raw) diffusion_model, llm, vae, tae
Krea 2 Turbo (krea2-turbo) diffusion_model, llm, vae, tae
Krea 2 Raw Edit (krea2-raw-edit) diffusion_model, llm, llm_vision, vae, tae
Krea 2 Turbo Edit (krea2-turbo-edit) diffusion_model, llm, llm_vision, vae, tae

Slot IDs correspond to CLI component options: diffusion_model uses --diffusion-model, llm uses --llm, and model uses -m / --model. Select optional components when required by your checkpoint or task.

The Edit recipes require a matching Ostris-compatible community editing LoRA, selected separately, and reference images. Each reference goes through both the vision encoder and VAE. Select a vision projector in llm_vision when it is not bundled in the text encoder. The recipe does not load the LoRA automatically.

DGL

Example Description
Text to image Krea2 Raw.

Run a script

Edit paths, prompts and settings in the script's var block, then run from the build directory. Paths inside the script resolve from the working directory.

Windows (PowerShell)

.\bin\Release\sd-cli.exe -M dgl --script ..\docs\dgl\krea2\krea2-raw-txt2img.dgl

Linux/macOS

./bin/sd-cli -M dgl --script ../docs/dgl/krea2/krea2-raw-txt2img.dgl

Choose another script from the table to run a different task. Add --check to validate syntax and types without loading weights. See the shared run instructions for build paths and the server's file-access rules.

Legacy CLI

CLI examples use the shared path and shell conventions.

Krea2

Windows (PowerShell)

.\bin\Release\sd-cli.exe `
  --diffusion-model ..\models\diffusion_models\Krea-2-Raw-Q8_0.gguf `
  --llm ..\models\text_encoders\Qwen3-VL-4B-Instruct-Q4_K_M.gguf `
  --vae ..\models\vae\wan_2.1_vae.safetensors `
  -p "a lovely cat holding a sign says 'krea2.cpp'" `
  --offload-to-cpu `
  -v

Linux/macOS

./bin/sd-cli \
  --diffusion-model ../models/diffusion_models/Krea-2-Raw-Q8_0.gguf \
  --llm ../models/text_encoders/Qwen3-VL-4B-Instruct-Q4_K_M.gguf \
  --vae ../models/vae/wan_2.1_vae.safetensors \
  -p "a lovely cat holding a sign says 'krea2.cpp'" \
  --offload-to-cpu \
  -v
Krea2 Raw example