An MVP app to generate colorful app icons locally on your computer using Stable Diffusion with LoRA fine-tuning. Options are - 512x512 or 64x64, 20 steps or 50 steps quality, JPEG or PNG.
- Minimal React frontend
- FastAPI backend with Stable Diffusion + LoRA
- Prompts enhanced to produce icon-style images automatically
- Generates colorful icons in 512x512 or 64x64 format
- Choice of LLM resolution - 20 steps or 50 steps
- Choice of file format - JPEG or PNG
- Option to download favicon
- Python 3.8+
- Node.js (for building frontend)
- (Optionally) CUDA-capable GPU recommended for performance
-
Clone this repository
-
Install Python dependencies:
pip install -r requirements.txt
- Install JavaScript dependencies and build the React app:
cd frontend
npm install
npm run build
Simply run:
start.bat
This will start the FastAPI server and serve the React frontend at:
cd frontend
npm run build
Make sure these files are in the root directory:
LiberteRedmond.safetensors
(Download from HuggingFace - LiberteRedmond)IconsRedmond15V-Icons.safetensors
(Download from CivitAI - IconsRedmond 1.5V)
MIT License.