leejet/stable-diffusion.cpp

▲ 384 stars today★ 7,477⑂ 839

Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++

About leejet/stable-diffusion.cpp

leejet/stable-diffusion.cpp is an open-source project on GitHub, mainly written in C++. Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++ It currently holds 7,477 stars and 839 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Today's Trending board.

GitHub Repository Details

Repository leejet/stable-diffusion.cpp · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

stable-diffusion.cpp

https://github.com/leejet/stable-diffusion.cpp/blob/HEAD/leejet%2Fstable-diffusion.cpp | Trendshift

Diffusion model(SD,Flux,Wan,...) inference in pure C/C++

*Note that this project is under active development. \ API and command-line option may change frequently.*

🔥Important News

Features

Quick Start

Get the sd executable

Download model weights

    curl -L -O https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors
    

Generate an image with just one command

./bin/sd-cli -m ../models/v1-5-pruned-emaonly.safetensors -p "a lovely cat"

For detailed command-line arguments, check out cli doc.

Performance

If you want to improve performance or reduce VRAM/RAM usage, please refer to performance guide. For runtime and parameter backend placement, see the backend selection guide.

More Guides

Bindings

These projects wrap stable-diffusion.cpp for easier use in other languages/frameworks.

UIs

These projects use stable-diffusion.cpp as a backend for their image generation.

Contributors

Thank you to all the people who have already contributed to stable-diffusion.cpp!

Contributors

GitHub Stars & Activity

7,477Stars
839Forks
0Open issues
C++Language

GitHub Popularity

GitHub stars7,477
Forks839
Open issues0
Primary languageC++
License-
Stars gained today384
Created-
Last pushed-

Trending History

Weekly boardrank #38 · ▲ 384 stars
Monthly boardrank #71 · ▲ 627 stars

Related AI Projects

1

opencv / opencv

C++★ 91,011⑂ 57,043▲ 16 stars
→
2

k2-fsa / sherpa-onnx

C++★ 15,060⑂ 1,737▲ 22 stars
→
3

ai-dynamo / nixl

C++★ 1,281⑂ 458▲ 1 stars
→
4
→
5

deepseek-ai / DeepEP-Ascend

C++★ 178⑂ 15
→
6

openclaw / openclaw

TypeScript★ 390,939⑂ 82,214▲ 136 stars
→
7

obra / superpowers

Shell★ 293,410⑂ 26,254▲ 588 stars
→
8

mattpocock / skills

Shell★ 272,865⑂ 22,953▲ 908 stars
→

More AI Rankings