cassie breviu
githublinkedin

AI Image Generation: Stable Diffusion in C#

Cassie BreviuCassie Breviu·June 1, 2023
Cover Image for AI Image Generation: Stable Diffusion in C#

I created the first and only all C# implementation of Stable Diffusion using ONNX Runtime. This project brings AI image generation to the .NET ecosystem, making it possible to run Stable Diffusion entirely in C# without any Python dependencies.

Check out the tutorial, blog and source:

  • ONNX Runtime Tutorial: Stable Diffusion in C#
  • Read more on the Microsoft DevBlogs
  • GitHub Source
© 2026 Cassie Breviu