Skip to content

Conversation

@leejet
Copy link
Owner

@leejet leejet commented Jan 18, 2026

Generate index.html and gen_index_html.h

cd examples/server/frontend
pnpm install
pnpm build
pnpm build:header

Build sd.cpp

cd build
cmake .. -DSD_CUDA=ON
cmake --build . --config Release -j

Example

.\bin\Release\sd-server.exe -m ..\..\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors -v
image

@kalebbroo
Copy link

https://github.com/HartsyAI/SwarmUI-SD.cpp-Backend

I made an extension for SwarmUI that lets you use SDcpp. Its not built in like you are making but it can use almost all the features Swarm has been building on.

@Danmoreng
Copy link

Oh just saw this. I actually thought about implementing a webui for this project and already did so, but only posted it on Reddit. In the end I created a separate project because I also wanted to add more features like chat with llama.cpp support. But maybe if you want something a bit nicer I could simplify and backport it?

https://old.reddit.com/r/StableDiffusion/comments/1prn3h9/what_does_a_good_webui_need/

https://github.com/Danmoreng/stable-diffusion.cpp/tree/archive/pre-sync-work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants