I made this project to to learn about ML.Net, Blazor and Stable Diffusion.
The Stable Diffusion I read from Inference Stable Diffusion with C# and ONNX Runtime.
And I used the code from this github repo.
Some links for future reference:
ML.NET
Stable Diffusion with Diffusers
Generate images with AI using Stable Diffusion, C#, and ONNX Runtime