4c2972e7a290d1ca1f76b44eeb6d4cf5ab8ead07
animepics
Anime image generation + LoRA training setup.
Stack
- ComfyUI — image generation UI
- NoobAI-XL — base anime model (SDXL-based, SFW+NSFW)
- kohya_ss — LoRA training
Requirements
- Python 3.10+ installed and in PATH
- Git installed
- NVIDIA GPU with CUDA (4070 recommended)
- ~20GB free disk space for models
Setup
Run once to install everything:
.\setup.ps1
This will:
- Clone ComfyUI and install dependencies
- Clone kohya_ss and install dependencies
- Install ComfyUI custom nodes (AnimateDiff, ControlNet, etc.)
- Download the NoobAI-XL base model + VAE
Launch
# Start image generation UI (opens browser at localhost:8188)
.\launch_comfyui.ps1
# Start LoRA training UI (opens browser at localhost:7860)
.\launch_kohya.ps1
LoRA Training
- Put your training images in
training_data/<your_lora_name>/img/10_<trigger_word>/ - Copy
training/example_lora_config.tomland edit it - Launch kohya and use the GUI, or run
.\train_lora.ps1 <config_file>
Directory Structure
animepics/
├── comfyui/ # ComfyUI install (gitignored venv)
├── kohya_ss/ # kohya_ss install (gitignored venv)
├── models/ # shared model storage (gitignored)
│ ├── checkpoints/ # base models (.safetensors)
│ ├── loras/ # trained LoRAs
│ ├── vae/ # VAE models
│ ├── embeddings/ # textual inversions
│ └── controlnet/ # ControlNet models
├── training_data/ # LoRA training images (gitignored)
├── output/ # generated images (gitignored)
├── training/ # LoRA training configs
└── workflows/ # ComfyUI workflow JSON files
Model Downloads
Base model (NoobAI-XL Vpred):
Good NSFW VAE:
- Already baked into NoobAI, but sdxl_vae.safetensors from stabilityai works too
Description
Languages
Python
51.9%
PowerShell
48.1%