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
Examples made by Kokon itself
Gabriele Lozupone8e2ef9476a0f
diff --git a/README.md b/README.mdindex 81e0487..dbb768d 100644--- a/README.md+++ b/README.md@@ -108,13 +108,14 @@ https://github.com/user-attachments/assets/f954c20e-eb07-4bc8-8216-b8a412860e99add a tomato sauce river, generate the kitchen, combine the two, expand to 21:9.</sub></p>-Every result below came from one sentence in Kokon, with default settings.+Every image below was made by Kokon itself (no stock photos), first try with that seed. Prompts,+seeds and times are in [marketing/showcase/PROMPTS.md](marketing/showcase/PROMPTS.md).| | || :---: | :---: |-| <img src="docs/media/examples/remove.jpg" alt="Remove people from a beach"><br>**Remove** · *“Remove all the people from the beach”* | <img src="docs/media/examples/replace.jpg" alt="Replace an object"><br>**Replace** · *“Replace the orange car with a blue vintage Vespa scooter”* |-| <img src="docs/media/examples/relight.jpg" alt="Relight a scene"><br>**Relight** · *“Make it golden hour, warm low sunlight”* | <img src="docs/media/examples/restyle.jpg" alt="Restyle a photo"><br>**Restyle** · *“Turn it into a watercolor illustration”* |-| <img src="docs/media/examples/text.jpg" alt="Change text in a photo"><br>**Text** · *“Change the neon sign to say ‘OPEN LATE’”* | <img src="docs/media/examples/expand.jpg" alt="Expand a photo"><br>**Expand** · Expand → 16:9 · *“continue the beach”* |+| <img src="docs/media/examples/remove.jpg" alt="A red scooter removed from a café street"><br>**Remove** · paint the scooter · *“the red scooter”* | <img src="docs/media/examples/replace.jpg" alt="An armchair replaced by a green sofa"><br>**Replace** · *“Replace the yellow armchair with a deep green velvet sofa and hang an abstract painting above it”* |+| <img src="docs/media/examples/relight.jpg" alt="A summer lake cabin turned into a snowy night"><br>**Relight** · *“Make it a snowy winter night, warm light glowing from the cabin windows”* | <img src="docs/media/examples/restyle.jpg" alt="A portrait turned into a watercolor"><br>**Restyle** · *“Turn it into a hand-painted watercolor illustration”* |+| <img src="docs/media/examples/text.jpg" alt="A shop sign changed to KOKON CAFÉ"><br>**Text** · *“Change the gold sign text to ‘KOKON CAFÉ’”* | <img src="docs/media/examples/expand.jpg" alt="A square lighthouse photo expanded to a panorama"><br>**Expand** · 40 % left and right · *“continue the rocky coastline and the turquoise sea”* |## Install@@ -154,7 +155,7 @@ whole thing takes a few minutes, and the setup screen shows what Kokon can do wh| **macOS** | 26 Tahoe | latest || **Unified memory** | 16 GB: works, but slowly (lightest mode, about 1 megapixel) | 32 GB or more (also gets native 2K) || **Disk** | 15 GB free | 25 GB free |-| **Time per image** | About 10 minutes for 1024×1024 on a 16 GB M2 Pro; Fast renders at 768×768 and enlarges, which is quicker | Faster on Max/Ultra chips with more memory |+| **Time per image** | About 4 minutes for a 1 MP image on a 16 GB M2 Pro | Faster on Max/Ultra chips with more memory |Kokon measures your machine's speed with the first image and shows realistic time estimatesfrom then on.@@ -428,7 +429,7 @@ been verified on a real AMD or Intel card yet; integrated graphics are not suppo[open an issue](https://github.com/GabrieleLozupone/kokon/issues) with your card and how it went.Mac: yes, in beta, on Apple Silicon (M1 or newer) with macOS 26. It runs on a 16 GB Mac in a-lighter mode, but slowly (about 10 minutes per 1-megapixel image on an M2 Pro); 32 GB or more+lighter mode, but slowly (about 4 minutes per 1-megapixel image on an M2 Pro); 32 GB or moreand a Pro, Max or Ultra chip are recommended. See the [requirements](#requirements) and[docs/platforms.md](docs/platforms.md).diff --git a/docs/media/examples/expand.jpg b/docs/media/examples/expand.jpgindex 6f25519..086d575 100644Binary files a/docs/media/examples/expand.jpg and b/docs/media/examples/expand.jpg differdiff --git a/docs/media/examples/relight.jpg b/docs/media/examples/relight.jpgindex 6c8d496..be55d80 100644Binary files a/docs/media/examples/relight.jpg and b/docs/media/examples/relight.jpg differdiff --git a/docs/media/examples/remove.jpg b/docs/media/examples/remove.jpgindex 06a692f..ecfd751 100644Binary files a/docs/media/examples/remove.jpg and b/docs/media/examples/remove.jpg differdiff --git a/docs/media/examples/replace.jpg b/docs/media/examples/replace.jpgindex 55fe261..19d9431 100644Binary files a/docs/media/examples/replace.jpg and b/docs/media/examples/replace.jpg differdiff --git a/docs/media/examples/restyle.jpg b/docs/media/examples/restyle.jpgindex d3382f5..1b85ced 100644Binary files a/docs/media/examples/restyle.jpg and b/docs/media/examples/restyle.jpg differdiff --git a/docs/media/examples/text.jpg b/docs/media/examples/text.jpgindex 10633b9..4077637 100644Binary files a/docs/media/examples/text.jpg and b/docs/media/examples/text.jpg differdiff --git a/marketing/showcase/PROMPTS.md b/marketing/showcase/PROMPTS.mdnew file mode 100644index 0000000..d4bd397--- /dev/null+++ b/marketing/showcase/PROMPTS.md@@ -0,0 +1,27 @@+# Showcase images++Every image here was made by Kokon itself (Qwen-Image 2.1 Turbo Q4_K, 8 steps, CFG 1) on an+RTX 5070 Ti through the Kokon MCP server on 2026-10-10. No stock photos, so no third-party+rights. Originals (PNG, full size) are in `%USERPROFILE%\Pictures\Kokon\marketing`; these JPEGs+are resized to at most 2400 px.++| Pair | Step | Tool | Prompt | Seed | Quality | Time |+| --- | --- | --- | --- | --- | --- | --- |+| Remove | `street` | generate 16:9 | Editorial photograph of a sunny cobblestone street in a small Italian coastal town, a pastel yellow café with outdoor wooden tables and potted lemon trees, a red vintage scooter parked in front of the café, warm late-morning light, 35mm, shallow depth of field, highly detailed, realistic | 1101 | quality | 46 s |+| | `street-removed` | inpaint, remove, `street-mask.png` | the red scooter | 7 | quality | 33 s |+| Add | `street-cat` | inpaint, add, `street-add-mask.png` on `street-removed` | a ginger cat sitting on the cobblestones, looking at the camera | 13 | quality | 31 s |+| Relight | `cabin` | generate 16:9 | Photograph of a small wooden cabin with a stone chimney on the shore of a calm alpine lake, pine forest and tall mountains behind, clear summer midday, crisp reflections on the water, wide angle, highly detailed, realistic landscape photography | 2202 | quality | 39 s |+| | `cabin-winter` | edit | Make it a snowy winter night: snow on the roof, trees and shore, the lake partly frozen, warm golden light glowing from the cabin windows, stars in the sky. Keep the composition unchanged. | 3 | quality | 53 s |+| Text | `bakery` | generate 4:3 | Photograph of a charming bakery storefront in Paris, dark green painted wooden facade, large gold lettering sign above the window that reads "BOULANGERIE", window display full of croissants and baguettes, flower boxes, soft morning light, realistic, highly detailed | 3303 | quality | 39 s |+| | `bakery-text` | edit | Change the gold sign text to "KOKON CAFÉ" in the same gold lettering style. Keep everything else unchanged. | 5 | quality | 54 s |+| Restyle | `potter` | generate 3:4 | Portrait photograph of a young ceramic artist in her sunlit studio, holding a freshly glazed blue bowl, shelves of handmade pottery behind her, linen apron, natural window light, warm and friendly expression, 85mm lens, realistic, highly detailed | 4404 | quality | 38 s |+| | `potter-watercolor` | edit | Turn it into a hand-painted watercolor illustration with soft ink outlines and visible paper texture. Keep the person, pose and composition the same. | 11 | quality | 55 s |+| Replace | `room` | generate 4:3 | Interior design photograph of a bright Scandinavian living room, a mustard yellow armchair next to a large window, light oak floor, white walls, a floor lamp, plants, a woven rug, soft daylight, realistic, highly detailed | 5505 | quality | 38 s |+| | `room-sofa` | edit | Replace the yellow armchair with a deep green velvet three-seat sofa with two cushions, and hang a large framed abstract painting on the wall above it. Keep the room, light and everything else unchanged. | 21 | quality | 54 s |+| Expand | `lighthouse` | generate 1:1 | Photograph of a white and red lighthouse on a rocky cliff above a turquoise sea, golden sunset light, gentle waves, a few seagulls, realistic, highly detailed, coastal landscape photography | 6606 | balanced | 22 s |+| | `lighthouse-wide` | outpaint, 40 % left and right | continue the rocky coastline and the turquoise sea at golden sunset | 9 | balanced | 55 s |+| Product | `sneaker` | generate 1:1 | Product photograph of a minimalist white leather sneaker on a plain light grey background, studio lighting, soft shadow, e-commerce catalog shot, sharp details, realistic | 7707 | balanced | 22 s |+| | `sneaker-ad` | edit | Place the sneaker on a wet black stone surface in a moody studio with a soft orange rim light and gentle reflections, product advertising shot. Keep the sneaker exactly the same. | 17 | balanced | 25 s |+| Hero | `hero` | generate 16:9 | Cinematic macro photograph of a luminous blue morpho butterfly resting on a silk cocoon hanging from a mossy branch, morning dew drops, soft warm backlight, dark green bokeh background, ultra detailed, realistic | 8808 | quality | 39 s |++Every result is the first try with that seed; nothing was cherry-picked.diff --git a/marketing/showcase/bakery-text.jpg b/marketing/showcase/bakery-text.jpgnew file mode 100644index 0000000..e477255Binary files /dev/null and b/marketing/showcase/bakery-text.jpg differdiff --git a/marketing/showcase/bakery.jpg b/marketing/showcase/bakery.jpgnew file mode 100644index 0000000..86c3f0bBinary files /dev/null and b/marketing/showcase/bakery.jpg differdiff --git a/marketing/showcase/cabin-winter.jpg b/marketing/showcase/cabin-winter.jpgnew file mode 100644index 0000000..56425dcBinary files /dev/null and b/marketing/showcase/cabin-winter.jpg differdiff --git a/marketing/showcase/cabin.jpg b/marketing/showcase/cabin.jpgnew file mode 100644index 0000000..c9547b8Binary files /dev/null and b/marketing/showcase/cabin.jpg differdiff --git a/marketing/showcase/hero.jpg b/marketing/showcase/hero.jpgnew file mode 100644index 0000000..4a94c18Binary files /dev/null and b/marketing/showcase/hero.jpg differdiff --git a/marketing/showcase/lighthouse-wide.jpg b/marketing/showcase/lighthouse-wide.jpgnew file mode 100644index 0000000..4b02837Binary files /dev/null and b/marketing/showcase/lighthouse-wide.jpg differdiff --git a/marketing/showcase/lighthouse.jpg b/marketing/showcase/lighthouse.jpgnew file mode 100644index 0000000..919fe67Binary files /dev/null and b/marketing/showcase/lighthouse.jpg differdiff --git a/marketing/showcase/potter-watercolor.jpg b/marketing/showcase/potter-watercolor.jpgnew file mode 100644index 0000000..6ec83a7Binary files /dev/null and b/marketing/showcase/potter-watercolor.jpg differdiff --git a/marketing/showcase/potter.jpg b/marketing/showcase/potter.jpgnew file mode 100644index 0000000..882757dBinary files /dev/null and b/marketing/showcase/potter.jpg differdiff --git a/marketing/showcase/room-sofa.jpg b/marketing/showcase/room-sofa.jpgnew file mode 100644index 0000000..aaf4879Binary files /dev/null and b/marketing/showcase/room-sofa.jpg differdiff --git a/marketing/showcase/room.jpg b/marketing/showcase/room.jpgnew file mode 100644index 0000000..0ee2287Binary files /dev/null and b/marketing/showcase/room.jpg differdiff --git a/marketing/showcase/sneaker-ad.jpg b/marketing/showcase/sneaker-ad.jpgnew file mode 100644index 0000000..3e67328Binary files /dev/null and b/marketing/showcase/sneaker-ad.jpg differdiff --git a/marketing/showcase/sneaker.jpg b/marketing/showcase/sneaker.jpgnew file mode 100644index 0000000..0e2010dBinary files /dev/null and b/marketing/showcase/sneaker.jpg differdiff --git a/marketing/showcase/street-add-mask.png b/marketing/showcase/street-add-mask.pngnew file mode 100644index 0000000..6d56053Binary files /dev/null and b/marketing/showcase/street-add-mask.png differdiff --git a/marketing/showcase/street-cat.jpg b/marketing/showcase/street-cat.jpgnew file mode 100644index 0000000..c8348a2Binary files /dev/null and b/marketing/showcase/street-cat.jpg differdiff --git a/marketing/showcase/street-mask.png b/marketing/showcase/street-mask.pngnew file mode 100644index 0000000..c70ca09Binary files /dev/null and b/marketing/showcase/street-mask.png differdiff --git a/marketing/showcase/street-removed.jpg b/marketing/showcase/street-removed.jpgnew file mode 100644index 0000000..85b9adbBinary files /dev/null and b/marketing/showcase/street-removed.jpg differdiff --git a/marketing/showcase/street.jpg b/marketing/showcase/street.jpgnew file mode 100644index 0000000..8dd2b61Binary files /dev/null and b/marketing/showcase/street.jpg differdiff --git a/src/assets/showcase/expand.jpg b/src/assets/showcase/expand.jpgindex 6f25519..086d575 100644Binary files a/src/assets/showcase/expand.jpg and b/src/assets/showcase/expand.jpg differdiff --git a/src/assets/showcase/relight.jpg b/src/assets/showcase/relight.jpgindex 6c8d496..be55d80 100644Binary files a/src/assets/showcase/relight.jpg and b/src/assets/showcase/relight.jpg differdiff --git a/src/assets/showcase/remove.jpg b/src/assets/showcase/remove.jpgindex 06a692f..ecfd751 100644Binary files a/src/assets/showcase/remove.jpg and b/src/assets/showcase/remove.jpg differdiff --git a/src/assets/showcase/replace.jpg b/src/assets/showcase/replace.jpgindex 55fe261..19d9431 100644Binary files a/src/assets/showcase/replace.jpg and b/src/assets/showcase/replace.jpg differdiff --git a/src/assets/showcase/restyle.jpg b/src/assets/showcase/restyle.jpgindex d3382f5..1b85ced 100644Binary files a/src/assets/showcase/restyle.jpg and b/src/assets/showcase/restyle.jpg differdiff --git a/src/assets/showcase/text.jpg b/src/assets/showcase/text.jpgindex 10633b9..4077637 100644Binary files a/src/assets/showcase/text.jpg and b/src/assets/showcase/text.jpg differdiff --git a/src/components/Welcome.tsx b/src/components/Welcome.tsxindex df232be..96a3020 100644--- a/src/components/Welcome.tsx+++ b/src/components/Welcome.tsx@@ -92,12 +92,12 @@ export function Welcome() {const SLIDES: { src: string; video?: boolean; title: string; prompt: string }[] = [{ src: demo, video: true, title: "One project, start to finish", prompt: "Create, edit, combine and expand: the whole flow in under a minute." },- { src: remove, title: "Remove", prompt: "“Remove all the people from the beach”" },- { src: replace, title: "Replace", prompt: "“Replace the orange car with a blue vintage Vespa scooter”" },- { src: relight, title: "Relight", prompt: "“Make it golden hour, warm low sunlight”" },- { src: restyle, title: "Restyle", prompt: "“Turn it into a watercolor illustration”" },- { src: text, title: "Change text", prompt: "“Change the neon sign to say ‘OPEN LATE’”" },- { src: expand, title: "Expand", prompt: "Expand to 16:9 · “continue the beach”" },+ { src: remove, title: "Remove", prompt: "Paint the scooter · Remove · “the red scooter”" },+ { src: replace, title: "Replace", prompt: "“Replace the yellow armchair with a deep green velvet sofa and hang an abstract painting above it”" },+ { src: relight, title: "Relight", prompt: "“Make it a snowy winter night, warm light glowing from the cabin windows”" },+ { src: restyle, title: "Restyle", prompt: "“Turn it into a hand-painted watercolor illustration”" },+ { src: text, title: "Change text", prompt: "“Change the gold sign text to ‘KOKON CAFÉ’”" },+ { src: expand, title: "Expand", prompt: "Expand 40 % left and right · “continue the rocky coastline and the turquoise sea”" },];/** What Kokon can do, shown while the model downloads (the wait is the best moment for it). */