ForkFree

Images and design

stable-diffusion.cpp

by leejet

A command-line program that runs image and video generation AI models on your own computer, written in plain C/C++ with no heavy dependencies. It turns text prompts or existing pictures into new images and short videos without needing a cloud service.

Worth a lookEstablished, with a few things to check (listed below).

View on GitHub

Stars
7.8k
Licence
MIT
Runs on
Your computer
Setup
Moderate
Language
C++
Age
1172 days

What you can do with it

  • Generate images from a text prompt using models such as Stable Diffusion, FLUX, Qwen Image and Z-Image
  • Edit or restyle existing images, and upscale results with ESRGAN
  • Create short videos with supported models such as Wan and LTX

Make money with it

A freelancer could offer custom product imagery or illustrated assets to small businesses, generated locally with no per-image fees.

An idea, not financial advice. Check the licence before charging for anything built on it.

Ways a business could use it

  • Produce product mock-ups, social media graphics and blog images in-house without paying per-image subscription fees
  • Generate ad concepts and short video clips for clients while keeping prompts and files private on your own hardware

Can you use it commercially?

Free to use, change and sell, including in paid products. Keep the copyright notice.

Not legal advice. Read the project's licence file before building a product on it.

Getting it running

Download a pre-built binary from the releases page (or build from source), then download model weights separately and run the sd-cli command.

Follow the official instructions in the project README.

Things to check

  • Under active development; command-line options and API may change often
  • Each model has its own licence, which may restrict commercial use
  • Command-line only, with an embedded web UI; large models need plenty of RAM or VRAM and run slowly on CPU alone

Who's talking about it

Checked 28 Oct 2026. Summary drafted by AI from the project's README.

More in Images and design

anatomy wheresryan22
New and promising

Anatomy is a tool that generates detailed, interactive isometric illustrations of real-world machines and complex systems, creating polished SVGs with optional WebGL shaders and 3D effects.

Could replace Claude Code, Antigravity

21.6k stars +314 a day MIT
solidcraft tangency-labs
New and promising

SolidCraft is an open-source parametric 3D CAD application built in Rust, allowing users to sketch, constrain, and build 3D models with a parametric feature timeline.

Could replace FreeCAD, Onshape

11.4k stars +308 a day Apache-2.0
logo-design-skill kaankiziltug
New and promising

A comprehensive logo design skill for AI agents like Claude, Gemini CLI, and Codex, providing a structured process from brief to final SVG files.

Could replace Canva, Logomakr

4.9k stars +84 a day MIT