InvokeAI: Web UI for Stable Diffusion image generation
Node-based workflow interface for local Stable Diffusion deployment.
Learn more about InvokeAI
InvokeAI is a web application that provides a React-based UI for working with Stable Diffusion and related generative models. The system runs a locally hosted web server and implements a node-based architecture for constructing generation pipelines. It supports multiple model formats (ckpt and diffusers), various Stable Diffusion versions (1.5, 2.0, SDXL, FLUX), and includes features like in-painting, out-painting, upscaling, and embedding management. The tool is designed for local deployment on compatible hardware across Windows, macOS, and Linux systems.
Unified Canvas Implementation
Provides an integrated canvas with support for generation, in-painting, out-painting, and brush tools in a single interface. Images and metadata can be dragged and dropped across UI elements for workflow continuity.
Node-Based Workflow System
Offers a node-based workflow editor that allows users to construct and share custom generation pipelines. Workflows can be saved and reused for specific production use cases.
Multi-Model Support
Supports both checkpoint and diffusers model formats across multiple Stable Diffusion versions and FLUX models. Includes built-in model and embedding managers for organizing and switching between different models.
from invokeai.app.invocations.baseinvocation import BaseInvocation, InvocationContext
from invokeai.app.invocations.primitives import ImageOutput
class TextToImageInvocation(BaseInvocation):
prompt: str
width: int = 512
height: int = 512
def invoke(self, context: InvocationContext) -> ImageOutput:
image = context.services.generate_image(
prompt=self.prompt,
width=self.width,
height=self.height
)
return ImageOutput(image=image)First run migrates database and restructures Invoke-managed models into flat UUID-named folders; models outside that directory are untouched.
- –Expect automatic migration on startup: database updates and model directory reorganization into `<models_dir>/<uuid>/model.safetensors`.
- –Unknown models now install instead of being deleted; edit type/base/format in Model Manager UI if identification fails.
First run migrates database and restructures Invoke-managed models directory into flat UUID-named folders; models outside that directory are untouched.
- –Expect automatic migration on startup: database updates, model record changes, and directory restructure to flat UUID-based layout.
- –Unknown models now install instead of failing; edit type/base/format in Model Manager UI if Invoke cannot identify them automatically.
First run migrates database and restructures Invoke-managed models into flat UUID-named folders; models outside that directory are untouched.
- –Expect automatic migration on startup: database updates, model record changes, and flat directory restructure for Invoke-managed models only.
- –Unknown models now install instead of being deleted; edit type/base/format in Model Manager UI if identification fails.
Related Repositories
Discover similar tools and frameworks used by developers
tesseract
LSTM-based OCR engine supporting 100+ languages.
mediapipe
Graph-based framework for streaming media ML pipelines.
xformers
Memory-efficient PyTorch components for transformer architectures.
Mask2Former
Unified transformer architecture for multi-task image segmentation.
crawl4ai
Async browser automation extracting web content for LLMs.