updating to use stable-diffusion.cpp for the image generation as ollama has since removed it

This commit is contained in:
itsamejms
2026-08-24 11:23:10 +01:00
parent da443175c5
commit f3e06d2bd3
9 changed files with 430 additions and 256 deletions
+3 -2
View File
@@ -52,10 +52,11 @@ ollama pull llama3.2
ollama pull nomic-embed-text
```
Optionally, for image generation (macOS / Apple Silicon only):
For image generation, DM-Pal talks to a [stable-diffusion.cpp](https://github.com/leejet/stable-diffusion.cpp) `sd-server` (cross-platform) via its AUTOMATIC1111-compatible API. Download a model (e.g. Z-Image-Turbo or FLUX.2-klein weights), start the server, then point DM-Pal at it under **Settings → Image Server** (default `http://localhost:1234`):
```bash
ollama pull x/flux2-klein:4b
# build sd-server, then run with your chosen model
sd-server -m path/to/model.safetensors --vae path/to/vae.safetensors
```
## Where your data lives