leejet/stable-diffusion.cpp

▲ 24 stars today★ 7,637⑂ 866

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,637 stars and 866 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, currently at rank #43 with 24 new stars today.

GitHub Repository Details

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

README

Image from the project 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,637Stars
866Forks
0Open issues
C++Language

GitHub Popularity

GitHub stars7,637
Forks866
Open issues0
Primary languageC++
License-
Stars gained today24
Created-
Last pushed-

Trending History

Daily boardrank #43 · ▲ 24 stars
Monthly boardrank #73 · ▲ 682 stars

Related AI Projects

1

tensorflow / tensorflow

C++★ 200,869⑂ 79,102▲ 346 stars
→
2

microsoft / BitNet

C++★ 40,683⑂ 3,789▲ 208 stars
→
3

78 / xiaozhi-esp32

C++★ 30,645⑂ 7,185▲ 42 stars
→
4

Tencent / ncnn

C++★ 23,936⑂ 4,523▲ 1 stars
→
5

LingCore / WinShun

C++★ 184⑂ 18
→
6

openclaw / openclaw

TypeScript★ 391,685⑂ 82,361▲ 150 stars
→
7

mattpocock / skills

Shell★ 285,993⑂ 23,987▲ 1,768 stars
→
8

affaan-m / ECC

JavaScript★ 277,076⑂ 0
→

More AI Rankings