Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Video: Edit video follows the clip on your GPU, and H3 runs keep their length

Adarshc64cffde90d4
diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjs
index 6d0b0e87..ff25d8bd 100644
--- a/scripts/comfy/library.spec.mjs
+++ b/scripts/comfy/library.spec.mjs
@@ -237,10 +237,10 @@ export const KNOWN_MODELS = {
'h3_character_swap_v1.5.safetensors': { folder: 'loras', url: 'https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/d06323b7c8e70e97cdab48b78a1e05f786c8cba9/h3_character_swap_v1.5.safetensors' },
'h3_character_swap_pro4500_1000.safetensors': { folder: 'loras', url: 'https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/a665bb7e3bb9804e487d2925f67744f554c8ad49/h3_character_swap_pro4500_1000.safetensors' },
'H3-Person-Remover-V1.safetensors': { folder: 'loras', url: 'https://huggingface.co/akatz-ai/MiniMax-H3-Person-Remover-LoRA/resolve/fe136b3dc93aea993b9f194d48ea9859fdc2de14/H3-Person-Remover-V1.safetensors' },
- // MiniMax H3 video (minimax-h3-*): the first+last-frame model (pruned int8), Comfy-Org's int8 video VAE (the file the official H3
- // templates load), larryvrh's turbo v4 LoRA (Apache-2.0) and pablodawson's 360 Orbit LoRA, each at a pinned revision.
+ // MiniMax H3 video (minimax-h3-*): the first+last-frame model (pruned int8), Kijai's int8 video VAE (the file
+ // the H3 preview clips were rendered with), larryvrh's turbo v4 LoRA (Apache-2.0) and pablodawson's 360 Orbit LoRA, each at a pinned revision.
'minimax_h3_fl2va_pruned_int8_convrot.safetensors': { folder: 'diffusion_models', url: 'https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors' },
- 'minimax_h3_video_vae_int8_convrot.safetensors': { folder: 'vae', url: 'https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors' },
+ 'minimax_h3_video_vae_int8_convrot.safetensors': { folder: 'vae', url: 'https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors' },
'minimax_h3_turbo_v4_step600_ema.safetensors': { folder: 'loras', url: 'https://huggingface.co/larryvrh/MiniMax-H3-Turbo-Lora/resolve/43a74557ac3f6539db8e0f2a959d03feb7a81480/minimax_h3_turbo_v4_step600_ema.safetensors' },
'minimax_h3_flf2v_lora_v1.safetensors': { folder: 'loras', url: 'https://huggingface.co/pablodawson/MiniMax-H3-360-Orbit-LoRA/resolve/5ddbc2dbbe95edbbdaf5017c3e934b1d01791697/minimax_h3_flf2v_lora_v1.safetensors' },
'depth_anything_3_mono_large.safetensors': { folder: 'geometry_estimation', url: 'https://huggingface.co/Comfy-Org/Depth-Anything-3/resolve/main/geometry_estimation/depth_anything_3_mono_large.safetensors' },
@@ -364,14 +364,14 @@ const H3_LICENSE =
const H3_LICENSE_FAST = `${H3_LICENSE} · turbo v4 LoRA Apache-2.0 (larryvrh) · ComfyUI-MiniMax-H3-Turbo nodes Apache-2.0 · PlagueKind nodes MIT`;
const H3_NOTES_FIRST_FRAME =
'The first frame is resized to width x height with no crop, so the canvas should have the still\'s shape (an "auto" aspect ratio sizes it from the still).';
+const H3_NOTES_SIZE = 'Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344).';
const H3_NOTES_CANVAS =
- 'Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). ' +
- 'frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s).';
+ `${H3_NOTES_SIZE} frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s).`;
const H3_NOTES_LAYOUT =
'The prompt reads best in MiniMax\'s layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape ' +
'and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it.';
const H3_NOTES_FILES =
- 'Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (2.81 GB) ' +
+ 'Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (3.17 GB) ' +
'and the audio VAE (0.61 GB).';
const H3_NOTES_COMMON = `${H3_NOTES_CANVAS} ${H3_NOTES_LAYOUT} ${H3_NOTES_FILES}`;
const H3_NOTES_TIME = 'With the turbo v4 LoRA (0.78 GB). Tested on an RTX 5090 (32 GB): about 2-3 min for a 124-frame clip at 1024x768.';
@@ -1487,7 +1487,7 @@ export const SPEC = [
"with pablodawson's 360 Orbit LoRA (minimax_h3_flf2v_lora_v1, LoraLoaderModelOnly at 1.0), MiniMaxH3SigmaShift 12 / 3, BasicScheduler simple 28 steps, " +
"KSamplerSelect res_multistep, CFG 1; core nodes only. 73 frames (3.04 s) is the LoRA's training length. The prompt reads best in the LoRA's own caption style: " +
'one frozen instant, the camera in one continuous 360-degree orbit, everything holding its place, camera parallax the only movement. The LoRA was trained ' +
- `without sound; the graph still decodes H3's audio. ${H3_NOTES_FIRST_FRAME} ${H3_NOTES_CANVAS} ${H3_NOTES_FILES} With the Orbit LoRA (0.16 GB).`,
+ `without sound; the graph still decodes H3's audio. ${H3_NOTES_FIRST_FRAME} ${H3_NOTES_SIZE} ${H3_NOTES_FILES} With the Orbit LoRA (0.16 GB).`,
},
{
id: 'infinitetalk-native',
diff --git a/scripts/gen-cloud-models.py b/scripts/gen-cloud-models.py
index f1948947..b1839042 100644
--- a/scripts/gen-cloud-models.py
+++ b/scripts/gen-cloud-models.py
@@ -491,9 +491,9 @@ model("wan-2-5", "Wan 2.5", "Alibaba Wan", "wan", "video", "Audio-driven video u
# Hosted MiniMax H3 makes its own sound. fal takes a whole number of seconds from 5 to 15 and bills each second by the
# resolution (its pricing record, docs/research/new-models-7.json): 480P $0.05, 768P $0.06, 2K $0.13, 4K $0.16. Without
# a resolution fal renders 2K, so 768P is set as the default (H3's native size, the open model's too).
-model("minimax-h3", "MiniMax H3", "MiniMax", "hailuo", "video", "Expressive characters and dynamic action",
+model("minimax-h3", "MiniMax H3", "MiniMax", "hailuo", "video", "Video with its own synchronized sound, 5–15 s, from words, a start frame, start and end frames, or references",
[("t2v", "minimax/h3/text-to-video"), ("i2v", "minimax/h3/image-to-video", "fal", "+flf2v"), ("ref2v", "minimax/h3/reference-to-video")],
- badges=["top", "new", "audio"], defaults={"aspectRatio": "16:9", "duration": 5, "resolution": "768P"}, ranged_durations=True,
+ badges=["top", "audio", "new"], defaults={"aspectRatio": "16:9", "duration": 5, "resolution": "768P"}, ranged_durations=True,
pricing=("second", 0.06, "768P; 480P $0.05, 2K $0.13, 4K $0.16", {"byResolution": {"480P": 0.05, "768P": 0.06, "2K": 0.13, "4K": 0.16}}))
model("minimax-h3-max", "MiniMax H3 Max", "MiniMax", "hailuo", "video", "Top-tier MiniMax with extend",
[("t2v", "minimax/h3-max/text-to-video"), ("i2v", "minimax/h3-max/image-to-video", "fal", "+flf2v"), ("ref2v", "minimax/h3-max/reference-to-video"),
diff --git a/src/components/studio/model-controls.tsx b/src/components/studio/model-controls.tsx
index a6f74cc8..d61da681 100644
--- a/src/components/studio/model-controls.tsx
+++ b/src/components/studio/model-controls.tsx
@@ -14,12 +14,15 @@ const label = (v: string | number) =>
.replace(/^f(\d)(\d)?/, (_, a, b) => `f/${a}${b ? `.${b}` : ""}`)
.replace(/^\w/, (c) => c.toUpperCase());
-/** "Director" popover for enum settings such as genre, lens, light, grade and camera move. */
+/**
+ * "Director" popover for enum settings such as genre, lens, light, grade and camera move. A model whose only settings are
+ * its Quality (MiniMax H3's Fast / Best, MOSS-Image's tiers) shows them under "Quality".
+ */
export function ControlsChip({
controls,
values,
onChange,
- title = "Director",
+ title: named,
}: {
controls: NonNullable<ModelOptions["controls"]>;
values: Record<string, unknown>;
@@ -27,6 +30,7 @@ export function ControlsChip({
/** The chip's name: "Director" (Cinema's genre, lens, light…), "Options" for a tool's model settings (Upscale). */
title?: string;
}) {
+ const title = named ?? (controls.length && controls.every((c) => c.param === "quality") ? "Quality" : "Director");
const set = controls.filter((c) => values[c.param] !== undefined);
return (
<Popover>
diff --git a/src/lib/catalog/cloud-models.generated.ts b/src/lib/catalog/cloud-models.generated.ts
index b75e96f5..0c085ea4 100644
--- a/src/lib/catalog/cloud-models.generated.ts
+++ b/src/lib/catalog/cloud-models.generated.ts
@@ -6179,7 +6179,7 @@ export const CLOUD_MODELS: ModelDef[] = [
"family": "hailuo",
"engine": "cloud",
"kind": "video",
- "tagline": "Expressive characters and dynamic action",
+ "tagline": "Video with its own synchronized sound, 5\u201315 s, from words, a start frame, start and end frames, or references",
"routes": [
{
"op": "t2v",
@@ -6274,8 +6274,8 @@ export const CLOUD_MODELS: ModelDef[] = [
},
"badges": [
"top",
- "new",
- "audio"
+ "audio",
+ "new"
],
"defaults": {
"aspectRatio": "16:9",
diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.ts
index 4f216352..ec01a486 100644
--- a/src/lib/catalog/models.ts
+++ b/src/lib/catalog/models.ts
@@ -516,7 +516,7 @@ const open: ModelDef[] = [
family: "minimax-h3",
kind: "video",
tagline: "Video with its own synchronized sound from words, a start frame, or start and end frames · about 2-3 min for a 5 s clip on a 32 GB GPU",
- badges: ["new", "top", "audio"],
+ badges: ["new", "audio", "top"],
routes: [
comfy("t2v", "minimax-h3-t2v", "turbo v4 LoRA, 8 steps"),
comfy("i2v", "minimax-h3-i2v", "turbo v4 LoRA, 8 steps; the clip takes the start frame's shape"),
@@ -549,7 +549,7 @@ const open: ModelDef[] = [
family: "ltx",
kind: "video",
tagline: "Open video with native synchronized audio, up to 10s",
- badges: ["audio", "new", "top"],
+ badges: ["audio", "top", "new"],
routes: [comfy("t2v", "ltx25-t2v"), comfy("i2v", "ltx25-i2v")],
options: { multiShot: CONCAT_SHOTS, aspectRatios: VID_AR, durations: [5, 8, 10], resolutions: ["720p", "1080p"], seed: true, negativePrompt: true, audio: "always" },
defaults: { aspectRatio: "16:9", duration: 5, resolution: "720p" },
diff --git a/src/lib/catalog/plan.ts b/src/lib/catalog/plan.ts
index 19279ca2..b71363ce 100644
--- a/src/lib/catalog/plan.ts
+++ b/src/lib/catalog/plan.ts
@@ -368,6 +368,11 @@ export function planGeneration(
if (!routesFor(model, op).length) {
throw new Error(`${model.name} can't do ${op} — try another model`);
}
+ // MiniMax H3's orbit of a still (its Orbit LoRA graph, src/lib/comfy-variants.ts) runs at the LoRA's own length, 3 s
+ // (73 frames), unless the run names a length.
+ if (model.options.promptFormat === "minimax-h3" && op === "i2v" && params.extra?.orbit === true && req.params?.duration === undefined && params.duration === model.defaults?.duration) {
+ params = { ...params, duration: 3 };
+ }
if (op === "finalize" && !params.draftId) throw new Error("Pick a draft to finish");
if (op === "dialogue" && !params.dialogue?.some((l) => l.text.trim())) throw new Error("Write at least one line");
if (op === "dub" && !params.targetLanguage) throw new Error("Pick a language to translate into");
diff --git a/src/lib/h3-prompt.ts b/src/lib/h3-prompt.ts
index 771dd01e..c8abd487 100644
--- a/src/lib/h3-prompt.ts
+++ b/src/lib/h3-prompt.ts
@@ -24,16 +24,22 @@ export const h3Frames = (seconds: number): number => alignFrames(Math.round(seco
/** Words already written in H3's layout (a reused run, an LLM's rewrite). */
export const inH3Layout = (text: string): boolean => /\bintegrated_multimodal_description\s*:/.test(text);
+/** An alignment paragraph this layout writes (image to video, or start and end frames), at the start of the words. */
+const LEADING_ALIGN = /^(?:For the target video, at [\d.]+ seconds into the target video, <Picture \d+>[^\n]*|How the reference pictures align with the target video[^\n]*)\s*/;
+
/**
* The person's words in MiniMax H3's layout (its prompting guide): the alignment line for the reference frames (image to
* video: the start frame at 0.00 s; start and end frames: the end frame at the clip's length, `frames` on H3's grid over
- * 24 fps, 5.17 s for a 5 s clip), then the shot, the soundscape and the music fields. Words already in the layout pass
- * through unchanged.
+ * 24 fps, 5.17 s for a 5 s clip), then the shot, the soundscape and the music fields. Words already in the layout keep
+ * their fields, and get the alignment line of this run (its operation and length) in place of the one they had.
*/
export function h3Prompt(words: string, op: H3Op, frames: number, sound?: string): string {
const text = words.trim();
- if (inH3Layout(text)) return text;
const align = op === "i2v" ? I2V_ALIGN : op === "flf2v" ? flf2vAlign((alignFrames(frames) / H3_FPS).toFixed(2)) : "";
+ if (inH3Layout(text)) {
+ const body = text.replace(LEADING_ALIGN, "").trim();
+ return align ? `${align}\n\n${body}` : body;
+ }
const body = [
`integrated_multimodal_description: [Shot 1] ${text}`,
`overall_soundscape: ${sound?.trim() || H3_DEFAULT_SOUND}`,
diff --git a/src/lib/palette-index.ts b/src/lib/palette-index.ts
index 29e0f6cd..ed183ade 100644
--- a/src/lib/palette-index.ts
+++ b/src/lib/palette-index.ts
@@ -76,13 +76,13 @@ const TOOL_PAGES: [string, Operation][] = [
/**
* Where a model opens: the first studio that offers it, Image to 3D, an app that runs it (each with
* ?model=, which also brings the model's engine), the Layers editor or a tool of its operation, else
- * its row on the Models page (which reads ?q=).
+ * its row on the Models page (which reads ?q=). A model kept out of the pickers (hidden) has no studio to open in.
*/
export function modelHref(m: ModelDef): string {
const ops = new Set(m.routes.map((r) => r.op));
const pick = `?model=${encodeURIComponent(m.id)}`;
const studio = MODEL_STUDIOS.find(([, c]) => c.kind === m.kind && (c.pickerOps ?? c.ops).some((op) => ops.has(op)));
- if (studio) return studio[0] + pick;
+ if (studio && !m.hidden) return studio[0] + pick;
if (IN_3D.has(m.id)) return `/image-to-3d${pick}`;
const app = APPS.find((a) => a.cloud?.modelId === m.id || a.open?.modelId === m.id);
if (app) return `/apps/${app.id}${pick}`;
diff --git a/src/server/generations.ts b/src/server/generations.ts
index 837f77f8..ed10f7d9 100644
--- a/src/server/generations.ts
+++ b/src/server/generations.ts
@@ -1519,7 +1519,8 @@ async function submitNow(
// start (and end) frame's alignment line for the clip's length on H3's frame grid. It becomes the run's prompt, so Reuse
// makes the same clip. An orbit keeps its words as they are: the Orbit LoRA reads its own caption style.
const h3Op = plan.op === "t2v" || plan.op === "i2v" || plan.op === "flf2v" ? plan.op : undefined;
- if (plan.model.options.promptFormat === "minimax-h3" && h3Op && prompt && plan.params.extra?.orbit !== true) {
+ const orbit = h3Op === "i2v" && plan.params.extra?.orbit === true;
+ if (plan.model.options.promptFormat === "minimax-h3" && h3Op && prompt && !orbit) {
const wrapped = h3Prompt(prompt, h3Op, h3Frames(plan.params.duration ?? plan.model.defaults?.duration ?? 5));
if (wrapped !== prompt) {
prompt = wrapped;
diff --git a/src/server/providers/comfyui.ts b/src/server/providers/comfyui.ts
index 0e0e0f1d..fea4b080 100644
--- a/src/server/providers/comfyui.ts
+++ b/src/server/providers/comfyui.ts
@@ -919,6 +919,14 @@ function captionCues(input: GenInput, extra: Record<string, unknown>): CaptionCu
}
const seconds = (n: number) => (n >= 10 ? String(Math.round(n)) : String(Math.round(n * 10) / 10));
+
+/**
+ * Per-frame restyle graphs that follow the clip when a run sets nothing else (Edit video sends a clip and words): the clip's
+ * shape, its frame rate up to FOLLOW_CLIP_MAX_FPS, and its whole length. The Mixed Media studio sends its own size, rate and
+ * frame count (src/lib/catalog/mixed-media.ts), and those win.
+ */
+const FOLLOW_CLIP: ReadonlySet<string> = new Set(["mixed-media-zimage-frames"]);
+const FOLLOW_CLIP_MAX_FPS = 24;
const GB = 2 ** 30;
const clipFacts = (clip: MediaInfo | undefined) => ({ width: clip?.width, height: clip?.height, fps: clip?.fps, frames: clip?.frames, duration: clip?.videoDuration ?? clip?.duration });
@@ -1106,6 +1114,8 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,
// Frame rate (params.fps, or a model's fps control), trim window and frame counts.
const fpsIn = input.fps ?? (typeof extra.fps === "number" && extra.fps > 0 ? extra.fps : undefined);
if (b.fps && fpsIn) values.fps = fpsIn;
+ const followClip = FOLLOW_CLIP.has(manifest.id) && ctx.op === "v2v" && !!clip;
+ if (followClip && b.fps && !fpsIn && clip?.fps && clip.fps > 0) values.fps = Math.max(1, Math.min(FOLLOW_CLIP_MAX_FPS, Math.round(clip.fps)));
const fps = Number(values.fps ?? d.fps ?? 16);
const start = Math.max(0, input.startTime ?? 0);
if (b.startTime || b.startFrame) {
@@ -1129,7 +1139,7 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,
// MiniMax H3 stretches the start frame to the canvas with no crop: a clip from a still (or the orbit of one) always takes the
// still's shape, so an aspect ratio left over from a text draft can't distort it.
const h3 = isH3Graph(manifest.id);
- const aspectRatio = h3 && (ctx.op === "i2v" || ctx.op === "flf2v" || b.image) ? "auto" : input.aspectRatio;
+ const aspectRatio = h3 && (ctx.op === "i2v" || ctx.op === "flf2v" || b.image) ? "auto" : followClip && !input.aspectRatio ? "auto" : input.aspectRatio;
if (b.width || b.height) {
const multiple = Number(manifest.limits?.dimensionMultiple ?? 16);
// With motion paths the frame keeps the start image's shape, so the paths need no cropping;
@@ -1166,6 +1176,14 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,
while (frames > cap) frames -= 17;
values.frames = frames;
} else values.frames = computeFrames(span, fps, Number(d.frameStep ?? 4), manifest.limits?.maxFrames);
+ } else if (followClip && b.frames && !span && extra.frames === undefined && clipLength) {
+ // The whole clip from its start (or the start time asked), refused past the graph's frame cap rather than cut short.
+ const frames = Math.max(1, Math.floor((clipLength - start) * fps));
+ const cap = Number(manifest.limits?.maxFrames ?? Infinity);
+ if (frames > cap) {
+ throw new ProviderError(`This model redraws up to ${cap} frames per job on the open engine (${seconds(cap / fps)} s at ${fps} fps; this clip is ${seconds(clipLength - start)} s) — trim the clip, or pick a range and a frame rate in the Mixed Media studio`);
+ }
+ values.frames = frames;
}
// Lip re-sync and a talking avatar run as long as the voice (its header, or the length the run was given); a voice past
// the frame cap is refused, not cut.
diff --git a/tests/h3-prompt.test.ts b/tests/h3-prompt.test.ts
index b25edec2..dc01a7ea 100644
--- a/tests/h3-prompt.test.ts
+++ b/tests/h3-prompt.test.ts
@@ -42,11 +42,25 @@ describe("h3Prompt", () => {
expect(p).toContain("overall_soundscape: Surf and gulls.");
});
- it("passes words already in the layout through unchanged (a reused run is not wrapped twice)", () => {
+ it("rebuilds the alignment line when a stored prompt runs at another length or operation", () => {
+ const own = "integrated_multimodal_description: [Shot 1] The candle melts\n\noverall_soundscape: A soft hiss.\n\nnon_diegetic_music: N/A";
+ const fiveSeconds = h3Prompt("The candle melts", "flf2v", 124, "A soft hiss.");
+ expect(fiveSeconds).toContain("aligns with the 5.17-second mark");
+ // Reused at 10 s: the end frame moves to the new length, once.
+ const tenSeconds = h3Prompt(fiveSeconds, "flf2v", 243);
+ expect(tenSeconds).toBe(h3Prompt("The candle melts", "flf2v", 243, "A soft hiss."));
+ expect(tenSeconds.match(/aligns with the/g)).toHaveLength(2);
+ expect(tenSeconds).not.toContain("5.17");
+ // Reused from a start frame alone, or as text to video: the line follows the operation.
+ expect(h3Prompt(fiveSeconds, "i2v", 124)).toBe(h3Prompt("The candle melts", "i2v", 124, "A soft hiss."));
+ expect(h3Prompt(fiveSeconds, "t2v", 124)).toBe(own);
+ expect(h3Prompt(h3Prompt("The candle melts", "i2v", 124, "A soft hiss."), "flf2v", 362)).toContain("aligns with the 15.08-second mark");
+ });
+
+ it("keeps words already in the layout, with this run's alignment line (a reused run is not wrapped twice)", () => {
const once = h3Prompt("A dancer spins", "i2v", 124);
expect(inH3Layout(once)).toBe(true);
expect(h3Prompt(once, "i2v", 124)).toBe(once);
- expect(h3Prompt(once, "flf2v", 243)).toBe(once);
const own = "integrated_multimodal_description: [Shot 1] A dancer spins\n\noverall_soundscape: Applause.\n\nnon_diegetic_music: N/A";
expect(h3Prompt(own, "t2v", 124)).toBe(own);
});
diff --git a/tests/open-minimax-h3.test.ts b/tests/open-minimax-h3.test.ts
index f0cf8d18..d1d958c3 100644
--- a/tests/open-minimax-h3.test.ts
+++ b/tests/open-minimax-h3.test.ts
@@ -28,6 +28,7 @@ const { IMAGE_STUDIO, REFRAME_STUDIO, UPSCALE_STUDIO, VIDEO_EDIT_STUDIO, VIDEO_S
const { studioCatalog } = await import("@/lib/studio-catalog");
const { startingModel } = await import("@/lib/your-keys");
const { MARKETING_IMAGE_MODEL } = await import("@/lib/catalog/marketing");
+const { modelHref } = await import("@/lib/palette-index");
beforeAll(() => setSetting("demoMode", "auto"));
afterAll(() => {
@@ -59,7 +60,7 @@ const h3 = getModel("oss-minimax-h3")!;
describe("MiniMax H3 on your GPU: the catalog entry", () => {
it("is the first open video model, with sound, three routes and no negative prompt", () => {
expect(h3).toMatchObject({ name: "MiniMax H3", vendor: "MiniMax", family: "minimax-h3", kind: "video", engine: "open" });
- expect(h3.badges).toEqual(["open", "new", "top", "audio"]);
+ expect(h3.badges).toEqual(["open", "new", "audio", "top"]);
expect(h3.routes.map((r) => [r.op, r.provider, r.endpoint])).toEqual([
["t2v", "comfyui", "minimax-h3-t2v"],
["i2v", "comfyui", "minimax-h3-i2v"],
@@ -83,7 +84,7 @@ describe("MiniMax H3 on your GPU: the catalog entry", () => {
expect(h3.defaults).toEqual({ aspectRatio: "auto", duration: 5, resolution: "768p" });
const video = MODELS.filter((m) => m.engine === "open" && m.kind === "video" && m.vendor !== "Fuobe Original").map((m) => m.id);
expect(video.slice(0, 3)).toEqual(["oss-minimax-h3", "oss-ltx25", "oss-wan22-14b-fast"]);
- expect(getModel("oss-ltx25")!.badges).toEqual(["open", "audio", "new", "top"]);
+ expect(getModel("oss-ltx25")!.badges).toEqual(["open", "audio", "top", "new"]);
expect(getModel("oss-wan22-14b-fast")!.badges).toEqual(["open", "fast", "top"]);
});
@@ -230,15 +231,23 @@ describe("MiniMax H3 on your GPU: canvas, frames and prompt", () => {
const { workflow } = await prepare("minimax-h3-t2v", { duration, aspectRatio: "16:9" }, "t2v");
expect((workflow as Graph)["131"].inputs.length, `${duration} s`).toBe(frames);
}
- // The orbit's own length when none is asked.
- expect(((await prepare("minimax-h3-i2v", { images: ["square.png"], extra: { orbit: true } }, "i2v")).workflow as Graph)["131"].inputs.length).toBe(73);
+ // The orbit's own length when the run names none (the planner gives it 3 s), and the length it names otherwise.
+ const orbit = (params: NonNullable<Parameters<typeof planGeneration>[0]["params"]>) =>
+ planGeneration({ feature: "video", modelId: "oss-minimax-h3", op: "i2v", prompt: "a dancer mid-leap", inputs: { images: ["/api/files/square.png"] }, params }, getModel, getPreset).params;
+ const planned = orbit({ extra: { orbit: true } });
+ expect(planned.duration).toBe(3);
+ expect(((await prepare("minimax-h3-orbit", { ...planned, images: ["square.png"] }, "i2v")).workflow as Graph)["131"].inputs.length).toBe(73);
+ expect(orbit({ duration: 5, extra: { orbit: true } }).duration).toBe(5);
+ expect(orbit({}).duration).toBe(5);
});
it("wraps the words in H3's layout on the server and keeps it as the run's prompt; an orbit keeps its words", async () => {
const still = saveFile({ data: encodePng({ width: 8, height: 6, data: Buffer.alloc(8 * 6 * 4, 200) }), contentType: "image/png", source: "upload" });
const submit = mockProvider.submit;
const seen = new Map<string, string>();
+ const lengths = new Map<string, number | undefined>();
mockProvider.submit = async (ctx) => {
+ if (ctx.model.id === "oss-minimax-h3") lengths.set(ctx.generationId, ctx.input.duration);
if (ctx.model.id === "oss-minimax-h3") seen.set(ctx.generationId, ctx.input.prompt ?? "");
return submit(ctx);
};
@@ -256,8 +265,13 @@ describe("MiniMax H3 on your GPU: canvas, frames and prompt", () => {
const [t2v] = createGenerations({ feature: "video", modelId: "oss-minimax-h3", op: "t2v", prompt: "Waves roll onto a beach at dawn" });
expect(await settled(t2v.id)).toMatch(/^integrated_multimodal_description: \[Shot 1\] Waves roll onto a beach at dawn\n\noverall_soundscape: /);
const words = "One frozen instant, filmed by a camera that moves in one continuous 360-degree orbit.";
- const [orbit] = createGenerations({ feature: "video", modelId: "oss-minimax-h3", op: "i2v", prompt: words, inputs: { images: [still.url] }, params: { duration: 3, extra: { orbit: true } } });
+ // An orbit with no length asked: its words as they are, at the Orbit LoRA's 3 s (73 frames).
+ const [orbit] = createGenerations({ feature: "video", modelId: "oss-minimax-h3", op: "i2v", prompt: words, inputs: { images: [still.url] }, params: { extra: { orbit: true } } });
expect(await settled(orbit.id)).toBe(words);
+ expect(lengths.get(orbit.id)).toBe(3);
+ // The orbit setting on a text run changes nothing: the turbo graph runs, so the words are wrapped.
+ const [text] = createGenerations({ feature: "video", modelId: "oss-minimax-h3", op: "t2v", prompt: "Waves roll onto a beach at dawn", params: { extra: { orbit: true } } });
+ expect(await settled(text.id)).toMatch(/^integrated_multimodal_description: \[Shot 1\] Waves roll/);
// Hosted H3 gets plain words.
expect(getModel("minimax-h3")!.options.promptFormat).toBeUndefined();
} finally {
@@ -313,7 +327,7 @@ describe("the Video studio and the other studio defaults", () => {
expect(manifest.workflows.find((w) => w.id === "upscale-image-seedvr2")!.validated).toBe(true);
});
- it("Edit video starts on your GPU on a v2v model that runs on a clip and words alone", async () => {
+ it("Edit video starts on your GPU on a v2v model that runs on a clip and words alone, in the clip's shape, rate and length", async () => {
const id = VIDEO_EDIT_STUDIO.defaultModels.open;
const view = (x: string) => (getModel(x)?.engines ? onEngine(getModel(x)!, "open") : getModel(x));
const model = view(id)! as ModelDef;
@@ -321,14 +335,35 @@ describe("the Video studio and the other studio defaults", () => {
expect(route.provider).toBe("comfyui");
const plan = planGeneration({ feature: "video-edit", modelId: id, op: "v2v", prompt: "make it snow", inputs: { video: "/api/files/clip.mp4" }, engine: "open" }, view, getPreset);
expect(plan.op).toBe("v2v");
- const prepared = await prepareWorkflow(route.endpoint, { prompt: plan.prompt, video: "clip.mp4", seed: 1, ...plan.params } as GenInput, {
- generationId: "g",
- op: "v2v",
- upload: async (_d, _t, n) => n,
- media: (() => ({ width: 1280, height: 720, duration: 5, videoDuration: 5, fps: 24 })) as never,
- serverRam: async () => undefined,
- });
+ const run = (clip: { width: number; height: number; duration: number; fps: number }, params: Partial<GenInput> = {}) =>
+ prepareWorkflow(route.endpoint, { prompt: plan.prompt, video: "clip.mp4", seed: 1, ...plan.params, ...params } as GenInput, {
+ generationId: "g",
+ op: "v2v",
+ upload: async (_d, _t, n) => n,
+ media: (() => ({ ...clip, videoDuration: clip.duration })) as never,
+ serverRam: async () => undefined,
+ });
+ const prepared = await run({ width: 1280, height: 720, duration: 5, fps: 24 });
expect(prepared.manifest.id).toBe(route.endpoint);
+ // The edit follows the clip: its shape, its frame rate and its whole length.
+ const at = (key: string) => {
+ const [{ node, input }] = (wf(route.endpoint).bindings as Record<string, { node: string; input: string }[]>)[key];
+ return (prepared.workflow as Graph)[node].inputs[input];
+ };
+ const [w, h] = [Number(at("width")), Number(at("height"))];
+ expect(w).toBeGreaterThan(h);
+ expect(Math.abs(w / h - 16 / 9)).toBeLessThan(0.02);
+ expect([at("fps"), at("frames")]).toEqual([24, 120]);
+ // A 30 fps portrait clip: its shape, at 24 fps. Past the frame cap the run is refused, not cut short.
+ const tall = (await run({ width: 1080, height: 1920, duration: 4, fps: 30 })).workflow as Graph;
+ const shape = (key: string) => tall[(wf(route.endpoint).bindings as Record<string, { node: string }[]>)[key][0].node].inputs;
+ expect(Number(shape("height").height)).toBeGreaterThan(Number(shape("width").width));
+ expect(shape("fps").force_rate).toBe(24);
+ await expect(run({ width: 1280, height: 720, duration: 30, fps: 24 })).rejects.toThrow(/up to 240 frames/);
+ // What a run sets itself still wins (the Mixed Media studio sends its own size, rate and frames).
+ const own = (await run({ width: 1280, height: 720, duration: 5, fps: 24 }, { fps: 8, aspectRatio: "9:16", extra: { frames: 40 } })).workflow as Graph;
+ expect([own["1"].inputs.force_rate, own["1"].inputs.frame_load_cap]).toEqual([8, 40]);
+ expect(Number(own["3"].inputs.height)).toBeGreaterThan(Number(own["3"].inputs.width));
expect(filterModels(MODELS, { kind: "video", ops: VIDEO_EDIT_STUDIO.ops }).map((m) => m.id)).toContain(id);
});
@@ -337,6 +372,9 @@ describe("the Video studio and the other studio defaults", () => {
expect(newOpenModels()[0].id).toBe("oss-minimax-h3");
expect(getModel("oss-sdxl")!.hidden).toBe(true);
expect(filterModels(MODELS, { kind: "image", ops: IMAGE_STUDIO.pickerOps ?? IMAGE_STUDIO.ops }).map((m) => m.id)).not.toContain("oss-sdxl");
+ // The Models page has no studio to send it to: its row links to itself.
+ expect(modelHref(getModel("oss-sdxl")!)).toMatch(/^\/models\?q=/);
+ expect(modelHref(h3)).toBe("/video?model=oss-minimax-h3");
});
it("Fuobe Marketing Image runs Qwen-Image 2.1 on your GPU; its Standalone product shot keeps the 2509 graph", () => {
diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.json
index 22e2574f..cefce808 100644
--- a/workflows/comfyui/manifest.json
+++ b/workflows/comfyui/manifest.json
@@ -4902,8 +4902,8 @@
{
"file": "minimax_h3_video_vae_int8_convrot.safetensors",
"folder": "vae",
- "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors",
- "sizeGb": 2.81
+ "url": "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors",
+ "sizeGb": 3.17
},
{
"file": "minimax_h3_audio_vae_fp32.safetensors",
@@ -4943,7 +4943,7 @@
"vramGb": 32,
"license": "MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): territory EXCLUDES the US, the EU, the UK and South Korea; commercial use above US$20M yearly revenue needs MiniMax's written authorization; show \"MiniMax H3\" on the product's interface; no outputs used to improve other AI models · Qwen3-VL-32B base Apache-2.0 · turbo v4 LoRA Apache-2.0 (larryvrh) · ComfyUI-MiniMax-H3-Turbo nodes Apache-2.0 · PlagueKind nodes MIT",
"validated": false,
- "notes": "Text to video with sound: MiniMaxH3ImageToVideo with no frames given, the fl2va pruned int8 model with the turbo v4 LoRA at 1.0 (MiniMaxH3TurboLoRA, MiniMaxH3TurboSampler), BasicScheduler simple 8 steps, H3SLAAttention (sparsity 0.85, block 64, int8 QK; needs Triton) and H3AdaLNLoRAFix (port), CFG 1. Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (2.81 GB) and the audio VAE (0.61 GB). With the turbo v4 LoRA (0.78 GB). Tested on an RTX 5090 (32 GB): about 2-3 min for a 124-frame clip at 1024x768."
+ "notes": "Text to video with sound: MiniMaxH3ImageToVideo with no frames given, the fl2va pruned int8 model with the turbo v4 LoRA at 1.0 (MiniMaxH3TurboLoRA, MiniMaxH3TurboSampler), BasicScheduler simple 8 steps, H3SLAAttention (sparsity 0.85, block 64, int8 QK; needs Triton) and H3AdaLNLoRAFix (port), CFG 1. Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (3.17 GB) and the audio VAE (0.61 GB). With the turbo v4 LoRA (0.78 GB). Tested on an RTX 5090 (32 GB): about 2-3 min for a 124-frame clip at 1024x768."
},
{
"id": "minimax-h3-i2v",
@@ -5029,8 +5029,8 @@
{
"file": "minimax_h3_video_vae_int8_convrot.safetensors",
"folder": "vae",
- "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors",
- "sizeGb": 2.81
+ "url": "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors",
+ "sizeGb": 3.17
},
{
"file": "minimax_h3_audio_vae_fp32.safetensors",
@@ -5070,7 +5070,7 @@
"vramGb": 32,
"license": "MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): territory EXCLUDES the US, the EU, the UK and South Korea; commercial use above US$20M yearly revenue needs MiniMax's written authorization; show \"MiniMax H3\" on the product's interface; no outputs used to improve other AI models · Qwen3-VL-32B base Apache-2.0 · turbo v4 LoRA Apache-2.0 (larryvrh) · ComfyUI-MiniMax-H3-Turbo nodes Apache-2.0 · PlagueKind nodes MIT",
"validated": false,
- "notes": "Image to video with sound: image = the first frame (MiniMaxH3ImageToVideo first_frame), the fl2va pruned int8 model with the turbo v4 LoRA at 1.0, 8 steps, SLA attention (sparsity 0.85; needs Triton) and the AdaLN LoRA fix, CFG 1. The first frame is resized to width x height with no crop, so the canvas should have the still's shape (an \"auto\" aspect ratio sizes it from the still). Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (2.81 GB) and the audio VAE (0.61 GB). With the turbo v4 LoRA (0.78 GB). Tested on an RTX 5090 (32 GB): about 2-3 min for a 124-frame clip at 1024x768."
+ "notes": "Image to video with sound: image = the first frame (MiniMaxH3ImageToVideo first_frame), the fl2va pruned int8 model with the turbo v4 LoRA at 1.0, 8 steps, SLA attention (sparsity 0.85; needs Triton) and the AdaLN LoRA fix, CFG 1. The first frame is resized to width x height with no crop, so the canvas should have the still's shape (an \"auto\" aspect ratio sizes it from the still). Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (3.17 GB) and the audio VAE (0.61 GB). With the turbo v4 LoRA (0.78 GB). Tested on an RTX 5090 (32 GB): about 2-3 min for a 124-frame clip at 1024x768."
},
{
"id": "minimax-h3-flf2v",
@@ -5162,8 +5162,8 @@
{
"file": "minimax_h3_video_vae_int8_convrot.safetensors",
"folder": "vae",
- "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors",
- "sizeGb": 2.81
+ "url": "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors",
+ "sizeGb": 3.17
},
{
"file": "minimax_h3_audio_vae_fp32.safetensors",
@@ -5203,7 +5203,7 @@
"vramGb": 32,
"license": "MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): territory EXCLUDES the US, the EU, the UK and South Korea; commercial use above US$20M yearly revenue needs MiniMax's written authorization; show \"MiniMax H3\" on the product's interface; no outputs used to improve other AI models · Qwen3-VL-32B base Apache-2.0 · turbo v4 LoRA Apache-2.0 (larryvrh) · ComfyUI-MiniMax-H3-Turbo nodes Apache-2.0 · PlagueKind nodes MIT",
"validated": false,
- "notes": "Start and end frame to video with sound: image = the first frame, endImage = the last (cover-cropped to the canvas), the fl2va pruned int8 model with the turbo v4 LoRA at 1.0, 8 steps, SLA attention (sparsity 0.85; needs Triton) and the AdaLN LoRA fix, CFG 1. The first frame is resized to width x height with no crop, so the canvas should have the still's shape (an \"auto\" aspect ratio sizes it from the still). Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (2.81 GB) and the audio VAE (0.61 GB). With the turbo v4 LoRA (0.78 GB). Tested on an RTX 5090 (32 GB): about 2-3 min for a 124-frame clip at 1024x768."
+ "notes": "Start and end frame to video with sound: image = the first frame, endImage = the last (cover-cropped to the canvas), the fl2va pruned int8 model with the turbo v4 LoRA at 1.0, 8 steps, SLA attention (sparsity 0.85; needs Triton) and the AdaLN LoRA fix, CFG 1. The first frame is resized to width x height with no crop, so the canvas should have the still's shape (an \"auto\" aspect ratio sizes it from the still). Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (3.17 GB) and the audio VAE (0.61 GB). With the turbo v4 LoRA (0.78 GB). Tested on an RTX 5090 (32 GB): about 2-3 min for a 124-frame clip at 1024x768."
},
{
"id": "minimax-h3-t2v-hq",
@@ -5276,8 +5276,8 @@
{
"file": "minimax_h3_video_vae_int8_convrot.safetensors",
"folder": "vae",
- "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors",
- "sizeGb": 2.81
+ "url": "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors",
+ "sizeGb": 3.17
},
{
"file": "minimax_h3_audio_vae_fp32.safetensors",
@@ -5302,7 +5302,7 @@
"vramGb": 32,
"license": "MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): territory EXCLUDES the US, the EU, the UK and South Korea; commercial use above US$20M yearly revenue needs MiniMax's written authorization; show \"MiniMax H3\" on the product's interface; no outputs used to improve other AI models · Qwen3-VL-32B base Apache-2.0",
"validated": false,
- "notes": "Text to video with sound, the sharper setting: the fl2va pruned int8 model without the turbo LoRA, BasicScheduler simple 20 steps, KSamplerSelect res_multistep, CFG 1; core nodes only. About 2.3 times as long as minimax-h3-t2v. Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (2.81 GB) and the audio VAE (0.61 GB)."
+ "notes": "Text to video with sound, the sharper setting: the fl2va pruned int8 model without the turbo LoRA, BasicScheduler simple 20 steps, KSamplerSelect res_multistep, CFG 1; core nodes only. About 2.3 times as long as minimax-h3-t2v. Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (3.17 GB) and the audio VAE (0.61 GB)."
},
{
"id": "minimax-h3-i2v-hq",
@@ -5381,8 +5381,8 @@
{
"file": "minimax_h3_video_vae_int8_convrot.safetensors",
"folder": "vae",
- "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors",
- "sizeGb": 2.81
+ "url": "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors",
+ "sizeGb": 3.17
},
{
"file": "minimax_h3_audio_vae_fp32.safetensors",
@@ -5407,7 +5407,7 @@
"vramGb": 32,
"license": "MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): territory EXCLUDES the US, the EU, the UK and South Korea; commercial use above US$20M yearly revenue needs MiniMax's written authorization; show \"MiniMax H3\" on the product's interface; no outputs used to improve other AI models · Qwen3-VL-32B base Apache-2.0",
"validated": false,
- "notes": "Image to video with sound, the sharper setting: image = the first frame, the fl2va pruned int8 model without the turbo LoRA, 20 steps res_multistep, CFG 1; core nodes only. About 2.3 times as long as minimax-h3-i2v. The first frame is resized to width x height with no crop, so the canvas should have the still's shape (an \"auto\" aspect ratio sizes it from the still). Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (2.81 GB) and the audio VAE (0.61 GB)."
+ "notes": "Image to video with sound, the sharper setting: image = the first frame, the fl2va pruned int8 model without the turbo LoRA, 20 steps res_multistep, CFG 1; core nodes only. About 2.3 times as long as minimax-h3-i2v. The first frame is resized to width x height with no crop, so the canvas should have the still's shape (an \"auto\" aspect ratio sizes it from the still). Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (3.17 GB) and the audio VAE (0.61 GB)."
},
{
"id": "minimax-h3-flf2v-hq",
@@ -5492,8 +5492,8 @@
{
"file": "minimax_h3_video_vae_int8_convrot.safetensors",
"folder": "vae",
- "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors",
- "sizeGb": 2.81
+ "url": "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors",
+ "sizeGb": 3.17
},
{
"file": "minimax_h3_audio_vae_fp32.safetensors",
@@ -5518,7 +5518,7 @@
"vramGb": 32,
"license": "MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): territory EXCLUDES the US, the EU, the UK and South Korea; commercial use above US$20M yearly revenue needs MiniMax's written authorization; show \"MiniMax H3\" on the product's interface; no outputs used to improve other AI models · Qwen3-VL-32B base Apache-2.0",
"validated": false,
- "notes": "Start and end frame to video with sound, the sharper setting: image = the first frame, endImage = the last, the fl2va pruned int8 model without the turbo LoRA, 20 steps res_multistep, CFG 1; core nodes only. About 2.3 times as long as minimax-h3-flf2v. The first frame is resized to width x height with no crop, so the canvas should have the still's shape (an \"auto\" aspect ratio sizes it from the still). Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (2.81 GB) and the audio VAE (0.61 GB)."
+ "notes": "Start and end frame to video with sound, the sharper setting: image = the first frame, endImage = the last, the fl2va pruned int8 model without the turbo LoRA, 20 steps res_multistep, CFG 1; core nodes only. About 2.3 times as long as minimax-h3-flf2v. The first frame is resized to width x height with no crop, so the canvas should have the still's shape (an \"auto\" aspect ratio sizes it from the still). Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). The prompt reads best in MiniMax's layout: an alignment line for the reference frames, then integrated_multimodal_description, overall_soundscape and non_diegetic_music. The sound is generated with the picture (stereo) and saved with it. Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (3.17 GB) and the audio VAE (0.61 GB)."
},
{
"id": "minimax-h3-orbit",
@@ -5597,8 +5597,8 @@
{
"file": "minimax_h3_video_vae_int8_convrot.safetensors",
"folder": "vae",
- "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors",
- "sizeGb": 2.81
+ "url": "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors",
+ "sizeGb": 3.17
},
{
"file": "minimax_h3_audio_vae_fp32.safetensors",
@@ -5629,7 +5629,7 @@
"vramGb": 32,
"license": "MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): territory EXCLUDES the US, the EU, the UK and South Korea; commercial use above US$20M yearly revenue needs MiniMax's written authorization; show \"MiniMax H3\" on the product's interface; no outputs used to improve other AI models · Qwen3-VL-32B base Apache-2.0 · pablodawson's 360 Orbit LoRA under the same MiniMax H3 Community License",
"validated": false,
- "notes": "A camera orbit around one frozen instant: image (LoadImage 138) is both the first and the last frame of MiniMaxH3ImageToVideo. The fl2va pruned int8 model with pablodawson's 360 Orbit LoRA (minimax_h3_flf2v_lora_v1, LoraLoaderModelOnly at 1.0), MiniMaxH3SigmaShift 12 / 3, BasicScheduler simple 28 steps, KSamplerSelect res_multistep, CFG 1; core nodes only. 73 frames (3.04 s) is the LoRA's training length. The prompt reads best in the LoRA's own caption style: one frozen instant, the camera in one continuous 360-degree orbit, everything holding its place, camera parallax the only movement. The LoRA was trained without sound; the graph still decodes H3's audio. The first frame is resized to width x height with no crop, so the canvas should have the still's shape (an \"auto\" aspect ratio sizes it from the still). Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). frames = length at 24 fps on the 17n+5 grid (73 = 3.04 s, 124 = 5.17 s, 243 = 10.13 s, 362 = 15.08 s; trained on 5-15 s). Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (2.81 GB) and the audio VAE (0.61 GB). With the Orbit LoRA (0.16 GB)."
+ "notes": "A camera orbit around one frozen instant: image (LoadImage 138) is both the first and the last frame of MiniMaxH3ImageToVideo. The fl2va pruned int8 model with pablodawson's 360 Orbit LoRA (minimax_h3_flf2v_lora_v1, LoraLoaderModelOnly at 1.0), MiniMaxH3SigmaShift 12 / 3, BasicScheduler simple 28 steps, KSamplerSelect res_multistep, CFG 1; core nodes only. 73 frames (3.04 s) is the LoRA's training length. The prompt reads best in the LoRA's own caption style: one frozen instant, the camera in one continuous 360-degree orbit, everything holding its place, camera parallax the only movement. The LoRA was trained without sound; the graph still decodes H3's audio. The first frame is resized to width x height with no crop, so the canvas should have the still's shape (an \"auto\" aspect ratio sizes it from the still). Canvas: 768 px on the short side, at most 768 x 1344, multiples of 32 (16:9 1344x768, 4:3 1024x768, 1:1 768x768, 9:16 768x1344). Files: fl2va pruned int8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB; native on compute capability 10+), the int8 video VAE (3.17 GB) and the audio VAE (0.61 GB). With the Orbit LoRA (0.16 GB)."
},
{
"id": "infinitetalk-native",
diff --git a/workflows/comfyui/model-pins.json b/workflows/comfyui/model-pins.json
index 05f193ec..8bc75c35 100644
--- a/workflows/comfyui/model-pins.json
+++ b/workflows/comfyui/model-pins.json
@@ -204,10 +204,10 @@
"sizeBytes": 5207808496,
"sha256": "7c1f131492e7eddacaac9069a61b81bdd39de5cc96561e677c5eab1cdce5e522"
},
- "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors": {
- "revision": "1c41cfca8ebba91d0af792a05c5761fb2c3a7975",
- "sizeBytes": 2811065184,
- "sha256": "52a2c8c73583c86e4f41cdcce3a6ad0ea562987bc0bf3d60a0cef5f5c8e60c0e"
+ "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors": {
+ "revision": "f5c3b1d5a63e008a691fca1b6096fd57a5307536",
+ "sizeBytes": 3171670912,
+ "sha256": "9bb2d96f218c76babd85e0611b85ca8fb330a90546c01a0005e8a58a59593410"
},
"https://huggingface.co/Comfy-Org/MoGe/resolve/main/geometry_estimation/moge_2_vitl_normal_fp16.safetensors": {
"revision": "1484985258ba7ef45c314144fcf0e90924ffbf44",
diff --git a/workflows/comfyui/requirements.json b/workflows/comfyui/requirements.json
index edd7acf5..448c2111 100644
--- a/workflows/comfyui/requirements.json
+++ b/workflows/comfyui/requirements.json
@@ -1,6 +1,6 @@
{
"v": 1,
- "hash": "4a3d4baf8330d87550767067fea1f6561d55cef456f56cecf83c8e8dcb120c81",
+ "hash": "d4f93f600a579d769c2a68a1cb50c6e3fc857ae82562715a05fd4067d44c7a7d",
"comfyui": {"min":"0.42.0","testedCommit":"5841c187"},
"folders": ["audio_encoders","background_removal","checkpoints","clip_vision","dbs","diffusion_models","facerestore_models","foley","frame_interpolation","geometry_estimation","insightface","latent_upscale_models","loras","mmaudio","model_patches","optical_flow","text_encoders","thinksound","upscale_models","vae"],
"sentinels": ["AILab_Qwen3ASRSubtitle","AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_ImageCropRotatePad","AUSBOSS_NODES_StitchInpaint","Add Subtitles To Frames","Apply Whisper","CFGOverride","ClothesSegment","ComfyMathExpression","DBSLoader","DBSSeparate","DownloadAndLoadWav2VecModel","DualModelGuider","FL_ChatterboxDialogTTS","FL_ChatterboxMultilingualTTS","FL_ChatterboxVC","GetImageRangeFromBatch","GetImageSizeAndCount","GrowMaskWithBlur","H3AdaLNLoRAFix","H3CharacterSwapAssemble","H3CharacterSwapController","H3CharacterSwapExpandMask","H3CharacterSwapModels","H3CharacterSwapPrepareVideo","H3CharacterSwapRecoverMasks","H3CharacterSwapSelectSubject","H3CharacterSwapSettings","H3CharacterSwapShot","H3CharacterSwapWindowPlan","H3RelayAppendWindow","H3RelayApplyEditMask","H3RelayApplyHistory","H3RelayExpandMask","H3RelayFinishWindows","H3RelayPrepareSource","H3RelayRecoverMasks","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelaySelectMask","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan","H3SLAAttention","HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader","INTConstant","Ideogram4Scheduler","ImageBatchExtendWithOverlap","ImageGridtoBatch","ImageResizeKJv2","IndexTTS2Simple","Krea2EditGroundedEncode","Krea2EditModelPatch","Krea2OstrisEditModelPatch","LTXAVTextEncoderLoader","LTXVAddGuide","LTXVAudioVAEDecode","LTXVAudioVAELoader","LTXVConcatAVLatent","LTXVConditioning","LTXVCropGuides","LTXVDualCFGGuider","LTXVEmptyLatentAudio","LTXVImgToVideoInplace","LTXVLatentUpsampler","LTXVPreprocess","LTXVScheduler","LTXVSeparateAVLatent","LatentSyncNode","LoadBackgroundRemovalModel","LoadVideoDepthAnythingModel","MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler","MelBandRoFormerModelLoader","MelBandRoFormerSampler","MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler","MultiTalkModelLoader","MultiTalkWav2VecEmbeds","QwenImage21Cache","RIFE VFI","RMBG","ReActorFaceSwap","RemoveBackground","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO","TextEncodeFibo2","TextEncodeKrea2OstrisEdit","TextEncodeQwenImage21","ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","VHS_BatchManager","VHS_LoadAudioUpload","VHS_LoadVideo","VHS_SelectEveryNthImage","VHS_VideoCombine","VHS_VideoInfo","VHS_VideoInfoLoaded","VideoDepthAnythingOutput","VideoDepthAnythingProcess","VideoLengthAdjuster","WanVideoBlockSwap","WanVideoClipVisionEncode","WanVideoDecode","WanVideoEncode","WanVideoImageToVideoMultiTalk","WanVideoLoraSelect","WanVideoModelLoader","WanVideoPassImagesFromSamples","WanVideoSampler","WanVideoTextEncodeCached","WanVideoVAELoader"],
@@ -204,7 +204,7 @@
"vae/ltx-2.5-video-vae-bf16.safetensors": {"folder":"vae","file":"ltx-2.5-video-vae-bf16.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-video-vae-bf16.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-video-vae-bf16.safetensors","sizeBytes":1470000000,"gated":true,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/minimax_h3_audio_vae_fp32.safetensors": {"folder":"vae","file":"minimax_h3_audio_vae_fp32.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_audio_vae_fp32.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_audio_vae_fp32.safetensors","sizeBytes":605254808,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/minimax_h3_video_vae_fp16.safetensors": {"folder":"vae","file":"minimax_h3_video_vae_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_fp16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_fp16.safetensors","sizeBytes":5207808496,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
- "vae/minimax_h3_video_vae_int8_convrot.safetensors": {"folder":"vae","file":"minimax_h3_video_vae_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_int8_convrot.safetensors","sizeBytes":2811065184,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
+ "vae/minimax_h3_video_vae_int8_convrot.safetensors": {"folder":"vae","file":"minimax_h3_video_vae_int8_convrot.safetensors","url":"https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors","sizeBytes":3171670912,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/qwen_image_2.1_vae_bf16.safetensors": {"folder":"vae","file":"qwen_image_2.1_vae_bf16.safetensors","url":"https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/vae/qwen_image_2.1_vae_bf16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/aacf31a6d48e707f352ecba714cee0680da3479b/vae/qwen_image_2.1_vae_bf16.safetensors","sizeBytes":675509688,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/qwen_image_layered_vae.safetensors": {"folder":"vae","file":"qwen_image_layered_vae.safetensors","url":"https://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/resolve/main/split_files/vae/qwen_image_layered_vae.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/resolve/02130716aaf54a36f84c9fcfa8a373ab06284e2b/split_files/vae/qwen_image_layered_vae.safetensors","sizeBytes":253816616,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/qwen_image_vae.safetensors": {"folder":"vae","file":"qwen_image_vae.safetensors","url":"https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/1f12b17be14c89b026c51a91d67c32f84bb047bc/split_files/vae/qwen_image_vae.safetensors","sizeBytes":253806246,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},