# InvokeAI — Professional Creative Engine for Stable Diffusion > A leading open-source creative engine for Stable Diffusion and Flux models with a polished WebUI, node-based workflows, and production-grade image generation. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: # InvokeAI — Professional Creative Engine for Stable Diffusion ## Quick Use ```bash pip install "InvokeAI[xformers]" --use-pep517 invokeai-web # Open http://localhost:9090 in your browser ``` ## Introduction InvokeAI is an open-source creative engine providing a professional-grade interface for Stable Diffusion and Flux image generation models. It offers both a polished web UI and a node-based workflow editor, serving as the foundation for multiple commercial creative products. ## What InvokeAI Does - Generates images from text prompts using Stable Diffusion, SDXL, and Flux models - Provides a visual node-based workflow editor for building complex generation pipelines - Supports inpainting, outpainting, and image-to-image transformations - Manages model libraries with automatic downloads and conversion between formats - Enables ControlNet, IP-Adapter, and LoRA integration for fine-grained creative control ## Architecture Overview InvokeAI is built around a Python backend that wraps diffusers and other inference libraries behind a FastAPI server. The frontend is a React application with a canvas editor and a node graph system. A queue-based architecture handles generation requests, allowing multiple jobs to run with GPU memory management and model caching for fast switching between checkpoints. ## Self-Hosting & Configuration - Install via pip or use the automated installer script for a guided setup - Requires Python 3.10+ and a GPU with at least 6 GB VRAM (NVIDIA recommended) - Configuration stored in `invokeai.yaml` covering paths, memory limits, and model defaults - Models placed in `models/` directory or downloaded through the built-in model manager - Docker images available for containerized deployment on Linux servers ## Key Features - Unified canvas for seamless inpainting, outpainting, and compositing workflows - Node-based editor enabling reusable and shareable generation pipelines - Built-in model manager with Hugging Face and Civitai integration - Multi-GPU and queue support for production workloads - Commercial-friendly Apache 2.0 license ## Comparison with Similar Tools - **AUTOMATIC1111 WebUI** — extension-heavy ecosystem with more community scripts; InvokeAI offers a more polished and stable core experience - **ComfyUI** — node-first approach with maximum flexibility; InvokeAI combines nodes with a traditional UI for easier onboarding - **Fooocus** — simplified one-click generation; InvokeAI provides deeper control for professional workflows - **Diffusers** — library-level API without a UI; InvokeAI builds on diffusers and adds the full application layer - **Draw Things** — macOS-native app; InvokeAI runs cross-platform and supports server deployments ## FAQ **Q: What GPU is required to run InvokeAI?** A: An NVIDIA GPU with 6+ GB VRAM is recommended. AMD GPUs work on Linux via ROCm. Apple Silicon is supported through MPS. **Q: Can I use SDXL and Flux models?** A: Yes. InvokeAI supports SD 1.5, SD 2.x, SDXL, Flux, and community fine-tunes. Models can be imported in safetensors or diffusers format. **Q: Is there a CLI mode for batch processing?** A: InvokeAI focuses on the web interface, but the underlying Python API can be scripted for batch workflows. **Q: How does memory management work with multiple models?** A: InvokeAI uses a model cache that loads and unloads models as needed, keeping frequently used models in VRAM while swapping others to RAM or disk. ## Sources - https://github.com/invoke-ai/InvokeAI - https://invoke-ai.github.io/InvokeAI/ --- Source: https://tokrepo.com/en/workflows/invokeai-professional-creative-engine-stable-diffusion-4d4c2b85 Author: Script Depot