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">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kokon: Free Offline AI Photo Editor for Windows, Mac & Linux (Qwen-Image 2.1)</title>
<meta name="description" content="Edit photos by describing the change, on your own computer. A free, open-source alternative to Nano Banana and ChatGPT image editing: your photos stay on your PC and there is no daily limit. One installer for Windows, Mac and Linux sets up the best open model for your GPU.">
<meta name="keywords" content="local AI photo editor, offline AI image editor, Nano Banana alternative, local Nano Banana, Photoshop Generative Fill alternative, Qwen-Image 2.1, Qwen Image Edit, run Qwen-Image locally, ComfyUI alternative, AI inpainting, remove objects from photos, MCP image generation, stable-diffusion.cpp">
<meta name="author" content="Gabriele Lozupone">
<meta name="robots" content="index, follow, max-image-preview:large, max-video-preview:-1">
<meta property="og:site_name" content="Kokon">
<meta property="og:title" content="Kokon — Edit photos by describing the change, on your own GPU">
<meta property="og:description" content="A free, local alternative to Nano Banana and Generative Fill. Brush an area, type the change, and your own GPU does the edit. One installer for Windows, Mac and Linux.">
<meta property="og:image" content="https://kokon.app/assets/og.png">
<meta property="og:image:width" content="1280">
<meta property="og:image:height" content="640">
<meta property="og:image:alt" content="Kokon logo and tagline">
<meta property="og:url" content="https://kokon.app/">
<meta property="og:type" content="website">
<meta property="og:video" content="https://kokon.app/assets/kokon.mp4?v=3">
<meta property="og:video:type" content="video/mp4">
<meta property="og:video:width" content="1920">
<meta property="og:video:height" content="1080">
<link rel="canonical" href="https://kokon.app/">
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/assets/favicon.ico" sizes="any">
<link rel="apple-touch-icon" href="/assets/apple-touch-icon.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Kokon — AI photo editing on your own PC. Free, private, no limits.">
<meta name="twitter:description" content="Edit photos by describing the change, on your own GPU. Free and open source for Windows, Mac and Linux.">
<meta name="twitter:image" content="https://kokon.app/assets/og.png">
<link rel="preload" as="image" href="assets/kokon-poster.jpg?v=3">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "SoftwareApplication",
"@id": "https://kokon.app/#app",
"name": "Kokon",
"alternateName": "Kokon AI photo editor",
"description": "Free, open-source desktop app that edits and creates photos with Qwen-Image 2.1 on your own GPU. Paint an area to change only that area, compare versions, and let AI agents use it through a built-in MCP server. No Python, no cloud.",
"url": "https://kokon.app/",
"downloadUrl": "https://github.com/GabrieleLozupone/kokon/releases/latest",
"installUrl": "https://github.com/GabrieleLozupone/kokon/releases/latest",
"softwareVersion": "0.12.0",
"releaseNotes": "https://github.com/GabrieleLozupone/kokon/releases/latest",
"softwareHelp": { "@type": "CreativeWork", "url": "https://kokon.app/prompt-guide/", "name": "Prompt guide for Qwen-Image 2.1" },
"applicationCategory": "MultimediaApplication",
"applicationSubCategory": "AI image editor",
"operatingSystem": "Windows 10, Windows 11, macOS 15, Linux",
"processorRequirements": "NVIDIA, AMD or Intel GPU with 12 GB of VRAM (NVIDIA 8 GB in beta), or Apple Silicon",
"storageRequirements": "15 GB",
"fileSize": "136 MB",
"isAccessibleForFree": true,
"license": "https://www.gnu.org/licenses/agpl-3.0.html",
"offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" },
"screenshot": "https://kokon.app/assets/kokon-poster.jpg?v=3",
"image": "https://kokon.app/assets/og.png",
"featureList": ["Edit photos with a sentence", "Create images from text", "Prompt+: a few words become a detailed prompt, written by the model already loaded", "Your own Qwen-Image 2.1 LoRAs (beta)", "Paint an area to change only that area (inpainting)", "Remove, replace and add objects", "Expand images beyond their borders (outpainting)", "Split an image into layers: each object cut out, the background filled in behind it (Layers lab, experimental)", "Export layers as a PSD for Photoshop, GIMP or Photopea", "Paint with colours: one colour per thing, say what goes there", "AI marking in every image: IPTC metadata and an invisible watermark", "Before/after comparison and version history", "Use it from a phone, tablet or laptop in the browser, behind a password", "Docker image for NVIDIA GPUs", "Private mode", "MCP server and local HTTP API for AI agents", "Runs offline on NVIDIA, AMD, Intel and Apple Silicon"],
"author": { "@id": "https://gabrielelozupone.github.io/#me" },
"sameAs": ["https://github.com/GabrieleLozupone/kokon", "https://www.npmjs.com/package/kokon-mcp", "https://www.youtube.com/@glozupone", "https://www.youtube.com/watch?v=y2NAJkZ4vH0"]
},
{
"@type": "Person",
"@id": "https://gabrielelozupone.github.io/#me",
"name": "Gabriele Lozupone",
"url": "https://gabrielelozupone.github.io/",
"jobTitle": "Postdoctoral Research Fellow in AI",
"sameAs": ["https://github.com/GabrieleLozupone"]
},
{
"@type": "VideoObject",
"name": "Kokon: edit photos by describing the change, on your own GPU",
"description": "Kokon in use: Prompt+ writing a prompt from a few words, painting an area to remove a scooter, and five more edits made with Qwen-Image 2.1 on a local GPU.",
"thumbnailUrl": "https://kokon.app/assets/kokon-poster.jpg?v=3",
"contentUrl": "https://kokon.app/assets/kokon.mp4?v=3",
"uploadDate": "2026-10-20",
"duration": "PT1M25S",
"embedUrl": "https://www.youtube.com/embed/y2NAJkZ4vH0"
},
{
"@type": "VideoObject",
"name": "Free AI photo editor on your PC: remove people, restore old photos, change colors",
"description": "What Kokon can do, in examples made with it: remove photobombers, fix closed eyes, restore and colorize an old photo, add someone who is missing, try a haircut or a jacket, repaint a wall, turn a selfie into a headshot, put text on an invite.",
"thumbnailUrl": "https://kokon.app/assets/img/videos/usecases.webp",
"contentUrl": "https://kokon.app/assets/usecases.mp4?v=1",
"uploadDate": "2026-11-04",
"duration": "PT1M25S",
"embedUrl": "https://www.youtube.com/embed/WDbHxkbpU4s"
},
{
"@type": "VideoObject",
"name": "Kokon 0.12: split any image into layers, move objects, export to PSD",
"description": "The Layers lab: click each object, Kokon cuts it out onto its own layer and paints the background behind it; move, hide or edit each layer, blend it into the scene, export a PSD. Also painting with colours and Kokon's own Mac engine.",
"thumbnailUrl": "https://kokon.app/assets/img/videos/update-0.12.webp",
"uploadDate": "2026-11-04",
"duration": "PT2M21S",
"embedUrl": "https://www.youtube.com/embed/eGr9yYe7NVc"
},
{
"@type": "WebSite",
"@id": "https://kokon.app/#site",
"name": "Kokon",
"url": "https://kokon.app/",
"publisher": { "@id": "https://gabrielelozupone.github.io/#me" }
}
]
}
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/style.css?v=14">
<link rel="stylesheet" href="assets/devices.css?v=1">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Is it really free?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. Kokon is open source under the GNU AGPL-3.0 license. No account, no credits, no subscription, no daily limit. It uses your own GPU, so there is nothing to pay for. The images are for non-commercial use, because of the model's license."
}
},
{
"@type": "Question",
"name": "Is Kokon a local alternative to Nano Banana or ChatGPT image editing?",
"acceptedAnswer": {
"@type": "Answer",
"text": "For editing photos with a sentence, yes. Kokon runs on your own GPU, so your photos are never uploaded and there are no limits or subscriptions. Cloud models run on data-center GPUs and can be faster or stronger on some edits; Kokon uses Qwen-Image 2.1, which leads the open-weights image-editing rankings."
}
},
{
"@type": "Question",
"name": "Can I choose a different model?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Kokon makes that choice for you, on purpose: we test the open image models and ship the best one as the default, tuned for your graphics card. Today that is Qwen-Image 2.1 Turbo. When a better open model wins our tests, an update brings it. Setup can reuse the same model files if you already have them, and you can add your own LoRAs."
}
},
{
"@type": "Question",
"name": "How do I run Qwen-Image 2.1 locally without ComfyUI?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Install Kokon and let its setup download the model. Kokon runs Qwen-Image 2.1 through stable-diffusion.cpp, a native engine, so there is no Python, no ComfyUI and no workflow to build. The step-by-step guide is at kokon.app/qwen-image-2-1-local."
}
},
{
"@type": "Question",
"name": "Which model does it use?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Qwen-Image 2.1 Turbo, the official 8-step version of Qwen's image model, which both creates and edits images and leads the open-weights image-editing rankings."
}
},
{
"@type": "Question",
"name": "Does it work on AMD or Intel GPUs?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, in beta, through the Vulkan engine on Windows with 12 GB of VRAM or more. On NVIDIA it uses CUDA; on Apple Silicon Macs it uses Metal."
}
},
{
"@type": "Question",
"name": "My GPU has 8 GB. Will it work?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, in beta. Kokon makes images at about 1 megapixel on 8 GB cards; users report it works on an RTX 3060 Ti and an RTX 5050 Laptop (1 to 2 minutes per edit). 16 GB of system RAM is recommended. On a Mac, 16 GB of unified memory works but slowly; 32 GB is recommended."
}
},
{
"@type": "Question",
"name": "Can Claude Code or Cursor generate images with it?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. Kokon ships an MCP server: register it once and any MCP client can create, edit, inpaint, expand and upscale images on your GPU, for free and without an API key."
}
},
{
"@type": "Question",
"name": "Can Kokon split an image into layers or make a PSD?",
"acceptedAnswer": { "@type": "Answer", "text": "Yes, since 0.12, in the Layers lab (experimental). Click each thing you want on its own layer; Kokon cuts it out and paints the background behind it, so moving it leaves no hole. Then move, resize, hide or edit each layer, and save one image or a layered PSD for Photoshop, GIMP or Photopea. Text in the picture becomes an image layer, not editable type." }
},
{
"@type": "Question",
"name": "Is it an alternative to Photoshop Generative Fill?",
"acceptedAnswer": {
"@type": "Answer",
"text": "For many edits, yes: paint an area and describe what should be there, or remove, replace and add objects. It runs offline and costs nothing. Since 0.12 it can also split an image into layers and export a PSD, but it is an AI editor, not a full layer-based editor like Photoshop."
}
},
{
"@type": "Question",
"name": "Can I use the images commercially?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Not with the default model. The app is open source (AGPL-3.0), but Qwen-Image 2.1 is released under the Qwen Research License: research and evaluation only, no commercial use without a license from the Qwen team. The default upscaler (Superscale-SP) allows commercial use; the optional UltraSharp upscaler is non-commercial (CC BY-NC-SA 4.0)."
}
},
{
"@type": "Question",
"name": "Windows says the app is unrecognized. Is it safe?",
"acceptedAnswer": {
"@type": "Answer",
"text": "The beta installer is not code-signed yet, so SmartScreen warns about it. Click \"More info\" and then \"Run anyway\". The code is public and every download the app makes is checked against a pinned hash."
}
},
{
"@type": "Question",
"name": "Does it run on Linux?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, in beta, on x86-64: a .deb for Ubuntu, Debian and Mint and an .rpm for Fedora, from the latest GitHub release. NVIDIA cards need the proprietary driver; AMD and Intel cards use Vulkan. Since 0.11 it also runs as a headless server with the interface in your browser, and as a Docker image for NVIDIA cards (kokon.app/self-hosted)."
}
},
{
"@type": "Question",
"name": "macOS says Kokon cannot be opened. What do I do?",
"acceptedAnswer": {
"@type": "Answer",
"text": "The beta is not notarized by Apple yet, so macOS blocks it the first time. Try to open it once, then go to System Settings, Privacy & Security, scroll down and click \"Open Anyway\". You only do this once; in-app updates don't trigger it again. If macOS only says the app can't be opened, with just an OK button and no Open Anyway in Settings, run xattr -dr com.apple.quarantine /Applications/Kokon.app in Terminal, then open Kokon."
}
},
{
"@type": "Question",
"name": "What is Prompt+?",
"acceptedAnswer": {
"@type": "Answer",
"text": "An optional helper next to the prompt box. Write a short idea in any language and Prompt+ writes a detailed English prompt from it (looking at your photo for edits), then makes the image; the result keeps both prompts. It runs on Qwen3-VL, the text encoder Qwen-Image 2.1 already loads, inside Kokon's own build of stable-diffusion.cpp, so there is no second model to download. It adds about 2 seconds per image on an RTX 5070 Ti."
}
},
{
"@type": "Question",
"name": "Can I use LoRAs?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, in beta: your own LoRA files made for Qwen-Image 2.1 (.safetensors). Load them in Settings, LoRA and turn them on for each project with the LoRA button next to the prompt, up to 3 at a time. LoRAs for older Qwen-Image versions don't work with 2.1. Tested on Windows so far; there is no LoRA catalog yet, because the popular LoRAs we tested didn't improve on what Turbo does with a good prompt."
}
},
{
"@type": "Question",
"name": "Does it work offline?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. After setup has downloaded the models, everything runs offline."
}
},
{
"@type": "Question",
"name": "Can I use Kokon from my phone?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, since 0.11. On the computer with the graphics card, open Settings, Other devices, set a password and scan the QR code with your phone. The phone uses Kokon in its browser; the computer makes the images and keeps them in its gallery. Away from home, use Tailscale or another VPN. Guide: kokon.app/self-hosted."
}
},
{
"@type": "Question",
"name": "How do I write good prompts for Qwen-Image 2.1?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Describe the scene, not just the subject: who, doing what, where, in what light. Never write “no X” (it adds X), put text in quotes, and for edits name the exact thing to change. The prompt guide at kokon.app/prompt-guide shows each rule with a vague and a clear prompt side by side."
}
}
]
}
</script>
</head>
<body>
<svg width="0" height="0" style="position:absolute" aria-hidden="true">
<defs>
<symbol id="mark" viewBox="0 0 1024 1024"><path 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" fill="currentColor"/></symbol>
<symbol id="win" viewBox="0 0 24 24"><path d="M0 0h11.3v11.3H0zM12.7 0H24v11.3H12.7zM0 12.7h11.3V24H0zM12.7 12.7H24V24H12.7z"/></symbol>
<symbol id="linux" viewBox="0 0 24 24"><path d="M12.504 0c-.155 0-.315.008-.48.021-4.226.333-3.105 4.807-3.17 6.298-.076 1.092-.3 1.953-1.05 3.02-.885 1.051-2.127 2.75-2.716 4.521-.278.832-.41 1.684-.287 2.489a.424.424 0 00-.11.135c-.26.268-.45.6-.663.839-.199.199-.485.267-.797.4-.313.136-.658.269-.864.68-.09.189-.136.394-.132.602 0 .199.027.4.055.536.058.399.116.728.04.97-.249.68-.28 1.145-.106 1.484.174.334.535.47.94.601.81.2 1.91.135 2.774.6.926.466 1.866.67 2.616.47.526-.116.97-.464 1.208-.946.587-.003 1.23-.269 2.26-.334.699-.058 1.574.267 2.577.2.025.134.063.198.114.333l.003.003c.391.778 1.113 1.132 1.884 1.071.771-.06 1.592-.536 2.257-1.306.631-.765 1.683-1.084 2.378-1.503.348-.199.629-.469.649-.853.023-.4-.2-.811-.714-1.376v-.097l-.003-.003c-.17-.2-.25-.535-.338-.926-.085-.401-.182-.786-.492-1.046h-.003c-.059-.054-.123-.067-.188-.135a.357.357 0 00-.19-.064c.431-1.278.264-2.55-.173-3.694-.533-1.41-1.465-2.638-2.175-3.483-.796-1.005-1.576-1.957-1.56-3.368.026-2.152.236-6.133-3.544-6.139zm.529 3.405h.013c.213 0 .396.062.584.198.19.135.33.332.438.533.105.259.158.459.166.724 0-.02.006-.04.006-.06v.105a.086.086 0 01-.004-.021l-.004-.024a1.807 1.807 0 01-.15.706.953.953 0 01-.213.335.71.71 0 00-.088-.042c-.104-.045-.198-.064-.284-.133a1.312 1.312 0 00-.22-.066c.05-.06.146-.133.183-.198.053-.128.082-.264.088-.402v-.02a1.21 1.21 0 00-.061-.4c-.045-.134-.101-.2-.183-.333-.084-.066-.167-.132-.267-.132h-.016c-.093 0-.176.03-.262.132a.8.8 0 00-.205.334 1.18 1.18 0 00-.09.4v.019c.002.089.008.179.02.267-.193-.067-.438-.135-.607-.202a1.635 1.635 0 01-.018-.2v-.02a1.772 1.772 0 01.15-.768c.082-.22.232-.406.43-.533a.985.985 0 01.594-.2zm-2.962.059h.036c.142 0 .27.048.399.135.146.129.264.288.344.465.09.199.14.4.153.667v.004c.007.134.006.2-.002.266v.08c-.03.007-.056.018-.083.024-.152.055-.274.135-.393.2.012-.09.013-.18.003-.267v-.015c-.012-.133-.04-.2-.082-.333a.613.613 0 00-.166-.267.248.248 0 00-.183-.064h-.021c-.071.006-.13.04-.186.132a.552.552 0 00-.12.27.944.944 0 00-.023.33v.015c.012.135.037.2.08.334.046.134.098.2.166.268.01.009.02.018.034.024-.07.057-.117.07-.176.136a.304.304 0 01-.131.068 2.62 2.62 0 01-.275-.402 1.772 1.772 0 01-.155-.667 1.759 1.759 0 01.08-.668 1.43 1.43 0 01.283-.535c.128-.133.26-.2.418-.2zm1.37 1.706c.332 0 .733.065 1.216.399.293.2.523.269 1.052.468h.003c.255.136.405.266.478.399v-.131a.571.571 0 01.016.47c-.123.31-.516.643-1.063.842v.002c-.268.135-.501.333-.775.465-.276.135-.588.292-1.012.267a1.139 1.139 0 01-.448-.067 3.566 3.566 0 01-.322-.198c-.195-.135-.363-.332-.612-.465v-.005h-.005c-.4-.246-.616-.512-.686-.71-.07-.268-.005-.47.193-.6.224-.135.38-.271.483-.336.104-.074.143-.102.176-.131h.002v-.003c.169-.202.436-.47.839-.601.139-.036.294-.065.466-.065zm2.8 2.142c.358 1.417 1.196 3.475 1.735 4.473.286.534.855 1.659 1.102 3.024.156-.005.33.018.513.064.646-1.671-.546-3.467-1.089-3.966-.22-.2-.232-.335-.123-.335.59.534 1.365 1.572 1.646 2.757.13.535.16 1.104.021 1.67.067.028.135.06.205.067 1.032.534 1.413.938 1.23 1.537v-.043c-.06-.003-.12 0-.18 0h-.016c.151-.467-.182-.825-1.065-1.224-.915-.4-1.646-.336-1.77.465-.008.043-.013.066-.018.135-.068.023-.139.053-.209.064-.43.268-.662.669-.793 1.187-.13.533-.17 1.156-.205 1.869v.003c-.02.334-.17.838-.319 1.35-1.5 1.072-3.58 1.538-5.348.334a2.645 2.645 0 00-.402-.533 1.45 1.45 0 00-.275-.333c.182 0 .338-.03.465-.067a.615.615 0 00.314-.334c.108-.267 0-.697-.345-1.163-.345-.467-.931-.995-1.788-1.521-.63-.4-.986-.87-1.15-1.396-.165-.534-.143-1.085-.015-1.645.245-1.07.873-2.11 1.274-2.763.107-.065.037.135-.408.974-.396.751-1.14 2.497-.122 3.854a8.123 8.123 0 01.647-2.876c.564-1.278 1.743-3.504 1.836-5.268.048.036.217.135.289.202.218.133.38.333.59.465.21.201.477.335.876.335.039.003.075.006.11.006.412 0 .73-.134.997-.268.29-.134.52-.334.74-.4h.005c.467-.135.835-.402 1.044-.7zm2.185 8.958c.037.6.343 1.245.882 1.377.588.134 1.434-.333 1.791-.765l.211-.01c.315-.007.577.01.847.268l.003.003c.208.199.305.53.391.876.085.4.154.78.409 1.066.486.527.645.906.636 1.14l.003-.007v.018l-.003-.012c-.015.262-.185.396-.498.595-.63.401-1.746.712-2.457 1.57-.618.737-1.37 1.14-2.036 1.191-.664.053-1.237-.2-1.574-.898l-.005-.003c-.21-.4-.12-1.025.056-1.69.176-.668.428-1.344.463-1.897.037-.714.076-1.335.195-1.814.12-.465.308-.797.641-.984l.045-.022zm-10.814.049h.01c.053 0 .105.005.157.014.376.055.706.333 1.023.752l.91 1.664.003.003c.243.533.754 1.064 1.189 1.637.434.598.77 1.131.729 1.57v.006c-.057.744-.48 1.148-1.125 1.294-.645.135-1.52.002-2.395-.464-.968-.536-2.118-.469-2.857-.602-.369-.066-.61-.2-.723-.4-.11-.2-.113-.602.123-1.23v-.004l.002-.003c.117-.334.03-.752-.027-1.118-.055-.401-.083-.71.043-.94.16-.334.396-.4.69-.533.294-.135.64-.202.915-.47h.002v-.002c.256-.268.445-.601.668-.838.19-.201.38-.336.663-.336zm7.159-9.074c-.435.201-.945.535-1.488.535-.542 0-.97-.267-1.28-.466-.154-.134-.28-.268-.373-.335-.164-.134-.144-.333-.074-.333.109.016.129.134.199.2.096.066.215.2.36.333.292.2.68.467 1.167.467.485 0 1.053-.267 1.398-.466.195-.135.445-.334.648-.467.156-.136.149-.267.279-.267.128.016.034.134-.147.332a8.097 8.097 0 01-.69.468zm-1.082-1.583V5.64c-.006-.02.013-.042.029-.05.074-.043.18-.027.26.004.063 0 .16.067.15.135-.006.049-.085.066-.135.066-.055 0-.092-.043-.141-.068-.052-.018-.146-.008-.163-.065zm-.551 0c-.02.058-.113.049-.166.066-.047.025-.086.068-.14.068-.05 0-.13-.02-.136-.068-.01-.066.088-.133.15-.133.08-.031.184-.047.259-.005.019.009.036.03.03.05v.02h.003z"/></symbol>
<symbol id="apple" viewBox="0 0 24 24"><path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"/></symbol>
<symbol id="nvidia" viewBox="0 0 24 24"><path d="M8.948 8.798v-1.43a6.7 6.7 0 0 1 .424-.018c3.922-.124 6.493 3.374 6.493 3.374s-2.774 3.851-5.75 3.851c-.398 0-.787-.062-1.158-.185v-4.346c1.528.185 1.837.857 2.747 2.385l2.04-1.714s-1.492-1.952-4-1.952a6.016 6.016 0 0 0-.796.035m0-4.735v2.138l.424-.027c5.45-.185 9.01 4.47 9.01 4.47s-4.08 4.964-8.33 4.964c-.37 0-.733-.035-1.095-.097v1.325c.3.035.61.062.91.062 3.957 0 6.82-2.023 9.593-4.408.459.371 2.34 1.263 2.73 1.652-2.633 2.208-8.772 3.984-12.253 3.984-.335 0-.653-.018-.971-.053v1.864H24V4.063zm0 10.326v1.131c-3.657-.654-4.673-4.46-4.673-4.46s1.758-1.944 4.673-2.262v1.237H8.94c-1.528-.186-2.73 1.245-2.73 1.245s.68 2.412 2.739 3.11M2.456 10.9s2.164-3.197 6.5-3.533V6.201C4.153 6.59 0 10.653 0 10.653s2.35 6.802 8.948 7.42v-1.237c-4.84-.6-6.492-5.936-6.492-5.936z"/></symbol>
<symbol id="amd" viewBox="0 0 24 24"><path d="M18.324 9.137l1.559 1.56h2.556v2.557L24 14.814V9.137zM2 9.52l-2 4.96h1.309l.37-.982H3.9l.408.982h1.338L3.432 9.52zm4.209 0v4.955h1.238v-3.092l1.338 1.562h.188l1.338-1.556v3.091h1.238V9.52H10.47l-1.592 1.845L7.287 9.52zm6.283 0v4.96h2.057c1.979 0 2.88-1.046 2.88-2.472 0-1.36-.937-2.488-2.747-2.488zm1.237.91h.792c1.17 0 1.63.711 1.63 1.57 0 .728-.372 1.572-1.616 1.572h-.806zm-10.985.273l.791 1.932H2.008zm17.137.307l-1.604 1.603v2.25h2.246l1.604-1.607h-2.246z"/></symbol>
<symbol id="intel" viewBox="0 0 24 24"><path d="M20.42 7.345v9.18h1.651v-9.18zM0 7.475v1.737h1.737V7.474zm9.78.352v6.053c0 .513.044.945.13 1.292.087.34.235.618.44.828.203.21.475.359.803.451.334.093.754.136 1.255.136h.216v-1.533c-.24 0-.445-.012-.593-.037a.672.672 0 0 1-.37-.173.693.693 0 0 1-.173-.377 4.002 4.002 0 0 1-.037-.606v-2.182h1.173v-1.47h-1.173V7.827zm-3.505 2.312c-.396 0-.76.08-1.082.241-.327.161-.6.384-.822.668l-.087.117v-.902H2.658v6.256h1.639v-3.214c.018-.588.16-1.02.433-1.299.29-.297.642-.445 1.044-.445.476 0 .841.149 1.082.433.235.284.359.686.359 1.2v3.324h1.663V12.97c.006-.89-.229-1.595-.686-2.09-.458-.495-1.1-.742-1.917-.742zm10.065.006a3.252 3.252 0 0 0-2.306.946c-.29.29-.525.637-.692 1.033a3.145 3.145 0 0 0-.254 1.268c0 .452.08.878.241 1.274.161.395.39.742.674 1.032.284.29.637.526 1.045.693.408.173.86.26 1.342.26 1.397 0 2.262-.637 2.782-1.23l-1.187-.904c-.248.297-.841.699-1.583.699-.464 0-.847-.105-1.138-.321a1.588 1.588 0 0 1-.593-.872l-.019-.056h4.915v-.587c0-.451-.08-.872-.235-1.267a3.393 3.393 0 0 0-.661-1.033 3.013 3.013 0 0 0-1.02-.692 3.345 3.345 0 0 0-1.311-.247zm-16.297.17v6.256h1.651v-6.256zm16.278 1.239c1.132 0 1.664.797 1.664 1.255l-3.32.006c0-.458.525-1.255 1.656-1.261zm7.073 3.814a.606.606 0 0 0-.606.606.606.606 0 0 0 .606.606.606.606 0 0 0 .606-.606.606.606 0 0 0-.606-.606zm-.008.105a.5.5 0 0 1 .002 0 .5.5 0 0 1 .5.501.5.5 0 0 1-.5.5.5.5 0 0 1-.5-.5.5.5 0 0 1 .498-.5zm-.233.155v.699h.13v-.285h.093l.173.285h.136l-.18-.297a.191.191 0 0 0 .118-.056c.03-.03.05-.074.05-.136 0-.068-.02-.117-.063-.154-.037-.038-.105-.056-.185-.056zm.13.099h.154c.019 0 .037.006.056.012a.064.064 0 0 1 .037.031c.013.013.012.031.012.056a.124.124 0 0 1-.012.055.164.164 0 0 1-.037.031c-.019.006-.037.013-.056.013h-.154Z"/></symbol>
<symbol id="youtube" viewBox="0 0 24 24"><path d="M23.5 6.19a3.02 3.02 0 0 0-2.12-2.14C19.5 3.55 12 3.55 12 3.55s-7.5 0-9.38.5A3.02 3.02 0 0 0 .5 6.19C0 8.07 0 12 0 12s0 3.93.5 5.81a3.02 3.02 0 0 0 2.12 2.14c1.88.5 9.38.5 9.38.5s7.5 0 9.38-.5a3.02 3.02 0 0 0 2.12-2.14C24 15.93 24 12 24 12s0-3.93-.5-5.81zM9.55 15.57V8.43L15.82 12l-6.27 3.57z"/></symbol>
<symbol id="github" viewBox="0 0 24 24"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></symbol>
</defs>
</svg>
<header class="nav" id="nav">
<div class="wrap">
<a class="logo" href="#top" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
<nav class="nav-links" id="nav-links" aria-label="Site">
<ul>
<li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
<div class="dd-panel" id="dd-product"><ul>
<li><a href="#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
<li><a href="#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
<li><a href="#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
<li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
<li><a href="#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
</ul></div></li>
<li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
<div class="dd-panel" id="dd-guides"><ul>
<li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
<li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
<li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
<li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
<li><a href="/image-to-layers/"><b>Image to layers <span class="new">New</span></b><span>Split a photo, export a PSD</span></a></li>
<li><a href="/uninstall/"><b>Uninstall</b><span>Remove Kokon and its models</span></a></li>
</ul></div></li>
<li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
<div class="dd-panel" id="dd-compare"><ul>
<li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
<li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
<li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
<li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
</ul></div></li>
<li><a class="top" href="#faq">FAQ</a></li>
</ul>
<p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/press/">Press kit</a></p>
<a class="btn kofi-btn" href="https://ko-fi.com/gabrielelozupone" target="_blank" rel="noopener"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 20.5s-7.3-4.4-9.3-8.9C1.2 8.3 3.2 4.5 6.8 4.5c2.1 0 3.5 1.1 4.3 2.5h1.8c.8-1.4 2.2-2.5 4.3-2.5 3.6 0 5.6 3.8 4.1 7.1-2 4.5-9.3 8.9-9.3 8.9z"/></svg>Support Kokon on Ko-fi</a>
</nav>
<span class="spacer"></span>
<a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="kofi" href="https://ko-fi.com/gabrielelozupone" target="_blank" rel="noopener"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 20.5s-7.3-4.4-9.3-8.9C1.2 8.3 3.2 4.5 6.8 4.5c2.1 0 3.5 1.1 4.3 2.5h1.8c.8-1.4 2.2-2.5 4.3-2.5 3.6 0 5.6 3.8 4.1 7.1-2 4.5-9.3 8.9-9.3 8.9z"/></svg>Support</a>
<a class="btn primary small" href="#top" data-dl-auto>Download</a>
<button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
<main id="top">
<section class="hero">
<div class="wall" id="wall" aria-hidden="true"></div>
<div class="wrap hero-top">
<span class="eyebrow rv"><b>Beta</b><span>A local alternative to Nano Banana<span class="eb-long"> and Generative Fill</span></span></span>
<h1 class="rv d1">Edit photos by describing the change.</h1>
<div class="ctas rv d3" id="download">
<a class="btn primary" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl="windows"><svg fill="currentColor"><use href="#win"/></svg>Download for Windows</a>
<a class="btn ghost" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl="mac"><svg fill="currentColor"><use href="#apple"/></svg>Download for macOS <span class="tag">BETA</span></a>
<a class="btn ghost" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener"><svg fill="currentColor"><use href="#linux"/></svg>Download for Linux <span class="tag">BETA</span></a>
</div>
<p class="fine rv d3">Free and open source · runs on your own GPU · images for non-commercial use</p>
</div>
<div class="wrap">
<div class="showreel rv" id="videos">
<div class="glow"></div>
<div class="frame">
<div class="slide on">
<video class="reel" src="assets/usecases.mp4?v=1" poster="assets/img/videos/usecases.webp" muted loop playsinline preload="metadata" aria-label="What you can do with Kokon: remove photobombers, fix closed eyes, restore and colorize an old photo, add someone who is missing, try a haircut or a jacket, repaint a wall, and more. All images are examples made with Kokon."></video>
<button class="sound" type="button" aria-label="Watch the video from the start with sound">🔊 Watch with sound</button>
</div>
<div class="slide">
<video class="reel" src="assets/kokon.mp4?v=3" poster="assets/kokon-poster.jpg?v=3" muted loop playsinline preload="none" aria-label="Kokon in use: Prompt+ writing a prompt from a few words, painting an area to remove a scooter, and five more edits"></video>
<button class="sound" type="button" aria-label="Watch the film from the start with sound">🔊 Watch with sound</button>
</div>
<div class="slide"><button class="yt-facade" type="button" data-yt="5wqd9jus8C0" style="background-image:url(assets/img/videos/demo.webp)" aria-label="Play the video: from setup to the first edit (YouTube)"><span class="play"></span><span class="yt-note">Plays on YouTube</span></button></div>
</div>
<div class="vtabs" role="tablist" aria-label="Videos">
<button class="vtab on" type="button" role="tab" aria-selected="true"><img src="assets/img/videos/usecases.webp" alt=""><div><b>What you can do with it</b><span>Everyday edits · 1:25</span></div><i class="bar"></i></button>
<button class="vtab" type="button" role="tab" aria-selected="false"><img src="assets/kokon-poster.jpg?v=3" alt=""><div><b>Kokon in 85 seconds</b><span>The film · 1:25</span></div><i class="bar"></i></button>
<button class="vtab" type="button" role="tab" aria-selected="false"><img src="assets/img/videos/demo.webp" alt=""><div><b>From setup to the first edit</b><span>Real-time demo · 0:58</span></div><i class="bar"></i></button>
</div>
</div>
</div>
</section>
<section class="sec" id="layers">
<div class="wrap center">
<p class="kicker rv">New in 0.12 · Layers lab</p>
<h2 class="rv d1" style="margin-left:auto;margin-right:auto">Any image, split into layers.</h2>
<p class="sec-lede rv d2" style="margin-left:auto;margin-right:auto">Click the things you want. Each gets its own layer, with the background painted in behind.</p>
<div class="layers-demo rv" data-layers-demo></div>
<div class="layers-ctas rv">
<a class="btn yt" href="https://youtu.be/eGr9yYe7NVc" rel="noopener"><svg><use href="#youtube"/></svg>Watch the 0.12 video</a>
<a class="btn ghost" href="image-to-layers/">How to split an image into layers</a>
</div>
</div>
</section>
<section class="sec devices-top" id="devices">
<div class="wrap center">
<p class="kicker rv">New in 0.11 · Other devices</p>
<h2 class="rv d1">Your GPU at home. Kokon on your phone.</h2>
<p class="sec-lede rv d2">Open Kokon in a browser on your phone, tablet or laptop. The images are still made by the computer with the graphics card and saved in its gallery, and nothing goes through a cloud.</p>
<div class="scene-box rv" id="scene-box">
<div class="scene" aria-label="A computer with a graphics card runs Kokon; a MacBook and an iPhone use it in the browser over the home network">
<svg class="links only-wide" viewBox="0 0 1160 650" aria-hidden="true">
<path class="halo" d="M240 330 C 290 330, 300 362, 352 362"/><path d="M240 330 C 290 330, 300 362, 352 362"/>
<path class="halo" d="M130 150 C 230 0, 760 10, 884 150"/><path d="M130 150 C 230 0, 760 10, 884 150"/>
</svg>
<svg class="links only-narrow" viewBox="0 0 720 720" aria-hidden="true">
<path class="halo" d="M260 400 C 310 400, 330 380, 372 380"/><path d="M260 400 C 310 400, 330 380, 372 380"/>
<path class="halo" d="M150 190 C 190 40, 300 20, 380 100"/><path d="M150 190 C 190 40, 300 20, 380 100"/>
</svg>
<div class="pc" aria-hidden="true" style="left:20px;top:150px" data-narrow="left:40px;top:190px">
<div class="glass">
<div class="board"><span class="fan cpu"></span></div>
<div class="gpu"><span class="fan"></span><span class="fan"></span><span class="fan"></span></div>
</div>
<div class="front"><svg><use href="#mark"/></svg><i></i></div>
</div>
<div class="device device-macbook-pro dv-mac only-wide" style="left:330px;top:190px">
<div class="device-frame">
<div class="device-screen">
<div class="bar"><i></i><i></i><i></i><span>192.168.1.20:39152</span></div>
<img src="assets/img/remote-laptop.webp" width="1440" height="900" alt="Kokon's gallery in a browser on a MacBook" loading="lazy">
</div>
</div>
<div class="device-stripe"></div><div class="device-header"></div><div class="device-sensors"></div><div class="device-btns"></div><div class="device-power"></div>
</div>
<div class="device device-iphone-14-pro dv-phone" style="left:868px;top:40px;transform:scale(0.66);transform-origin:top left" data-narrow="left:360px;top:20px;transform:scale(0.78);transform-origin:top left">
<div class="device-frame">
<div class="device-screen">
<div class="status"><span>9:41</span><span class="icons">
<svg viewBox="0 0 18 12"><rect x="0" y="8" width="3" height="4" rx="1"/><rect x="5" y="5.5" width="3" height="6.5" rx="1"/><rect x="10" y="3" width="3" height="9" rx="1"/><rect x="15" y="0" width="3" height="12" rx="1"/></svg>
<svg viewBox="0 0 16 12"><path d="M8 2.6c2.3 0 4.4.9 6 2.4l1.3-1.4A10.4 10.4 0 0 0 8 .6 10.4 10.4 0 0 0 .7 3.6L2 5c1.6-1.5 3.7-2.4 6-2.4zm0 3.6c1.3 0 2.5.5 3.4 1.3l1.3-1.4A6.9 6.9 0 0 0 8 4.2c-1.8 0-3.5.7-4.7 1.9l1.3 1.4C5.5 6.7 6.7 6.2 8 6.2zm0 3.5c-.6 0-1.1.2-1.5.6L8 11.9l1.5-1.6c-.4-.4-.9-.6-1.5-.6z"/></svg>
<svg viewBox="0 0 27 13"><rect x="0.5" y="0.5" width="23" height="12" rx="3.5" fill="none" stroke="#000" opacity="0.4"/><rect x="2" y="2" width="20" height="9" rx="2"/><path d="M25 4.5v4c.8-.3 1.3-1.1 1.3-2s-.5-1.7-1.3-2z" opacity="0.45"/></svg>
</span></div>
<img src="assets/img/remote-phone.webp" width="786" height="1530" alt="A Kokon project on an iPhone: a photo edited into a man surfing on a pink flamingo float, with the prompt box below" loading="lazy">
</div>
</div>
<div class="device-stripe"></div><div class="device-header"></div><div class="device-sensors"></div><div class="device-btns"></div><div class="device-power"></div><div class="device-home"></div>
</div>
<div class="net" style="left:400px;top:22px" data-narrow="left:40px;top:650px"><b>Home Wi-Fi</b> · or Tailscale from anywhere</div>
</div>
</div>
<div class="devices-captions rv">
<p><b>Your computer</b>Kokon and the graphics card do the work</p>
<p><b>A laptop</b>any browser on the same network</p>
<p><b>Your phone</b>scan the QR code, add it to the home screen</p>
</div>
<div class="ctas rv" style="margin-top:24px"><a class="btn yt" href="https://youtu.be/XnC_7P2_cww" target="_blank" rel="noopener"><svg><use href="#youtube"/></svg>Watch the 0.11 video</a><a class="btn ghost" href="self-hosted/">Read the setup guide</a></div>
<div class="privacy" style="text-align:left">
<article class="card rv"><h3>Scan, sign in, edit</h3><p>Settings → Other devices shows a QR code. Scan it, type the password once, and add Kokon to the home screen like an app. On the phone, Kokon opens on your projects; Edit a photo takes one from the phone's photos or camera.</p></article>
<article class="card rv d1"><h3>Locked until you open it</h3><p>Nothing listens on the network until you set a password, and 5 wrong tries make that device wait. Away from home, use Tailscale or another VPN, never an open port on the router.</p></article>
<article class="card rv d2"><h3>Or run it as a server</h3><p>No screen needed: <code>kokon-service</code> on Linux, or the Docker image for NVIDIA cards. Run <code>docker compose up -d</code>, set the password, open the address.</p></article>
</div>
</div>
</section>
<section class="runs">
<div class="wrap">
<p>Runs on</p>
<ul>
<li><svg><use href="#nvidia"/></svg>NVIDIA</li>
<li><svg><use href="#amd"/></svg>AMD</li>
<li><svg><use href="#intel"/></svg>Intel Arc</li>
<li><svg><use href="#apple"/></svg>Apple Silicon</li>
<li><svg><use href="#win"/></svg>Windows</li>
<li><svg><use href="#linux"/></svg>Linux</li>
</ul>
</div>
</section>
<section class="sec" id="examples">
<div class="wrap center">
<p class="kicker rv">Examples</p>
<h2 class="rv d1">One sentence. Any edit.</h2>
<p class="sec-lede rv d2">Drag the slider. Every image on this page was made by Kokon on a single RTX 5070 Ti, first try.</p>
<div class="studio rv">
<div class="tabs" role="tablist" id="tabs"></div>
<div class="cmp" id="cmp" style="--split: 50%">
<img class="bg-blur" id="cmp-bg" alt="">
<img class="after" id="cmp-after" alt="">
<img class="before" id="cmp-before" alt="">
<span class="lbl l">Before</span><span class="lbl r">After</span>
<div class="handle"><span><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M9 6l-6 6 6 6zM15 6l6 6-6 6z"/></svg></span></div>
</div>
<div class="promptbar">
<span class="mode" id="cmp-mode">Edit</span>
<span class="txt" id="cmp-prompt"></span>
<span class="send" aria-hidden="true"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M12 19V5M5 12l7-7 7 7"/></svg></span>
</div>
</div>
<p class="honest">Times on an RTX 5070 Ti: about 36 s for a new image at native 2K, about 24 s for an edit at 1.5K. The prompts and seeds are in the repository.</p>
</div>
</section>
<section class="sec" id="voices">
<div class="wrap center">
<p class="kicker rv">From the people using it</p>
<h2 class="rv d1">What people say after trying it.</h2>
<p class="sec-lede rv d2">Comments from Reddit and GitHub, word for word. Click a name to read the whole comment.</p>
<div class="voices">
<figure class="card rv"><blockquote>"Install really is as easy as you say, and the quality (so far) is as good as anything I've come across."</blockquote><figcaption><a href="https://www.reddit.com/r/LocalLLaMA/comments/1x5wyii/gptimagestyle_photo_editing_on_your_own_gpu_12_gb/pgu0063/" rel="noopener">seasonedcurlies</a> on r/LocalLLaMA</figcaption></figure>
<figure class="card rv d1"><blockquote>"So much better than having up 5 or 10+ workflows to sort through. The ease of use and intuitive design."</blockquote><figcaption><a href="https://www.reddit.com/r/StableDiffusion/comments/1x5tmlp/i_made_a_nosettings_photo_editor_for_qwenimage_21/phalzev/" rel="noopener">Vast_Description_206</a> on r/StableDiffusion</figcaption></figure>
<figure class="card rv d2"><blockquote>"I'm running it on a 7900 XTX under Windows, and the experience have been really good! No problems so far with vulkan."</blockquote><figcaption><a href="https://www.reddit.com/r/LocalLLaMA/comments/1xazqxz/kokon_010_the_qwenimage_21_text_encoder_now/19rehjddcdrwj/" rel="noopener">ComfortableTomato807</a> on r/LocalLLaMA</figcaption></figure>
<figure class="card rv"><blockquote>"8GB VRAM here. It works and it's so much faster than the image editor in unsloth desktop"</blockquote><figcaption><a href="https://www.reddit.com/r/LocalLLaMA/comments/1x5wyii/gptimagestyle_photo_editing_on_your_own_gpu_12_gb/pgso7iw/" rel="noopener">jucabala457</a> on r/LocalLLaMA</figcaption></figure>
<figure class="card rv d1"><blockquote>"I've been tinkering with image models in ComfyUI a lot this year and I really like the clean interface you've made. Kokon is just really nice to boot up and use."</blockquote><figcaption><a href="https://www.reddit.com/r/StableDiffusion/comments/1x5tmlp/i_made_a_nosettings_photo_editor_for_qwenimage_21/ph54o1a/" rel="noopener">Sdesser</a> on r/StableDiffusion</figcaption></figure>
<figure class="card rv d2"><blockquote>"Thank you for Kokon, it is beautifully designed and very useful."</blockquote><figcaption><a href="https://github.com/GabrieleLozupone/kokon/issues/32" rel="noopener">electric-dragon-80000v</a> on GitHub</figcaption></figure>
</div>
</div>
</section>
<section class="sec" id="features">
<div class="wrap">
<p class="kicker rv">Features</p>
<h2 class="rv d1">Made for people, not for pipelines.</h2>
<p class="sec-lede rv d2">No nodes, no samplers, no VRAM math. Write what you want; Kokon handles the rest.</p>
<div class="bento">
<article class="card b-wide rv">
<div class="icon"><svg viewBox="0 0 24 24"><path d="M9.06 11.9l8.07-8.06a2.85 2.85 0 1 1 4.03 4.03l-8.06 8.08"/><path d="M7.07 14.94c-1.66 0-3 1.35-3 3.02 0 1.33-2.5 1.52-2 2.02 1.08 1.1 2.49 2.02 4 2.02 2.2 0 4-1.8 4-4.04a3.01 3.01 0 0 0-3-3.02z"/></svg></div>
<h3>Paint an area. Only that area changes.</h3>
<p>Brush over a part of the photo, then choose Change, Remove, Replace or Add. The model sees exactly where you painted, and every pixel outside the brush stays as it was.</p>
<div class="vis">
<div class="mask-demo" id="mask-demo">
<img src="assets/img/street.webp" alt="A café street with a red scooter" loading="lazy">
<img class="after" src="assets/img/street-removed.webp" alt="The same street with the scooter removed" loading="lazy">
<svg viewBox="0 0 1000 558" preserveAspectRatio="none" aria-hidden="true"><path class="path" d="M470 290 L620 273 L665 324 L475 335 L455 391 L670 380 L680 435 L460 446 L465 502 L665 491 L620 538 L500 538" fill="none" stroke="#fff" stroke-width="66" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
</div>
</article>
<article class="card b-small rv d1">
<div class="icon"><svg viewBox="0 0 24 24"><path d="M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1"/></svg></div>
<h3>We pick the model. You pick the photo.</h3>
<p>Kokon ships the best open model we've tested and tunes size, memory and upscaling for your GPU. Pick Fast, Balanced or Quality. That's it.</p>
<div class="vis chips"><span class="chip">Fast</span><span class="chip">Balanced</span><span class="chip on">Quality</span></div>
</article>
<article class="card b-mid rv">
<div class="icon"><svg viewBox="0 0 24 24"><path d="M3 12h4M17 12h4M7 12a5 5 0 1 0 10 0 5 5 0 1 0-10 0"/></svg></div>
<h3>Every version kept.</h3>
<p>Each edit becomes a new version. Compare before and after, undo, or branch from any step.</p>
<div class="vis">
<div class="timeline">
<span class="t"><img src="assets/img/street.webp" alt="" loading="lazy"></span><span class="j"></span>
<span class="t"><img src="assets/img/street-removed.webp" alt="" loading="lazy"></span><span class="j"></span>
<span class="t sel"><img src="assets/img/street-cat.webp" alt="" loading="lazy"></span>
</div>
</div>
</article>
<article class="card b-mid rv d1">
<div class="icon"><svg viewBox="0 0 24 24"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg></div>
<h3>Private by design.</h3>
<p>Your photos and prompts never leave your computer. Turn on private mode and nothing is kept at all: no gallery, no files, no history.</p>
<div class="vis"><div class="big-num">0<small>images uploaded, ever</small></div></div>
</article>
<article class="card b-small rv">
<div class="icon"><svg viewBox="0 0 24 24"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3"/></svg></div>
<h3>No Python. One installer.</h3>
<p>A native app, about 140 to 170 MB. The models download and are checked on first run, with resume.</p>
<div class="vis"><div class="big-num">55<small>MB installer</small></div></div>
</article>
<article class="card b-wide rv d1">
<div class="icon"><svg viewBox="0 0 24 24"><path d="M4 17l6-6-6-6M12 19h8"/></svg></div>
<h3>Works with your AI agent.</h3>
<p>A built-in MCP server and a local HTTP API let Claude Code, Cursor or any MCP client create and edit images on your machine, for free and offline.</p>
<div class="vis tools" style="margin-top:auto"><code>generate_image</code><code>edit_image</code><code>inpaint_image</code><code>outpaint_image</code><code>upscale_image</code></div>
</article>
<article class="card b-mid rv">
<div class="icon"><svg viewBox="0 0 24 24"><path d="M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9zM19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8z"/></svg></div>
<h3>Prompt+ writes the prompt.</h3>
<p>Type a few words, in any language. Prompt+ turns them into a detailed prompt, looking at your photo for edits, then makes the image. It uses Qwen3-VL, which Qwen-Image 2.1 already loads: no second model to download.</p>
<div class="vis tools" style="margin-top:auto"><code>sunny italian street, café, red scooter</code><code>A 35mm photograph of a sunny cobblestone street in a small Italian coastal town…</code></div>
</article>
<article class="card b-mid rv d1">
<div class="icon"><svg viewBox="0 0 24 24"><path d="M12 2l9 5-9 5-9-5zM3 12l9 5 9-5M3 17l9 5 9-5"/></svg></div>
<h3>Your own LoRAs. <span class="beta">BETA</span></h3>
<p>Load a Qwen-Image 2.1 LoRA once in Settings, then turn it on or off for each project with one click. Kokon keeps its own prepared copy; your file is never changed. Tested on Windows so far.</p>
<div class="vis chips"><span class="chip">Quality</span><span class="chip">Prompt+</span><span class="chip on">LoRA</span></div>
</article>
</div>
</div>
</section>
<section class="sec" id="how">
<div class="wrap">
<p class="kicker rv">How it works</p>
<h2 class="rv d1">Run Qwen-Image 2.1 locally in three steps.</h2>
<p class="sec-lede rv d2">No Python environment, no ComfyUI workflows, no model files to hunt down. <a href="qwen-image-2-1-local/" style="text-decoration:underline">Read the full guide</a>.</p>
<div class="privacy">
<article class="card rv"><span class="step">1</span><h3>Download the installer</h3><p>A native app for Windows 10/11 (about 136 MB), macOS on Apple Silicon (about 162 MB) or Linux (.deb and .rpm, about 170 MB). On Windows it installs for your user, no admin rights needed.</p></article>
<article class="card rv d1"><span class="step">2</span><h3>Let it set up the model</h3><p>Kokon detects your GPU (NVIDIA, AMD, Intel or Apple Silicon), picks the right preset and downloads Qwen-Image 2.1 Turbo, with resume and SHA-256 checks.</p></article>
<article class="card rv d2"><span class="step">3</span><h3>Describe the change</h3><p>Drop a photo, write what you want and press Enter. Or paint an area first, and only that area changes.</p></article>
</div>
</div>
</section>
<section class="sec" id="compare">
<div class="wrap">
<p class="kicker rv">Compare</p>
<h2 class="rv d1">The easy edits of the cloud. The privacy of your own PC.</h2>
<p class="sec-lede rv d2">Cloud editors are simple but upload your photos and limit how much you use them. Node-based tools run locally but you build everything yourself. Kokon is simple <em>and</em> local: we make the technical choices, you make the edits.</p>
<div class="table-wrap rv">
<table class="cmp-table wide">
<thead><tr><th></th><th class="us">Kokon</th><th>ChatGPT, Gemini<br><span>(Nano Banana)</span></th><th>Photoshop<br><span>Generative Fill</span></th><th>Node-based tools<br><span>e.g. ComfyUI</span></th></tr></thead>
<tbody>
<tr><td>Your photos stay on your computer</td><td class="us">Yes</td><td>No, they are uploaded</td><td>No, generated in Adobe's cloud</td><td>Yes</td></tr>
<tr><td>Cost and limits</td><td class="us">Free, no limits: it's your GPU</td><td>Daily limits, or a subscription</td><td>Subscription and generative credits</td><td>Free</td></tr>
<tr><td>Works offline</td><td class="us">Yes, after setup</td><td>No</td><td>No</td><td>Yes</td></tr>
<tr><td>Setup</td><td class="us">One installer, the model downloads itself</td><td>An account</td><td>Creative Cloud</td><td>Python, custom nodes, model files, workflows</td></tr>
<tr><td>Who picks the model and settings</td><td class="us">Kokon: a tested model, tuned for your GPU</td><td>The service</td><td>Adobe</td><td>You</td></tr>
<tr><td>Edit with one sentence</td><td class="us">Yes</td><td>Yes</td><td>A short prompt for a selection</td><td>After building a workflow</td></tr>
<tr><td>Paint an area, change only that</td><td class="us">Built in</td><td>Partly</td><td>Yes</td><td>With an inpainting workflow</td></tr>
<tr><td>Local MCP server for AI agents</td><td class="us">Built in, no API key</td><td>Paid API</td><td>No</td><td>Third-party</td></tr>
</tbody>
</table>
</div>
<p class="honest rv">Fair to say: cloud models run on data-center GPUs, so they can be faster and stronger on some edits. Kokon uses Qwen-Image 2.1, which leads the open-weights image-editing rankings, and runs it on the computer you already have.</p>
</div>
</section>
<section class="sec" id="agents">
<div class="wrap split">
<div>
<p class="kicker rv">AI agents</p>
<h2 class="rv d1">Your agent can make images now.</h2>
<p class="sec-lede rv d2">Register Kokon once. Then ask for a hero image, a cleaned-up screenshot or a product shot, and your agent makes it on your GPU. The app doesn't even need to be open.</p>
<div class="copy rv d3"><code id="mcp-cmd">claude mcp add --scope user kokon -- "$env:LOCALAPPDATA\Kokon\kokon-mcp.exe"</code><button type="button" id="copy-btn">Copy</button></div>
<p class="fine rv d3" style="text-align:left">Windows command shown. Mac and other hosts: <a href="mcp-image-generation/" style="text-decoration:underline">MCP setup guide</a>.</p>
</div>
<div class="term rv d1" aria-label="An AI agent calling Kokon">
<div class="term-head"><i></i><i></i><i></i><span style="margin-left:8px">my-website</span></div>
<div class="term-body">
<div class="w"><span class="c">></span> Make a hero image for my landing page: a blue morpho butterfly on a silk cocoon, 16:9</div>
<div style="margin-top:10px"><span class="w">● kokon</span> <span class="d">· generate_image</span></div>
<div class="d" style="padding-left:20px">aspect_ratio: "16:9" · quality: "quality"</div>
<div style="padding-left:20px"><span class="c">⎿</span> Saved public/hero.png · 2752×1536 · 39 s</div>
<img src="assets/img/hero.webp" alt="A blue morpho butterfly on a silk cocoon, made by Kokon" loading="lazy">
</div>
</div>
</div>
</section>
<section class="sec" id="requirements">
<div class="wrap">
<p class="kicker rv">Requirements</p>
<h2 class="rv d1">Runs on the computer you have.</h2>
<div class="req">
<article class="card rv">
<h3><svg><use href="#win"/></svg>Windows</h3>
<div class="rows">
<div class="row"><span>System</span><span>Windows 10 or 11, 64-bit</span></div>
<div class="row"><span>NVIDIA</span><span>12 GB VRAM or more (RTX 3060 12 GB, 4070, 5070…); 8 GB<span class="beta">BETA</span></span></div>
<div class="row"><span>AMD, Intel Arc</span><span>12 GB or more, through Vulkan<span class="beta">BETA</span></span></div>
<div class="row"><span>Disk</span><span>About 15 GB for the models</span></div>
</div>
</article>
<article class="card rv d1">
<h3><svg><use href="#apple"/></svg>macOS<span class="beta">BETA</span></h3>
<div class="rows">
<div class="row"><span>System</span><span>macOS 15 Sequoia or newer</span></div>
<div class="row"><span>Chip</span><span>Apple M1 or newer (Pro, Max or Ultra recommended)</span></div>
<div class="row"><span>Memory</span><span>32 GB recommended · 16 GB works, more slowly</span></div>
<div class="row"><span>Disk</span><span>About 15 GB for the models</span></div>
</div>
</article>
<article class="card rv d2">
<h3><svg><use href="#linux"/></svg>Linux<span class="beta">BETA</span></h3>
<div class="rows">
<div class="row"><span>System</span><span>x86-64: Ubuntu 22.04, Debian 12, Mint 21, Fedora 40 or newer</span></div>
<div class="row"><span>NVIDIA</span><span>12 GB VRAM or more, proprietary driver; 8 GB<span class="beta">BETA</span></span></div>
<div class="row"><span>AMD, Intel Arc</span><span>12 GB or more, through Vulkan (Mesa)</span></div>
<div class="row"><span>Disk</span><span>About 15 GB for the models</span></div>
</div>
</article>
</div>
</div>
</section>
<section class="sec" id="privacy">
<div class="wrap center">
<p class="kicker rv">Privacy</p>
<h2 class="rv d1">Nothing leaves your computer.</h2>
<p class="sec-lede rv d2">Creating, editing, the gallery, the MCP server and the API all talk to 127.0.0.1 only. Kokon goes online for two things, and you can check it yourself.</p>
<div class="privacy" style="text-align:left">
<article class="card rv"><h3>Setup</h3><p>The engine from github.com and the models from huggingface.co, checked against pinned SHA-256 hashes.</p></article>
<article class="card rv d1"><h3>Update check</h3><p>At most once a day, a small file with the newest version number. Nothing about you is sent, and you can turn it off.</p></article>
<article class="card rv d2"><h3>Private mode</h3><p>One click and nothing is saved: no gallery, no files, no project history.</p></article>
</div>
</div>
</section>
<section class="sec" id="faq">
<div class="wrap">
<p class="kicker rv">FAQ</p>
<h2 class="rv d1">Questions.</h2>
<div class="faq rv d2">
<details><summary>Is it really free?</summary><p>Yes. Kokon is open source under the GNU AGPL-3.0 license. No account, no credits, no subscription, no daily limit. It uses your own GPU, so there is nothing to pay for. The images are for non-commercial use, because of the model's license (see below).</p></details>
<details><summary>Is Kokon a local alternative to Nano Banana or ChatGPT image editing?</summary><p>For editing photos with a sentence, yes: "remove the people", "make it a snowy night", "change the sign to say…". The difference is where it runs. Kokon runs on your own GPU, so your photos are never uploaded and there are no limits or subscriptions. Cloud models run on data-center GPUs and can be faster or stronger on some edits; Kokon uses Qwen-Image 2.1, which leads the open-weights image-editing rankings. More in <a href="offline-alternative-to-nano-banana/" style="text-decoration:underline">Kokon vs Nano Banana</a>.</p></details>
<details><summary>Can I choose a different model?</summary><p>Kokon makes that choice for you, on purpose. We test the open image models and ship the best one as the default, tuned for your graphics card, so you never have to compare checkpoints, samplers or settings. Today that is Qwen-Image 2.1 Turbo. When a better open model comes out and wins our tests, an update brings it. If you already have the same model files on disk (for example from ComfyUI), setup can use them instead of downloading them again, and you can add your own LoRAs.</p></details>
<details><summary>How do I run Qwen-Image 2.1 locally without ComfyUI?</summary><p>Install Kokon and let its setup download the model. Kokon runs Qwen-Image 2.1 through stable-diffusion.cpp, a native engine, so there is no Python, no ComfyUI and no workflow to build. The step-by-step guide is at kokon.app/qwen-image-2-1-local.</p></details>
<details><summary>Which model does it use?</summary><p>Qwen-Image 2.1 Turbo, the official 8-step version of Qwen's image model, which both creates and edits images and leads the open-weights image-editing rankings.</p></details>
<details><summary>Does it work on AMD or Intel GPUs?</summary><p>Yes, in beta, through the Vulkan engine on Windows with 12 GB of VRAM or more. On NVIDIA it uses CUDA; on Apple Silicon Macs it uses Metal.</p></details>
<details><summary>My GPU has 8 GB. Will it work?</summary><p>Yes, in beta. Kokon makes images at about 1 megapixel on 8 GB cards; users report it works on an RTX 3060 Ti and an RTX 5050 Laptop (1 to 2 minutes per edit). 16 GB of system RAM is recommended. On a Mac, 16 GB of unified memory works but slowly; 32 GB is recommended.</p></details>
<details><summary>Can Claude Code or Cursor generate images with it?</summary><p>Yes. Kokon ships an MCP server: register it once and any MCP client can create, edit, inpaint, expand and upscale images on your GPU, for free and without an API key.</p></details>
<details><summary>Can Kokon split an image into layers or make a PSD?</summary><p>Yes, since 0.12, in the Layers lab (experimental). Click each thing you want on its own layer; Kokon cuts it out and paints the background behind it, so moving it leaves no hole. Then move, resize, hide or edit each layer, and save one image or a layered PSD for Photoshop, GIMP or Photopea. Text in the picture becomes an image layer, not editable type. More in <a href="image-to-layers/" style="text-decoration:underline">split an image into layers</a>.</p></details>
<details><summary>Is it an alternative to Photoshop Generative Fill?</summary><p>For many edits, yes: paint an area and describe what should be there, or remove, replace and add objects. It runs offline and costs nothing. Since 0.12 it can also split an image into layers and export a PSD, but it is an AI editor, not a full layer-based editor like Photoshop.</p></details>
<details><summary>Can I use the images commercially?</summary><p>Not with the default model. The app is open source (AGPL-3.0), but Qwen-Image 2.1 is released under the Qwen Research License: research and evaluation only, no commercial use without a license from the Qwen team. The default upscaler (Superscale-SP) allows commercial use; the optional UltraSharp upscaler is non-commercial (CC BY-NC-SA 4.0).</p></details>
<details><summary>Windows says the app is unrecognized. Is it safe?</summary><p>The beta installer is not code-signed yet, so SmartScreen warns about it. Click "More info" and then "Run anyway". The code is public and every download the app makes is checked against a pinned hash.</p></details>
<details id="mac-open"><summary>macOS says Kokon cannot be opened. What do I do?</summary><p>The beta is not notarized by Apple yet, so macOS blocks it the first time:</p>
<ol class="mac-steps">
<li>Open Kokon. macOS says <strong>“Kokon” Not Opened</strong>: click <strong>Done</strong> (not <em>Move to Trash</em>).<img class="dialog" src="assets/mac/not-opened.webp" width="534" height="550" alt="The macOS dialog “Kokon” Not Opened, with the buttons Move to Trash and Done" loading="lazy"></li>
<li>Open <strong>System Settings → Privacy & Security</strong> and scroll down to <strong>Security</strong>. Next to “Kokon” was blocked to protect your Mac, click <strong>Open Anyway</strong> and confirm with your password or Touch ID.<img class="settings" src="assets/mac/open-anyway.webp" width="970" height="360" alt="System Settings, Privacy and Security: “Kokon” was blocked to protect your Mac, with the Open Anyway button highlighted" loading="lazy"></li>
<li>Open Kokon again and click <strong>Open</strong>. You only do this once; in-app updates don't trigger it again.</li>
</ol>
<p>If macOS instead only says <strong>The application “Kokon” can't be opened</strong>, with just an <strong>OK</strong> button, and Privacy & Security shows no <em>Open Anyway</em>: open <strong>Terminal</strong>, run <code>xattr -dr com.apple.quarantine /Applications/Kokon.app</code>, then open Kokon as usual. This removes the “downloaded from the internet” flag from Kokon only.</p>
</details>
<details><summary>How do I write good prompts for Qwen-Image 2.1?</summary><p>Describe the scene, not just the subject: who, doing what, where, in what light. Never write “no X” (it adds X), put text in quotes, and for edits name the exact thing to change. The <a href="prompt-guide/" style="text-decoration:underline">prompt guide</a> shows each rule with a vague and a clear prompt side by side.</p></details>
<details><summary>Does it run on Linux?</summary><p>Yes, in beta, on x86-64: a .deb for Ubuntu, Debian and Mint and an .rpm for Fedora, from the <a href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" style="text-decoration:underline">latest release</a>. Install it with <code>sudo apt install ./Kokon_<version>_amd64.deb</code> or <code>sudo dnf install ./Kokon-<version>-1.x86_64.rpm</code>. NVIDIA cards need the proprietary driver; AMD and Intel cards use Vulkan. Since 0.11 it also runs as a headless server, with the interface in your browser, and as a <a href="self-hosted/" style="text-decoration:underline">Docker image for NVIDIA cards</a>.</p></details>
<details><summary>What is Prompt+?</summary><p>An optional helper next to the prompt box. Write a short idea in any language and Prompt+ writes a detailed English prompt from it (looking at your photo for edits), then makes the image; the result keeps both prompts. It runs on Qwen3-VL, the text encoder Qwen-Image 2.1 already loads, inside Kokon's own build of stable-diffusion.cpp, so there is no second model to download. It adds about 2 seconds per image on an RTX 5070 Ti.</p></details>
<details><summary>Can I use LoRAs?</summary><p>Yes, in beta: your own LoRA files made for Qwen-Image 2.1 (.safetensors). Load them in Settings → LoRA and turn them on for each project with the LoRA button next to the prompt, up to 3 at a time. LoRAs for older Qwen-Image versions don't work with 2.1. Tested on Windows so far; there is no LoRA catalog yet, because the popular LoRAs we tested didn't improve on what Turbo does with a good prompt.</p></details>
<details><summary>Does it work offline?</summary><p>Yes. After setup has downloaded the models, everything runs offline.</p></details>
<details><summary>Can I use Kokon from my phone?</summary><p>Yes, since 0.11. On the computer with the graphics card, open Settings → Other devices, set a password and scan the QR code with your phone. The phone uses Kokon in its browser (or from an icon on the home screen); the computer makes the images and keeps them in its gallery. Away from home, use Tailscale or another VPN. Step by step: <a href="self-hosted/" style="text-decoration:underline">use Kokon from your phone, or run it as a server</a>.</p></details>
</div>
</div>
</section>
<section class="final">
<div class="wrap">
<svg class="mark rv"><use href="#mark"/></svg>
<h2 class="rv d1" style="margin:0 auto">Describe it. Kokon makes it.</h2>
<p class="sec-lede rv d2" style="margin-left:auto;margin-right:auto">Free, open source, and yours to run.</p>
<div class="ctas rv d3">
<a class="btn primary" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl="windows"><svg fill="currentColor"><use href="#win"/></svg>Download for Windows</a>
<a class="btn ghost" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl="mac"><svg fill="currentColor"><use href="#apple"/></svg>Download for macOS <span class="tag">BETA</span></a>
<a class="btn ghost" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener"><svg fill="currentColor"><use href="#linux"/></svg>Download for Linux <span class="tag">BETA</span></a>
<a class="btn ghost" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg fill="currentColor"><use href="#github"/></svg>Star on GitHub</a>
</div>
<a class="maker rv d3" href="https://gabrielelozupone.github.io/" rel="author">
<img class="maker-photo" src="assets/gabriele.webp?v=2" alt="Gabriele Lozupone" width="52" height="52" loading="lazy">
<span><b>Made by Gabriele Lozupone</b><small>AI researcher. Built Kokon with the help of Claude Code. More about me →</small></span>
</a>
</div>
</section>
</main>
<footer>
<div class="wrap">
<a class="logo" href="#top"><svg><use href="#mark"/></svg>Kokon</a>
<span>Designed and built by <a class="me" href="https://gabrielelozupone.github.io/" rel="author">Gabriele Lozupone</a>, with the help of Claude Code.</span>
<nav aria-label="Links">
<a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a>
<a href="local-ai-photo-editor/">Local AI photo editor</a>
<a href="offline-alternative-to-nano-banana/">Offline Nano Banana alternative</a>
<a href="comfyui-alternative/">Simple ComfyUI alternative</a>
<a href="remove-objects-from-photos-offline/">Remove objects offline</a>
<a href="image-to-layers/">Image to layers</a>
<a href="qwen-image-2-1-local/">Run Qwen-Image locally</a>
<a href="mcp-image-generation/">MCP image generation</a>
<a href="self-hosted/">Use it from your phone</a>
<a href="ai-image-editing-from-your-phone/">AI photo editing from your phone</a>
<a href="press/">Press kit</a>
<a href="support/">Support Kokon</a>
<a href="prompt-guide/">Prompt guide</a>
<a href="https://github.com/GabrieleLozupone/kokon/releases" rel="noopener">Releases</a>
<a href="https://github.com/GabrieleLozupone/kokon/blob/master/LICENSE" rel="noopener">License</a>
<a href="https://github.com/GabrieleLozupone/kokon/discussions" rel="noopener">Discussions</a>
</nav>
<p class="legal">Qwen-Image is a model by the Qwen team at Alibaba. Kokon is an independent project and is not affiliated with Alibaba, NVIDIA, AMD, Intel, Apple or Microsoft; their names and logos only indicate compatibility.</p>
</div>
</footer>
<script>
(() => {
const EXAMPLES = [
{ key: "remove", label: "Remove", mode: "Inpaint · Remove", before: "street", after: "street-removed", prompt: "the red scooter" },
{ key: "add", label: "Add", mode: "Inpaint · Add", before: "street-removed", after: "street-cat", prompt: "a ginger cat sitting on the cobblestones, looking at the camera" },
{ key: "relight", label: "Relight", mode: "Edit", before: "cabin", after: "cabin-winter", prompt: "Make it a snowy winter night, warm golden light glowing from the cabin windows, stars in the sky" },
{ key: "text", label: "Text", mode: "Edit", before: "bakery", after: "bakery-text", prompt: "Change the gold sign text to “KOKON CAFÉ” in the same gold lettering style" },
{ key: "restyle", label: "Restyle", mode: "Edit", before: "potter", after: "potter-watercolor", prompt: "Turn it into a hand-painted watercolor illustration with soft ink outlines" },
{ key: "replace", label: "Replace", mode: "Edit", before: "room", after: "room-sofa", prompt: "Replace the yellow armchair with a deep green velvet sofa and hang a framed abstract painting above it" },
{ key: "expand", label: "Expand", mode: "Expand", before: "lighthouse-framed", after: "lighthouse-wide", prompt: "Continue the rocky coastline and the turquoise sea at golden sunset" },
{ key: "product", label: "Product", mode: "Edit", before: "sneaker", after: "sneaker-ad", prompt: "Place the sneaker on wet black stone with a soft orange rim light, advertising shot" },
];
const $ = (id) => document.getElementById(id);
const img = (n) => `assets/img/${n}.webp`;
const tabs = $("tabs"), cmp = $("cmp"), before = $("cmp-before"), after = $("cmp-after"), bg = $("cmp-bg");
// Preload every pair once the section is near.
const preload = () => EXAMPLES.forEach((e) => [e.before, e.after].forEach((n) => { const i = new Image(); i.src = img(n); }));
let current = 0;
function show(i, animate) {
current = i;
const e = EXAMPLES[i];
[...tabs.children].forEach((t, j) => { t.classList.toggle("on", j === i); t.setAttribute("aria-selected", j === i); });
after.src = img(e.after);
before.src = img(e.before);
bg.src = img(e.after);
// An expansion: the original sits in the middle of the wider result.
before.style.cssText = e.expand ? "object-fit: contain; transform: scale(0.555); transform-origin: center;" : "";
$("cmp-mode").textContent = e.mode;
$("cmp-prompt").textContent = e.prompt;
if (animate && !matchMedia("(prefers-reduced-motion: reduce)").matches) sweep();
}
EXAMPLES.forEach((e, i) => {
const b = document.createElement("button");
b.className = "tab"; b.type = "button"; b.role = "tab"; b.textContent = e.label;
b.addEventListener("click", () => show(i, true));
tabs.appendChild(b);
});
let raf = 0;
const setSplit = (v) => cmp.style.setProperty("--split", `${Math.max(0, Math.min(100, v))}%`);
function sweep() {
cancelAnimationFrame(raf);
const t0 = performance.now();
const ease = (t) => (t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2);
const keys = [[0, 100], [900, 6], [1500, 50]];
const step = (now) => {
const t = now - t0;
let v = 50;
for (let k = 1; k < keys.length; k++) {
if (t <= keys[k][0]) { const [a, va] = keys[k - 1], [b, vb] = keys[k]; v = va + (vb - va) * ease((t - a) / (b - a)); break; }
}
setSplit(v);
if (t < keys[keys.length - 1][0]) raf = requestAnimationFrame(step);
};
raf = requestAnimationFrame(step);
}
const fromPointer = (ev) => { const r = cmp.getBoundingClientRect(); setSplit(((ev.clientX - r.left) / r.width) * 100); };
let dragging = false;
cmp.addEventListener("pointerdown", (ev) => { dragging = true; cancelAnimationFrame(raf); cmp.setPointerCapture(ev.pointerId); fromPointer(ev); });
cmp.addEventListener("pointermove", (ev) => dragging && fromPointer(ev));
cmp.addEventListener("pointerup", () => (dragging = false));
cmp.addEventListener("pointercancel", () => (dragging = false));
show(0, false);
// Reveal on scroll, play the reel and the brush demo when visible.
const io = new IntersectionObserver((entries) => entries.forEach((en) => {
if (!en.isIntersecting) return;
en.target.classList.add("in");
if (en.target.id === "cmp") { preload(); sweep(); }
io.unobserve(en.target);
}), { threshold: 0.18 });
document.querySelectorAll(".rv, #mask-demo, #cmp").forEach((el) => io.observe(el));
// Hero wall: before/after pairs made by Kokon (small copies in assets/img/wall), three rows
// scrolling in turn, each tile wiping to its edit with the request on it.
const PAIRS = [
["street", "street-removed", "remove the red scooter"], ["uc01-before", "uc01-after", "remove the tourists"],
["cabin", "cabin-winter", "make it a snowy winter night"], ["uc03-before", "uc03-after", "restore this old photo"],
["bakery", "bakery-text", "change the sign to “KOKON CAFÉ”"], ["uc13-before", "uc13-after", "a copper bob haircut"],
["potter", "potter-watercolor", "turn it into a watercolor"], ["uc10-before", "uc10-after", "paint the wall sage green"],
["room", "room-sofa", "a green velvet sofa instead"], ["uc17-before", "uc17-after", "on a flamingo, surfing a wave"],
["sneaker", "sneaker-ad", "on wet black stone, advertising shot"], ["uc03-after", "uc03-color", "colorize it"],
["street-removed", "street-cat", "add a ginger cat"], ["uc04-before", "uc04-after", "add grandma from this photo"],
["lighthouse-framed", "lighthouse-wide", "expand: continue the coastline"], ["uc16-before", "uc16-after", "a professional headshot"],
["uc12-before", "uc12-after", "tidy up the garden"], ["uc11-before", "uc11-after", "a leather sofa"], ["uc05-before", "uc05-after", "tidy up the room"],
];
const wall = $("wall");
if (wall) {
const w = (n) => `assets/img/wall/${n}.webp`;
const tile = ([a, b, p], k) => `<div class="wall-tile" style="--d:${-((k * 3.7) % 10).toFixed(1)}s"><img src="${w(a)}" alt="" loading="lazy" decoding="async"><div class="aw"><img src="${w(b)}" alt="" loading="lazy" decoding="async"></div><span class="chip">${p}</span></div>`;
wall.innerHTML = `<div class="wall-plane">${[0, 1, 2].map((r) => {
const row = PAIRS.slice(r * 6).concat(PAIRS.slice(0, r * 6));
const html = row.map((p, i) => tile(p, i + r * 5)).join("");
return `<div class="wall-row${r % 2 ? " r" : ""}" style="animation-duration:${110 + r * 18}s">${html}${html}</div>`;
}).join("")}</div>`;
}
// Videos: the film plays here; the others are YouTube, loaded only when played.
const slides = [...document.querySelectorAll("#videos .slide")], vtabs = [...document.querySelectorAll("#videos .vtab")];
let vcur = 0;
const showVideo = (i) => {
vcur = (i + slides.length) % slides.length;
slides.forEach((s, j) => {
s.classList.toggle("on", j === vcur);
if (j !== vcur) { const f = s.querySelector("iframe"); if (f) f.replaceWith(f._facade); }
});
vtabs.forEach((b, j) => { b.classList.toggle("on", j === vcur); b.setAttribute("aria-selected", j === vcur); });
playShown();
};
vtabs.forEach((b, j) => b.addEventListener("click", () => showVideo(j)));
document.querySelectorAll(".yt-facade").forEach((f) => f.addEventListener("click", () => {
const ifr = document.createElement("iframe");
ifr.src = `https://www.youtube-nocookie.com/embed/${f.dataset.yt}?autoplay=1&rel=0`;
ifr.title = f.getAttribute("aria-label").replace("Play the video: ", "");
ifr.allow = "autoplay; encrypted-media; picture-in-picture; fullscreen";
ifr.allowFullscreen = true;
ifr._facade = f;
f.replaceWith(ifr);
}));
// The local videos (use cases first, then the film) play muted while their slide is shown and the
// carousel is on screen; their button restarts the video with the voice-over and music.
let videosSeen = false;
const playShown = () => slides.forEach((s, j) => { const v = s.querySelector("video.reel"); if (!v) return; if (j === vcur && videosSeen) v.play().catch(() => {}); else v.pause(); });
new IntersectionObserver(([en]) => { videosSeen = en.isIntersecting; playShown(); }, { threshold: 0.3 }).observe(document.querySelector("#videos .frame"));
slides.forEach((s, j) => {
const vv = s.querySelector("video.reel"), bar = vtabs[j] && vtabs[j].querySelector(".bar");
if (vv && bar) vv.addEventListener("timeupdate", () => { bar.style.width = `${(vv.currentTime / (vv.duration || 1)) * 100}%`; });
});
slides.forEach((s) => {
const v = s.querySelector("video.reel"), btn = s.querySelector(".sound");
if (v && btn) btn.addEventListener("click", () => { v.currentTime = 0; v.muted = false; v.controls = true; v.loop = false; v.play().catch(() => {}); btn.remove(); });
});
// Other devices: the scene is drawn at a fixed size and scaled to the column; on a narrow
// screen it drops the laptop and moves the parts (data-narrow).
const box = $("scene-box");
const parts = [...box.querySelectorAll("[data-narrow]")];
parts.forEach((el) => (el.dataset.wide = el.getAttribute("style")));
const fit = () => {
const narrow = box.clientWidth < 640;
if (narrow !== box.classList.contains("narrow")) {
box.classList.toggle("narrow", narrow);
parts.forEach((el) => el.setAttribute("style", narrow ? el.dataset.narrow : el.dataset.wide));
}
const [w, h] = narrow ? [720, 720] : [1160, 650];
const s = Math.min(1, box.clientWidth / w);
box.style.setProperty("--s", s);
box.style.height = `${h * s}px`;
};
new ResizeObserver(fit).observe(box); fit();
const nav = $("nav");
const onScroll = () => nav.classList.toggle("scrolled", scrollY > 10);
addEventListener("scroll", onScroll, { passive: true }); onScroll();
$("copy-btn").addEventListener("click", async () => {
try { await navigator.clipboard.writeText($("mcp-cmd").textContent); $("copy-btn").textContent = "Copied"; setTimeout(() => ($("copy-btn").textContent = "Copy"), 1600); } catch { /* clipboard unavailable */ }
});
})();
</script>
<dialog class="star-ask" id="star-ask" aria-labelledby="star-ask-title">
<div>
<svg class="mark"><use href="#mark"/></svg>
<h2 id="star-ask-title">Your download has started</h2>
<p>Kokon is free and open source, made by one person. If you like it, a star on GitHub helps other people find it and keeps the project going.</p>
<form method="dialog" class="ctas">
<a class="btn primary" id="star-ask-go" href="https://github.com/GabrieleLozupone/kokon" target="_blank" rel="noopener"><svg fill="currentColor"><use href="#github"/></svg>Star on GitHub</a>
<button class="btn ghost">Maybe later</button>
</form>
</div>
</dialog>
<script src="/assets/layers-demo.js?v=1" defer></script>
<script src="/download.js" defer></script>
<script src="/nav.js" defer></script>
</body>
</html>