Local AI image generation that runs on your hardware. No subscription, no cloud uploads, no per-image cost.
I built ALICE for fun. I wanted to generate images on my own hardware without paying per image or uploading prompts to someone else's server. ALICE is a standalone Stable Diffusion service with a web interface, an OpenAI-compatible API, and native integration with SAM. Your prompts and images never leave your hardware.
Use ALICE on its own through the web interface, connect it to SAM for image generation, or integrate it with any client that supports the OpenAI image API.
ALICE is part of Synthetic Autonomic Mind.
- Generate images locally - Stable Diffusion runs on your hardware. No subscription, no cloud uploads, no per-image cost.
- Standalone web interface - Browse, generate, and manage images at
http://localhost:8080/web/. No other software needed. - Use with SAM - SAM connects to ALICE for image generation. Ask SAM to create an image and ALICE handles it.
- OpenAI-compatible API - Any client that speaks the OpenAI image API can use ALICE. Generate images, list models, manage galleries - all via REST.
- Browse and download models - Search CivitAI and HuggingFace from ALICE's web interface. One-click download.
- Private by default - Generated images are private. Share selectively with time-based expiration.
- Works on your hardware - NVIDIA (CUDA), AMD (ROCm, including Steam Deck), Apple Silicon (Metal), or CPU fallback.
ALICE needs two things: the software (installed below) and at least one Stable Diffusion model. See Getting Models after installing.
Apple Silicon Macs (M1/M2/M3/M4) get GPU-accelerated generation via Metal. Intel Macs run CPU-only.
Prerequisites: Homebrew and Python 3.10+
# Install Homebrew if you don't have it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Python 3.10+
brew install pythonInstall ALICE:
git clone https://github.com/SyntheticAutonomicMind/ALICE.git && cd ALICE
# Background service (recommended - starts automatically at login):
./scripts/install_macos.sh
# Or install without the background service (start manually):
./scripts/install_macos.sh --manualThe installer detects your Mac's architecture, installs PyTorch with the right backend (MPS for Apple Silicon, CPU for Intel), and sets up the service. It runs entirely as your user account.
Service management:
launchctl start com.alice # Start
launchctl stop com.alice # Stop
tail -f ~/Library/Logs/alice/alice.log # LogsConnect to SAM:
- Make sure ALICE is running - open
http://localhost:8080/healthto check - In SAM go to Settings > Image Generation
- Set the server URL to
http://localhost:8080 - Download a model (see Getting Models)
- Ask SAM to generate an image
For a full macOS setup guide, see docs/MACOS-DEPLOYMENT.md.
TAG="$(curl -s https://api.github.com/repos/SyntheticAutonomicMind/ALICE/releases/latest | python3 -c "import sys,json;print(json.load(sys.stdin)['tag_name'])")"
VERSION="${TAG#v}"
curl -sL "https://github.com/SyntheticAutonomicMind/ALICE/releases/download/${TAG}/alice-${VERSION}.tar.gz" | tar xz && cd alice-* && sudo ./scripts/install.shInstalls as a systemd service to /opt/alice. Detects AMD (ROCm), NVIDIA (CUDA), and CPU-only automatically.
git clone https://github.com/SyntheticAutonomicMind/ALICE.git && cd ALICE
make docker-up-cuda # NVIDIA
make docker-up-rocm # AMD
make docker-up # CPU onlyALICE needs at least one Stable Diffusion model to generate images. Models are large files (2-10GB) that contain the AI's learned knowledge. ALICE doesn't ship with models - you download them separately.
SDXL produces high-quality images at 1024x1024. Requires about 6-8GB of memory (unified memory on Apple Silicon).
- Juggernaut XL - Photorealistic, great all-rounder
- DreamShaper XL - Versatile, handles artistic styles well
- RealVisXL - Realistic portraits and scenes
SD 1.5 models are smaller (2-4GB) and work well on lower-memory systems. Native resolution is 512x512.
- Realistic Vision - Photorealistic
- DreamShaper - General purpose
- Deliberate - Detailed and flexible
Option 1 - ALICE web interface (easiest)
Open http://localhost:8080/web/ and go to the Download tab. Search for a model on CivitAI or HuggingFace and click Download.
Option 2 - Download manually
Download a .safetensors file from CivitAI or HuggingFace and place it in:
- macOS:
~/Library/Application Support/alice/data/models/ - Linux:
/var/lib/alice/models/(system install) or~/.local/share/alice/models/(SteamOS)
ALICE auto-discovers models on startup. In the web interface, go to Models > Refresh to pick up new models.
Real-time system status, GPU monitoring, and quick generation access
|
Full parameter controls: model selection, schedulers, guidance scale, dimensions
|
Organize and manage generated images with privacy controls and metadata
|
| Platform | Backend | Notes |
|---|---|---|
| NVIDIA | CUDA 12.4 | Recommended. 8GB+ VRAM |
| AMD | ROCm 6.2 | Full support including Steam Deck. See AMD Deployment Guide |
| Apple Silicon | MPS | M1/M2/M3/M4. Automatic acceleration |
| CPU | Fallback | Works on any system. Significantly slower |
- Stable Diffusion 1.5 - 512x512 native resolution
- Stable Diffusion 2.x - 768x768 native resolution
- SDXL - 1024x1024 native resolution
- FLUX - High-quality model with extended capabilities
- Custom models - Any Stable Diffusion variant
- Formats - Diffusers directory or single
.safetensorsfile
ALICE provides an OpenAI-compatible API. Generate images, list models, manage the gallery, and download models - all via REST endpoints.
For complete API documentation, see docs/API.md.
Edit config.yaml to customize ALICE behavior: server settings, model defaults, generation parameters, storage limits, and NSFW filtering.
For full configuration reference, see docs/CONFIGURATION.md.
- Python 3.10 or newer
- RAM 16GB minimum (32GB recommended for SDXL/FLUX)
- Disk 50GB+ for model storage
- GPU 8GB+ VRAM recommended (4GB for smaller models)
Key dependencies: PyTorch 2.6.0, diffusers 0.35.2, FastAPI 0.104.1. See requirements.txt for the complete list.
| Document | What You'll Find |
|---|---|
| macOS Deployment | Full macOS setup and troubleshooting |
| AMD Deployment | AMD/ROCm setup including Steam Deck |
| Architecture | System design and internals |
| Implementation Guide | Development guide |
| API Reference | Complete API documentation |
| Configuration | Full config reference |
| Website | Online guides and updates |
ALICE is part of Synthetic Autonomic Mind - a family of open source AI tools:
- SAM - Native macOS AI assistant. SAM connects to ALICE for image generation.
- CLIO - Terminal AI coding assistant (macOS, Linux, Windows)
- SAM-Web - Access SAM from iPad, iPhone, or any browser
GPL-3.0 - See LICENSE for details.
Created by Andrew Wyatt (Fewtarius) · syntheticautonomicmind.org · github.com/SyntheticAutonomicMind/ALICE
Built with open source: Stable Diffusion · diffusers · FastAPI · PyTorch


