How anxety-solo/sdaigen works
SDAIGEN is a notebook-driven Stable Diffusion setup and download toolkit for Colab and Kaggle. Users choose a supported WebUI and settings through notebook widgets, prepare that environment, then download models and assets; optional Google Drive syncing and CivitAI preview/metadata support extend the workflow. The repository also includes result cleanup, seasonal notebook presentation, and a tag-file downloader. Some subsystem relationships below follow documented capabilities or SOURCE INDEX references; unsampled implementation details are not inferred.
Main entry points: downloading.py Setup and asset downloads · webui_meta.py WebUI registry · launch.py Environment launcher · manager.py Download manager
Components 26
Notebook experience
- Colab and Kaggle notebooks
notebook - Interactive widgets
scripts/widgets.py - Widget builders
sdai/factory.py - Seasonal info card
sdai/season.py
Environment setup
- WebUI registry
sdai/webui_meta.py - Environment launcher
scripts/launch.py - WebUI installer
scripts/webui_installer.py - WebUI state and paths
sdai/utils/webui.py - WebUI presets
configs
Downloads and assets
- Setup and asset downloads
scripts/downloading.py - Download manager
sdai/services/manager.py - Model catalog
sdai/models.py - CivitAI resolver
sdai/api/civitai.py - Generated result download
scripts/download_result.py - Output cleanup
scripts/auto_cleaner.py - Tag-file downloader
configs/_shared/tagcomplete-tags-parser.py - Google Drive sync
scripts/downloading.py
Shared services
- Tunnel services
sdai/services/tunnel_hub.py - JSON settings
sdai/utils/json.py - Runtime paths
sdai/constants.py
Other components
- Notebook user
- Stable Diffusion WebUI or ComfyUI
- CivitAI
- Hugging Face
- Google Drive
- GitHub tag sources
Connections 27
- Notebook user → Colab and Kaggle notebooks: runs
README.md - Colab and Kaggle notebooks → Interactive widgets: uses controls
- Interactive widgets → Widget builders: builds widgets
scripts/widgets.py - Colab and Kaggle notebooks → Seasonal info card: shows card
- Interactive widgets → WebUI registry: reads registry
scripts/widgets.py - Environment launcher → WebUI registry: reads metadata
scripts/launch.py - WebUI installer → WebUI registry: reads metadata
scripts/webui_installer.py - WebUI state and paths → JSON settings: reads and writes
sdai/utils/webui.py - WebUI state and paths → WebUI registry: reads paths
sdai/utils/webui.py - Environment launcher → Tunnel services: configures tunnel
scripts/launch.py - Environment launcher → Stable Diffusion WebUI or ComfyUI: launches
- Environment launcher → JSON settings: reads settings
scripts/launch.py - WebUI registry → WebUI presets: selects presets
sdai/webui_meta.py - Setup and asset downloads → Download manager: requests downloads
scripts/downloading.py - Setup and asset downloads → Model catalog: reads catalog
scripts/downloading.py - Setup and asset downloads → WebUI registry: reads UI metadata
scripts/downloading.py - Setup and asset downloads → CivitAI resolver: uses resolver
scripts/downloading.py - Download manager → CivitAI resolver: resolves model URLs
sdai/services/manager.py - CivitAI resolver → CivitAI: requests metadata
sdai/api/civitai.py - Download manager → Hugging Face: downloads files
- Setup and asset downloads → Google Drive: syncs files
README.md - Setup and asset downloads → JSON settings: reads settings
scripts/downloading.py - Generated result download → Download manager: uses downloads
scripts/download_result.py - Output cleanup → JSON settings: reads configuration
scripts/auto_cleaner.py - Tag-file downloader → GitHub tag sources: fetches tag files
configs/_shared/tagcomplete-tags-parser.py - Setup and asset downloads → Runtime paths: uses runtime paths
scripts/downloading.py - Output cleanup → Runtime paths: uses runtime paths
scripts/auto_cleaner.py