Skip to content

armgit / kokon

Public Imported from GitHub
0

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.

docs: README and What's new for 0.10.0

Gabriele Lozupone0bf23c368041
diff --git a/README.md b/README.md
index ba1d825..773a0aa 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,8 @@ https://github.com/user-attachments/assets/8851c580-99b9-432a-82be-b6d42fa9a749
<td width="33%" valign="top">
<h3>✍️ Just describe it</h3>
“Remove all the people from the beach.” “Make it golden hour.” Kokon picks the mode, the
- resolution and the memory settings for you. There are no sliders to learn.
+ resolution and the memory settings for you. There are no sliders to learn. Only have a short
+ idea? Prompt+ writes the detailed prompt for you, in any language.
</td>
<td width="33%" valign="top">
<h3>🔒 Private by design</h3>
@@ -249,6 +250,8 @@ files are not tested by Kokon; you can switch to the official files at any time
| Dragged edges | **Expand** the photo (outpainting) | Or type pixel or percent values |
| Any result | **Upscale** to 2×, 4K, the source size or a custom width | With the upscaler model, in seconds |
| Any result | **Colour-grade** it with a LUT | Eight built-in looks (Neutral takes out a yellow cast) or your own `.cube` files, live preview with intensity |
+| A short idea, in any language | **Prompt+** writes the detailed prompt first | You watch it being written; for edits it looks at your photo. Runs on the model Kokon already has: no extra download, a few seconds more |
+| Your own LoRA files | **Apply them** to a project (beta) | Qwen-Image 2.1 LoRAs (`.safetensors`) loaded in Settings → LoRA, up to 3 at once, each with its strength |
**New to prompts?** The [prompt guide](https://kokon.app/prompt-guide/) shows good and bad prompts side by side, with real results.
@@ -264,6 +267,8 @@ opened in Explorer, Finder or your file manager. A few things make that loop fas
Undo returns to the version the current one came from, and nothing is ever deleted.
- **Gallery**: every image keeps its full recipe (prompt, seed, settings, pipeline) and reopens
with one click. The recipe is also embedded in the PNG.
+- **Clean up in one go**: press **Select** (or <kbd>Ctrl</kbd>/<kbd>⌘</kbd>-click, <kbd>Shift</kbd>-click
+ for a range) to remove several projects or delete several gallery images at once.
- **Quality presets**: **Fast** (the default, ~1 MP), **Balanced** (~1.5K) and **Quality**
(native 2K). All run Qwen's official 8-step Turbo model with its own schedule, so you never
need to tune steps or guidance.
@@ -285,6 +290,11 @@ it is enlarged with an AI upscaler instead of a plain resize. For brushed edits,
a second reference image so the model knows exactly where to work. Without that, Qwen-Image 2.1
cannot see the mask.
+With **Prompt+** on, the planner first asks the model's own text encoder (Qwen3-VL, already loaded
+to read your prompt) to write a detailed English prompt, looking at your photo for edits. It runs
+inside stable-diffusion.cpp, so there is no second language model in memory. The image then uses
+that prompt, and the result keeps both yours and the written one.
+
Want the details? The [engineering notes](docs/engineering-notes.md) cover the architecture,
the measured backend settings and the reasons behind each default.
@@ -633,10 +643,12 @@ or macOS version and the log from `KokonData/logs` (see the table above).
- [x] Linux (`.deb` and `.rpm`, beta)
- [x] Colour LUTs: built-in looks and your own `.cube` files
- [x] Qwen's official 8-step Turbo model for every preset
+- [x] Prompt+: the prompt enhancer on the model Kokon already has (0.10.0)
+- [x] Your own LoRA files, per project (0.10.0, beta)
- [ ] AMD and Intel GPUs through Vulkan (beta now; works on NVIDIA, to verify on AMD/Intel)
- [ ] Background removal and transparent cutouts
- [ ] Batch edits: one instruction for a whole folder
-- [ ] LoRA support, with a curated list tested with Kokon (0.10.0)
+- [ ] Curated LoRAs tested with Kokon, installed in one click
- [ ] Headless server with the interface in the browser, then Docker
([#15](https://github.com/GabrieleLozupone/kokon/issues/15))
- [ ] Plugins for Krita, GIMP and Photoshop through the local API
diff --git a/src/components/WhatsNew.tsx b/src/components/WhatsNew.tsx
index adc4cd7..ac0ac60 100644
--- a/src/components/WhatsNew.tsx
+++ b/src/components/WhatsNew.tsx
@@ -1,4 +1,4 @@
-import { CircleAlert, Laptop, Layers, Monitor, Palette, Wrench, Zap } from "lucide-react";
+import { CircleAlert, Layers, ListChecks, Paintbrush, WandSparkles, Wrench, Zap } from "lucide-react";
import { useEffect, useState } from "react";
import { api } from "../lib/api";
import { formatBytes, installProgress, installStep, installTimeLeft } from "../lib/logic";
@@ -7,38 +7,38 @@ import type { GpuBackend, InstallItem, InstallStatus, ModelsStatus } from "../li
import { KokonMark } from "./Welcome";
/** The release these notes describe. Shown once to people updating from an earlier version. */
-export const WHATS_NEW_VERSION = "0.9.4";
+export const WHATS_NEW_VERSION = "0.10.0";
const NEWS = [
{
- icon: Palette,
- title: "Colour LUTs",
- text: "Press LUT under an image: eight built-in looks (Neutral takes out the yellow cast) or your own .cube files. Live preview with an intensity slider; saving makes a new version and keeps the original.",
+ icon: WandSparkles,
+ title: "Prompt+",
+ text: "Turn on Prompt+ next to Quality: from a short idea in any language, the model writes a detailed prompt first (for edits it looks at your photo). You watch it being written. No extra download.",
},
{
- icon: Zap,
- title: "Faster inpainting",
- text: "Inpainting gives the model a lighter copy of the image and no longer enlarges small photos to 2K: about twice as fast on 1 MP images, and no slowdowns from running out of GPU memory on large ones.",
+ icon: Layers,
+ title: "Your own LoRAs (beta)",
+ text: "Load Qwen-Image 2.1 LoRAs in Settings → LoRA, then turn them on for each project with the LoRA button, up to 3 at once. Tested on Windows so far: tell us how it goes on Mac and Linux.",
},
{
- icon: Monitor,
- title: "Kokon on Linux",
- text: "Now also on Ubuntu, Debian, Mint and Fedora (.deb and .rpm), with NVIDIA CUDA or Vulkan for AMD and Intel cards.",
+ icon: Paintbrush,
+ title: "A new look",
+ text: "A calmer, deeper design in light and dark, with Kokon's own window bar. Settings is now at the bottom of the sidebar.",
},
{
- icon: Laptop,
- title: "macOS 15 Sequoia",
- text: "Kokon now runs on Macs with macOS 15 too, with its own build of the engine.",
+ icon: ListChecks,
+ title: "Clean up in one go",
+ text: "Press Select above your projects or in All images to remove several at once (or Ctrl/⌘-click, Shift-click for a range).",
},
{
- icon: Wrench,
- title: "Fixes",
- text: "Square 2K upscales use the upscaler model again instead of Lanczos. RTX 20 and older cards no longer try SageAttention. Uninstalling also removes the app's WebView cache.",
+ icon: Zap,
+ title: "Faster on big cards",
+ text: "With 24 GB of graphics memory or more, Fast images (and Balanced from 32 GB) finish a little sooner. Thanks to giveen.",
},
{
- icon: Layers,
- title: "Coming in 0.10.0: LoRA",
- text: "LoRA support moved to the next release so Linux could come first. Sorry for the wait: add LoRAs to your edits, with a weight for each, from a curated list or your own files.",
+ icon: Wrench,
+ title: "Fixes",
+ text: "On Linux and Mac a crashed engine no longer leaves an image waiting forever (thanks to giveen). Kokon starts even if Windows reserves its ports. One percentage now covers the whole job.",
},
];
diff --git a/src/styles.css b/src/styles.css
index e2231d3..72ff6c7 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -676,6 +676,8 @@ pre.diag { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font
.update-offer > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.update-offer strong { color: var(--text); font-size: 14px; }
.update-offer .model-files .update-detail { font-size: 12px; color: var(--text-2); line-height: 1.45; margin-top: 4px; }
+/* In a short window the dialog scrolls instead of squeezing its parts (logo, button). */
+.welcome > * { flex-shrink: 0; }
/* Scrolls without a visible bar (wheel and touchpad still work). */
.welcome { scrollbar-width: none; }
.welcome::-webkit-scrollbar { display: none; }