This is an Open Frameworks (https://openframeworks.cc/) implementation of: https://github.com/leejet/stable-diffusion.cpp
Download the ggml model or the checkpoint (and convert it to ggml: https://github.com/leejet/stable-diffusion.cpp) for sd 2.1 nano from here: leejet/stable-diffusion.cpp#28 (comment) and put the ggml file into the model folder.
If possible compile with AVX2, it is much faster.