# Stable Diffusion with Core ML on Apple Silicon

Today, we are excited to release optimizations to Core ML for Stable Diffusion in macOS 13.1 and iOS 16.2, along with code to get started with deploying to Apple Silicon devices.

The repository contains Python and Swift packages. With the latter, you can add Stable Diffusion functionality to your iOS/Mac apps.

Users report that 50 iterations to generate an image that previously took about 3 minutes now take 30 seconds on M1 Macs.