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

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

License

NotificationsYou must be signed in to change notification settings

leejet/stable-diffusion.cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stable-diffusion.cpp

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

  • 2025/12/01 🚀 stable-diffusion.cpp now supportsZ-Image
    👉 Details:PR #1020

  • 2025/11/30 🚀 stable-diffusion.cpp now supportsFLUX.2-dev
    👉 Details:PR #1016

  • 2025/10/13 🚀 stable-diffusion.cpp now supportsQwen-Image-Edit / Qwen-Image-Edit 2509
    👉 Details:PR #877

  • 2025/10/12 🚀 stable-diffusion.cpp now supportsQwen-Image
    👉 Details:PR #851

  • 2025/09/14 🚀 stable-diffusion.cpp now supportsWan2.1 Vace
    👉 Details:PR #819

  • 2025/09/06 🚀 stable-diffusion.cpp now supportsWan2.1 / Wan2.2
    👉 Details:PR #778

Features

Quick Start

Get the sd executable

Download model weights

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 outcli doc.

Performance

If you want to improve performance or reduce VRAM/RAM usage, please refer toperformance guide.

More Guides

Bindings

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

UIs

These projects usestable-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

Star History

Star History Chart

References


[8]ページ先頭

©2009-2025 Movatter.jp