How amgasanoff-bot/am-studio works
AM-Studio is a native desktop application for local AI image generation, photo restoration, and upscaling. The main workflow is choosing a model and text/image mode, configuring a prompt and parameters, invoking the bundled sd-cli, then reviewing outputs in the gallery. README capabilities include batch processing, model downloads, presets, history restore, comparison, themes, and language switching. The main UI is a large monolithic module; some feature-specific wiring is not visible in the excerpts, so those relationships are cited only where documented.
Main entry points: am_studio.py Studio UI · model_manager.py Model Manager · i18n.py Language Text · presets.py Preset Catalog
Components 16
Generation Workflow
- Studio UI
am_studio.py - Generation Controls
am_studio.py - Batch Processing
am_studio.py - sd-cli Engine
Models and Presets
- Model Manager
model_manager.py - Model Files
am_studio.py - Preset Catalog
presets.py - User Presets
am_studio.py
Output Review
- Output Gallery
am_studio.py - Generation History
am_studio.py - Before / After
am_studio.py - AI Upscaling
am_studio.py
Preferences
- App Settings
am_studio.py - Language Text
i18n.py
Other components
- Desktop User
- Hugging Face
Connections 20
- Desktop User → Studio UI: uses
README.md - Studio UI → Generation Controls: configures
am_studio.py - Generation Controls → sd-cli Engine: invokes
am_studio.py - sd-cli Engine → Output Gallery: produces outputs
README.md - Desktop User → Batch Processing: selects folder
README.md - Batch Processing → Generation Controls: processes images
am_studio.py - Studio UI → Model Manager: opens
README.md - Model Manager → Hugging Face: downloads files
model_manager.py - Model Manager → Model Files: installs files
model_manager.py - Studio UI → Model Files: reads models
README.md - Studio UI → Preset Catalog: loads presets
am_studio.py - Studio UI → User Presets: saves presets
am_studio.py - Studio UI → Generation History: records settings
README.md - Output Gallery → Generation History: restores settings
am_studio.py - Output Gallery → Before / After: compares images
README.md - Output Gallery → AI Upscaling: requests upscale
README.md - Studio UI → App Settings: reads and saves
am_studio.py - Studio UI → Language Text: gets translations
am_studio.py - Model Manager → Language Text: gets translations
model_manager.py - Studio UI → Desktop User: shows results
README.md