Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Stable Diffusion in pure C/C++

License

NotificationsYou must be signed in to change notification settings

magicse/stable-diffusion.cpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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).

Features

  • 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--output path
  • 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.

Misc

  • 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=OFF

    In 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 thesd executable directory and apply the command:

    windeployqt.exe sd.exe

License

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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++100.0%

[8]ページ先頭

©2009-2025 Movatter.jp