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
// The app's platform checks, switched per window: the desktop app (Settings → Other devices) or
// Kokon in a phone's browser (its own layout, components/PhoneApp.tsx). <AppWindow> sets them before
// its components render; the app reads `inBrowser` at use, so the live binding follows.
export * from "../../../../src/lib/platform";
export let inBrowser = false;
let narrow = false;
export const isNarrow = () => narrow;
export const useNarrow = () => narrow;
export function setPlatform(browser: boolean, phone: boolean) {
inBrowser = browser;
narrow = phone;
}