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.

fix(create): MiniMax H3 Image is a still model, not H3 video (C78)

purpled7514eaaeeb0
diff --git a/src-tauri/src/commands/model_sniff.rs b/src-tauri/src/commands/model_sniff.rs
index 32c8e7e7..e2532029 100644
--- a/src-tauri/src/commands/model_sniff.rs
+++ b/src-tauri/src/commands/model_sniff.rs
@@ -97,6 +97,12 @@ pub fn classify<'a>(tensors: impl IntoIterator<Item = (&'a str, Option<&'a [u64]
// MiniMax H3: picture and sound from one model (Discord 2026-09-26,
// a CivitAI repack listed as an image model).
Some("minimaxh3")
+ } else if has("video_patch_proj") && has("token_refiner") && has("adaln_t_table") {
+ // MiniMax H3 Image (Comfy-Org/MiniMax-H3-Image, 08.11.2026): the H3
+ // layout without the sound half. A still model, not a video one
+ // (C78, Discord feature-requests 11.11.2026). Read off the header of
+ // minimax_h3_image_pruned_w4a8 on 12.11.2026.
+ Some("minimaxh3image")
} else if has("double_stream_modulation_img") {
Some("flux2")
} else if has("distilled_guidance_layer") {
@@ -264,6 +270,11 @@ mod tests {
assert_eq!(arch(&["model.diffusion_model.joint_blocks.0.x", "text_encoders.clip_l.x"]).as_deref(), Some("sd3"));
assert_eq!(arch(&["blocks.0.x", "patch_embedding.weight", "text_embedding.0.weight"]).as_deref(), Some("wan"));
assert_eq!(arch(&["blocks.0.attn.qkv_proj.weight", "token_refiner.0.x", "audio_patch_proj.weight", "video_patch_proj.weight", "adaln_t_table"]).as_deref(), Some("minimaxh3"));
+ // H3 Image: the picture half with the H3 refiner and time table (C78).
+ assert_eq!(
+ arch(&["blocks.0.attn.qkv.weight", "token_refiner.0.x", "video_patch_proj.weight", "adaln_t_table", "condition_proj.weight", "final_layer.linear.weight", "rope"]).as_deref(),
+ Some("minimaxh3image")
+ );
// One half alone is not H3.
assert_eq!(arch(&["blocks.0.x", "video_patch_proj.weight"]), None);
assert_eq!(arch(&["foo.weight"]), None);
diff --git a/src/api/__tests__/minimax-h3-image-is-a-still-c78.test.ts b/src/api/__tests__/minimax-h3-image-is-a-still-c78.test.ts
new file mode 100644
index 00000000..9acc36da
--- /dev/null
+++ b/src/api/__tests__/minimax-h3-image-is-a-still-c78.test.ts
@@ -0,0 +1,69 @@
+/**
+ * C78 (Discord feature-requests, 11.11.2026): a local MiniMax H3 Image file
+ * landed in the video lane, because every "minimax_h3" name was taken for the
+ * H3 video model. The image variant (Comfy-Org/MiniMax-H3-Image, 08.11.2026)
+ * is a still model on the H3 layout without the sound half. The name says so
+ * where it can; the header (model_sniff.rs) says so where it cannot.
+ *
+ * Run: npx vitest run src/api/__tests__/minimax-h3-image-is-a-still-c78.test.ts
+ */
+import { describe, it, expect, vi, beforeEach } from 'vitest'
+
+const backend = vi.hoisted(() => ({ call: vi.fn(), tauri: vi.fn(() => true) }))
+vi.mock('../backend', async (o) => ({ ...(await o<typeof import('../backend')>()), backendCall: backend.call, isTauri: backend.tauri }))
+
+import { applyHeaderSniff, classifyModel, isImageModelType, isVideoModelType, type ClassifiedModel } from '../comfyui'
+import { determineStrategy, MINIMAX_H3_IMAGE_NO_BUILDER } from '../dynamic-workflow'
+
+const sniffs = (arch: Record<string, string | null>) =>
+ backend.call.mockReset().mockImplementation(async (_cmd: string, args: { files: Array<{ folder: string; name: string }> }) =>
+ args.files.map((f) => ({ ...f, arch: arch[f.name] ?? null, hasTextEncoder: false, hasVae: false })))
+
+beforeEach(() => backend.tauri.mockReturnValue(true))
+
+describe('MiniMax H3 Image is a still model', () => {
+ it('the official names go to the image lane, the video names stay video', () => {
+ for (const n of ['minimax_h3_image_pruned_w4a8.safetensors', 'minimax_h3_image_pruned_int8_convrot.safetensors', 'MiniMax-H3-Image-Q8_0.gguf', 'minimaxh3image_v1.safetensors']) {
+ expect(classifyModel(n), n).toBe('minimaxh3image')
+ expect(isImageModelType(classifyModel(n))).toBe(true)
+ expect(isVideoModelType(classifyModel(n))).toBe(false)
+ }
+ for (const n of ['minimax_h3_ref2va_pruned_w6a8.safetensors', 'minimax_h3_fl2va_pruned_fp8_scaled.safetensors', 'fastvideo_fasth3_8step_v2_bf16.safetensors']) {
+ expect(classifyModel(n), n).toBe('minimaxh3')
+ }
+ })
+
+ it('a name that says only "minimax_h3" is moved to the image lane by its header', async () => {
+ sniffs({ 'minimax_h3_nsfw_v2.safetensors': 'minimaxh3image', 'minimax_h3_ref2va_pruned_w6a8.safetensors': 'minimaxh3' })
+ const models: ClassifiedModel[] = [
+ { name: 'minimax_h3_nsfw_v2.safetensors', type: classifyModel('minimax_h3_nsfw_v2.safetensors'), source: 'diffusion_model' },
+ { name: 'minimax_h3_ref2va_pruned_w6a8.safetensors', type: 'minimaxh3', source: 'diffusion_model' },
+ ]
+ expect(models[0].type).toBe('minimaxh3')
+ await applyHeaderSniff(models)
+ expect(models.map((m) => m.type)).toEqual(['minimaxh3image', 'minimaxh3'])
+ // The video file is as it was: no parts recorded for it.
+ expect(models[1].parts).toBeUndefined()
+ })
+
+ it('a name of no family is placed by the header as well', async () => {
+ sniffs({ 'h3img_realism.safetensors': 'minimaxh3image' })
+ const models: ClassifiedModel[] = [{ name: 'h3img_realism.safetensors', type: 'unknown', source: 'diffusion_model' }]
+ await applyHeaderSniff(models)
+ expect(models[0].type).toBe('minimaxh3image')
+ })
+
+ it('the header never turns an H3 video name into another video family', async () => {
+ sniffs({ 'minimax_h3_odd.safetensors': 'wan' })
+ const models: ClassifiedModel[] = [{ name: 'minimax_h3_odd.safetensors', type: 'minimaxh3', source: 'diffusion_model' }]
+ await applyHeaderSniff(models)
+ expect(models[0].type).toBe('minimaxh3')
+ })
+
+ it('LU\'s own builder says what to do instead of building a wrong graph', () => {
+ const nodes = { loaders: ['UNETLoader', 'CLIPLoader', 'VAELoader', 'CheckpointLoaderSimple'], samplers: ['KSampler'], latentImage: [], textEncoders: [], decoders: [], savers: [], other: [] }
+ const r = determineStrategy('minimaxh3image', false, nodes as never, {} as never)
+ expect(r).toEqual({ strategy: 'unavailable', reason: MINIMAX_H3_IMAGE_NO_BUILDER })
+ expect(r.reason).toContain('MiniMax-H3-Image: Text to Image')
+ })
+})
diff --git a/src/api/__tests__/own-workflow-gets-the-lora-stack-c72.test.ts b/src/api/__tests__/own-workflow-gets-the-lora-stack-c72.test.ts
index 07226627..68bec033 100644
--- a/src/api/__tests__/own-workflow-gets-the-lora-stack-c72.test.ts
+++ b/src/api/__tests__/own-workflow-gets-the-lora-stack-c72.test.ts
@@ -92,7 +92,7 @@ describe('the LoRA stack in a workflow of the user\'s own', () => {
'5': { class_type: 'KSamplerAdvanced', inputs: { model: ['1', 0], positive: ['4', 0] } },
'6': { class_type: 'KSamplerAdvanced', inputs: { model: ['2', 0], positive: ['4', 0] } },
}
- const out = await injectParameters(wf, { model: { nodeId: '1', inputKey: 'unet_name' } }, params({ model: 'wan22_high.safetensors', lora: 'detail_slider' }), 'wan')
+ const out = await injectParameters(wf, { model: { nodeId: '1', inputKey: 'unet_name', loaderType: 'unet' } }, params({ model: 'wan22_high.safetensors', lora: 'detail_slider' }), 'wan')
const high = out[String((out['5'].inputs?.model as [string, number])[0])]
const low = out[String((out['6'].inputs?.model as [string, number])[0])]
expect(high.class_type).toBe('LoraLoader')
diff --git a/src/api/comfyui.ts b/src/api/comfyui.ts
index f4f76abf..781983b6 100644
--- a/src/api/comfyui.ts
+++ b/src/api/comfyui.ts
@@ -189,7 +189,7 @@ export function galleryTypeForFile(
// 2.5.8: ace / wans2v / wananimate / wanvace are the specialized local-lane
// architectures (music, talking character, motion control). They are neither
// image nor video picker material — each lane has its own model list.
-export type ModelType = 'flux' | 'flux2' | 'krea2' | 'zimage' | 'ernie_image' | 'qwenimage' | 'qwenimage1' | 'chroma' | 'hidream' | 'sd3' | 'lumina2' | 'sdxl' | 'sd15' | 'wan' | 'wan22' | 'hunyuan' | 'ltx' | 'ltx25' | 'mochi' | 'cosmos' | 'cogvideo' | 'svd' | 'framepack' | 'pyramidflow' | 'allegro' | 'ace' | 'yue2' | 'wans2v' | 'wananimate' | 'wanvace' | 'animatediff' | 'minimaxh3' | 'unknown'
+export type ModelType = 'flux' | 'flux2' | 'krea2' | 'zimage' | 'ernie_image' | 'qwenimage' | 'qwenimage1' | 'chroma' | 'hidream' | 'sd3' | 'lumina2' | 'sdxl' | 'sd15' | 'wan' | 'wan22' | 'hunyuan' | 'ltx' | 'ltx25' | 'mochi' | 'cosmos' | 'cogvideo' | 'svd' | 'framepack' | 'pyramidflow' | 'allegro' | 'ace' | 'yue2' | 'wans2v' | 'wananimate' | 'wanvace' | 'animatediff' | 'minimaxh3' | 'minimaxh3image' | 'unknown'
export type VideoBackend = 'wan' | 'animatediff' | 'none'
export interface ClassifiedModel {
@@ -307,6 +307,12 @@ const KNOWN_MODELS: Record<string, ModelType> = {
absolutereality: 'sd15',
}
+/** C78: a file name of MiniMax H3 Image (minimax_h3_image_pruned_w4a8,
+ * MiniMax-H3-Image-Q8_0.gguf, minimaxh3image_*). */
+export function isMinimaxH3ImageName(name: string): boolean {
+ return /minimax[_-]?h3[_-]?image/.test(name.toLowerCase())
+}
+
/** FastVideo's distilled MiniMax H3 (fastvideo_fasth3_8step_v2_*). A full
* checkpoint, not a LoRA, and it only does text to video: the model card says
* the first/last frame and reference tasks were not distilled. */
@@ -376,6 +382,10 @@ export function classifyModel(name: string | null | undefined): ModelType {
// generic tag: its CivitAI repacks carry anything in their names.
// FastH3 (FastVideo's 8 step distillation of H3) is the same architecture
// under a file name that never says "minimax": fastvideo_fasth3_8step_v2_*.
+ // MiniMax H3 Image (Comfy-Org/MiniMax-H3-Image, minimax_h3_image_*) is a
+ // still model on the H3 layout, not a video (C78). The header decides for a
+ // name that says neither (model_sniff.rs, applyHeaderSniff).
+ if (isMinimaxH3ImageName(lower)) return 'minimaxh3image'
if (lower.includes('minimax_h3') || lower.includes('minimaxh3') || lower.includes('minimax-h3') || isFastH3(lower)) return 'minimaxh3'
// Video models — most specific first (order matters: specific before generic)
@@ -488,7 +498,7 @@ export function hidreamSampling(model: string): { steps: number; cfg: number; sa
export function isImageModelType(type: ModelType): boolean {
return type === 'flux' || type === 'flux2' || type === 'krea2' || type === 'zimage' || type === 'ernie_image' || type === 'qwenimage'
|| type === 'qwenimage1' || type === 'chroma' || type === 'hidream' || type === 'sd3' || type === 'lumina2'
- || type === 'sdxl' || type === 'sd15' || type === 'unknown'
+ || type === 'sdxl' || type === 'sd15' || type === 'minimaxh3image' || type === 'unknown'
}
export function isVideoModelType(type: ModelType): boolean {
@@ -755,6 +765,10 @@ export const MODEL_TYPE_DEFAULTS: Record<string, ModelTypeDefaults> = {
// read 2026-10-01): res_multistep / simple, 20 steps, BasicGuider (no CFG),
// 1344x768 native canvas, 24 fps, 124 frames is the node's ~5 s default.
minimaxh3: { steps: 20, cfg: 1.0, sampler: 'res_multistep', scheduler: 'simple', width: 1344, height: 768, frames: 124, fps: 24 },
+ // C78: MiniMax H3 Image, official template image_minimax_h3_image_t2i (read
+ // 12.11.2026): KSampler 6 steps at CFG 1 on euler / simple. The template
+ // note says it works badly below about 4 MP, so 2048 x 2048.
+ minimaxh3image: { steps: 6, cfg: 1.0, sampler: 'euler', scheduler: 'simple', width: 2048, height: 2048, frames: 1, fps: 1 },
mochi: { steps: 30, cfg: 4.5, sampler: 'euler', scheduler: 'normal', width: 848, height: 480, frames: 84, fps: 24 },
cosmos: { steps: 35, cfg: 7.0, sampler: 'euler', scheduler: 'normal', width: 1024, height: 1024, frames: 121, fps: 24 },
cogvideo: { steps: 50, cfg: 6.0, sampler: 'euler_ancestral', scheduler: 'normal', width: 480, height: 480, frames: 49, fps: 8 },
@@ -1227,12 +1241,19 @@ const SNIFF_TYPES: Record<string, ModelType> = {
flux: 'flux', flux2: 'flux2', krea2: 'krea2', zimage: 'zimage', ernie_image: 'ernie_image',
qwenimage: 'qwenimage', qwenimage1: 'qwenimage1', chroma: 'chroma', hidream: 'hidream',
sd3: 'sd3', lumina2: 'lumina2', sdxl: 'sdxl', sd15: 'sd15', wan: 'wan', minimaxh3: 'minimaxh3',
+ minimaxh3image: 'minimaxh3image',
}
/** Name types the header may overrule: the image families and 'unknown'. A
* video or lane name keeps its name type, because Wan 2.1 and 2.2 (and S2V,
* Animate, VACE) share one tensor layout and only the name tells them apart. */
-const SNIFF_OVERRULES = (t: ModelType) => isImageModelType(t)
+const SNIFF_OVERRULES = (t: ModelType) => isImageModelType(t) || t === 'minimaxh3'
+
+/** C78: a name taken for H3 video may only be turned into H3 Image by its
+ * header. The other video families share layouts the header cannot tell apart. */
+function headerMayRetype(from: ModelType, to: ModelType): boolean {
+ return from !== 'minimaxh3' || to === 'minimaxh3image'
+}
/**
* Discord 2026-09-26..28: a CivitAI name
@@ -1264,10 +1285,12 @@ export async function applyHeaderSniff(models: ClassifiedModel[]): Promise<void>
if (!a?.arch) continue
if (a.arch === 'vae' || a.arch === 'text_encoder') { drop.add(m); continue }
const type = SNIFF_TYPES[a.arch]
- if (type && type !== m.type) {
+ if (type && type !== m.type && headerMayRetype(m.type, type)) {
log.info('comfyui.header_sniff_retyped', { name: m.name, from: m.type, to: type })
m.type = type
}
+ // An H3 video file keeps the answer it always had: no parts.
+ if (m.type === 'minimaxh3') continue
m.parts = { textEncoder: !!a.hasTextEncoder, vae: !!a.hasVae }
}
if (drop.size > 0) {
diff --git a/src/api/dynamic-workflow.ts b/src/api/dynamic-workflow.ts
index 4896814f..8ad23390 100644
--- a/src/api/dynamic-workflow.ts
+++ b/src/api/dynamic-workflow.ts
@@ -122,6 +122,12 @@ interface StrategyResult {
* 0.35.0, YuE2 in 0.36.0. "Update ComfyUI" in the text is what Create keys the
* one click update on (needsComfyUpdate). */
export const LTX25_NEEDS_UPDATE = 'LTX 2.5 needs ComfyUI 0.32.0 or newer. Update ComfyUI in Settings.'
+
+/** C78: what Create says for MiniMax H3 Image, a still model on the H3
+ * layout that LU has no graph for yet. */
+export const MINIMAX_H3_IMAGE_NO_BUILDER =
+ 'MiniMax H3 Image has no workflow built into LU yet. Save the ComfyUI template "MiniMax-H3-Image: Text to Image", '
+ + 'import it under Workflows and assign it to this model. Create then runs it with your prompt, size and LoRAs.'
/** A step distillation LoRA names its step count (minimax_h3_fl2v_turbo_8step_...). */
const H3_STEP_LORA = /turbo\D*?(\d+)\s*_?steps?/i
export const FASTH3_NEEDS_UPDATE = 'FastH3 needs ComfyUI 0.35.0 or newer. Update ComfyUI in Settings.'
@@ -133,6 +139,13 @@ export function determineStrategy(
nodes: CategorizedNodes,
models: AvailableModels,
): StrategyResult {
+ // C78: MiniMax H3 Image has no graph of LU's own yet. Its workflow is the
+ // official template; imported under Workflows and assigned to the model,
+ // Create runs it with the prompt, size and LoRAs (workflows.ts).
+ if (modelType === 'minimaxh3image') {
+ return { strategy: 'unavailable', reason: MINIMAX_H3_IMAGE_NO_BUILDER }
+ }
+
const hasUNET = nodes.loaders.includes('UNETLoader')
const hasCheckpoint = nodes.loaders.includes('CheckpointLoaderSimple')
const hasCLIPLoader = nodes.loaders.includes('CLIPLoader')
diff --git a/src/api/workflows.ts b/src/api/workflows.ts
index 48117dc6..8c58843a 100644
--- a/src/api/workflows.ts
+++ b/src/api/workflows.ts
@@ -323,7 +323,7 @@ export async function injectParameters(
'This workflow has no model loader LU can put a LoRA behind. Add a LoraLoader to the workflow in ComfyUI, or clear the LoRA stack.',
)
}
- log.info('[workflows] LoRA stack', lora)
+ log.info('[workflows] LoRA stack', { added: lora.added, alreadyThere: lora.alreadyThere })
}
log.info('[workflows] Injected workflow nodes', { nodes: apiNodes(wf).map(([id, n]) =>
diff --git a/src/components/create/experimental/badges.ts b/src/components/create/experimental/badges.ts
index a4df122e..bcfad8c3 100644
--- a/src/components/create/experimental/badges.ts
+++ b/src/components/create/experimental/badges.ts
@@ -24,6 +24,7 @@ export const TYPE_LABEL: Record<ModelType, string> = {
ltx: 'LTX',
ltx25: 'LTX 2.5',
minimaxh3: 'MiniMax H3',
+ minimaxh3image: 'MiniMax H3 Image',
mochi: 'Mochi',
cosmos: 'Cosmos',
cogvideo: 'CogVideo',
diff --git a/src/lib/own-workflow-fit.ts b/src/lib/own-workflow-fit.ts
index 895d1dcd..39b805b9 100644
--- a/src/lib/own-workflow-fit.ts
+++ b/src/lib/own-workflow-fit.ts
@@ -12,7 +12,7 @@
import type { ComfyModelSource } from '../types/models'
-const UNET_FAMILIES = new Set(['flux', 'flux2', 'zimage', 'wan', 'wan22', 'hunyuan', 'ltx25'])
+const UNET_FAMILIES = new Set(['flux', 'flux2', 'zimage', 'wan', 'wan22', 'hunyuan', 'ltx25', 'minimaxh3image'])
export function modelNeedsUnetLoader(type: string, source?: ComfyModelSource): boolean {
if (source === 'diffusion_model') return true
diff --git a/src/stores/createStore.ts b/src/stores/createStore.ts
index 2dd9c963..22a2560c 100644
--- a/src/stores/createStore.ts
+++ b/src/stores/createStore.ts
@@ -224,6 +224,7 @@ export const MODEL_TYPE_DEFAULTS: Record<ModelType, {
ltx: { steps: 20, cfgScale: 1.0, sampler: 'euler', scheduler: 'simple', width: 768, height: 512, frames: 97, fps: 24 },
ltx25: { steps: 8, cfgScale: 1.0, sampler: 'euler_ancestral', scheduler: 'simple', width: 1280, height: 704, frames: 121, fps: 24 },
minimaxh3: { steps: 20, cfgScale: 1.0, sampler: 'res_multistep', scheduler: 'simple', width: 1344, height: 768, frames: 124, fps: 24 },
+ minimaxh3image: { steps: 6, cfgScale: 1.0, sampler: 'euler', scheduler: 'simple', width: 2048, height: 2048, frames: 1, fps: 1 },
mochi: { steps: 40, cfgScale: 4.5, sampler: 'euler', scheduler: 'normal', width: 848, height: 480, frames: 49, fps: 24 },
cosmos: { steps: 30, cfgScale: 7.0, sampler: 'euler', scheduler: 'normal', width: 1280, height: 704, frames: 57, fps: 24 },
cogvideo: { steps: 50, cfgScale: 6.0, sampler: 'euler', scheduler: 'normal', width: 720, height: 480, frames: 49, fps: 8 },