# Mugi: Local AI Image Upscaler for Apple Silicon Macs

> Mugi is an image upscaler for Apple Silicon Macs, free for personal use. It enlarges AI-generated images, photos, paintings, and anime to 4K or 8K with four models, SeedVR2, DRCT-L, HAT-L, and Anime 6B, that run on your Mac's GPU through Metal. Your images never leave your computer.

- Download: https://github.com/absolutepraya/mugi-upscale/releases/latest
- Source code: https://github.com/absolutepraya/mugi-upscale
- Requirements: macOS 14 or later on an Apple Silicon Mac (M1 or newer)
- License: PolyForm Noncommercial License 1.0.0 (source-available, free for noncommercial use): https://github.com/absolutepraya/mugi-upscale/blob/main/LICENSE
- Made by: [Daffa Abhipraya Putra](https://abhipraya.dev/)

## Examples

### An oil painting, rebuilt with SeedVR2

A 299 × 299 JPEG upscaled to 1,000 × 1,000. Blurry smears become distinct brushstrokes, and the bristle texture on the coats is rebuilt rather than stretched.

![Original small oil painting of three chefs in tall white hats, enlarged and blurry](https://mugi.abhipraya.dev/images/oil-painting-chefs-original.webp)

![The same painting upscaled by SeedVR2 with crisp brushstrokes](https://mugi.abhipraya.dev/images/oil-painting-chefs-seedvr2.webp)

### Fine detail in an AI-generated photo

A close-up of a 1,376 × 768 image upscaled to 3,840 × 2,143. Look at the launch towers, the roads, and the shoreline.

![Enlarged crop of the original launch site with soft towers and roads](https://mugi.abhipraya.dev/images/rocket-launch-detail-original.webp)

![The same crop after SeedVR2 with sharper towers, roads, and shoreline](https://mugi.abhipraya.dev/images/rocket-launch-detail-seedvr2.webp)

### Clean outlines in a cartoon with Anime 6B

A lightly compressed 256 × 256 cartoon upscaled 2× to 512 × 512. Compare the outlines around the ears and the fine whisker lines.

![Original cartoon of an orange cat against mountains, enlarged with soft edges](https://mugi.abhipraya.dev/images/cartoon-cat-original.webp)

![The same cartoon upscaled by Anime 6B with clean outlines](https://mugi.abhipraya.dev/images/cartoon-cat-anime-6b.webp)

## Which model should I use?

| Model | Best for | How it behaves | Setup |
| --- | --- | --- | --- |
| SeedVR2 | AI-generated photos and paintings | Generative diffusion upscaling that rebuilds realistic texture. It can add new detail and change fine shapes or color. | One-click download in the app, about 4 GB |
| DRCT-L | Clean graphics, logos, and fine hatch lines | Keeps shapes, colors, and lettering faithful to the source. | Included |
| HAT-L | Soft or compressed photos | Reduces blocks and halos from compression while keeping detail. | Included |
| Anime 6B | Anime and cartoons | Keeps outlines clean. Start near 2× for the best results. | Included |

## What Mugi does

- **Runs entirely on your Mac.** Every model runs on the GPU through Metal. Mugi never uploads your images, and it works offline once its models are installed.
- **Four models, with guidance.** Each model shows what it is best for and how it handles detail, texture, outlines, and compression, so you can pick before you run it.
- **Compare models side by side.** Run any two models on the same image and compare them before you save one.
- **Inspect at 1:1.** Pan and zoom the original and the result together at one image pixel per display pixel.
- **Up to 8K output.** Size the result by scale, long edge, width, or height, up to 8,192 pixels. Mugi keeps the aspect ratio.
- **The formats you use.** Opens PNG, JPEG, WebP, and TIFF. Saves 8-bit sRGB PNG by default, or JPEG, TIFF, or HEIC, with color profiles and orientation handled.
- **Auto-save.** Optionally save every result to a folder you choose as soon as it is ready.
- **Safe updates.** Mugi checks for a new version at most once a day, verifies the download against its SHA-256 checksum, and only installs when you click Update.

## How to install Mugi

1. Download the Apple Silicon DMG from the latest release on GitHub.
2. Open it and drag Mugi into your Applications folder.
3. Open Mugi. If macOS blocks it, follow the installation guide, because the app uses ad-hoc signing.
4. Add a photo, pick a model, and click Upscale. Click Download beside SeedVR2 the first time you want it.

Installation guide: https://github.com/absolutepraya/mugi-upscale/blob/main/packaging/INSTALL.md

## Questions and answers

### Is Mugi free?

Yes, for personal use, hobby projects, study, and research, and for charities, schools, and public institutions. Mugi is source-available under the PolyForm Noncommercial License 1.0.0. It is not open source: selling it, running it as a paid service, or using it inside a for-profit company needs a commercial license from the author.

### Does Mugi upload my images?

No. Every model runs locally on your Mac's GPU through Metal. Mugi only goes online to check for app updates and to download the SeedVR2 weights when you ask it to.

### Which Macs does Mugi run on?

Apple Silicon Macs (M1 or newer) with macOS 14 or later. Intel Macs are not supported. SeedVR2 adapts its working resolution to your unified memory, up to about 4K on a Mac with 24 GB.

### Which model should I use for AI-generated images?

Start with SeedVR2. It rebuilds realistic texture, which suits AI photos and paintings. Use Anime 6B for anime and cartoons, DRCT-L for clean graphics and logos, and HAT-L for soft or compressed photos. Compare Models runs two of them side by side.

### How large can the output be?

Up to 8,192 pixels on the long edge. You can set the size by scale, long edge, width, or height, and Mugi keeps the original aspect ratio.

### Can SeedVR2 change my image?

It can. SeedVR2 is generative, so it may introduce new detail and change the color or shape of fine features. Check foliage, fog, fine edges, and repeating textures at 1:1 before you save, or use DRCT-L or HAT-L when you need strict fidelity.

### How long does an upscale take?

It depends on the image size, the model, and your Mac. DRCT-L, HAT-L, and Anime 6B work tile by tile. SeedVR2 is a diffusion model and may take several minutes. Mugi shows progress and elapsed time while it works.

### Is there a command line version?

Yes. The same engine runs from the terminal with upscale.py and uv, for single images or whole folders. See the README on GitHub for the options.

## Model credits

- [DRCT-L](https://huggingface.co/Phips/4xNomos2_hq_drct-l), by Philip Hofmann, CC BY 4.0
- [HAT-L](https://huggingface.co/Phips/4xNomos8kSCHAT-L), by Philip Hofmann, CC BY 4.0
- [Anime 6B](https://github.com/xinntao/Real-ESRGAN/blob/master/docs/anime_model.md), Real-ESRGAN by Xintao Wang and contributors, BSD 3-Clause
- [SeedVR2](https://github.com/numz/ComfyUI-SeedVR2_VideoUpscaler), by ByteDance Seed, through the ComfyUI integration
