unpaint  by axodox

Windows/Xbox app for AI image generation using Stable Diffusion

created 2 years ago
282 stars

Top 93.5% on sourcepulse

GitHubView on GitHub
Project Summary

Unpaint is a C++ implementation of Stable Diffusion for Windows and Xbox, offering a self-contained, Python-free AI image generation tool. It targets developers and power users seeking to integrate image synthesis into applications or run it directly on Windows/Xbox, benefiting from a simplified deployment and smaller footprint compared to Python-based alternatives.

How It Works

The application leverages a C++ Stable Diffusion library that utilizes DirectML for hardware acceleration, supporting NVIDIA and AMD GPUs. This approach avoids Python dependencies, allowing for a single-process execution with a compact (~30MB) distribution size, excluding model weights. It supports text-to-image, image-to-image, inpainting, and ControlNet pipelines.

Quick Start & Requirements

  • Install from Microsoft Store or download .msix and .crt files from releases.
  • Requires Windows 10/11 and a DirectML-capable GPU (NVIDIA, AMD recommended).
  • Model weights (~2.5GB per model) must be downloaded separately.
  • Building from source requires Visual Studio 2022 with specific C++ workloads.

Highlighted Details

  • Fully C++ implementation, no Python dependencies.
  • Supports txt2img, img2img, inpainting, and ControlNet.
  • Optimized for DirectML, with ongoing improvements for ONNX pipelines.
  • Available on Microsoft Store and as a standalone installer.

Maintenance & Community

  • Project actively maintained, with recent updates for Xbox demonstration.
  • Community support and issue reporting encouraged via GitHub issues.

Licensing & Compatibility

  • License details not explicitly stated in the provided README.
  • Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

ONNX-based pipelines may not yet match the optimization levels of PyTorch with CUDA. Installation of test builds requires installing a self-signed certificate or resigning the package.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 90 days

Explore Similar Projects

Starred by Omar Sanseviero Omar Sanseviero(DevRel at Google DeepMind) and Patrick von Platen Patrick von Platen(Core Contributor to Hugging Face Transformers and Diffusers).

sdnext by vladmandic

0.3%
6k
WebUI for AI generative image and video creation
created 2 years ago
updated 1 day ago
Feedback? Help us improve.