SwiftDiffusion
Stable Diffusion implementation using CoreML, PyTorch and SwiftUI
Install / Use
/learn @buzsh/SwiftDiffusionREADME
<h3><p align="center"><a href="https://github.com/buzsh/SwiftDiffusion/releases">Download the Latest Preview Release</a></p></h3>
<hr />
<p> </p>
<p align="center"><img width="574" alt="Logo" src="https://github.com/buzsh/SwiftDiffusion/assets/158503966/aa49756d-debc-439a-b78a-44a5e2587cd0"></p>
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" width="1380" alt="Dark Cover" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/ddba16f5-8bec-40cd-a71d-3241e62feab5">
<source media="(prefers-color-scheme: light)" width="1380" alt="Light Cover" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/9d20609e-31b6-4716-a200-79644bc00937">
<img width="1380" alt="Cover" src="https://github.com/buzsh/SwiftDiffusion/assets/158503966/9d20609e-31b6-4716-a200-79644bc00937">
</picture>
</p>
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" width="380" alt="Color Mode Notice" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/a14699d6-24ff-4e27-b094-dbbf88eb9bd8">
<source media="(prefers-color-scheme: light)" width="380" alt="Color Mode Notice" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/6df1c5da-5c04-4628-ba4f-a75d99471c7e">
<img width="380" alt="Color Mode Notice" src="https://github.com/buzsh/SwiftDiffusion/assets/158503966/6df1c5da-5c04-4628-ba4f-a75d99471c7e">
</picture>
</p>
<p> </p>
<p> </p>
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" width="1587" alt="Manager (Dark)" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/dff4968b-f176-445a-936e-cd3488b9619f">
<source media="(prefers-color-scheme: light)" width="1587" alt="Manager (Light)" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/225200ca-1235-4776-b715-547b18c9dc25">
<img width="1587" alt="Manager" src="https://github.com/buzsh/SwiftDiffusion/assets/158503966/225200ca-1235-4776-b715-547b18c9dc25">
</picture>
</p>
<p> </p>
<p> </p>
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" width="1700" alt="loras - dark" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/15374414-755f-4c6b-a292-147929492093">
<source media="(prefers-color-scheme: light)" width="1700" alt="loras - light" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/a2e93103-a42b-4855-81bd-6394500a6801">
<img width="1700" alt="loras - light" src="https://github.com/buzsh/SwiftDiffusion/assets/158503966/a2e93103-a42b-4855-81bd-6394500a6801">
</picture>
</p>
<p> </p>
<p> </p>
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" width="1587" alt="archive - dark" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/2742c532-0c79-46ab-b8d3-ae7582f7ff78">
<source media="(prefers-color-scheme: light)" width="1587" alt="archive - light" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/43db337f-0d40-4588-ba07-a76f9211ff14">
<img width="1587" alt="archive - light" src="https://github.com/buzsh/SwiftDiffusion/assets/158503966/43db337f-0d40-4588-ba07-a76f9211ff14">
</picture>
</p>
<p> </p>
<p> </p>
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" width="1728" alt="civitai - dark" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/a1a539af-c726-4e56-bce3-0f8744cd4647">
<source media="(prefers-color-scheme: light)" width="1728" alt="civitai - light" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/540a5d19-ce46-44d5-9614-ff9804547284">
<img width="1728" alt="civitai - light" src="https://github.com/buzsh/SwiftDiffusion/assets/158503966/540a5d19-ce46-44d5-9614-ff9804547284">
</picture>
</p>
<p> </p>
<p> </p>
Overview
Check out the <a href="https://github.com/buzsh/SwiftDiffusion/wiki">SwiftDiffusion Wiki</a> for a look at the upcoming roadmap, documentation and more.
<p> </p> <p> </p>Developer
Built-in interfaces for a streamlined developer experience.
<p> </p> <p> </p>Pre-Compile
SwiftUI Previews
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" width="1259" alt="previews - dark" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/96c1ec3a-f984-4341-b172-48d3ff4947c0"> <source media="(prefers-color-scheme: light)" width="1259" alt="previews - light" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/26abe3ef-6bf0-4504-b545-6868775a5ebe"> <img width="1259" alt="previews - light" src="https://github.com/buzsh/SwiftDiffusion/assets/158503966/26abe3ef-6bf0-4504-b545-6868775a5ebe"> </picture> </p> <p> </p> <p> </p>Runtime Testing & Debugging
Integrated Developer Views
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" width="1728" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/d712e446-4fea-46f8-b730-6b2a640f5919"> <source media="(prefers-color-scheme: light)" width="1728" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/271ef182-5979-4bdd-aaa2-95dd440a6ec3"> <img width="1728" src="https://github.com/buzsh/SwiftDiffusion/assets/158503966/271ef182-5979-4bdd-aaa2-95dd440a6ec3"> </picture> <p align="center"><sup>Integrated developer modes for debugging, advanced status monitoring and plugin creation.</sup></p> </p> <p> </p> <p> </p>API Interface Views
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" width="1728" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/40ff0ed8-fd05-487c-9c4d-cb220aa39daa"> <source media="(prefers-color-scheme: light)" width="1728" srcset="https://github.com/buzsh/SwiftDiffusion/assets/158503966/7439e3f9-6e2b-4693-b035-1dc1e3c186a6"> <img width="1728" src="https://github.com/buzsh/SwiftDiffusion/assets/158503966/7439e3f9-6e2b-4693-b035-1dc1e3c186a6"> </picture> </p> <p> </p> <p> </p>