This project is designed as a local single-user application. The API has no built-in account system or authentication layer.
Default bindings are loopback-only:
- FastAPI:
IDEOGRAM4_SERVER_HOST=127.0.0.1 - WebUI:
IDEOGRAM4_WEBUI_HOST=127.0.0.1 - CORS: local Vite origins only
If you expose the server on a LAN or the public internet, put it behind your own access controls. The API includes expensive model operations and destructive local actions such as deleting generated images.
Do not commit .env, Hugging Face tokens, LLM provider keys, model files, LoRA
weights, SQLite databases, or runtime logs. The default .gitignore excludes
these local artifacts.
Before publishing a fork, run a history-aware secret scan such as GitHub secret scanning, gitleaks, or trufflehog.
The project loads Hugging Face model code with trust_remote_code=True, which
means model repository code should be treated as trusted local code execution.
Use IDEOGRAM4_MODEL_REVISION to pin a known model commit when reproducibility
or supply-chain review matters. Built-in LoRA presets are pinned to known
repository commits.
Please open a private security advisory or contact the maintainer privately for issues involving credential exposure, arbitrary file access, or unintended network exposure.