leejet / stable-diffusion.cpp

Stable Diffusion and Flux in pure C/C++
MIT License
3.52k stars 305 forks source link

SD integration #406

Open anthai0908 opened 2 months ago

anthai0908 commented 2 months ago

Hi, I'm a newbie SD and C++ as well, I just want to know, can we wrap stable diffusion model in our executable file? If Yes, how can we do that?

Green-Sky commented 2 months ago

You can use sd.cpp as a library in your project. check out stable-diffusion.h