sdx 0.1.0-pre.2

Friendly CLI/server wrapper for sd-cli (stable-diffusion.cpp)
# sdx configuration
# Copy to ~/.config/sdx/config.toml

# Path to the sd-cli binary from stable-diffusion.cpp
# Optional — if omitted, the embedded sd-cli binary is used.
# sd_cli_path = "/usr/local/bin/sd-cli"

# --- Model profiles ---
# Each [models.<name>] section defines a named model profile.
# Use either "model" (single checkpoint) or component paths
# (diffusion_model, clip_l, etc.) for split models.

# SD 1.5 — single checkpoint
[models.sd15]
model = "/path/to/sd-v1-5.safetensors"
width = 512
height = 512
steps = 20
cfg_scale = 7.0
sampling_method = "euler_a"
scheduler = "discrete"
negative_prompt = "ugly, blurry, low quality"

# SDXL — single checkpoint
[models.sdxl]
model = "/path/to/sd_xl_base_1.0.safetensors"
width = 1024
height = 1024
steps = 25
cfg_scale = 7.0
sampling_method = "euler_a"
scheduler = "discrete"

# Flux Dev — split component model
[models.flux]
diffusion_model = "/path/to/flux1-dev-Q8_0.gguf"
clip_l = "/path/to/clip_l.safetensors"
t5xxl = "/path/to/t5xxl_fp16.safetensors"
vae = "/path/to/ae.safetensors"
width = 1024
height = 1024
steps = 20
guidance = 3.5
sampling_method = "euler"
scheduler = "simple"