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.

site, PH: screenshots of today's window (rendered from the app's components) instead of the pre-0.10 one

Gabriele Lozupone704708c06910
diff --git a/marketing/video/public/img/app-screenshot.webp b/marketing/video/public/img/app-screenshot.webp
deleted file mode 100644
index 67290ce..0000000
Binary files a/marketing/video/public/img/app-screenshot.webp and /dev/null differ
diff --git a/marketing/video/src/Root.tsx b/marketing/video/src/Root.tsx
index 1e3bec8..ed85846 100644
--- a/marketing/video/src/Root.tsx
+++ b/marketing/video/src/Root.tsx
@@ -12,7 +12,7 @@ import { Banner } from "./scenes/Banner";
import { Update010, UPDATE_FRAMES } from "./scenes/Update010";
import { LENGTH } from "./app/timeline";
import { REELS, ReelScene, reelFrames } from "./scenes/Reels";
-import { PH_SLIDES } from "./scenes/ProductHunt";
+import { AppShot, PH_SLIDES } from "./scenes/ProductHunt";
const withPreload = (C: ComponentType) => () => (
<>
@@ -43,6 +43,7 @@ export function Root() {
{Object.entries(PH_SLIDES).map(([id, C]) => (
<Composition key={id} id={id} component={withPreload(() => <>{C()}</>)} durationInFrames={1} fps={30} width={1270} height={760} />
))}
+ <Composition id="AppShot" component={withPreload(AppShot)} durationInFrames={1} fps={30} width={1600} height={1000} />
<Composition id="Banner" component={withPreload(Banner)} durationInFrames={1} fps={30} width={2560} height={1440} />
</>
);
diff --git a/marketing/video/src/scenes/ProductHunt.tsx b/marketing/video/src/scenes/ProductHunt.tsx
index 221e567..2a9169a 100644
--- a/marketing/video/src/scenes/ProductHunt.tsx
+++ b/marketing/video/src/scenes/ProductHunt.tsx
@@ -3,7 +3,9 @@
// a before/after per edit, the comparison with the cloud and ComfyUI, and what it runs on.
import type { ReactNode } from "react";
import { AbsoluteFill, Img, staticFile } from "remotion";
-import { PROMPTS } from "../app/fixtures";
+import { AppWindow } from "../app/AppWindow";
+import { appState, genItem, PROJECTS, PROMPTS, ref } from "../app/fixtures";
+import { CAT, REMOVED, STREET } from "./AppScenes";
import { Mark } from "../app/Mark";
const font = '"Inter Variable", Inter, sans-serif';
@@ -57,16 +59,31 @@ function Pair({ before, after, mode, prompt, kicker, title }: { before: string;
);
}
+const HERO_STATE = (() => {
+ const base = appState();
+ return appState({
+ session: [genItem(STREET), genItem(REMOVED), genItem(CAT)],
+ selected: "street-removed",
+ compare: "slider",
+ composer: { ...base.composer, refs: [ref("street-removed")] },
+ projects: [{ id: "current", title: "Italian street café", updatedAt: Date.now() - 20_000, cover: "gen:street-cat", count: 3 }, ...PROJECTS],
+ projectId: "current",
+ });
+})();
+
function Hero() {
return (
<Frame bg="street-removed.jpg">
- <div style={{ position: "absolute", left: 64, top: 0, bottom: 0, width: 470, display: "flex", flexDirection: "column", justifyContent: "center" }}>
+ <div style={{ position: "absolute", left: 60, top: 0, bottom: 0, width: 450, display: "flex", flexDirection: "column", justifyContent: "center" }}>
<Mark size={58} color={INK} />
- <div style={{ marginTop: 26, fontSize: 58, fontWeight: 720, letterSpacing: "-0.045em", lineHeight: 1.02 }}>Edit photos by describing the change.</div>
- <div style={{ marginTop: 20, fontSize: 23, lineHeight: 1.4, color: DIM }}>Like Nano Banana, but on your own computer. Free, private, no limits. We pick the model and set it up for your GPU.</div>
+ <div style={{ marginTop: 26, fontSize: 54, fontWeight: 720, letterSpacing: "-0.045em", lineHeight: 1.02 }}>Edit photos by describing the change.</div>
+ <div style={{ marginTop: 20, fontSize: 23, lineHeight: 1.4, color: DIM }}>Like Nano Banana, but on your own computer. Free, private, no limits. Nothing to set up.</div>
</div>
- <div style={{ position: "absolute", left: 580, top: 120, width: 820, height: 502, borderRadius: 16, overflow: "hidden", boxShadow: "0 0 0 1px rgba(255,255,255,0.14), 0 40px 120px rgba(0,0,0,0.7)" }}>
- <Img src={staticFile("img/app-screenshot.webp")} style={{ width: "100%", height: "100%", objectFit: "cover", objectPosition: "0 0" }} />
+ {/* The real window (today's components), the scooter removed and the before/after slider on. */}
+ <div style={{ position: "absolute", left: 556, top: 157, width: 1440 * 0.47, height: 900 * 0.47, borderRadius: 12, overflow: "hidden", boxShadow: "0 0 0 1px rgba(255,255,255,0.14), 0 40px 120px rgba(0,0,0,0.7)" }}>
+ <div style={{ transform: "scale(0.47)", transformOrigin: "0 0" }}>
+ <AppWindow state={HERO_STATE} width={1440} height={900} split={0.58} />
+ </div>
</div>
</Frame>
);
@@ -131,6 +148,17 @@ function Runs() {
);
}
+/** The window alone, for kokon.app (site/assets/img/app-screenshot.webp). */
+export function AppShot() {
+ return (
+ <AbsoluteFill style={{ background: "#0a0a0a" }}>
+ <div style={{ transform: `scale(${1600 / 1440})`, transformOrigin: "0 0" }}>
+ <AppWindow state={HERO_STATE} width={1440} height={900} split={0.58} />
+ </div>
+ </AbsoluteFill>
+ );
+}
+
export const PH_SLIDES: Record<string, () => ReactNode> = {
"ph-1-hero": Hero,
"ph-2-remove": () => <Pair before="street" after="street-removed" mode="Remove" prompt={PROMPTS.remove} kicker="Paint an area" title="Only that area changes." />,
diff --git a/site/assets/img/app-screenshot.webp b/site/assets/img/app-screenshot.webp
index 67290ce..19244a2 100644
Binary files a/site/assets/img/app-screenshot.webp and b/site/assets/img/app-screenshot.webp differ
diff --git a/site/comfyui-alternative/index.html b/site/comfyui-alternative/index.html
index 3958e79..549306e 100644
--- a/site/comfyui-alternative/index.html
+++ b/site/comfyui-alternative/index.html
@@ -17,7 +17,7 @@
<meta property="og:title" content="A simple ComfyUI alternative for AI photo editing">
<meta property="og:description" content="ComfyUI is powerful, but you have to build everything. Kokon is a simple alternative for AI photo editing: one installer, no nodes, no Python; it picks the model and the settings for your GPU. It can even reuse your ComfyUI model files.">
<meta property="og:url" content="https://kokon.app/comfyui-alternative/">
-<meta property="og:image" content="https://kokon.app/assets/img/app-screenshot.webp">
+<meta property="og:image" content="https://kokon.app/assets/img/app-screenshot.webp?v=2">
<meta name="twitter:card" content="summary_large_image">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -31,7 +31,7 @@
"@type": "TechArticle",
"headline": "A Simple ComfyUI Alternative for Editing Photos with AI (No Nodes, No Python) | Kokon",
"description": "ComfyUI is powerful, but you have to build everything. Kokon is a simple alternative for AI photo editing: one installer, no nodes, no Python; it picks the model and the settings for your GPU. It can even reuse your ComfyUI model files.",
- "image": "https://kokon.app/assets/img/app-screenshot.webp",
+ "image": "https://kokon.app/assets/img/app-screenshot.webp?v=2",
"datePublished": "2026-10-21",
"dateModified": "2026-10-21",
"author": {
diff --git a/site/local-ai-photo-editor/index.html b/site/local-ai-photo-editor/index.html
index ffa9762..4604ec5 100644
--- a/site/local-ai-photo-editor/index.html
+++ b/site/local-ai-photo-editor/index.html
@@ -17,7 +17,7 @@
<meta property="og:title" content="A free AI photo editor that runs on your own computer">
<meta property="og:description" content="Kokon is a free, open-source AI photo editor that runs on your own computer: remove objects, relight, change text, restyle and expand photos with a sentence. Offline, private, no limits. Windows, Mac and Linux.">
<meta property="og:url" content="https://kokon.app/local-ai-photo-editor/">
-<meta property="og:image" content="https://kokon.app/assets/img/app-screenshot.webp">
+<meta property="og:image" content="https://kokon.app/assets/img/app-screenshot.webp?v=2">
<meta name="twitter:card" content="summary_large_image">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -31,7 +31,7 @@
"@type": "TechArticle",
"headline": "Free Local AI Photo Editor: Edit Photos with AI on Your Own Computer | Kokon",
"description": "Kokon is a free, open-source AI photo editor that runs on your own computer: remove objects, relight, change text, restyle and expand photos with a sentence. Offline, private, no limits. Windows, Mac and Linux.",
- "image": "https://kokon.app/assets/img/app-screenshot.webp",
+ "image": "https://kokon.app/assets/img/app-screenshot.webp?v=2",
"datePublished": "2026-10-21",
"dateModified": "2026-10-21",
"author": {
@@ -139,7 +139,7 @@
<p class="lede-left">Describe the change and Kokon makes it, on your own GPU. No uploads, no account, no daily limit, and nothing to configure. Updated October 21, 2026.</p>
<figure>
- <img src="../assets/img/app-screenshot.webp" width="1600" height="980" alt="Kokon, a local AI photo editor: a café street photo with the scooter removed, with a before/after slider" loading="eager">
+ <img src="../assets/img/app-screenshot.webp?v=2" width="1600" height="1000" alt="Kokon, a local AI photo editor: a café street photo with the scooter removed, with a before/after slider" loading="eager">
<figcaption>Kokon on Windows: the scooter was painted over and removed, on the computer's own GPU.</figcaption>
</figure>
diff --git a/site/press/index.html b/site/press/index.html
index 74de7ec..43742e8 100644
--- a/site/press/index.html
+++ b/site/press/index.html
@@ -17,7 +17,7 @@
<meta property="og:title" content="Kokon press kit">
<meta property="og:description" content="Everything you need to write about or make a video on Kokon: one-line and short descriptions, key facts, requirements, videos, before/after images, logos and contact.">
<meta property="og:url" content="https://kokon.app/press/">
-<meta property="og:image" content="https://kokon.app/assets/img/app-screenshot.webp">
+<meta property="og:image" content="https://kokon.app/assets/img/app-screenshot.webp?v=2">
<meta name="twitter:card" content="summary_large_image">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -31,7 +31,7 @@
"@type": "WebPage",
"headline": "Kokon Press Kit: Facts, Videos, Images and Logos",
"description": "Everything you need to write about or make a video on Kokon: one-line and short descriptions, key facts, requirements, videos, before/after images, logos and contact.",
- "image": "https://kokon.app/assets/img/app-screenshot.webp",
+ "image": "https://kokon.app/assets/img/app-screenshot.webp?v=2",
"datePublished": "2026-10-21",
"dateModified": "2026-10-21",
"author": {
@@ -130,7 +130,7 @@
<h2>Images</h2>
<p>All made by Kokon on one consumer GPU. Prompts and seeds are in the repository.</p>
<ul>
- <li><a href="../assets/img/app-screenshot.webp">App screenshot</a> · <a href="../assets/og.png">Social card</a> · <a href="../assets/kokon-poster.jpg">Video poster</a></li>
+ <li><a href="../assets/img/app-screenshot.webp?v=2">App screenshot</a> · <a href="../assets/og.png">Social card</a> · <a href="../assets/kokon-poster.jpg">Video poster</a></li>
<li>Remove: <a href="../assets/img/street.webp">before</a> / <a href="../assets/img/street-removed.webp">after</a> · Add: <a href="../assets/img/street-cat.webp">after</a></li>
<li>Relight: <a href="../assets/img/cabin.webp">before</a> / <a href="../assets/img/cabin-winter.webp">after</a> · Text: <a href="../assets/img/bakery.webp">before</a> / <a href="../assets/img/bakery-text.webp">after</a></li>
<li>Restyle: <a href="../assets/img/potter.webp">before</a> / <a href="../assets/img/potter-watercolor.webp">after</a> · Replace: <a href="../assets/img/room.webp">before</a> / <a href="../assets/img/room-sofa.webp">after</a></li>
diff --git a/site/qwen-image-2-1-local/index.html b/site/qwen-image-2-1-local/index.html
index 8d3a3b0..5a02568 100644
--- a/site/qwen-image-2-1-local/index.html
+++ b/site/qwen-image-2-1-local/index.html
@@ -17,7 +17,7 @@
<meta property="og:title" content="How to run Qwen-Image 2.1 locally (no Python, no ComfyUI)">
<meta property="og:description" content="Run Qwen-Image 2.1 on Windows, Mac or Linux with one installer: requirements, setup, editing tips and troubleshooting.">
<meta property="og:url" content="https://kokon.app/qwen-image-2-1-local/">
-<meta property="og:image" content="https://kokon.app/assets/img/app-screenshot.webp">
+<meta property="og:image" content="https://kokon.app/assets/img/app-screenshot.webp?v=2">
<meta name="twitter:card" content="summary_large_image">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -31,7 +31,7 @@
"@type": "TechArticle",
"headline": "How to Run Qwen-Image 2.1 Locally on Windows, Mac and Linux (No Python, No ComfyUI)",
"description": "Requirements, one-installer setup, editing tips, speed and troubleshooting for running Qwen-Image 2.1 on your own GPU.",
- "image": "https://kokon.app/assets/img/app-screenshot.webp",
+ "image": "https://kokon.app/assets/img/app-screenshot.webp?v=2",
"datePublished": "2026-10-10",
"dateModified": "2026-10-10",
"author": { "@type": "Person", "name": "Gabriele Lozupone", "url": "https://gabrielelozupone.github.io/" },
@@ -87,7 +87,7 @@
<p class="lede-left">No Python, no ComfyUI, no cloud. One installer, a model download, and you edit photos by describing the change. Updated October 10, 2026.</p>
<figure>
- <img src="../assets/img/app-screenshot.webp" width="1600" height="980" alt="Kokon running Qwen-Image 2.1 locally: a café street photo with the scooter removed, shown with a before/after slider" loading="eager">
+ <img src="../assets/img/app-screenshot.webp?v=2" width="1600" height="1000" alt="Kokon running Qwen-Image 2.1 locally: a café street photo with the scooter removed, shown with a before/after slider" loading="eager">
<figcaption>Kokon with a local Qwen-Image 2.1 edit: the scooter was painted and removed.</figcaption>
</figure>
diff --git a/site/remove-objects-from-photos-offline/index.html b/site/remove-objects-from-photos-offline/index.html
index e1ff6e4..cbd27fc 100644
--- a/site/remove-objects-from-photos-offline/index.html
+++ b/site/remove-objects-from-photos-offline/index.html
@@ -17,7 +17,7 @@
<meta property="og:title" content="How to remove objects from photos offline, for free">
<meta property="og:description" content="Remove people, cars, wires or anything else from a photo with AI, offline and free: paint over it, click Remove, done. Step-by-step with Kokon on Windows, Mac and Linux. Your photo is never uploaded.">
<meta property="og:url" content="https://kokon.app/remove-objects-from-photos-offline/">
-<meta property="og:image" content="https://kokon.app/assets/img/app-screenshot.webp">
+<meta property="og:image" content="https://kokon.app/assets/img/app-screenshot.webp?v=2">
<meta name="twitter:card" content="summary_large_image">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -31,7 +31,7 @@
"@type": "TechArticle",
"headline": "How to Remove Objects from Photos Offline, for Free (AI, No Upload) | Kokon",
"description": "Remove people, cars, wires or anything else from a photo with AI, offline and free: paint over it, click Remove, done. Step-by-step with Kokon on Windows, Mac and Linux. Your photo is never uploaded.",
- "image": "https://kokon.app/assets/img/app-screenshot.webp",
+ "image": "https://kokon.app/assets/img/app-screenshot.webp?v=2",
"datePublished": "2026-10-21",
"dateModified": "2026-10-21",
"author": {