image · free
ml-stable-diffusion
About
Apple's package for running Stable Diffusion with Core ML on Apple Silicon.
What is ml-stable-diffusion?
ml-stable-diffusion is Apple's official package for running Stable Diffusion models using Core ML on Apple Silicon hardware. The documentation describes it as a set of tools and optimized models that enable local image generation on Macs with M-series chips. The package includes conversion scripts, inference code, and pre-converted Core ML models that take advantage of the Neural Engine and GPU for performance. The repository on GitHub shows 17,949 stars, indicating broad developer interest. The project is maintained by Apple and released as open-source software. Its primary purpose is to provide a path for running text-to-image generation entirely on-device, without requiring cloud connectivity or Nvidia GPUs.
Who is ml-stable-diffusion for?
The tool targets developers and researchers who need to run Stable Diffusion locally on Apple hardware. It is designed for integration into macOS and iOS apps via Core ML, and the documentation assumes familiarity with Python, command-line workflows, and machine learning model deployment. The package is not a standalone user-facing application; it provides a command-line interface and library rather than a graphical interface.
- App developers building image-generation features for Mac or iOS apps
- Researchers who require reproducible, offline inference on Apple Silicon
- Developers experimenting with model optimization and Core ML conversion
- Users who prefer open-source tools and want to avoid per-API-call costs
The documentation also notes that running models effectively requires an Apple Silicon Mac with sufficient unified memory — at least 8 GB for smaller models, and more for larger ones. Casual users without technical setup experience will likely find the package difficult to use directly.
How much does ml-stable-diffusion cost?
The pricing model is free. The documentation and licensing indicate no upfront or recurring costs for the code. The pricing page lists $0 per month as the starting (and only) price. The repository is published under a permissive license that allows modification and redistribution. Users only need compatible Apple Silicon hardware and the required software dependencies (such as Python and Core ML). There are no usage limits, API keys, or subscription tiers. The absence of a paid plan is consistent with Apple's general approach of providing developer tools as free downloads.