stable-diffusion.cpp is a lightweight, high-performance implementation of Stable Diffusion and related generative models written entirely in portable C/C++, designed to run on virtually any device without heavy dependencies. It enables text-to-image and image-to-image generation, supports a growing set of models like SD1.x, SD2.x, SDXL, SD-Turbo, Qwen Image, and more, and is continually updated with support for cutting-edge model variants including video and image editing models. The project is built on the ggml backend, which allows efficient execution on CPUs and GPUs via backends like CUDA, Vulkan, Metal, OpenCL, and SYCL, making it suitable for everything from desktops to mobile devices. It includes options for ControlNet, LoRA models, upscaling via ESRGAN, and advanced sampling techniques, giving developers and users a rich toolkit for creative workflows.

Features

  • Portable C/C++ inference engine for diffusion models
  • Wide model support (SD1.x, SD2.x, SDXL, Turbo, Qwen Image, etc.)
  • Multi-backend acceleration (CPU, CUDA, Vulkan, Metal, OpenCL)
  • ControlNet, LoRA, and advanced sampling support
  • Upscaling via ESRGAN and latent decoding optimizations
  • Bindings for Python, Rust, Go, and Flutter

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow stable-diffusion.cpp

stable-diffusion.cpp Web Site

Other Useful Business Software
Turn traffic into pipeline and prospects into customers Icon
Turn traffic into pipeline and prospects into customers

For account executives and sales engineers looking for a solution to manage their insights and sales data

Docket is an AI-powered sales enablement platform designed to unify go-to-market (GTM) data through its proprietary Sales Knowledge Lake™ and activate it with intelligent AI agents. The platform helps marketing teams increase pipeline generation by 15% by engaging website visitors in human-like conversations and qualifying leads. For sales teams, Docket improves seller efficiency by 33% by providing instant product knowledge, retrieving collateral, and creating personalized documents. Built for GTM teams, Docket integrates with over 100 tools across the revenue tech stack and offers enterprise-grade security with SOC 2 Type II, GDPR, and ISO 27001 compliance. Customers report improved win rates, shorter sales cycles, and dramatically reduced response times. Docket’s scalable, accurate, and fast AI agents deliver reliable answers with confidence scores, empowering teams to close deals faster.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of stable-diffusion.cpp!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C++

Related Categories

C++ AI Image Generators, C++ AI Models

Registered

2026-01-30