C++ Implementation of StableDiffusion

This repository offers a fully C++ implementation of Stable Diffusion-based image synthesis that includes original txt2img, img2img, and inpainting capabilities and a safety checker. The library allows for the integration of Stable Diffusion into almost any application and is particularly useful for developers of real-time graphics applications and games. The implementation stores mathematical models using ONNX and executes them using the ONNX runtime, which supports numerous platforms and execution providers. Developers can add appropriate safety mechanisms to suppress inappropriate outputs of StableDiffusion. The source code of this library is provided under the MIT license. Prebuilt versions of the library can be retrieved from Nuget, and building the library is required to make and test changes.

https://github.com/axodox/axodox-machinelearning

To top