stable-diffusion.cpp/examples/cli
George 0bd72f075a
feat: add Wan2.2 S2V (audio+img-to-video) support (#1925)
Co-authored-by: leejet <leejet714@gmail.com>
2026-09-13 23:33:50 +08:00
..
CMakeLists.txt fix: add zip library back to cli target link libraries (#1719) 2026-06-29 21:42:02 +08:00
image_metadata.cpp feat: add webp support (#1384) 2026-04-02 01:36:11 +08:00
image_metadata.h feat(cli): add metadata inspection mode (#1381) 2026-04-01 00:52:03 +08:00
main.cpp feat: add Wan2.2 S2V (audio+img-to-video) support (#1925) 2026-09-13 23:33:50 +08:00
README.md feat: add linear and attention scale overrides (#1964) 2026-09-12 01:41:28 +08:00

Usage

For detailed command-line arguments, run:

./bin/sd-cli -h

Logging defaults to info. Use --log-level <level> to select debug, verbose, info, warn, or error (from most to least detailed). Each level includes messages at that level and all less detailed levels. -v and --verbose are equivalent to --log-level verbose. If repeated, the last logging option wins.

For direct image repair or automatic post-generation YOLOv8 detection followed by cropped inpainting, see ADetailer.

Metadata mode inspects PNG/JPEG container metadata without loading any model:

./bin/sd-cli -M metadata --image ./output.png
./bin/sd-cli -M metadata --image ./output.jpg --metadata-format json
./bin/sd-cli -M metadata --image ./output.png --metadata-raw
./bin/sd-cli -M metadata --image ./output.png --metadata-all

For completely black or white images or videos, NaNs, and the --linear-scale / --attn-scale workaround, see Troubleshooting.