DiffusionModelFiles

data class DiffusionModelFiles(val modelPath: String? = null, val diffusionModelPath: String? = null, val vaePath: String? = null, val taesdPath: String? = null, val clipLPath: String? = null, val clipGPath: String? = null, val t5xxlPath: String? = null, val llmPath: String? = null)(source)

The model files of a DiffusionEngine (UTF-8 paths to .gguf, .safetensors or .ckpt files).

Exactly one of modelPath (a full checkpoint, e.g. Stable Diffusion 1.x / 2.x / XL) and diffusionModelPath (a standalone diffusion model such as Flux, SD 3.5 or Z-Image, which needs its component files below) is required.

Constructors

Link copied to clipboard
constructor(modelPath: String? = null, diffusionModelPath: String? = null, vaePath: String? = null, taesdPath: String? = null, clipLPath: String? = null, clipGPath: String? = null, t5xxlPath: String? = null, llmPath: String? = null)

Properties

Link copied to clipboard

optional CLIP-G text encoder (SD 3).

Link copied to clipboard

optional CLIP-L text encoder (SD 3 / Flux).

Link copied to clipboard

standalone diffusion model; pair it with the component files below.

Link copied to clipboard

optional LLM text encoder (Qwen-Image, Z-Image, ...).

Link copied to clipboard

full checkpoint containing the diffusion model, VAE and text encoders.

Link copied to clipboard

optional T5-XXL text encoder (SD 3 / Flux).

Link copied to clipboard

optional tiny autoencoder (faster, lower-quality decode).

Link copied to clipboard

optional VAE override.