← Back to Leaderboard
MMochiDiffusion

MochiDiffusion/MochiDiffusion

Native Mac image generation with Core ML, Metal, and local Draw Things

View on GitHub ↗
Engineering Health (Methodology)
A · 83/100
Maintenance Activity
● Updated 12d ago
Latest Release
v7.0
Commercial License Check
GPL-3.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence20/20
License Clarity11/20
Local AIGPU
Total Stars
★ 7,977
24h Growth
+0
7d Growth
+1
Forks
377

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

MochiDiffusion/MochiDiffusion Star History (2022-12-15 - 2026-12-03) ALL-TIME STAR HISTORY (2022-12 – 2026-12) +8k in 1449d · avg +6/day 8.4k 4.2k 0 2022-12-15: ★ 12023-03-18: ★ 1,2922023-06-17: ★ 5,5372023-09-16: ★ 6,0152023-12-16: ★ 6,3792024-03-16: ★ 6,6862024-06-15: ★ 6,9002024-09-14: ★ 7,0912024-12-14: ★ 7,2632025-03-15: ★ 7,4252025-06-14: ★ 7,5312025-09-13: ★ 7,6152025-12-13: ★ 7,6802026-03-14: ★ 7,7602026-06-13: ★ 7,8342026-09-12: ★ 7,9192026-12-03: ★ 7,977 ★ 8k 2022-12 2024-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Mochi Diffusion is a native SwiftUI macOS app that presents three inference paths through one model picker. Apple’s Core ML Stable Diffusion implementation loads converted model bundles and offers compute-unit selection. Iris (iris.c) runs FLUX.2 Klein and Z-Image Turbo through Metal on the local GPU. The selected model therefore determines not just the weights, but also the execution device, input modes, and available controls.

Draw Things is a separate server-backed path, not another in-process runtime. Mochi browses the model inventory over gRPC and submits generation to either the Draw Things app or its standalone gRPC server. The server can run on the same Mac or another machine on the LAN; its hardware performs inference, and Mochi does not use Draw Things cloud compute.

Key Capabilities & Differentiators

The Core ML Stable Diffusion path supports generation from a starting image and ControlNet with compatible models, but output dimensions are baked into each conversion. Iris runs FLUX.2 Klein without conversion and accepts up to four input images, resizing them when necessary to fit the attention budget and displaying the resulting dimensions. The Iris Z-Image Turbo pipeline is text-to-image only.

Draw Things exposes text-to-image models, starting-image input, LoRAs where supported, and reference images for FLUX.2. It does not expose image-editing models such as FLUX.1 Kontext and Qwen-Image-Edit. The built-in gallery supports import, save, and sync. PNG exports embed generation settings in an AUTOMATIC1111-compatible format that Civitai can read, while Musubi lets the app read metadata from other common generators.

Trade-offs & Limitations

Compared with Midjourney’s managed workflow, Mochi gives users control over local model files and can generate offline once the weights are installed. The trade-off is maintaining model files, choosing the right conversion variant, and sizing the machine for the selected backend. Core ML’s memory-efficient path comes with fixed output dimensions, and compute selection depends on the bundle: split_einsum works with Neural Engine options, whereas original requires CPU & GPU.

For a 16 GB Mac, Core ML with CPU & Neural Engine is the sensible starting point, not a sizing guarantee for the Iris backends. The recommended full-precision Z-Image Turbo download is about 32 GB on disk and may fail on Macs with less than 24 GB of RAM. A LAN Draw Things server shifts that inference load to another machine but does not give Mochi access to all of Draw Things’ editing workflows. GPL-3.0 obligations apply when distributing the app; model weights have separate licensing terms to check.

Hardware & Deployment Guide

Run a release build on Apple Silicon (M1 or later) with macOS 15.6 or later. Start with ~/MochiDiffusion/models/ or change the location in Settings. Put each model in its own subfolder: the Core ML example uses compiled components such as TextEncoder.mlmodelc and Unet.mlmodelc, while FLUX.2 Klein uses text_encoder/, tokenizer/, transformer/, and vae/. A model’s first Neural Engine run can spend up to two minutes compiling a cached version.

Source builds require Xcode 27 or later; signing overrides can live in a sibling SharedXcodeSettings/DeveloperSettings.xcconfig. For self-hosting, enable gRPC and Model Browsing in Draw Things, then configure the host, port, TLS, and shared secret in Mochi. Use a trusted network: TLS encrypts traffic but does not verify server identity. Release v6.2 added broader metadata interoperability, v6.3 added Iris Z-Image Turbo support and fixed FLUX Klein memory retention after generation, and v7.0 added Draw Things integration and filterable model and LoRA pickers.

Inference paths: Core ML runs converted Stable Diffusion models, Iris uses Metal for FLUX.2 Klein and Z-Image Turbo, and Draw Things serves models over gRPC.
Core ML packaging: split_einsum supports Neural Engine compute options; original is CPU & GPU only. Output dimensions are fixed at conversion.
Reference images: FLUX.2 Klein accepts up to four inputs and resizes them when needed to fit its attention budget; the Iris Z-Image Turbo pipeline is text-to-image only.
Local server integration: v7.0 adds Draw Things model browsing and generation, with per-model controls and LoRAs where supported.
Metadata interoperability: Musubi reads common generator metadata formats, and PNG exports carry AUTOMATIC1111-compatible generation settings.
Deployment sizing: Apple Silicon and macOS 15.6 or later are required; Z-Image Turbo may fail below 24 GB of RAM.
Best For

Apple Silicon users who want offline image generation, control over model files, and reusable PNG generation metadata, with the option to run inference on a trusted LAN server.

Skip If

You want a managed service with no model setup, need Draw Things’ unsupported image-editing models through Mochi, or require reliable Z-Image Turbo inference on a 16 GB Mac.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
MochiDiffusion ★8k+1SwiftGPL-3.0Native Mac image generation with Core ML, Metal, and local Draw Things
InvokeAI29.2k+65TypeScriptApache-2.0Self-hosted canvas and node workflows for AI image generation and editing
ComfyUI149.9k+945PythonGPL-3.0A node-graph engine for building and running multimodal AI workflows locally
easydiffusion10.5k+1JavaScript—A browser UI and local diffusion engine for image generation and editing

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/MochiDiffusion/MochiDiffusion.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

MochiDiffusion/MochiDiffusion Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about MochiDiffusion

How does Mochi connect to Draw Things, and where does inference run?

Enable the gRPC API server and Model Browsing in Draw Things. Enter its host and port in Mochi’s General settings, then match the TLS and shared-secret settings. You can browse the server’s models in Mochi, but inference runs on the server, not on the Mac running the client. TLS encrypts the connection without verifying the server’s identity, so use a trusted network.

Which backend should I start with on a 16 GB Apple Silicon Mac?

Start with a Core ML Stable Diffusion model in split_einsum format and select CPU & Neural Engine. The collection tag does not guarantee that every backend fits in 16 GB: Iris may fail to run Z-Image Turbo on Macs with less than 24 GB of RAM, and the recommended full-precision download is about 32 GB on disk. Validate the exact FLUX.2 Klein variant and reference-image workload rather than assuming the same memory profile as Core ML.

Can my team use Mochi commercially or distribute its own build?

The app is GPL-3.0, which permits commercial use. If you distribute the app or a modified build, comply with the GPL-3.0 license and corresponding-source requirements. Check model-weight terms separately for your intended use and redistribution; the app’s license does not grant rights to the weights. Generation can stay on one Mac or use a self-hosted Draw Things server on the local network.

When is Mochi a better fit than Midjourney or Draw Things directly?

Choose Mochi over Midjourney when offline generation and control over local model files matter more than avoiding setup. Choose Midjourney when you prefer a managed service to installing weights and sizing hardware. If you already run Draw Things, Mochi is a native client for a subset of its workflows, not a full replacement: it does not expose image-editing models such as FLUX.1 Kontext or Qwen-Image-Edit.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining MochiDiffusion/MochiDiffusion? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature MochiDiffusion/MochiDiffusion on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare