stable-diffusion.cpp (CPU)
leejet and contributors
Generate images and video locally on the CPU
已复制!粘贴到终端并按回车即可安装。
关于
Run diffusion models locally with the embedded browser interface, HTTP APIs, or command-line tools. This CPU edition is a community package of the official upstream Linux build, repackaged unmodified.
The desktop entry starts the server in a terminal. Open http://127.0.0.1:1234/ in your browser and keep the terminal open. Model weights are downloaded separately and follow their own licenses.
Place model files in category folders such as checkpoints, diffusion_models, text_encoders and vae under ~/.var/app/io.github.leejet.StableDiffusionCpp.CPU/data/models/. Relative CLI output is saved under ~/.var/app/io.github.leejet.StableDiffusionCpp.CPU/data/. Access to additional model directories is optional:
- Read models from Downloads: flatpak override --user --filesystem=xdg-download:ro io.github.leejet.StableDiffusionCpp.CPU
- Write output to Pictures: flatpak override --user --filesystem=xdg-pictures io.github.leejet.StableDiffusionCpp.CPU
- Undo these grants: flatpak override --user --reset io.github.leejet.StableDiffusionCpp.CPU
Use sd-cli through flatpak run --command=sd-cli io.github.leejet.StableDiffusionCpp.CPU, or pass server options through flatpak run io.github.leejet.StableDiffusionCpp.CPU. CPU and Vulkan editions have separate model directories and browser origins.
详情
权限
1 项需确认网络访问
可访问互联网和本地网络