aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-08 18:28:58 +0200
committerDanilo M. <danix@danix.xyz>2026-07-08 18:28:58 +0200
commitdf499cf6f45a32f5cfab836eb84fd73a190f0727 (patch)
treea7303dd5c7a4f4f93a669d7cbd1f891e32e58c5d /CLAUDE.md
parent11d0c92828ae6218bac4c04272db371b0f47750a (diff)
downloadimggen-df499cf6f45a32f5cfab836eb84fd73a190f0727.tar.gz
imggen-df499cf6f45a32f5cfab836eb84fd73a190f0727.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md4
1 files changed, 3 insertions, 1 deletions
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