Skip to main content
AI Tool Radar
Open weight, with conditionsMedia, design and video

Kokon

GabrieleLozupone

Edits photos from a text description on your own GPU, with an MCP server for agents.

520 stars(as of 2026-12-02)View on GitHubHomepage

What is Kokon?

A Rust and Tauri desktop app for Windows, Mac and Linux that edits photos from a sentence: brush an area, describe the change, and a local Qwen-Image 2.1 Turbo model running on stable-diffusion.cpp makes the edit. It picks model, resolution and memory settings for your hardware, downloads about 12 GB of models on first run, can serve other devices from a PC or Docker, and ships kokon-mcp and a local HTTP API. Images are marked as AI-made in the file and with an invisible watermark.

Kokon at a glance
FactValue
MaintainerGabrieleLozupone
GitHub stars520 (as of 2026-12-02)
Forks56
LicenseAGPL-3.0
License typeOpen weight, with conditions
Model licenseQwen Research License (research and evaluation only, no commercial use)
CategoryMedia, design and video
StatusRising
Edition2026-11
Last verified2026-12-02

Kokon in depth

Cloud tools such as Nano Banana, ChatGPT image editing and Photoshop Generative Fill made editing a photo with a sentence ordinary, but they upload your pictures and limit your use. Local alternatives like ComfyUI keep photos at home but ask you to build node graphs and manage model files. Kokon, by Gabriele Lozupone, tries to sit between them: one installer, a text prompt and a brush, running on your own graphics card.

It is a Rust and Tauri app built on stable-diffusion.cpp, with the project's own CUDA, Vulkan and Metal engine builds. On first run it detects your GPU or Mac memory, picks a preset and downloads about 12 GB of models, checked against SHA-256 hashes. The default image model is Qwen-Image 2.1 Turbo in a quantized GGUF form, with a Qwen3-VL model for prompt planning. You can paint an area and choose Change, Remove, Replace or Add, expand an image, and in version 0.12 split it into layers with PSD export. It also serves other devices from a PC or a Docker image, and includes an MCP server and local HTTP API, and every image is marked as AI-made in its metadata and with an invisible watermark.

The fit is hobbyists, researchers and privacy-minded creators who own a 12 GB NVIDIA card (8 GB is beta) or an Apple Silicon Mac and want to edit photos without uploads or daily limits. The README gives timings of about 12 seconds for a 1-megapixel image on an RTX 5070, which is the project's own measurement. Agents can drive it through kokon-mcp, which suits automated image workflows on your own machine.

The caveats are about licensing and maturity. The code is AGPL-3.0-only with a CLA that lets the maintainer relicense, and a commercial license is offered for closed-source use. More importantly, the default Qwen-Image 2.1 model is under the Qwen Research License, which the README says allows research and evaluation only, so the edited images are not cleared for commercial use. The optional UltraSharp upscaler is also non-commercial. Mac and Linux support and the Vulkan engine are marked beta, and one maintainer wrote most of the commits.

The verdict: Kokon is an active, well-documented local photo editor with a clear privacy story and a refreshingly honest comparison against cloud tools. It is a good choice for personal and research use on suitable hardware. Do not plan commercial work around it unless you secure a license for the model, and expect rough edges outside Windows with NVIDIA cards.

Pros & Cons

Pros

  • Local by design: no account, no uploads and no telemetry according to the README, with SHA-256 verification of downloaded models
  • One installer plus automatic hardware detection, instead of building ComfyUI workflows by hand
  • Fast release cadence (0.11.2 on 28 October to 0.13.0 on 27 November 2026), a built-in MCP server and a Docker image for NVIDIA servers

Cons

  • The default Qwen-Image 2.1 model is under the Qwen Research License, so edited images are for non-commercial use unless you license the model separately
  • Needs a 12 GB graphics card (8 GB is beta) or an Apple Silicon Mac; Mac and Linux support and the Vulkan engine are marked beta
  • AGPL-3.0 plus a CLA and a dual commercial license limits how companies can embed it
  • A single maintainer wrote most of the commits, and the speeds (about 12 s per 1-megapixel image on an RTX 5070) are the project's own measurements

License

AGPL-3.0 (Open weight, with conditions) - model license: Qwen Research License (research and evaluation only, no commercial use)

AGPL-3.0-only on the code, with a CLA that lets the maintainer relicense and a commercial license offered for closed-source use. The default image model is not open for commercial use.

When it is interesting

Hobbyists and researchers with a decent GPU who want a private, limit-free alternative to cloud photo editing and a ready-made MCP server for image edits.

When it is too early

If you need commercial image output, lack a 12 GB GPU or a 16 GB Apple Silicon Mac, or need stable Mac and Linux support.

Commercial alternative & related

  • Commercial counterpart: Adobe Photoshop Generative Fill

This repo featured in the 2026-11 edition of the Open-Source AI Radar.