Similarly to Llama.cpp, there is a stable-diffusion.cpp, which allows you to generate AI images purely on CPU—perfect for “image generation on potato computers.” Since it’s written in C++, it might be super easy to integrate into Unreal Engine. What a great time to be alive!

https://github.com/leejet/stable-diffusion.cpp

Next - Previous