AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing Mooshieblob1/MooshieUI in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewMooshieUI > ⚠️ **Work in Progress** — MooshieUI is under active development. Some features are incomplete or may have rough edges. Contributions and feedback are welcome! A modern, beginner-friendly desktop frontend for ComfyUI. Built with **Svelte 5** + **Tauri** (Rust), MooshieUI hides ComfyUI's node-graph complexity behind a clean, intuitive interface — no workflow editing required. --- ✨ Features > Features marked with ✅ are implemented. Features marked with 🔧 work but need polish. 🎨 Three Generation Modes | Mode | Status | Description | |------|--------|-------------| | **Text to Image** | ✅ | Generate images from scratch using positive & negative prompts | | **Image to Image** | ✅ | Transform existing images with adjustable denoise strength | | **Inpainting** | ✅ | Selectively edit parts of images using a built-in canvas editor with mask painting | Switch between modes with a single click — all settings carry over. 🔧 Full Generation Controls • **Positive & Negative Prompts** — Multi-line text areas, manually resizable height • **Checkpoint Selector** — Searchable dropdown, auto-populated from ComfyUI, with recommended models (auto-download on selection with progress bars and file size display) • **VAE Selector** — Optional override (defaults to checkpoint's built-in VAE) • **LoRA Support** — Add unlimited LoRAs with independent model/CLIP strength sliders (0–2), per-LoRA enable/disable toggle, searchable dropdown, and active count badge • **Sampler & Scheduler** — All ComfyUI samplers and schedulers available • **Steps** — 1 to 150 (slider) • **CFG Scale** — 0 to 30 with 0.1 precision (number input + slider) • **Seed** — Fixed or random (-1 for new seed each generation) • **Batch Size** — Generate 1–8 images per prompt • **Denoise Strength** — 0 to 1 for img2img and inpainting modes 📐 Smart Dimension Controls • **Aspect Ratio Presets** — 1:1, 4:3, 3:2, 16:9, 21:9, 3:4, 2:3, 9:16 • **Custom Aspect Ratio** — Enter any width/height, ratio is maintained when adjusting resolution • **Swap Dimensions** — One-click width↔height swap • **Resolution Slider** — 64px to 2048px, automatically calculates dimensions from your aspect ratio 🔍 Upscale (Tiled Diffusion) Built-in upscaling with **MultiDiffusion** tiled diffusion — the same approach used by SwarmUI. No slow tile-by-tile processing; all tiles are denoised simultaneously each step for seamless, high-quality results. Upscale Methods • **Model-based** — Uses dedicated upscale models (e.g., Omni-SR). Scale is determined by the model (2x, 4x, etc.) • **Algorithmic (Lanczos)** — Fast pixel-space upscaling with adjustable 1–4x scale Recommended Models (Auto-Download) When you select a recommended model that isn't installed, MooshieUI automatically downloads it to ComfyUI's directory: | Model | Scale | Size | Source | |-------|-------|------|--------| | **Omni 2x** (Recommended) | 2x | ~1.6 MB | Acly/Omni-SR | | **Omni 4x** (Recommended) | 4x | ~1.6 MB | Acly/Omni-SR | Any other upscale models you place in will also appear in the dropdown. Tiled Diffusion (Optional) • Toggle on/off per generation — recommended for large images and **required for Anima (COSMOS) models** • Adjustable tile size (256–2048px) • Uses cosine-feathered blending for seamless tile boundaries • Supports both **MultiDiffusion** and **SpotDiffusion** algorithms Upscale Sampler Controls • **Denoise** — 0 to 1 (lower = more detail preservation from original) • **Steps** — 1 to 50 One-Click Upscale Hover over any generated image to reveal an **Upscale** button — instantly upscale the last output without changing your settings. 🖼️ Gallery • **Persistent Gallery** — All generated images are saved to disk and available across sessions • **Thumbnail Grid** — Responsive grid with sorting by date • **Lightbox** — Click any image to view full-size; scroll-wheel zoom at cursor, Escape or click-outside to close, double-click to reset zoom • **Image Management** — Rename, delete, copy to clipboard, and upscale from the gallery • **Generation Mode Labels** — Each image shows whether it was created via txt2img, img2img, or inpainting 📊 Real-Time Progress • **Live Preview** — See the image as it's being generated (latent previews streamed via WebSocket) • **Phase Labels** — "Generating...", "Upscaling...", or "Preparing..." with step counter • **Progress Bar** — Smooth animated bar (indigo for generation, emerald for upscale pass) • **Cancel Button** — Interrupt any generation in progress 💾 Settings Persistence All settings are automatically saved to disk and restored on next launch: • Generation mode, prompts, model selections • Sampler, scheduler, steps, CFG, seed, dimensions • All upscale settings (enabled, method, model, tiling, etc.) 🖥️ Flexible Layout • **Three-panel layout** — Image settings (left), preview (center), model & sampler settings (right) • **Resizable panels** — Drag dividers between panels to adjust widths • **Resizable prompts** — Drag prompt text areas to adjust height 🔌 Connection Management • **Auto-connect** to ComfyUI on startup • **Status indicator** — Green/red dot shows connection state with version number • **WebSocket streaming** — Real-time progress, previews, and completion events • Works with both local and remote ComfyUI instances • **Silent background process** — ComfyUI runs without any visible terminal windows (Windows) 🧬 Smart Model Detection • **Hash-based identification** — Models are recognized by SHA256 hash (CivitAI AutoV2 format), not just filename — renamed files are still detected • **CivitAI integration** — Look up any model's metadata (name, version, preview images) via CivitAI's hash database • **Recommended models** — SIH-1.5 (~7.5 GB) and Anima Preview 2 (~13 GB) auto-download on selection with real-time progress bars and file size display --- 🏗️ Architecture **How it works:** • User adjusts settings in the Svelte UI • On "Generate", settings are sent to the Rust backend via Tauri • Rust builds a…