From df499cf6f45a32f5cfab836eb84fd73a190f0727 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 8 Jul 2026 18:28:58 +0200 Subject: Document resident-model default and IMGGEN_WIDTH/HEIGHT Update README and CLAUDE.md for the two behavior changes: a bare daemon-up prompt run now uses the resident model instead of an interactive menu (menu removed), and default size comes from IMGGEN_WIDTH/IMGGEN_HEIGHT in .env (1280x960 landscape example, 1024x1024 fallback), overridable with -W/-H. Co-Authored-By: Claude Opus 4.8 --- CLAUDE.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CLAUDE.md') diff --git a/CLAUDE.md b/CLAUDE.md index 1356340..5936155 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -74,7 +74,9 @@ keep the old Dockerfile in git to revert. - Real host paths live in the gitignored `.env` (copy `.env.example` to create it), NOT in hardcoded wrapper defaults. `.env` sets `IMGGEN_OUT` → `/out` and `IMGGEN_CACHE` → `/models` (bind mounts), plus optionally `IMGGEN_PORT` (daemon port, default 8765, localhost-only), - `IMGGEN_MODEL` (default sdxl), `IMGGEN_UID`/`IMGGEN_GID`. `HF_HOME=/models` so the ~7.5GB + `IMGGEN_MODEL` (default sdxl), `IMGGEN_WIDTH`/`IMGGEN_HEIGHT` (default image size the wrapper + seeds into `-W`/`-H` when absent; must be multiples of 8; example `.env` is 1280x960 landscape, + unset falls back to 1024x1024), `IMGGEN_UID`/`IMGGEN_GID`. `HF_HOME=/models` so the ~7.5GB weights download once. Output paths in `generate.py`/`server.py` are all under `/out`. - Daemon args (`generate` endpoint) and one-shot CLI args (`generate.py` argparse) are kept in sync by hand in the wrapper; adding a flag means updating `generate.py`, `server.py`, and the -- cgit v1.2.3