Who it is forA designer who cannot send client prompts to cloud services.
The problemCloud image tools cost per image and see your prompts.
The outcomeImages generated on-device with no API keys.
What you need first
- Apple silicon Mac with about 64 GB unified memory (the model needs about 33 GB)
- uv for the Python engine
Steps
- Run
git clone https://github.com/ph1lb4/imagegen-mac.gitandcd imagegen-mac - Build with
./scripts/build-app.sh - Open with
open build/ImageGen.appand let it download the model - Generate from a text prompt
Prompt for your agent
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.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ph1lb4/imagegen-mac and "Generate images offline on your Mac"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer