Stable Diffusion in pure C/C++

To use this stable-diffusion.cpp program, clone the repository and update it with the latest changes. Then, use the cmake command to build the project with optional arguments such as enabling OpenBLAS and setting the number of threads to use. The program can be executed with various arguments, including the generation mode (txt2img or img2img), the model to use, the input image, and the output path. Additional options like prompt, negative prompt, scale, strength, height, width, sample method, steps, seed, and verbosity can be specified. Different precision formats may affect the quality of the results.

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

To top