diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-08 18:28:58 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-08 18:28:58 +0200 |
| commit | df499cf6f45a32f5cfab836eb84fd73a190f0727 (patch) | |
| tree | a7303dd5c7a4f4f93a669d7cbd1f891e32e58c5d /CLAUDE.md | |
| parent | 11d0c92828ae6218bac4c04272db371b0f47750a (diff) | |
| download | imggen-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.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
