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
Website reel: keep the film's audio; the button restarts it with sound
Gabriele Lozuponefffb5f81bfe8
diff --git a/marketing/README.md b/marketing/README.mdindex 7b7dc6c..b1b39d7 100644--- a/marketing/README.md+++ b/marketing/README.md@@ -50,11 +50,11 @@ Sound (`src/app/sound.tsx`, all levels in one table):To regenerate music, start the ACE-Step API (`uv run acestep-api` in its folder) and run`python audio/gen_music.py house`; takes land in `audio/takes/` (git-ignored).-The website uses a lighter copy: `site/assets/kokon.mp4` (CRF 25, no audio, ~13 MB) and+The website uses a lighter copy: `site/assets/kokon.mp4` (CRF 25, ~17 MB; it autoplays muted and its "Watch with sound" button restarts it with sound) and`site/assets/kokon-poster.jpg`. To refresh them after a new render:```powershell-ffmpeg -y -i marketing/video/out/kokon-launch.mp4 -c:v libx264 -preset slow -crf 25 -pix_fmt yuv420p -movflags +faststart -an site/assets/kokon.mp4+ffmpeg -y -i marketing/video/out/kokon-launch.mp4 -c:v libx264 -preset slow -crf 25 -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart site/assets/kokon.mp4ffmpeg -y -ss 35.5 -i marketing/video/out/kokon-launch.mp4 -frames:v 1 -q:v 3 site/assets/kokon-poster.jpg```diff --git a/site/assets/kokon.mp4 b/site/assets/kokon.mp4index 6267b30..22daf2f 100644Binary files a/site/assets/kokon.mp4 and b/site/assets/kokon.mp4 differdiff --git a/site/assets/style.css b/site/assets/style.cssindex 5efe3bc..4d38cb7 100644--- a/site/assets/style.css+++ b/site/assets/style.css@@ -65,7 +65,7 @@ h1 .soft { color: var(--text-3); }.showreel .frame { position: relative; border-radius: 22px; overflow: hidden; background: #000 url("assets/kokon-poster.jpg") center / cover; box-shadow: 0 0 0 1px var(--line-hi), 0 60px 160px rgba(0,0,0,0.75), 0 0 120px rgba(247,246,242,0.06); aspect-ratio: 16 / 9; }.showreel video { width: 100%; height: 100%; object-fit: cover; }.showreel .glow { position: absolute; inset: 8% 4% -6%; background: radial-gradient(ellipse at center, rgba(255,214,140,0.16), transparent 65%); filter: blur(40px); z-index: -1; }-.sound { position: absolute; right: 16px; bottom: 16px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(0,0,0,0.55); backdrop-filter: blur(10px); font-size: 13px; color: #fff; display: inline-flex; align-items: center; gap: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); }+.sound { position: absolute; right: 18px; bottom: 18px; height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); font-size: 15px; font-weight: 600; cursor: pointer; color: #fff; display: inline-flex; align-items: center; gap: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); }/* Runs on */.runs { padding: 64px 0 24px; text-align: center; }diff --git a/site/index.html b/site/index.htmlindex 90d3395..8cd6b8b 100644--- a/site/index.html+++ b/site/index.html@@ -224,7 +224,7 @@<div class="glow"></div><div class="frame"><video id="reel" src="assets/kokon.mp4" poster="assets/kokon-poster.jpg" muted loop playsinline preload="metadata" aria-label="Kokon in use: creating an image, painting an area to remove a scooter, and six more edits"></video>- <button class="sound" id="reel-btn" type="button" aria-label="Play from the start with controls">▶ Watch from the start</button>+ <button class="sound" id="reel-btn" type="button" aria-label="Watch the film from the start with sound">🔊 Watch with sound</button></div></div></div>@@ -554,22 +554,9 @@const reel = $("reel"), reelBtn = $("reel-btn");const vio = new IntersectionObserver(([en]) => { if (en.isIntersecting) reel.play().catch(() => {}); else reel.pause(); }, { threshold: 0.3 });vio.observe(reel);- // The loop here is silent and 1080p. With the YouTube id set, the button swaps it for the full- // film with voice and music (up to 4K), loaded from youtube-nocookie only on click.- const YOUTUBE_ID = "";- if (YOUTUBE_ID) { reelBtn.textContent = "▶ Watch with sound"; reelBtn.setAttribute("aria-label", "Play the launch film with sound"); }- reelBtn.addEventListener("click", () => {- if (YOUTUBE_ID) {- const yt = document.createElement("iframe");- yt.src = `https://www.youtube-nocookie.com/embed/${YOUTUBE_ID}?autoplay=1&rel=0&playsinline=1`;- yt.title = "Kokon launch film";- yt.allow = "autoplay; encrypted-media; picture-in-picture; fullscreen";- yt.allowFullscreen = true;- yt.style.cssText = "position:absolute;inset:0;width:100%;height:100%;border:0";- vio.disconnect(); reel.pause(); reel.replaceWith(yt);- } else { reel.currentTime = 0; reel.controls = true; reel.loop = false; reel.play().catch(() => {}); }- reelBtn.remove();- });+ // Browsers only autoplay muted, so the reel starts silent; the button restarts it with the+ // voice-over and music.+ reelBtn.addEventListener("click", () => { reel.currentTime = 0; reel.muted = false; reel.controls = true; reel.loop = false; reel.play().catch(() => {}); reelBtn.remove(); });const nav = $("nav");const onScroll = () => nav.classList.toggle("scrolled", scrollY > 10);