Skip to content

stefanasandei/diffusion-studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diffusion Studio

image

A work in progress app to create content using generative AI.

It uses the stable-diffusion.cpp library, which implements popular text-to-image model architectures.

The user needs to have downloaded an SD 1.5 .safetensors model, at the moment the model path can be changed from ./src/dl/sd_instance.cpp.

Setup

Clone the repo with the submodules:

git clone --recursive https://github.com/stefanasandei/diffusion-studio.git

Or if you forgot --recursive, to fetch the git submodules after clone:

git submodule update --init

Afterwards it's the classic CMake setup:

mkdir build && cd build
cmake ..

Now open the project with Visual Studio, CLion or your editor of choice.

Relevant files are in ./src/gfx/ (vulkan code for the imgui window), ./src/app (ui logic for the panels) and ./src/dl (where the magic happens, coroutines are used with a generator to stream the image renders to the ui).

License

MIT © Asandei Stefan-Alexandru. All rights reserved.

About

the IDE for generative ai (work in progress)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published