aboutsummaryrefslogtreecommitdiffstats
path: root/.env.example
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-08 18:27:13 +0200
committerDanilo M. <danix@danix.xyz>2026-07-08 18:27:13 +0200
commit11d0c92828ae6218bac4c04272db371b0f47750a (patch)
treee634b7e7dd16e7ac867dc632089a98f253e5818a /.env.example
parent7d352acf2fe68945b85579a98debacbfffd84a3b (diff)
downloadimggen-11d0c92828ae6218bac4c04272db371b0f47750a.tar.gz
imggen-11d0c92828ae6218bac4c04272db371b0f47750a.zip
Add IMGGEN_WIDTH/IMGGEN_HEIGHT default size to .env
Bare prompt runs used the downstream 1024x1024 default. Now the wrapper seeds -W/-H from IMGGEN_WIDTH/IMGGEN_HEIGHT in .env when the flags are absent; -W/-H still override. .env.example documents the vars, notes the multiple-of-8 SDXL constraint, and suggests 1280x960 (landscape). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to '.env.example')
-rw-r--r--.env.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/.env.example b/.env.example
index af9e26e..94f2987 100644
--- a/.env.example
+++ b/.env.example
@@ -3,5 +3,9 @@ IMGGEN_OUT=/path/to/output
IMGGEN_CACHE=/path/to/model-cache
# IMGGEN_PORT=8765
# IMGGEN_MODEL=sdxl
+# Default image size when no -W/-H is passed. Must be multiples of 8 (SDXL constraint).
+# 1280x960 = landscape; omit both to fall back to 1024x1024 (square).
+# IMGGEN_WIDTH=1280
+# IMGGEN_HEIGHT=960
# IMGGEN_UID=1000
# IMGGEN_GID=100