Skip to content

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.

feat(models): MiniMax H3 Reference is a download on the Models tab (W23)

purplecf5f2153ac10
diff --git a/src/api/__tests__/comfyui-bundles.test.ts b/src/api/__tests__/comfyui-bundles.test.ts
index c0b73037..11baba30 100644
--- a/src/api/__tests__/comfyui-bundles.test.ts
+++ b/src/api/__tests__/comfyui-bundles.test.ts
@@ -11,7 +11,7 @@ describe('Video Bundle Definitions', () => {
bundles = getVideoBundles()
})
- it('has 18 video bundles', () => {
+ it('has 22 video bundles', () => {
// 14 original - Allegro (diffusers only) + CogVideoX 2B replaced by 5B I2V,
// + Wan 2.2 TI2V-5B (unified T2V/I2V, 2026-06-11); 2.5.8 adds the two
// uncensored GGUF finetunes (NSFW Wan 14B t2v + Wan 2.2 Rapid AIO i2v).
@@ -20,8 +20,9 @@ describe('Video Bundle Definitions', () => {
// wrapper registers. See wrapper-node-names.test.ts. 2026-10-01 adds
// MiniMax H3 (video with sound). 2026-10-02 adds LTX 2.5 and FastH3.
// 2026-10-03 adds the MiniMax H3 turbo LoRA as an add-on. 3.0.9 (B18)
- // adds Wan 2.2 A14B I2V and T2V Fast and the Wan 2.1 speed LoRAs.
- expect(bundles.length).toBe(21)
+ // adds Wan 2.2 A14B I2V and T2V Fast and the Wan 2.1 speed LoRAs. 3.1.0
+ // (W23) adds MiniMax H3 Reference.
+ expect(bundles.length).toBe(22)
})
it('every bundle has required fields', () => {
diff --git a/src/api/__tests__/h3-reference-is-a-download.test.ts b/src/api/__tests__/h3-reference-is-a-download.test.ts
new file mode 100644
index 00000000..1e43aab4
--- /dev/null
+++ b/src/api/__tests__/h3-reference-is-a-download.test.ts
@@ -0,0 +1,83 @@
+/**
+ * W23 (Discord 2026-11-12): the H3 builder runs MiniMax H3 Reference (ref2va,
+ * up to nine references) since B38, but the Models tab offered only the
+ * fl2va file and FastH3, so nobody could get the model it needs.
+ *
+ * Read from the Hugging Face tree API and an anonymous HEAD on 2026-11-13:
+ * Comfy-Org/MiniMax-H3, not gated, diffusion_models/minimax_h3_ref2va_pruned_
+ * int8_convrot.safetensors, 20970379616 bytes, LFS sha256 9255f52b...
+ *
+ * Run: npx vitest run src/api/__tests__/h3-reference-is-a-download.test.ts
+ */
+import { describe, it, expect, vi } from 'vitest'
+
+vi.mock('../backend', async (importOriginal) => {
+ const actual = await importOriginal<typeof import('../backend')>()
+ return { ...actual, backendCall: vi.fn(), localFetch: vi.fn(), comfyuiUrl: (p: string) => `http://test${p}` }
+})
+
+import { getVideoBundles } from '../model-bundles'
+import { lookupFileMeta, checkBundlesInstalled } from '../discover'
+import { bundleForVideoIntent, classifyModel } from '../comfyui'
+import { localAnimateReferenceSlots } from '../../lib/frame-refs'
+import { backendCall } from '../backend'
+
+const FILE = 'minimax_h3_ref2va_pruned_int8_convrot.safetensors'
+const SHA = '9255f52b6677845ad238f20dfaafa94727053694127ab7f255c048f0f9365779'
+const BYTES = 20970379616
+const GIB = 1024 ** 3
+
+const all = () => getVideoBundles()
+const ref = () => all().find((b) => b.files.some((f) => f.filename === FILE))!
+const fl2va = () => all().find((b) => b.name === 'MiniMax H3 · Video with Sound')!
+
+describe('MiniMax H3 Reference is on the Models tab', () => {
+ it('its own bundle, with URL, folder, size and sha256 as Hugging Face states them', () => {
+ const b = ref()
+ expect(b).toBeDefined()
+ expect(b.name).toMatch(/^MiniMax H3 Reference/)
+ expect(b.workflow).toBe('minimaxh3')
+ const f = b.files[0]
+ expect(f.downloadUrl).toBe(`https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/${FILE}`)
+ expect(f.sizeBytes).toBe(BYTES)
+ expect(f.sha256).toBe(SHA)
+ expect(f.sizeGB).toBeCloseTo(BYTES / GIB, 2)
+ const sum = b.files.reduce((t, x) => t + (x.sizeGB ?? 0), 0)
+ expect(b.totalSizeGB).toBeCloseTo(sum, 0)
+ })
+
+ it('the same folder as the fl2va model, and the shared parts are the very same entries', () => {
+ const [main, ...shared] = ref().files
+ const [h3Main, ...h3Shared] = fl2va().files
+ expect(main.subfolder).toBe(h3Main.subfolder)
+ expect(shared).toEqual(h3Shared)
+ // No file of the shared set is defined twice in the catalog with other values.
+ for (const f of shared) expect(lookupFileMeta(f.filename!)).toMatchObject({ url: f.downloadUrl, subfolder: f.subfolder })
+ })
+
+ it('a machine that has MiniMax H3 sees only the reference model missing', async () => {
+ const b = ref()
+ vi.mocked(backendCall).mockResolvedValueOnce(b.files.map((f) => ({
+ filename: f.filename, exists: f.filename !== FILE, actualBytes: f.filename === FILE ? 0 : f.sizeBytes ?? Math.round((f.sizeGB ?? 0) * GIB), complete: f.filename !== FILE,
+ })) as never)
+ expect(await checkBundlesInstalled([b])).toEqual({ [b.name]: false })
+ })
+
+ it('a retry or resume finds the same URL, folder and checksum', () => {
+ expect(lookupFileMeta(FILE)).toMatchObject({ url: ref().files[0].downloadUrl, subfolder: 'diffusion_models', sha256: SHA })
+ })
+
+ it('the builder reads it as H3 with nine references, and the fl2va bundle stays the starter', () => {
+ expect(classifyModel(FILE)).toBe('minimaxh3')
+ expect(localAnimateReferenceSlots(FILE)).toBe(8)
+ expect(all().find((b) => b.workflow === 'minimaxh3')!.name).toBe('MiniMax H3 · Video with Sound')
+ expect(bundleForVideoIntent(all(), 'video')?.name).not.toBe(ref().name)
+ })
+
+ it('the Turbo LoRA stays right behind the H3 bundle, the card text has no dash characters', () => {
+ const names = all().map((b) => b.name)
+ expect(names[names.indexOf('MiniMax H3 Turbo LoRA · 8 Steps') - 1]).toBe('MiniMax H3 · Video with Sound')
+ for (const t of [ref().name, ref().description, ref().files[0].name, ref().files[0].description]) expect(t).not.toMatch(/[–—]/)
+ expect(ref().description.length).toBeLessThanOrEqual(170)
+ })
+})
diff --git a/src/api/model-bundles.ts b/src/api/model-bundles.ts
index 1f24dae8..294fd256 100644
--- a/src/api/model-bundles.ts
+++ b/src/api/model-bundles.ts
@@ -1360,6 +1360,36 @@ export function getVideoBundles(): ModelBundle[] {
},
],
},
+ // MiniMax H3 Reference (W23, Discord 2026-11-12: the ref2va file was
+ // nowhere to download, though the H3 builder runs it since B38 with up to
+ // nine references, MiniMaxH3ReferenceToVideo). The file is the pruned
+ // int8 tier of the official Comfy-Org/MiniMax-H3 repo, the same tier as
+ // the fl2va bundle. Byte count and SHA-256 are the repo's LFS values, read
+ // from the Hugging Face tree API and an anonymous HEAD on 2026-11-13 (not
+ // gated). Same folder as fl2va; the encoder and the VAEs are the shared
+ // H3 files, so a machine with MiniMax H3 or FastH3 fetches only the model.
+ {
+ name: 'MiniMax H3 Reference · Video from Pictures',
+ description: 'MiniMax H3 with up to 9 reference pictures of who or what is in the clip, with its own sound. Shares its text encoder and VAEs with MiniMax H3.',
+ tags: ['MiniMax H3', 'Audio', 'References'],
+ totalSizeGB: 38.6,
+ vramRequired: '24+ GB',
+ workflow: 'minimaxh3',
+ tier: 'best',
+ url: 'https://huggingface.co/Comfy-Org/MiniMax-H3',
+ files: [
+ {
+ name: 'MiniMax H3 ref2va (int8)',
+ description: 'Main model, references to video with sound.',
+ pulls: '', tags: ['Model', '19.5 GB'], updated: 'New',
+ downloadUrl: 'https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors',
+ filename: 'minimax_h3_ref2va_pruned_int8_convrot.safetensors', subfolder: 'diffusion_models', sizeGB: 19.53,
+ sizeBytes: 20970379616,
+ sha256: '9255f52b6677845ad238f20dfaafa94727053694127ab7f255c048f0f9365779',
+ },
+ ...H3_SHARED_FILES,
+ ],
+ },
// FastH3 (FastVideo, 8 step distilled MiniMax H3). A full checkpoint of its
// own, not a LoRA: FastVideo/FastVideo-FastH3-Comfy ships the distilled
// weights as diffusion_models/fastvideo_fasth3_8step_v2_pruned_*.safetensors.
diff --git a/src/lib/__tests__/vram-fit.test.ts b/src/lib/__tests__/vram-fit.test.ts
index c100134d..51162fa8 100644
--- a/src/lib/__tests__/vram-fit.test.ts
+++ b/src/lib/__tests__/vram-fit.test.ts
@@ -213,6 +213,7 @@ describe('every bundle in the catalogue carries the two numbers', () => {
['LTX Video 2.3 · 22B FP8', 16, 29, 'big big tight tight'],
['MiniMax H3 · Video with Sound', 24, 24, 'big big big fits'],
['MiniMax H3 Turbo LoRA · 8 Steps', 24, 24, 'big big big fits'],
+ ['MiniMax H3 Reference · Video from Pictures', 24, 24, 'big big big fits'],
['FastH3 · MiniMax H3 in 8 Steps', 24, 24, 'big big big fits'],
['LTX 2.5 · Video with Sound', 24, 24, 'big big big fits'],
['LTX 2.5 · Small (GGUF Q4)', 16, 16, 'big big fits fits'],
diff --git a/src/lib/render/__tests__/local-model-tier.test.ts b/src/lib/render/__tests__/local-model-tier.test.ts
index ed93cc2c..23fe0339 100644
--- a/src/lib/render/__tests__/local-model-tier.test.ts
+++ b/src/lib/render/__tests__/local-model-tier.test.ts
@@ -25,9 +25,10 @@ const mainFile = (b: ModelBundle) =>
const tierOfFile = (name: string) => localTier({ name, type: classifyModel(name) })
describe('jedes lokale Bundle traegt eine Stufe', () => {
- it('alle 46 Bundles haben best, standard oder older', () => {
+ it('alle 47 Bundles haben best, standard oder older', () => {
// B18 (3.0.9): Wan 2.2 A14B I2V und T2V Fast, Wan 2.1 Speed-LoRAs.
- expect(ALL.length).toBe(46)
+ // W23 (3.1.0): MiniMax H3 Reference.
+ expect(ALL.length).toBe(47)
for (const b of ALL) expect(['best', 'standard', 'older'], b.name).toContain(b.tier)
})