- Notifications
You must be signed in to change notification settings - Fork0
Stable Diffusion in pure C/C++
License
magicse/stable-diffusion.cpp
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository is a fork ofstable-diffusion.cpp. It adds a GUI interface to the executable generating examples. It will be updated according to the master repository developments (evolution of the parameters).
Only requires installation of Qt (5 or 6)
To enable, use CMake options:
-DSD_BUILD_EXAMPLES=ON -DSD_EXAMPLES_GLOVE_GUI=ON
Comes with precompiled binaries ready to use for Windows requiring no further installation.
-bin-win-avx2-x64 : Compatible with (most) x64 CPU
-bin-win-cuda12-x64 : Compatible with Nvidia graphic card GeForce GTX 950 and after (ie: RTX series are compatible).
The model is reloaded only if its parameters are changed
- Possibility to generate images with different prompts on the fly
Parameters saving asjson, upon acceptance (Ok button):
- The parameters are saved automatically at the execution location
- The parameters are also copied automatically to the directory of the
--outputpath
Parameters loading:
- The last used parameters are automatically loaded at launch
- Parameters can be loaded
- by using theLoad button
- or:
sd -glove 'path-to-parameters-file'
Progress :
- Monitoring of progression
- Possibility to cancel
Warning/error messages display
Possibility to generate images sequences usingimg2img mode and by setting the output image to be the same as the input image. SeeImages sequence parameters.
By default, the setup is configured for a desktop application (i.e. : launch using executable icon on desktop).One can disable this default behaviour by additionaly setting the following CMake command:
-DSD_EXAMPLES_GLOVE_GUI_DESKTOP=OFFIn this case, the GUI will be accessible using the following CLI argument:
sd -glove
and the terminal will be visible.In both cases, CLI arguments of SD examples remain operational.
On Windows, if DLLs are missing, go to the
sdexecutable directory and apply the command:windeployqt.exe sd.exe
The interface is licensed under GPL-3.0, when using-DSD_EXAMPLES_GLOVE_GUI=ON. Otherwise, the MIT license of the master repository applies.
About
Stable Diffusion in pure C/C++
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Languages
- C++100.0%

