Edit photos by describing the change, on your own GPU. A free, open-source alternative to Nano Banana and ChatGPT image editing: photos stay on your computer, no daily limit. One installer for Windows, Mac and Linux sets up the best open model (Qwen-Image 2.1). MCP server for AI agents.
TypeScript ai-photo-editorcomfyui-alternativegenerative-fillimage-editingimage-generationinpaintinglinuxlocal-aimacosmcpmcp-servernano-banana-alternativeofflinephoto-editorprivacyqwen-imageqwen-image-2-1stable-diffusion-cppvulkanwindows
#!/bin/bash
# Builds kokon-engine-mac and puts it where Kokon looks for it when "Kokon's Mac engine" is on (Settings →
# Performance) and the app has no copy of its own (Kokon.app and `tauri dev` have one, see stage-app.sh):
# <stable-diffusion.cpp folder>/engine-mac/, beside sd.cpp's engine-metal. The kernels and resources are the
# KokonEngineMac_KokonEngine.bundle next to the executable.
#
# bash engine-mac/tools/install-dev.sh [stable-diffusion.cpp folder]
set -euo pipefail
here="$(cd "$(dirname "$0")/.." && pwd)"
target="${1:-$HOME/Library/Application Support/KokonData/sdcpp}/engine-mac"
(cd "$here" && swift build -c release)
mkdir -p "$target"
rm -rf "$target/KokonEngineMac_KokonEngine.bundle"
cp "$here/.build/release/kokon-engine-mac" "$target/"
cp -R "$here/.build/release/KokonEngineMac_KokonEngine.bundle" "$target/"
echo "installed in $target"