# AI use cases for Imagegen Mac (ph1lb4/imagegen-mac)

Repo: [ph1lb4/imagegen-mac](https://github.com/ph1lb4/imagegen-mac) | Use cases: 3 | Page: https://dedupedai.com/use-cases/ph1lb4-imagegen-mac/

ImageGen is a native macOS app that runs the Qwen-Image 2.1 model locally on Apple silicon for text to image and image editing, with a built-in MCP server so coding agents can generate images.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Generate images offline on your Mac: https://dedupedai.com/use-cases/ph1lb4-imagegen-mac/generate-images-offline-on-mac/
- Let Claude Code generate images while it builds: https://dedupedai.com/use-cases/ph1lb4-imagegen-mac/let-claude-code-make-images/
- Edit an existing image with an instruction: https://dedupedai.com/use-cases/ph1lb4-imagegen-mac/edit-images-with-instructions/

## How to generate images offline on your Mac with Imagegen Mac

Repo: [ph1lb4/imagegen-mac](https://github.com/ph1lb4/imagegen-mac) | Difficulty: Intermediate | Time: 1 hour | Basis: From the README

Build the app, download the model, and generate images with readable text on your GPU.

**Who it is for:** A designer who cannot send client prompts to cloud services.

**The problem:** Cloud image tools cost per image and see your prompts.

**The outcome:** Images generated on-device with no API keys.

### Steps

1. Run `git clone https://github.com/ph1lb4/imagegen-mac.git` and `cd imagegen-mac`
2. Build with `./scripts/build-app.sh`
3. Open with `open build/ImageGen.app` and let it download the model
4. Generate from a text prompt

### Prompt to paste into your agent

```text
Build ph1lb4/imagegen-mac, generate <prompt> with text in the image, and confirm the text is readable and no network calls were made after the model download.
```

### Caveat

The model needs about 33 GB of memory, so a 64 GB Mac is the practical minimum.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/ph1lb4-imagegen-mac/generate-images-offline-on-mac/

## How to let Claude Code generate images while it builds with Imagegen Mac

Repo: [ph1lb4/imagegen-mac](https://github.com/ph1lb4/imagegen-mac) | Difficulty: Intermediate | Time: 15 minutes | Basis: From the README

Connect the app's MCP server so your coding agent creates images for your project.

**Who it is for:** A web developer who needs placeholder art and icons during a build.

**The problem:** Switching to an image tool breaks flow.

**The outcome:** Images generated by the agent through local MCP.

### Steps

1. Run ImageGen so its engine listens on port 7860
2. Run `claude mcp add --transport http imagegen http://127.0.0.1:7860/mcp --scope user`
3. Ask Claude Code for an image
4. Check it in the app's gallery

### Prompt to paste into your agent

```text
With the imagegen MCP server connected, generate a hero image for <project> and save it to <path>. Confirm the file exists and was made locally.
```

### Caveat

The MCP server is only available while the app's engine is running.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/ph1lb4-imagegen-mac/let-claude-code-make-images/

## How to edit an existing image with an instruction with Imagegen Mac

Repo: [ph1lb4/imagegen-mac](https://github.com/ph1lb4/imagegen-mac) | Difficulty: Beginner | Time: 15 minutes | Basis: From the README

Use the image editing mode to change an image from a text instruction.

**Who it is for:** A marketer adjusting product photos.

**The problem:** Simple edits need photo editing skills.

**The outcome:** An edited image produced locally.

### Steps

1. Open ImageGen
2. Load an image in editing mode
3. Describe the change
4. Compare before and after

### Prompt to paste into your agent

```text
Edit <image> in ImageGen with the instruction <change> and save the result. Describe what changed.
```

### Caveat

The engine can also be run headless with uv for scripted use.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/ph1lb4-imagegen-mac/edit-images-with-instructions/
