Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

fix(video): replace the 4-step Ref2V Turbo starter with LightX2V 8-step v1.0

Lincoln Steinf4a726b102b6
diff --git a/docs/src/content/docs/concepts/video-generation.mdx b/docs/src/content/docs/concepts/video-generation.mdx
index 5ec3cacebe..7ca0647021 100644
--- a/docs/src/content/docs/concepts/video-generation.mdx
+++ b/docs/src/content/docs/concepts/video-generation.mdx
@@ -196,7 +196,7 @@ The **MiniMax H3** starter bundle (~85 GB) installs the working set:
* **MiniMax H3 Components** (~11 GB) — the Diffusers-format main: tokenizer, processor, and the video + audio VAEs. **This is the model you select in the Video panel.**
* **MiniMax H3 FL2VA Transformer (int8, pruned)** and **MiniMax H3 Ref2VA Transformer (int8, pruned)** (~21 GB each) plus **MiniMax H3 Text Encoder (int8)** (~27 GB) — single-file builds that slot into the panel's **Model Components** overrides (the bundled templates and the panel wire them the same way). The transformer you pick decides the task: FL2VA for the frame/extend modes, Ref2VA for reference conditioning.
-* **MiniMax H3 Turbo LoRA**, **MiniMax H3 LightX2V Turbo LoRA**, and **MiniMax H3 Ref2V Turbo LoRA** — independent step-distillation LoRAs; the Turbo toggle picks the one matching the selected task (the Ref2V build is trained against the Ref2VA transformer only).
+* **MiniMax H3 Turbo LoRA**, **MiniMax H3 LightX2V Turbo LoRA**, and **MiniMax H3 LightX2V Ref2V Turbo LoRA** — independent step-distillation LoRAs; the Turbo toggle picks the one matching the selected task (the Ref2V build is trained against the Ref2VA transformer only). The earlier 4-step *MiniMax H3 Ref2V Turbo LoRA* (v0.1) is no longer a starter: it pans the camera rightward whenever a video reference is used. If you still have it installed, the toggle prefers the LightX2V release once that is installed too.
Reference conditioning adds rows to every denoising step roughly linearly: a few references typically cost ~1–2 GiB of extra activation memory, but a full-detail 2048×2048 image reference alone adds ~4096 rows (about 1 GiB), and three full-length video references can triple the packed sequence. Prefer "Match generation size" for image references and trimmed clips for video references on smaller cards.
diff --git a/docs/src/content/docs/features/video-workflows.mdx b/docs/src/content/docs/features/video-workflows.mdx
index 75466747e2..fb028ab4eb 100644
--- a/docs/src/content/docs/features/video-workflows.mdx
+++ b/docs/src/content/docs/features/video-workflows.mdx
@@ -129,7 +129,7 @@ Because the endpoint is pinned to your image, it's ideal for bridging a clip to
## Bundled MiniMax H3 workflows
-One model family, six workflows, every conditioning mode — and every output is an MP4 with a **jointly generated stereo soundtrack**. All default to a **Turbo** step-distillation LoRA (6 steps for FL2VA, 4 for Ref2VA); H3 has no CFG or negative prompt to tune, and always renders at 24 fps. **Reference to Video** needs the Ref2VA transformer selected in the model loader; the other five use FL2VA.
+One model family, six workflows, every conditioning mode — and every output is an MP4 with a **jointly generated stereo soundtrack**. All default to a **Turbo** step-distillation LoRA (6 steps for FL2VA with the original Turbo LoRA, 8 with either LightX2V release); H3 has no CFG or negative prompt to tune, and always renders at 24 fps. **Reference to Video** needs the Ref2VA transformer selected in the model loader; the other five use FL2VA.
<CardGrid>
<Card title="Text to Video - MiniMax H3" icon="pencil">
diff --git a/invokeai/backend/model_manager/starter_models.py b/invokeai/backend/model_manager/starter_models.py
index f6b8b51a26..54edafa873 100644
--- a/invokeai/backend/model_manager/starter_models.py
+++ b/invokeai/backend/model_manager/starter_models.py
@@ -2033,13 +2033,20 @@ minimax_h3_lightx2v_turbo_lora = StarterModel(
format=ModelFormat.LyCORIS,
)
-minimax_h3_ref2v_turbo_lora = StarterModel(
- name="MiniMax H3 Ref2V Turbo LoRA",
+# The LightX2V 8-step v1.0 (768p) Ref2V distillation replaces the earlier 4-step v0.1 repack
+# (Comfy-Org/MiniMax-H3::loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors):
+# v0.1 carries a strong rightward camera-pan bias whenever a VIDEO reference is conditioned
+# on, which neither the undistilled 30-step base nor this v1.0 release shows (verified
+# 2026-09-07). Same fused-key comfyui layout as the FL2VA LightX2V file above.
+minimax_h3_lightx2v_ref2v_turbo_lora = StarterModel(
+ name="MiniMax H3 LightX2V Ref2V Turbo LoRA",
base=BaseModelType.MiniMaxH3,
- source="Comfy-Org/MiniMax-H3::loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
- description="Step-distillation LoRA for the MiniMax H3 Ref2VA transformer (~2 GB): renders "
- "reference-conditioned video+audio in ~4 denoising steps instead of ~50. Apply at strength 1.0 "
- "and lower Steps to 4. Trained against the Ref2VA transformer; not intended for FL2VA.",
+ source="lightx2v/Minimax-h3-Turbo::minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
+ description="LightX2V step-distillation LoRA for the MiniMax H3 Ref2VA transformer (Apache 2.0), "
+ "8-step v1.0 768p (~2 GB): renders reference-conditioned video+audio in ~8 denoising steps "
+ "instead of ~50. Apply at strength 1.0 and lower Steps to 8. Trained against the Ref2VA "
+ "transformer; not intended for FL2VA. Supersedes the 4-step v0.1 Ref2V Turbo repack, which "
+ "pans the camera rightward whenever a video reference is used.",
type=ModelType.LoRA,
format=ModelFormat.LyCORIS,
)
@@ -2569,7 +2576,7 @@ STARTER_MODELS: list[StarterModel] = [
minimax_h3_components,
minimax_h3_turbo_lora,
minimax_h3_lightx2v_turbo_lora,
- minimax_h3_ref2v_turbo_lora,
+ minimax_h3_lightx2v_ref2v_turbo_lora,
gemini_flash_image,
gemini_pro_image_preview,
gemini_3_1_flash_image_preview,
@@ -2752,7 +2759,7 @@ minimax_h3_bundle: list[StarterModel] = [
minimax_h3_ref2va_int8_transformer,
minimax_h3_turbo_lora,
minimax_h3_lightx2v_turbo_lora,
- minimax_h3_ref2v_turbo_lora,
+ minimax_h3_lightx2v_ref2v_turbo_lora,
]
STARTER_BUNDLES: dict[str, StarterModelBundle] = {
diff --git a/invokeai/frontend/webv2/src/features/video/core/videoPolicies.test.ts b/invokeai/frontend/webv2/src/features/video/core/videoPolicies.test.ts
index 5435c60545..e6cc2607b9 100644
--- a/invokeai/frontend/webv2/src/features/video/core/videoPolicies.test.ts
+++ b/invokeai/frontend/webv2/src/features/video/core/videoPolicies.test.ts
@@ -8,8 +8,9 @@ import {
findMiniMaxH3TurboLora,
findWanLightningLoraPair,
getAcceleratorLoraChangeResult,
- getDefaultVideoSettings,
+ getAcceleratorSteps,
getAcceleratorToggleResult,
+ getDefaultVideoSettings,
getVideoComponentSectionPolicy,
getVideoDimensions,
getVideoModelAvailabilityReasons,
@@ -20,8 +21,9 @@ import {
getVideoValidationReasons,
getWanExpertWiringWarning,
isSupportedVideoModel,
- isVideoModelSelectable,
isValidVideoNumFrames,
+ isVideoModelSelectable,
+ MINIMAX_H3_REF2V_TURBO_ACCELERATOR,
snapVideoNumFrames,
WAN_LIGHTNING_ACCELERATOR,
} from './videoPolicies';
@@ -1211,6 +1213,77 @@ describe('ref2va accelerator auto-pick', () => {
expect(result.settings.acceleratorLoraKeys).toEqual(['ref2v-turbo']);
expect(result.settings.steps).toBe(4);
});
+
+ const LIGHTX2V_REF2V_TURBO = {
+ base: 'minimax-h3',
+ key: 'lightx2v-ref2v-turbo',
+ name: 'MiniMax H3 LightX2V Ref2V Turbo LoRA',
+ type: 'lora' as const,
+ };
+
+ it('prefers the LightX2V ref2v release over the 4-step v0.1 repack whichever order they are listed in', () => {
+ // The v0.1 repack pans the camera rightward whenever a video reference is used; the
+ // LightX2V v1.0 release superseded it as the starter model and must win when both are
+ // installed — by generation, not by the accident of alphabetical order.
+ expect(findMiniMaxH3TurboLora([REF2V_TURBO, LIGHTX2V_REF2V_TURBO], { variant: 'ref2va' })).toMatchObject({
+ key: 'lightx2v-ref2v-turbo',
+ });
+ expect(findMiniMaxH3TurboLora([LIGHTX2V_REF2V_TURBO, REF2V_TURBO], { variant: 'ref2va' })).toMatchObject({
+ key: 'lightx2v-ref2v-turbo',
+ });
+ // Still a Ref2VA-only distillation: the FL2VA accelerator must not pick it up.
+ expect(findMiniMaxH3TurboLora([LIGHTX2V_REF2V_TURBO, FL2VA_TURBO], { variant: 'fl2va' })).toMatchObject({
+ key: 'turbo',
+ });
+ });
+
+ it('a by-URL install of the LightX2V release, named by its file, still beats the old starter-named repack', () => {
+ // model_on_disk names a URL install after the file stem, which carries no "LightX2V"
+ // token — only the org's file-name form. It must not lose to the v0.1 repack on an
+ // alphabetical tie (a space collates before an underscore).
+ const rawNew = {
+ base: 'minimax-h3',
+ key: 'raw-new',
+ name: 'minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16',
+ type: 'lora' as const,
+ };
+ const rawOld = {
+ base: 'minimax-h3',
+ key: 'raw-old',
+ name: 'minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16',
+ type: 'lora' as const,
+ };
+
+ expect(findMiniMaxH3TurboLora([REF2V_TURBO, rawNew], { variant: 'ref2va' })).toMatchObject({ key: 'raw-new' });
+ expect(findMiniMaxH3TurboLora([rawNew, rawOld], { variant: 'ref2va' })).toMatchObject({ key: 'raw-new' });
+ expect(findMiniMaxH3TurboLora([rawOld, rawNew], { variant: 'ref2va' })).toMatchObject({ key: 'raw-new' });
+ // The raw file name states its schedule, so the toggle runs it at 8 steps.
+ expect(getAcceleratorSteps(MINIMAX_H3_REF2V_TURBO_ACCELERATOR, [rawNew])).toBe(8);
+ expect(getAcceleratorSteps(MINIMAX_H3_REF2V_TURBO_ACCELERATOR, [rawOld])).toBe(4);
+ });
+
+ it('a family-named older repack still beats a LightX2V-named look-alike without the family', () => {
+ const lookAlike = { base: 'minimax-h3', key: 'look-alike', name: 'LightX2V Ref2V Turbo', type: 'lora' as const };
+
+ expect(findMiniMaxH3TurboLora([lookAlike, REF2V_TURBO], { variant: 'ref2va' })).toMatchObject({
+ key: 'ref2v-turbo',
+ });
+ });
+
+ it('the accelerator toggle runs the LightX2V ref2v release at its 8-step schedule', () => {
+ const model = ref2vaTransformer();
+ const settings = settingsFor(model);
+ const result = getAcceleratorToggleResult(
+ settings,
+ model,
+ [model, REF2V_TURBO, LIGHTX2V_REF2V_TURBO, FL2VA_TURBO],
+ true
+ );
+
+ expect(result.missingLoras).toBe(false);
+ expect(result.settings.acceleratorLoraKeys).toEqual(['lightx2v-ref2v-turbo']);
+ expect(result.settings.steps).toBe(8);
+ });
});
describe('H3 component-source seeding', () => {
diff --git a/invokeai/frontend/webv2/src/features/video/core/videoPolicies.ts b/invokeai/frontend/webv2/src/features/video/core/videoPolicies.ts
index 873d77622e..731b40ba13 100644
--- a/invokeai/frontend/webv2/src/features/video/core/videoPolicies.ts
+++ b/invokeai/frontend/webv2/src/features/video/core/videoPolicies.ts
@@ -147,12 +147,19 @@ export const MINIMAX_H3_TURBO_ACCELERATOR: VideoAcceleratorConfig = {
stepOverrides: [{ pattern: LIGHTX2V_PATTERN, steps: 8 }],
};
-/** The Ref2VA-trained 4-step Turbo distillation (Comfy-Org's ref2v turbo repack). */
+/**
+ * The Ref2VA-trained Turbo distillations. The reference count is the 4-step v0.1
+ * repack's (Comfy-Org's ref2v turbo); the LightX2V 8-step v1.0 release that
+ * superseded it — the starter model since 2026-09-07 — states its schedule via the
+ * override, like its FL2VA sibling. v0.1 pans the camera rightward whenever a video
+ * reference is conditioned on; v1.0 does not.
+ */
export const MINIMAX_H3_REF2V_TURBO_ACCELERATOR: VideoAcceleratorConfig = {
cfgScale: 1,
cfgScaleLowNoise: null,
label: 'Turbo',
steps: 4,
+ stepOverrides: [{ pattern: LIGHTX2V_PATTERN, steps: 8 }],
};
const WAN_TARGET_RESOLUTION_OPTIONS: readonly VideoTargetResolutionOption[] = [
@@ -588,6 +595,11 @@ export const findWanLightningLoraPair = (
};
const TURBO_PATTERN = /(?:^|[^a-z0-9])turbo(?:[^a-z0-9]|$)/i;
+// A LightX2V distillation release: the token the starter names carry, or the org's own
+// file-name form (minimax_h3_<task>_turbo_<N>step_v<major>…), which is the name a by-URL
+// install keeps — such an install must not lose the pick to an older starter-named repack.
+const LIGHTX2V_RELEASE_PATTERN =
+ /(?:^|[^a-z0-9])lightx2v(?:[^a-z0-9]|$)|minimax_h3_(?:fl2v|ref2v)_turbo_\d{1,2}step_v\d/i;
const MINIMAX_H3_NAME_PATTERN = /(?:^|[^a-z0-9])(?:minimax|h3)(?:[^a-z0-9]|$)/i;
// Ref2VA-trained distillation LoRAs (delimited "ref2v"/"ref2va" token). They must never
// auto-apply to an FL2VA generation - the Ref2V Turbo repack is trained against the Ref2VA
@@ -597,16 +609,24 @@ const MINIMAX_H3_REF2V_PATTERN = /(?:^|[^a-z0-9])ref2va?(?:[^a-z0-9]|$)/i;
/**
* The installed MiniMax H3 Turbo distillation LoRA, if any. Distillation LoRAs
* carry no dedicated taxonomy, so this is a name heuristic: a delimited
- * "turbo" token, preferring names that also name the model family, with a
- * deterministic tie-break — a user's own "Turbo …" style LoRA loses to the
- * real repack whenever one is installed. Ref2VA-trained turbo LoRAs are
+ * "turbo" token, preferring names that also name the model family, then the
+ * LightX2V releases over the earlier repacks they superseded (the 4-step v0.1
+ * Ref2V repack pans the camera whenever a video reference is used; the
+ * LightX2V v1.0 files replaced both it and the larryvrh FL2VA v4 as starters),
+ * with a deterministic tie-break — a user's own "Turbo …" style LoRA loses to
+ * the real repack whenever one is installed. Ref2VA-trained turbo LoRAs are
* excluded: the FL2VA accelerator must not pick them.
*/
export const findMiniMaxH3TurboLora = (
models: readonly ModelConfig[],
{ requireFamilyName = false, variant = 'fl2va' }: FindMiniMaxH3TurboLoraOptions = {}
): LoraModelConfig | null => {
- const score = (model: LoraModelConfig): number => (MINIMAX_H3_NAME_PATTERN.test(model.name) ? 0 : 1);
+ // Family name first (0/2), then the LightX2V generation (0/1): a family-named
+ // older repack still beats a LightX2V-named look-alike that omits the family.
+ const score = (model: LoraModelConfig): number =>
+ (MINIMAX_H3_NAME_PATTERN.test(model.name) ? 0 : 2) + (LIGHTX2V_RELEASE_PATTERN.test(model.name) ? 0 : 1);
+ // Within a tier the release stating the higher schedule is the later one (the 4-step
+ // v0.1 Ref2V repack against the 8-step v1.0 that replaced it, both under raw file names).
// The task decides which distillation qualifies: ref2va REQUIRES the ref2v-token repack,
// every other variant excludes it — the two are trained against different transformers.
const matchesTask = (name: string): boolean =>
@@ -622,7 +642,10 @@ export const findMiniMaxH3TurboLora = (
matchesTask(model.name) &&
(!requireFamilyName || MINIMAX_H3_NAME_PATTERN.test(model.name))
)
- .sort((a, b) => score(a) - score(b) || a.name.localeCompare(b.name))[0] ?? null
+ .sort(
+ (a, b) =>
+ score(a) - score(b) || getStatedStepCount(b.name) - getStatedStepCount(a.name) || a.name.localeCompare(b.name)
+ )[0] ?? null
);
};
@@ -657,13 +680,16 @@ export const findAcceleratorLorasIn = (
// rank cannot be read as a step count.
const STEP_COUNT_PATTERN = /(?:^|[^a-z0-9])(\d{1,2})[ _-]?steps?(?:[^a-z0-9]|$)/i;
+/** The schedule a distillation LoRA's name states, or 0 when it states none. */
+const getStatedStepCount = (name: string): number => Number(STEP_COUNT_PATTERN.exec(name)?.[1] ?? 0);
+
/**
* The step count one distillation LoRA was trained for. Its name is the only
* record of it: an explicit "N-step" token wins, then the family's per-release
* overrides, and failing both the family's reference count.
*/
const getLoraAcceleratorSteps = (config: VideoAcceleratorConfig, lora: LoraModelConfig): number => {
- const stated = Number(STEP_COUNT_PATTERN.exec(lora.name)?.[1] ?? 0);
+ const stated = getStatedStepCount(lora.name);
if (stated > 0) {
return stated;
diff --git a/invokeai/frontend/webv2/src/workbench/image-actions/videoRecall.ts b/invokeai/frontend/webv2/src/workbench/image-actions/videoRecall.ts
index b4925b468d..b8ca6aae2e 100644
--- a/invokeai/frontend/webv2/src/workbench/image-actions/videoRecall.ts
+++ b/invokeai/frontend/webv2/src/workbench/image-actions/videoRecall.ts
@@ -282,7 +282,7 @@ export const deriveAcceleratorRecallState = (
): Pick<VideoWidgetValues, 'acceleratorEnabled' | 'acceleratorLoraKeys'> => {
// The H3 task variant lives on the model itself (a single-file transformer
// checkpoint carries its own variant), and the two tasks have DIFFERENT
- // accelerators (fl2va Turbo at 6 steps, ref2v Turbo at 4). Callers must
+ // accelerators (fl2va Turbo at 6 or 8 steps, ref2v Turbo at 4 or 8). Callers must
// promote a legacy transformer override onto `model` before deriving this.
const accelerator = getVideoModelPolicy(model, settings).ui.accelerator;
const recalled = accelerator
diff --git a/tests/backend/model_manager/test_starter_models.py b/tests/backend/model_manager/test_starter_models.py
index a997a2831d..163b375542 100644
--- a/tests/backend/model_manager/test_starter_models.py
+++ b/tests/backend/model_manager/test_starter_models.py
@@ -94,7 +94,10 @@ def test_minimax_h3_bundle_contains_working_set_and_turbo_loras() -> None:
lora_sources = {m.source for m in loras}
assert "larryvrh/MiniMax-H3-Turbo-Lora::minimax_h3_turbo_v4_step600_ema.safetensors" in lora_sources
assert "lightx2v/Minimax-h3-Turbo::minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors" in lora_sources
- assert "Comfy-Org/MiniMax-H3::loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors" in lora_sources
+ assert "lightx2v/Minimax-h3-Turbo::minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors" in lora_sources
+ # The 4-step v0.1 Ref2V repack pans the camera whenever a video reference is used; it
+ # must not come back as a starter.
+ assert not any("ref2v_turbo_4step_v0.1" in s for s in lora_sources)
def test_minimax_h3_bundle_models_are_registered_in_starter_models() -> None: