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
ui: Prompt+ and LoRA as labelled pills after Quality
Gabriele Lozuponee7ba4e632c53
diff --git a/src/components/Composer.tsx b/src/components/Composer.tsxindex bfd3fd5..3094101 100644--- a/src/components/Composer.tsx+++ b/src/components/Composer.tsx@@ -298,24 +298,25 @@ function LoraBadge() {const l = all[0];return (<button- className={`icon-btn ${on.length ? "active" : ""}`}+ className={`pill toggle ${on.length ? "on" : ""}`}role="switch"aria-checked={on.length > 0}- aria-label={`LoRA ${l.name}`}disabled={!l.available}onClick={() => toggle(l.id)}title={l.available ? `${title}. Click to turn ${on.length ? "off" : "on"}.` : "This LoRA's file is missing: load it again in Settings → LoRA."}>- <Layers size={17} />+ <Layers size={15} />+ LoRA</button>);}return (<Popovertrigger={(open, toggleOpen) => (- <button className={`icon-btn has-badge ${on.length || open ? "active" : ""}`} onClick={toggleOpen} title={title} aria-label={`LoRA, ${on.length} on`}>- <Layers size={17} />- {on.length > 0 && <span className="lora-count">{on.length}</span>}+ <button className={`pill toggle ${on.length || open ? "on" : ""}`} onClick={toggleOpen} title={title}>+ <Layers size={15} />+ LoRA{on.length > 0 && <span className="lora-count">{on.length}</span>}+ <ChevronDown size={13} /></button>)}>@@ -497,21 +498,23 @@ export function Composer() {{canEnhance && (<button- className={`icon-btn ${c.enhance ? "active" : ""}`}+ className={`pill toggle ${c.enhance ? "on" : ""}`}role="switch"aria-checked={c.enhance}- aria-label="Prompt enhancer"onClick={() => updateComposer({ enhance: !c.enhance })}title={c.enhance- ? "Prompt enhancer on: before making the image, the model rewrites your prompt as a detailed English description (looking at your image for edits). You see it being written; the result keeps both. Click to turn off."- : "Prompt enhancer: let the model rewrite a short prompt, in any language, as a detailed English description before making the image. Adds a few seconds."+ ? "Prompt+ on: before making the image, the model rewrites your prompt as a detailed English description (looking at your image for edits). You see it being written; the result keeps both. Click to turn off."+ : "Prompt+: let the model rewrite a short prompt, in any language, as a detailed English description before making the image. Adds a few seconds."}>- <WandSparkles size={17} />+ <WandSparkles size={15} />+ Prompt+</button>)}+ <LoraBadge />+<Popoverplacement="top-start"className="panel"@@ -535,8 +538,6 @@ export function Composer() {<Lightbulb size={17} /></button>- <LoraBadge />-<span className="spacer" /><span className="plan-hint" title={hintTitle}>{hint}diff --git a/src/styles.css b/src/styles.cssindex f366c03..7aba6bc 100644--- a/src/styles.css+++ b/src/styles.css@@ -193,7 +193,8 @@ svg { display: block; flex: none; }.shimmer { color: var(--text-3); background: none; }}.stage-meta .enhanced-mark { flex: none; display: inline-flex; color: var(--text-2); }-.lora-count { position: absolute; top: 2px; right: 1px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; background: var(--text); color: var(--bg); font-size: 10px; font-weight: 600; line-height: 14px; text-align: center; box-shadow: 0 0 0 2px var(--bg); }+.pill.toggle.on { background: var(--surface-2); }+.lora-count { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--text); color: var(--bg); font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; }.lora-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.popover .opt:disabled { opacity: 0.5; cursor: default; }.failed { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 460px; text-align: center; color: var(--text-2); }