inferwall CLI provides commands to run the HTTP API server, scan single inputs for testing, download and manage ML models, and generate API keys for authentication. Every command accepts --help for inline usage information.
inferwall serve
/v1/scan/input, /v1/scan/output, and /v1/health endpoints.
Configure server behavior entirely through environment variables — see the Environment Variables reference for the full list.
Example
You can also start the server directly with uvicorn:
uvicorn inferwall.api.app:app --host 0.0.0.0 --port 8000inferwall test
Examples
inferwall admin setup
IW_API_KEY) and an admin API key (IW_ADMIN_KEY), then writes both to .env.local in the current directory. Run this once after installation before starting the server in production.
Example
inferwall models install
Models are downloaded from HuggingFace and cached in
~/.cache/inferwall/models/.
Examples
inferwall models download
inferwall[standard] or inferwall[full]) and only need to fetch the model files.
Flags
Examples
inferwall models list
~/.cache/inferwall/models/).
Example