The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(models): add-ons name their model, FramePack fits, one verdict for lipsync, sd_turbo is an image model
purple12467586ba6c
diff --git a/src/api/__tests__/comfyui-combo-schema.test.ts b/src/api/__tests__/comfyui-combo-schema.test.tsindex fe4bcb49..b3e6ff20 100644--- a/src/api/__tests__/comfyui-combo-schema.test.ts+++ b/src/api/__tests__/comfyui-combo-schema.test.ts@@ -180,6 +180,10 @@ describe('the box answer that killed the video discovery', () => {expect(names).toContain(WAN5B)// the SD1.5 half of both AnimateDiff bundles, in the video lane tooexpect(names).toContain(SD15)+ // and only that one: sd_turbo is an image checkpoint no video bundle+ // ships, and the box listed it under Video on 03.10.2026 because every+ // image checkpoint was taken along once a motion module was on disk.+ expect(names).not.toContain('sd_turbo.safetensors')expect(new Set(names).size).toBe(names.length)expect(names.length).toBeGreaterThan(0) // the box showed 0})diff --git a/src/api/comfyui.ts b/src/api/comfyui.tsindex 502f9efa..c7bc757a 100644--- a/src/api/comfyui.ts+++ b/src/api/comfyui.ts@@ -1182,8 +1182,8 @@ async function inventoryLane(* Two additions over getVideoModels, both of them things ComfyUI really can* serve as video right now:* - the motion modules themselves, wherever the pack keeps them- * - the SD checkpoints the AnimateDiff lane drives, but ONLY while motion- * modules exist, which is the same condition selectStrategy uses before it+ * - the SD checkpoints the catalogue's AnimateDiff bundles ship, but ONLY+ * while motion modules exist, which is the same condition selectStrategy uses before it* routes a video request onto the animatediff pipeline. That is the second* file of both AnimateDiff bundles (Realistic Vision), which used to be* counted under Image alone, so a video bundle showed up half in the wrong@@ -1199,9 +1199,18 @@ export async function getInstalledVideoModels(): Promise<ClassifiedModel[]> {])const out: ClassifiedModel[] = [...videoModels, ...motionModels]if (motionModels.length > 0) {+ // Only the checkpoints a video bundle of the catalogue ships, which is+ // what "the second file of both AnimateDiff bundles" always meant. This+ // used to take EVERY image checkpoint once a motion module was on disk,+ // so sd_turbo (an image model no motion module here can drive) stood in+ // the Video list of the box on 03.10.2026.+ const bundled = new Set(getVideoBundles().flatMap((b) => b.files)+ .filter((f) => f.subfolder === 'checkpoints' && f.filename)+ .map((f) => f.filename!.toLowerCase()))const imageModels = await inventoryLane('image', getInstalledMainImageModels)for (const m of imageModels) {if (m.source !== 'checkpoint') continue+ if (!bundled.has((m.name.split(/[\\/]/).pop() ?? m.name).toLowerCase())) continueif (out.some((x) => x.name === m.name)) continueout.push(m)}diff --git a/src/api/model-bundles.ts b/src/api/model-bundles.tsindex 78d25dc1..115dcf14 100644--- a/src/api/model-bundles.ts+++ b/src/api/model-bundles.ts@@ -694,6 +694,7 @@ export function getImageBundles(): ModelBundle[] {verified: true,totalSizeGB: 0.33,vramRequired: 'any',+ addonFor: 'SDXL models',workflow: 'sdxl',tier: 'older',url: 'https://huggingface.co/madebyollin/sdxl-vae-fp16-fix',@@ -714,6 +715,7 @@ export function getImageBundles(): ModelBundle[] {verified: true,totalSizeGB: 0.17,vramRequired: 'any',+ addonFor: 'SDXL models',workflow: 'sdxl',tier: 'older',url: 'https://huggingface.co/nerijs/pixel-art-xl',@@ -862,6 +864,13 @@ export interface ModelBundle {*/vramMinGB: number | nullvramComfortGB: number | null+ /** See lib/vram-fit NeedSource: the authors' own comfortable value, for a+ * model built to run mostly outside graphics memory. */+ vramComfortStatedGB?: number+ /** Set on an add-on (a LoRA, a VAE): what it belongs to. An add-on loads+ * into its model's memory, so its card carries no verdict of its own and+ * says what it is for instead ("For MiniMax H3"). */+ addonFor?: stringworkflow: string/*** How the pickers order this bundle (Oct 2026, David). 'best' is today's open@@ -1131,7 +1140,12 @@ export function getVideoBundles(): ModelBundle[] {description: 'Add-on for MiniMax H3: 8 steps instead of 20, from a prompt or a first frame. After the download, turn it on in Create, Advanced settings, Expert, LoRA stack.',tags: ['MiniMax H3', 'LoRA', 'Addon'],totalSizeGB: 1.82,+ // Sized like the model it needs next to it, for the sort and the size+ // filters. The card itself shows no verdict for an add-on (addonFor):+ // "Needs more than your 12 GB card" under a 1.82 GB file read as a+ // statement about the LoRA.vramRequired: '24+ GB',+ addonFor: 'MiniMax H3',workflow: 'minimaxh3',tier: 'best',url: 'https://huggingface.co/Comfy-Org/MiniMax-H3',@@ -1378,6 +1392,13 @@ export function getVideoBundles(): ModelBundle[] {verified: true,totalSizeGB: 27.0,vramRequired: '6-8 GB',+ // FramePack is built to run with its weights outside graphics memory: it+ // predicts the next frame section from a fixed length context and moves+ // the 15.3 GB model through the card piece by piece. Its authors state+ // 6 GB as enough (github.com/lllyasviel/FramePack, Requirements). The+ // largest-weight rule read "tight" on every card below 16.8 GB, against+ // the bundle's own description, so the stated value stands here.+ vramComfortStatedGB: 8,workflow: 'framepack',tier: 'older',i2v: true,diff --git a/src/components/create/experimental/Stage.tsx b/src/components/create/experimental/Stage.tsxindex 9b60aac5..ad74648a 100644--- a/src/components/create/experimental/Stage.tsx+++ b/src/components/create/experimental/Stage.tsx@@ -22,6 +22,8 @@ import { InstallCancelled } from '../../../lib/bundle-install'import { isMlxImageHost } from '../../../api/mlx-image'import { bundleForVideoIntent } from '../../../api/comfyui'import { getVideoBundles } from '../../../api/discover'+import { lipsyncFitLine } from './lipsyncFit'+import { useGraphicsCardGb } from '../../../hooks/useGraphicsMemory'import { ReferenceStrip } from './ReferenceStrip'import { BatchStrip, useBatchPickers } from './BatchStrip'import { addBatchFiles, useBatchOffered } from './batchRun'@@ -623,7 +625,11 @@ const BUNDLE_COPY = {lipsync: {icon: Film,title: 'Local talking characters need a one-time download',- description: 'This sets up the Wan 2.2 S2V model plus its audio encoder (~20 GB total). Comfortable on 12 GB VRAM; smaller cards offload and render slower.',+ // What it says about the graphics card is added below from the bundle's+ // own verdict (lipsyncFitLine). The sentence that stood here said+ // "Comfortable on 12 GB VRAM" while the same bundle's card in the Model+ // Manager said "Tight on your 12 GB card".+ description: 'This sets up the Wan 2.2 S2V model plus its audio encoder (~20 GB total).',},motion: {icon: Film,@@ -654,9 +660,10 @@ function ModelInstallCard({ kind }: { kind: 'image' | 'video' | 'audio' | 'lipsyconst mac = isMlxImageHost()const copy = (mac && (kind === 'image' || kind === 'video')) ? MAC_BUNDLE_COPY[kind] : BUNDLE_COPY[kind]// The Mac lane runs its own MLX stack and has no ComfyUI bundle to name.+ const cardGb = useGraphicsCardGb()const description = (kind === 'video' && !mac)? copy.description + videoBundleLine(intent)- : copy.description+ : kind === 'lipsync' ? copy.description + lipsyncFitLine(cardGb) : copy.descriptionconst run = () => startInstallRun(kind, (onStatus, signal) =>installModelBundle(kind, onStatus, signal).catch((e: unknown) => {diff --git a/src/components/create/experimental/__tests__/lipsync-fit-one-source.test.ts b/src/components/create/experimental/__tests__/lipsync-fit-one-source.test.tsnew file mode 100644index 00000000..fe30a911--- /dev/null+++ b/src/components/create/experimental/__tests__/lipsync-fit-one-source.test.ts@@ -0,0 +1,29 @@+import { describe, it, expect } from 'vitest'+import { lipsyncFitLine } from '../lipsyncFit'+import { getLipsyncBundles } from '../../../../api/model-bundles'+import { vramFit, vramFitLine } from '../../../../lib/vram-fit'++// The box, 03.10.2026: the talking character stage said "Comfortable on 12 GB+// VRAM", the card of the same bundle in the Model Manager said "Tight on your+// 12 GB card". The stage now says what the card says, from the same rule.+describe('the talking character stage and its Model Manager card', () => {+ const bundle = getLipsyncBundles()[0]++ it('say the same thing about a 12 GB card', () => {+ expect(bundle.name).toBe('Wan 2.2 S2V Q4 (Talking Character, GGUF)')+ expect(lipsyncFitLine(12)).toBe(' Tight on your 12 GB card: runs, loading can be slow.')+ expect(lipsyncFitLine(12).trim()).toBe(`${vramFitLine(vramFit(bundle, 12), 12)}.`)+ })++ it('agree on every other card too', () => {+ for (const card of [6, 8, 16, 24]) {+ expect(lipsyncFitLine(card).trim(), `${card} GB`).toBe(`${vramFitLine(vramFit(bundle, card), card)}.`)+ }+ expect(lipsyncFitLine(8)).toContain('Needs more than your 8 GB card')+ expect(lipsyncFitLine(16)).toContain('Fits your 16 GB card')+ })++ it('without a detected card the stage states what the bundle needs', () => {+ expect(lipsyncFitLine(null)).toBe(' Runs from 10 GB. Loads fully into graphics memory from 14.4 GB.')+ })+})diff --git a/src/components/create/experimental/lipsyncFit.ts b/src/components/create/experimental/lipsyncFit.tsnew file mode 100644index 00000000..174ac26f--- /dev/null+++ b/src/components/create/experimental/lipsyncFit.ts@@ -0,0 +1,16 @@+import { getLipsyncBundles } from '../../../api/model-bundles'+import { vramFit, vramFitLine, vramNeedTitle } from '../../../lib/vram-fit'++/** The talking character card's word on the graphics card: the verdict of the+ * bundle the button installs, in the words its Model Manager card uses. One+ * source, so the two cannot disagree (the box, 03.10.2026: "Comfortable on+ * 12 GB VRAM" on the stage, "Tight on your 12 GB card" on the card). Without+ * a detected card it states what the bundle needs instead. */+export function lipsyncFitLine(cardGb: number | null): string {+ const b = getLipsyncBundles()[0]+ if (!b) return ''+ const line = vramFitLine(vramFit(b, cardGb), cardGb)+ if (line) return ` ${line}.`+ const need = vramNeedTitle(b)+ return need ? ` ${need}` : ''+}diff --git a/src/components/models/ModelTiles.tsx b/src/components/models/ModelTiles.tsxindex 19e3b4ea..10d1aa5f 100644--- a/src/components/models/ModelTiles.tsx+++ b/src/components/models/ModelTiles.tsx@@ -581,7 +581,11 @@ export function BundleTile({ bundle, lane, vramGb, sharedMemory = false, complet// With a detected card the tile names it and says what tight costs: the// owner's 12 GB box sat five minutes in a load the old "10-16 GB" never// announced. Shared memory has no card to name and keeps the general hint.- const cardLine = sharedMemory ? '' : vramFitLine(fit, vramGb)+ // An add-on carries no verdict of its own: it says what it belongs to, and+ // that model's card says whether it runs here. The box, 03.10.2026, read+ // "Needs more than your 12 GB card" under the 1.82 GB H3 turbo LoRA.+ const addonLine = bundle.addonFor ? `For ${bundle.addonFor}` : ''+ const cardLine = sharedMemory || addonLine ? '' : vramFitLine(fit, vramGb)// Sizes come from the files' own byte counts, and Get names what is still// missing: the box, 03.10.2026, read "Get · 16.1 GB" on a card whose click// fetched one file of 8.7 GB, the other two being shared and already there.@@ -609,6 +613,9 @@ export function BundleTile({ bundle, lane, vramGb, sharedMemory = false, complet{bundle.description && (<p className="t-micro text-gray-500 dark:text-gray-400 leading-snug mt-0.5 line-clamp-2">{bundle.description}</p>)}+ {addonLine && (+ <p className="mt-1.5 t-micro text-gray-500 dark:text-gray-400" data-bundle-addon-for={bundle.addonFor}>{addonLine}</p>+ )}{cardLine && (<pclassName="flex items-center gap-1.5 mt-1.5 t-micro text-gray-500 dark:text-gray-400"@@ -635,7 +642,7 @@ export function BundleTile({ bundle, lane, vramGb, sharedMemory = false, complet<div className="flex items-center gap-2 mt-2.5 min-h-[var(--control-h-sm)]"><SizePill bytes={plan.totalBytes} /><span className="text-[0.55rem] text-gray-400 dark:text-gray-500">{countLabel(bundle.files.length, 'file')}</span>- {!cardLine && <FitHint fit={fit} />}+ {!cardLine && !addonLine && <FitHint fit={fit} />}<div className="flex items-center gap-1 shrink-0 ml-auto">{complete ? (diff --git a/src/components/models/__tests__/bundle-tile-names-the-card.test.tsx b/src/components/models/__tests__/bundle-tile-names-the-card.test.tsxindex 06507b15..198f4991 100644--- a/src/components/models/__tests__/bundle-tile-names-the-card.test.tsx+++ b/src/components/models/__tests__/bundle-tile-names-the-card.test.tsx@@ -1,13 +1,13 @@import { describe, it, expect } from 'vitest'import { renderToStaticMarkup } from 'react-dom/server'import { BundleTile } from '../ModelTiles'-import { getImageBundles } from '../../../api/model-bundles'+import { getImageBundles, getVideoBundles } from '../../../api/model-bundles'// October 2026, the owner's 12 GB box: the catalogue said "10-16 GB" about// Z-Image and the card stood five minutes in the load. The tile now compares// the bundle with the detected card, in the place the fit hint always had.-const bundle = (name: string) => getImageBundles().find((b) => b.name === name)!+const bundle = (name: string) => [...getImageBundles(), ...getVideoBundles()].find((b) => b.name === name)!function tile(name: string, vramGb: number | null, sharedMemory = false): string {return renderToStaticMarkup(@@ -75,4 +75,21 @@ describe('a bundle tile compares itself with the detected card', () => {expect(html).not.toContain('data-bundle-fit')expect(html).not.toMatch(/your 12 GB card/)})++ // The box, 03.10.2026: the 1.82 GB turbo LoRA read "Needs more than your+ // 12 GB card". An add-on names what it belongs to and carries no verdict.+ it('an add-on says what it is for instead of a verdict', () => {+ const html = tile('MiniMax H3 Turbo LoRA · 8 Steps', 12)+ expect(html).toContain('data-bundle-addon-for="MiniMax H3"')+ expect(html).toContain('>For MiniMax H3<')+ expect(html).not.toContain('data-bundle-fit')+ expect(html).not.toMatch(/your 12 GB card/)+ expect(tile('Pixel Art XL · SDXL LoRA', 12)).toContain('>For SDXL models<')+ })++ it('FramePack fits a 12 GB card, as its own description says', () => {+ const html = tile('FramePack F1 (Image to Video)', 12)+ expect(html).toContain('runs on 6 GB VRAM')+ expect(html).toContain('Fits your 12 GB card')+ })})diff --git a/src/lib/__tests__/vram-fit.test.ts b/src/lib/__tests__/vram-fit.test.tsindex baf65420..7f52b278 100644--- a/src/lib/__tests__/vram-fit.test.ts+++ b/src/lib/__tests__/vram-fit.test.ts@@ -209,7 +209,8 @@ describe('every bundle in the catalogue carries the two numbers', () => {['LTX 2.5 · Small (GGUF Q4)', 16, 16, 'big big fits fits'],['AnimateDiff Lightning', 6, 8, 'fits fits fits fits'],['AnimateDiff v3', 6, 8, 'fits fits fits fits'],- ['FramePack F1 (Image to Video)', 6, 16.8, 'tight tight tight fits'],+ // States its own comfortable value: built to run on 6 GB (see the test below).+ ['FramePack F1 (Image to Video)', 6, 8, 'fits fits fits fits'],['SVD-XT 1.1 (Image to Video)', 12, 12, 'big fits fits fits'],['Mochi 1 Preview (FP8)', 16, 16, 'big big fits fits'],['NVIDIA Cosmos 7B', 24, 24, 'big big big fits'],@@ -224,6 +225,36 @@ describe('every bundle in the catalogue carries the two numbers', () => {['Wan 2.2 Animate Q4 (Motion Control, GGUF)', 10, 12.2, 'big tight fits fits'],]+ // The box, 03.10.2026: the 1.82 GB turbo LoRA read "Needs more than your+ // 12 GB card", inherited from MiniMax H3's "24+ GB". The numbers stay (sort+ // and size filters), the card shows what the add-on is for (ModelTiles).+ it('the add-ons name what they belong to', () => {+ expect(allBundles().filter((b) => b.addonFor).map((b) => [b.name, b.addonFor])).toEqual([+ ['SDXL VAE (fp16-fix) · addon', 'SDXL models'],+ ['Pixel Art XL · SDXL LoRA', 'SDXL models'],+ ['MiniMax H3 Turbo LoRA · 8 Steps', 'MiniMax H3'],+ ])+ // Every LoRA add-on of the catalogue is one of them.+ for (const b of getLoraAddonBundles()) expect(b.addonFor, b.name).toBeTruthy()+ })++ // The same day: FramePack's description says "runs on 6 GB VRAM", its verdict+ // said "Tight" on 12 GB, because its 15.3 GB model is larger than the card.+ // The model is built to run that way, and the bundle states so.+ it('a stated comfortable value stands against the largest-weight rule', () => {+ const framepack = allBundles().find((b) => b.name === 'FramePack F1 (Image to Video)')!+ expect(framepack.description).toContain('runs on 6 GB VRAM')+ expect(framepack.vramComfortStatedGB).toBe(8)+ expect(vramFit(framepack, 12)).toBe('fits')+ expect(vramFit(framepack, 6)).toBe('tight')+ expect(vramFit(framepack, 4)).toBe('big')+ // Without the statement the rule would raise it to the 15.3 GB weight.+ expect(deriveVramNeed({ vramRequired: '6-8 GB', files: [{ sizeGB: 15.3 }] })).toEqual({ vramMinGB: 6, vramComfortGB: 16.8 })+ expect(deriveVramNeed({ vramRequired: '6-8 GB', vramComfortStatedGB: 8, files: [{ sizeGB: 15.3 }] })).toEqual({ vramMinGB: 6, vramComfortGB: 8 })+ // Nothing else in the catalogue claims it.+ expect(allBundles().filter((b) => b.vramComfortStatedGB != null).map((b) => b.name)).toEqual(['FramePack F1 (Image to Video)'])+ })+it('and the table of all of them holds', () => {const all = allBundles()expect(all.filter((b) => !NO_NUMBER.includes(b.name)).map((b) => b.name)).toEqual(TABLE.map((row) => row[0]))diff --git a/src/lib/vram-fit.ts b/src/lib/vram-fit.tsindex a189c700..a3727d0e 100644--- a/src/lib/vram-fit.ts+++ b/src/lib/vram-fit.ts@@ -57,6 +57,13 @@ export type VramFit = 'fits' | 'tight' | 'big' | 'unknown'interface NeedSource {vramRequired?: stringfiles?: readonly { sizeGB?: number }[]+ /**+ * The comfortable value as the model's authors state it, for a model that is+ * built to run with most of its weights outside graphics memory. It replaces+ * the largest-weight rule, which would call such a model tight on every card+ * smaller than its file. Only beside a source that says so.+ */+ vramComfortStatedGB?: number}function round1(n: number): number {@@ -80,6 +87,8 @@ export function largestWeightGb(files: readonly { sizeGB?: number }[] = []): num* In every case the comfortable value is raised to the largest weight plus* working memory, so a span whose upper end is below its own diffusion model* (FLUX.1 FP8: "8-10 GB" beside a 16.1 GB file) cannot call a 12 GB card a fit.+ * The one exception is a bundle that states its comfortable value itself+ * (`vramComfortStatedGB`): that number stands as written.*/export function deriveVramNeed(source: NeedSource): VramNeed | null {const text = (source.vramRequired ?? '').trim()@@ -103,6 +112,9 @@ export function deriveVramNeed(source: NeedSource): VramNeed | null {} else {return null}+ if (typeof source.vramComfortStatedGB === 'number') {+ return { vramMinGB: min, vramComfortGB: source.vramComfortStatedGB }+ }const largest = largestWeightGb(source.files)const weight = largest > 0 ? round1(largest + VRAM_WORKING_GB) : 0return { vramMinGB: min, vramComfortGB: Math.max(top, weight) }