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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- maximum-scale: iPhone no longer zooms the page into a text field (pinch zoom still works there) -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover" />
<title>Kokon</title>
<!-- In a browser on another device: the tab icon, and Kokon on the home screen like an app
(Settings → Other devices shows how). The desktop app ignores these. -->
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="Kokon" />
<!-- The colour of the phone's status bar (and Safari's bars): the page's ground for the phone's
own appearance; theme.js sets both to the theme chosen in Kokon. -->
<meta name="theme-color" content="#f4f4f4" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#0a0a0a" media="(prefers-color-scheme: dark)" />
<!-- Painted before any JavaScript runs, so the window never shows an empty white page
(the dev server can take seconds to compile; the web view itself needs a moment).
React replaces #root's content when the app mounts. Colors match styles.css. -->
<script src="/theme.js"></script>
<style>
html, body { margin: 0; height: 100%; background: #f4f4f4; color: #0d0d0d; }
html[data-theme="dark"], html[data-theme="dark"] body { background: #0a0a0a; color: #f2f2f2; }
html[data-theme="dark"][data-platform="mac"], html[data-theme="dark"][data-platform="mac"] body { background: #161616; }
.boot-splash { height: 100vh; display: grid; place-items: center; }
.boot-splash svg { width: 56px; height: 56px; opacity: 0.9; animation: boot-breathe 1.6s ease-in-out infinite; }
@keyframes boot-breathe { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .boot-splash svg { animation: none; } }
</style>
</head>
<body>
<div id="root">
<div class="boot-splash" aria-label="Kokon is starting">
<svg viewBox="0 0 1024 1024" aria-hidden="true"><path fill="currentColor" d="M0.00 242.81 C0.00 112.17 70.23 25.08 175.59 25.08 C280.94 25.08 351.17 112.17 351.17 242.81 L351.17 781.19 C351.17 911.83 280.94 998.92 175.59 998.92 C70.23 998.92 0.00 911.83 0.00 781.19 Z M389.53 548.95 C389.53 250.35 662.35 25.08 1024.00 25.08 C1024.00 323.68 751.18 548.95 389.53 548.95 Z M389.53 587.31 C389.53 821.93 618.71 998.92 922.49 998.92 C922.49 764.30 693.31 587.31 389.53 587.31 Z"/></svg>
</div>
</div>
<script src="/boot.js"></script>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>