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.

feat(minimax-h3): five bundled video workflows that record their metadata

Lincoln Steinab1345ab8725
diff --git a/invokeai/app/invocations/metadata.py b/invokeai/app/invocations/metadata.py
index 9722a1aaab..cb8e351c64 100644
--- a/invokeai/app/invocations/metadata.py
+++ b/invokeai/app/invocations/metadata.py
@@ -16,6 +16,7 @@ from invokeai.app.invocations.fields import (
MetadataField,
OutputField,
UIType,
+ VideoField,
)
from invokeai.app.invocations.model import ModelIdentifierField
from invokeai.app.invocations.primitives import StringOutput
@@ -187,6 +188,9 @@ GENERATION_MODES = Literal[
"wan_i2v",
"minimax_h3_t2v",
"minimax_h3_i2v",
+ "minimax_h3_lf2v",
+ "minimax_h3_flf2v",
+ "minimax_h3_extend_video",
"minimax_h3_txt2img",
]
@@ -196,7 +200,7 @@ GENERATION_MODES = Literal[
title="Core Metadata",
tags=["metadata"],
category="metadata",
- version="2.2.0",
+ version="2.3.0",
classification=Classification.Internal,
)
class CoreMetadataInvocation(BaseInvocation):
@@ -265,6 +269,34 @@ class CoreMetadataInvocation(BaseInvocation):
description="The structured JSON caption encoded for Ideogram 4 inference",
)
+ # Video generation. Frame count and keyframes have no home among the image fields, and
+ # the two MiniMax H3 single-file overrides are separate models from the main install, so
+ # `model` alone would not identify what actually ran.
+ num_frames: Optional[int] = InputField(
+ default=None,
+ description="The number of video frames generated",
+ )
+ first_frame_image: Optional[ImageField] = InputField(
+ default=None,
+ description="The image used as the video's first frame",
+ )
+ last_frame_image: Optional[ImageField] = InputField(
+ default=None,
+ description="The image used as the video's last frame",
+ )
+ source_video: Optional[VideoField] = InputField(
+ default=None,
+ description="The video this generation was derived from, e.g. the clip an extend workflow continues",
+ )
+ minimax_h3_transformer_model: Optional[ModelIdentifierField] = InputField(
+ default=None,
+ description="The single-file MiniMax H3 transformer used in place of the main model's transformer",
+ )
+ minimax_h3_text_encoder_model: Optional[ModelIdentifierField] = InputField(
+ default=None,
+ description="The single-file MiniMax H3 Qwen3-VL text encoder used in place of the main model's",
+ )
+
# High resolution fix metadata.
hrf_enabled: Optional[bool] = InputField(
default=None,
diff --git a/invokeai/app/invocations/minimax_h3_lora_loader.py b/invokeai/app/invocations/minimax_h3_lora_loader.py
index 16338a797d..dcc9cdbc2a 100644
--- a/invokeai/app/invocations/minimax_h3_lora_loader.py
+++ b/invokeai/app/invocations/minimax_h3_lora_loader.py
@@ -8,6 +8,7 @@ from invokeai.app.invocations.baseinvocation import (
invocation_output,
)
from invokeai.app.invocations.fields import FieldDescriptions, Input, InputField, OutputField
+from invokeai.app.invocations.metadata import LoRAMetadataField
from invokeai.app.invocations.model import LoRAField, MiniMaxH3TransformerField, ModelIdentifierField
from invokeai.app.services.shared.invocation_context import InvocationContext
from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelType
@@ -20,6 +21,13 @@ class MiniMaxH3LoRALoaderOutput(BaseInvocationOutput):
transformer: Optional[MiniMaxH3TransformerField] = OutputField(
default=None, description=FieldDescriptions.transformer, title="MiniMax H3 Transformer"
)
+ # The transformer field carries LoRAField entries, which metadata cannot consume (different
+ # shape, different key names). This echoes the same LoRA in the shape core_metadata.loras
+ # wants, so a workflow can record what it applied without retyping the model key.
+ lora_metadata: LoRAMetadataField = OutputField(
+ description="The applied LoRA, in the shape Core Metadata's `loras` field takes.",
+ title="LoRA Metadata",
+ )
@invocation(
@@ -27,7 +35,7 @@ class MiniMaxH3LoRALoaderOutput(BaseInvocationOutput):
title="Apply LoRA - MiniMax H3",
tags=["lora", "model", "minimax"],
category="model",
- version="1.0.0",
+ version="1.1.0",
classification=Classification.Prototype,
)
class MiniMaxH3LoRALoaderInvocation(BaseInvocation):
@@ -73,7 +81,10 @@ class MiniMaxH3LoRALoaderInvocation(BaseInvocation):
transformer = self.transformer.model_copy(deep=True)
transformer.loras.append(LoRAField(lora=self.lora, weight=self.weight))
- return MiniMaxH3LoRALoaderOutput(transformer=transformer)
+ return MiniMaxH3LoRALoaderOutput(
+ transformer=transformer,
+ lora_metadata=LoRAMetadataField(model=self.lora, weight=self.weight),
+ )
@invocation(
diff --git a/invokeai/app/invocations/minimax_h3_model_loader.py b/invokeai/app/invocations/minimax_h3_model_loader.py
index 3940192daf..219e9f8626 100644
--- a/invokeai/app/invocations/minimax_h3_model_loader.py
+++ b/invokeai/app/invocations/minimax_h3_model_loader.py
@@ -30,6 +30,20 @@ class MiniMaxH3ModelLoaderOutput(BaseInvocationOutput):
)
vae: VAEField = OutputField(description=FieldDescriptions.vae, title="Video VAE")
audio_vae: VAEField = OutputField(description=FieldDescriptions.minimax_h3_audio_vae, title="Audio VAE")
+ # The three model identifiers are echoed back out so a graph can record what it ran with.
+ # Their inputs are Input.Direct (a base-filtered picker), so nothing upstream can be read
+ # instead, and a duplicate literal typed into a metadata node would silently go stale.
+ model: ModelIdentifierField = OutputField(description="The MiniMax H3 model that was loaded.", title="Model")
+ transformer_model: Optional[ModelIdentifierField] = OutputField(
+ default=None,
+ description="The single-file transformer override that was used, if any.",
+ title="Transformer (single file)",
+ )
+ text_encoder_model: Optional[ModelIdentifierField] = OutputField(
+ default=None,
+ description="The single-file text encoder override that was used, if any.",
+ title="Text Encoder (single file)",
+ )
@invocation(
@@ -37,7 +51,7 @@ class MiniMaxH3ModelLoaderOutput(BaseInvocationOutput):
title="Main Model - MiniMax H3",
tags=["model", "minimax", "video"],
category="model",
- version="1.2.0",
+ version="1.3.0",
classification=Classification.Prototype,
)
class MiniMaxH3ModelLoaderInvocation(BaseInvocation):
@@ -126,4 +140,7 @@ class MiniMaxH3ModelLoaderInvocation(BaseInvocation):
text_encoder=MiniMaxH3TextEncoderField(tokenizer=tokenizer, processor=processor, text_encoder=text_encoder),
vae=VAEField(vae=vae),
audio_vae=VAEField(vae=audio_vae),
+ model=self.model,
+ transformer_model=self.transformer_model,
+ text_encoder_model=self.text_encoder_model,
)
diff --git a/invokeai/app/services/workflow_records/default_workflows/Extend Video - MiniMax H3.json b/invokeai/app/services/workflow_records/default_workflows/Extend Video - MiniMax H3.json
new file mode 100644
index 0000000000..ba104b9d2e
--- /dev/null
+++ b/invokeai/app/services/workflow_records/default_workflows/Extend Video - MiniMax H3.json
@@ -0,0 +1,1262 @@
+{
+ "name": "Extend Video - MiniMax H3",
+ "author": "InvokeAI",
+ "description": "Continue an existing video with MiniMax H3 (FL2VA). Trim the source to the part you want to keep, and the workflow generates a new clip starting from that last frame and cross-fades the two together. The generation parameters, including the source video, are recorded onto the joined result.",
+ "version": "1.0.0",
+ "contact": "",
+ "tags": "minimax h3, extend video, video, audio",
+ "notes": "Drop in a video, use the Start Frame and End Frame fields to choose the span you want to keep, and describe what should happen next in the prompt. The frame at End Frame becomes the first frame of the generated continuation, and the two clips are joined with a short cross-fade over that hand-off point. Frames counts here are 0-based and accept negative indices, so End Frame -1 means 'the last frame'.\n\nOnly the newly generated segment is described by the recorded frame count and canvas -- the length of the joined result is the source span plus that segment.\n\nEach InvokeAI install assigns its own internal model IDs, so every model field ships blank -- pick your installed models in the form after loading:\n\n- Model: the MiniMax H3 FL2VA install (diffusers layout). Required.\n- Transformer (single file) / Text Encoder (single file): optional single-file replacements for the install's transformer and Qwen3-VL encoder (e.g. the pruned int8 repacks). Leave blank to use the ones in the main install.\n- LoRA: the MiniMax H3 Turbo step-distillation LoRA.\n\nSteps default to 6, which assumes the Turbo LoRA is loaded. Without a step-distillation LoRA, raise steps to about 50 -- the reference default -- or the result will be badly under-denoised.\n\nMiniMax H3 generates the video and a synchronized stereo soundtrack together; the soundtrack is muxed into the MP4 automatically (AAC, 32 kHz). The frame rate is fixed at 24 fps and frame counts snap to a 17n+5 grid: 124 frames = ~5.2 s, up to 345 frames = 14.4 s. Width and height must be multiples of 32; the native canvas has a 768 px short edge (max 768x1344).\n\nThe model is guidance-distilled: no negative prompt, no CFG.\n\nA keyframe is part of BOTH the text conditioning (vision context) and the VAE frame conditioning -- the denoise node rejects the graph if the two disagree. Each image node here feeds Prompt - MiniMax H3 and Frame Conditioning - MiniMax H3 together, and one MiniMax H3 Ideal Dimensions node feeds the canvas to all three consumers, so the coupling holds automatically. Keep it that way if you edit a copy.\n\nThe Core Metadata node records the prompt, steps, seed, canvas size, frame count, any keyframe images and every model ID onto the saved video, so the gallery's Metadata tab is filled in and the video is findable by searching its prompt text. Each value is read over an edge from the node that actually used it, so nothing recorded can drift from what the form is set to. If you rewire the graph, keep those edges attached.",
+ "exposedFields": [
+ {
+ "nodeId": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "fieldName": "video"
+ },
+ {
+ "nodeId": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "fieldName": "start_frame"
+ },
+ {
+ "nodeId": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "fieldName": "end_frame"
+ },
+ {
+ "nodeId": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "fieldName": "value"
+ },
+ {
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "fieldName": "target_resolution"
+ },
+ {
+ "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "fieldName": "num_frames"
+ },
+ {
+ "nodeId": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "fieldName": "value"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "model"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "transformer_model"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "text_encoder_model"
+ },
+ {
+ "nodeId": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "fieldName": "lora"
+ }
+ ],
+ "meta": {
+ "version": "4.0.0",
+ "category": "default"
+ },
+ "nodes": [
+ {
+ "id": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "type": "invocation",
+ "data": {
+ "id": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "Prompt",
+ "notes": "Feeds the text encoder and the metadata record from one place, so the recorded prompt is always the prompt that ran.",
+ "type": "string",
+ "inputs": {
+ "value": {
+ "name": "value",
+ "label": "Prompt",
+ "description": "",
+ "value": ""
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": -320
+ }
+ },
+ {
+ "id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "type": "invocation",
+ "data": {
+ "id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "version": "1.3.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "minimax_h3_model_loader",
+ "inputs": {
+ "model": {
+ "name": "model",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "transformer_model": {
+ "name": "transformer_model",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "text_encoder_model": {
+ "name": "text_encoder_model",
+ "label": "",
+ "description": "",
+ "value": null
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": false
+ },
+ "position": {
+ "x": 140,
+ "y": 420
+ }
+ },
+ {
+ "id": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "type": "invocation",
+ "data": {
+ "id": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "The Turbo step-distillation LoRA is what makes 6 steps enough. Remove this node and raise the step count to about 50.",
+ "type": "minimax_h3_lora_loader",
+ "inputs": {
+ "lora": {
+ "name": "lora",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "weight": {
+ "name": "weight",
+ "label": "",
+ "description": "",
+ "value": 1
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 620
+ }
+ },
+ {
+ "id": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "type": "invocation",
+ "data": {
+ "id": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "LoRAs (metadata)",
+ "notes": "",
+ "type": "collect",
+ "inputs": {
+ "collection": {
+ "name": "collection",
+ "label": "",
+ "description": "",
+ "value": []
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1000,
+ "y": 700
+ }
+ },
+ {
+ "id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "type": "invocation",
+ "data": {
+ "id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "version": "1.0.0",
+ "nodePack": "invokeai",
+ "label": "Prompt",
+ "notes": "H3 is guidance-distilled: there is no negative prompt. The prompt and canvas arrive over edges so they always match the denoise node.",
+ "type": "minimax_h3_text_encoder",
+ "inputs": {
+ "prompt": {
+ "name": "prompt",
+ "label": "Prompt",
+ "description": "",
+ "value": ""
+ },
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1344
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 768
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": -140
+ }
+ },
+ {
+ "id": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "type": "invocation",
+ "data": {
+ "id": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "rand_int",
+ "inputs": {
+ "low": {
+ "name": "low",
+ "label": "",
+ "description": "",
+ "value": 0
+ },
+ "high": {
+ "name": "high",
+ "label": "",
+ "description": "",
+ "value": 2147483647
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": false
+ },
+ "position": {
+ "x": 1000,
+ "y": 900
+ }
+ },
+ {
+ "id": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "type": "invocation",
+ "data": {
+ "id": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "Steps",
+ "notes": "6 steps assumes the Turbo LoRA. Without it, about 50.",
+ "type": "integer",
+ "inputs": {
+ "value": {
+ "name": "value",
+ "label": "Steps",
+ "description": "",
+ "value": 6
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 900
+ }
+ },
+ {
+ "id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "type": "invocation",
+ "data": {
+ "id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "version": "1.3.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "minimax_h3_denoise",
+ "inputs": {
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1344
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 768
+ },
+ "num_frames": {
+ "name": "num_frames",
+ "label": "Frames",
+ "description": "",
+ "value": "124"
+ },
+ "steps": {
+ "name": "steps",
+ "label": "",
+ "description": "",
+ "value": 6
+ },
+ "seed": {
+ "name": "seed",
+ "label": "",
+ "description": "",
+ "value": 0
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1420,
+ "y": -60
+ }
+ },
+ {
+ "id": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "type": "invocation",
+ "data": {
+ "id": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "version": "2.3.0",
+ "nodePack": "invokeai",
+ "label": "Core Metadata",
+ "notes": "Everything except the generation mode arrives over an edge from the node that used the value, so the record cannot go stale.",
+ "type": "core_metadata",
+ "inputs": {
+ "generation_mode": {
+ "name": "generation_mode",
+ "label": "",
+ "description": "",
+ "value": "minimax_h3_extend_video"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1860,
+ "y": 380
+ }
+ },
+ {
+ "id": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "type": "invocation",
+ "data": {
+ "id": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "version": "1.0.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "minimax_h3_latents_to_video",
+ "inputs": {},
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 2300,
+ "y": -60
+ }
+ },
+ {
+ "id": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "type": "invocation",
+ "data": {
+ "id": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "version": "1.2.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "Trims the source clip to the part you want to keep; the generated continuation starts from the frame at End Frame. The output rate is pinned to 24 fps -- H3 only generates at 24 fps, and the two clips have to share a rate before they can be joined. A source at another rate is retimed here, video and audio together.",
+ "type": "extract_video_range",
+ "inputs": {
+ "video": {
+ "name": "video",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "start_frame": {
+ "name": "start_frame",
+ "label": "",
+ "description": "",
+ "value": 0
+ },
+ "end_frame": {
+ "name": "end_frame",
+ "label": "",
+ "description": "",
+ "value": -1
+ },
+ "fps": {
+ "name": "fps",
+ "label": "",
+ "description": "",
+ "value": 24
+ },
+ "board": {
+ "name": "board",
+ "label": "",
+ "description": "",
+ "value": "auto"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": -280,
+ "y": -220
+ }
+ },
+ {
+ "id": "c2b5afb3-d079-4afb-9354-4c1a7aeae73a",
+ "type": "invocation",
+ "data": {
+ "id": "c2b5afb3-d079-4afb-9354-4c1a7aeae73a",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "Grabs the last frame of the trimmed clip; it becomes the first frame of the generated continuation.",
+ "type": "video_frame_extract",
+ "inputs": {
+ "frame_index": {
+ "name": "frame_index",
+ "label": "",
+ "description": "",
+ "value": -1
+ },
+ "board": {
+ "name": "board",
+ "label": "",
+ "description": "",
+ "value": "auto"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 140,
+ "y": -220
+ }
+ },
+ {
+ "id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "type": "invocation",
+ "data": {
+ "id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "version": "1.0.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "VAE-encodes the hand-off frame. The same image and canvas must also reach the Prompt node.",
+ "type": "minimax_h3_frame_conditioning",
+ "inputs": {
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1344
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 768
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 200
+ }
+ },
+ {
+ "id": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "type": "invocation",
+ "data": {
+ "id": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "Derives the H3 canvas from the source video's aspect ratio.",
+ "type": "minimax_h3_ideal_dimensions",
+ "inputs": {
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1024
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 1024
+ },
+ "target_resolution": {
+ "name": "target_resolution",
+ "label": "",
+ "description": "",
+ "value": "768 highres"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 120,
+ "y": 60
+ }
+ },
+ {
+ "id": "9a94f5c6-8021-47df-9e95-c1bd62046d08",
+ "type": "invocation",
+ "data": {
+ "id": "9a94f5c6-8021-47df-9e95-c1bd62046d08",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "Source Clip",
+ "notes": "",
+ "type": "collect",
+ "inputs": {
+ "collection": {
+ "name": "collection",
+ "label": "",
+ "description": "",
+ "value": []
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1860,
+ "y": -320
+ }
+ },
+ {
+ "id": "9aa506d7-9132-48e0-af06-d2ce73157e09",
+ "type": "invocation",
+ "data": {
+ "id": "9aa506d7-9132-48e0-af06-d2ce73157e09",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "Clips to Join",
+ "notes": "",
+ "type": "collect",
+ "inputs": {
+ "collection": {
+ "name": "collection",
+ "label": "",
+ "description": "",
+ "value": []
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 2300,
+ "y": -320
+ }
+ },
+ {
+ "id": "9ab617e8-a243-49f1-b017-e3df84268f0a",
+ "type": "invocation",
+ "data": {
+ "id": "9ab617e8-a243-49f1-b017-e3df84268f0a",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "float_to_int",
+ "inputs": {
+ "multiple": {
+ "name": "multiple",
+ "label": "",
+ "description": "",
+ "value": 1
+ },
+ "method": {
+ "name": "method",
+ "label": "",
+ "description": "",
+ "value": "Nearest"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 2300,
+ "y": 200
+ }
+ },
+ {
+ "id": "4b32c22b-679d-4d5e-a167-c3309265fcd9",
+ "type": "invocation",
+ "data": {
+ "id": "4b32c22b-679d-4d5e-a167-c3309265fcd9",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "Joins the trimmed source and the generated continuation, cross-fading over the hand-off frame so the seam is not visible.",
+ "type": "video_concat",
+ "inputs": {
+ "transition": {
+ "name": "transition",
+ "label": "",
+ "description": "",
+ "value": "crossfade"
+ },
+ "transition_frames": {
+ "name": "transition_frames",
+ "label": "",
+ "description": "",
+ "value": 2
+ },
+ "board": {
+ "name": "board",
+ "label": "",
+ "description": "",
+ "value": "auto"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": false,
+ "useCache": true
+ },
+ "position": {
+ "x": 2740,
+ "y": -320
+ }
+ }
+ ],
+ "edges": [
+ {
+ "id": "edge-9c0f3e11-value-9b2f7d8c-prompt",
+ "source": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "sourceHandle": "value",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "prompt",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-text_encoder-9b2f7d8c-text_encoder",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "text_encoder",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "text_encoder",
+ "type": "default"
+ },
+ {
+ "id": "edge-9b2f7d8c-conditioning-9d3b9faf-positive_conditioning",
+ "source": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "sourceHandle": "conditioning",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "positive_conditioning",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-transformer-9f10ad7a-transformer",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "transformer",
+ "target": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "targetHandle": "transformer",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f10ad7a-transformer-9d3b9faf-transformer",
+ "source": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "sourceHandle": "transformer",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "transformer",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d1a4f22-value-9d3b9faf-steps",
+ "source": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "sourceHandle": "value",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "steps",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c4cab0b-value-9d3b9faf-seed",
+ "source": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "sourceHandle": "value",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "seed",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9b2f7d8c-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9b2f7d8c-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9d3b9faf-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9d3b9faf-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-video_latents-9e5dcb1c-video_latents",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "video_latents",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "video_latents",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-audio_latents-9e5dcb1c-audio_latents",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "audio_latents",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "audio_latents",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-vae-9e5dcb1c-vae",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "vae",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "vae",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-audio_vae-9e5dcb1c-audio_vae",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "audio_vae",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "audio_vae",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c0f3e11-value-9e2b5033-positive_prompt",
+ "source": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "positive_prompt",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d1a4f22-value-9e2b5033-steps",
+ "source": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "steps",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c4cab0b-value-9e2b5033-seed",
+ "source": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "seed",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-width-9e2b5033-width",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "width",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-height-9e2b5033-height",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "height",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-num_frames-9e2b5033-num_frames",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "num_frames",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "num_frames",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-model-9e2b5033-model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-transformer_model-9e2b5033-minimax_h3_transformer_model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "transformer_model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "minimax_h3_transformer_model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-text_encoder_model-9e2b5033-minimax_h3_text_encoder_model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "text_encoder_model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "minimax_h3_text_encoder_model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f10ad7a-lora_metadata-9f3c6144-item",
+ "source": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "sourceHandle": "lora_metadata",
+ "target": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "targetHandle": "item",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f3c6144-collection-9e2b5033-loras",
+ "source": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "sourceHandle": "collection",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "loras",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e2b5033-metadata-9e5dcb1c-metadata",
+ "source": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "sourceHandle": "metadata",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "metadata",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e2b5033-metadata-4b32c22b-metadata",
+ "source": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "sourceHandle": "metadata",
+ "target": "4b32c22b-679d-4d5e-a167-c3309265fcd9",
+ "targetHandle": "metadata",
+ "type": "default"
+ },
+ {
+ "id": "edge-52e0f43e-video-c2b5afb3-video",
+ "source": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "sourceHandle": "video",
+ "target": "c2b5afb3-d079-4afb-9354-4c1a7aeae73a",
+ "targetHandle": "video",
+ "type": "default"
+ },
+ {
+ "id": "edge-c2b5afb3-image-9b2f7d8c-first_image",
+ "source": "c2b5afb3-d079-4afb-9354-4c1a7aeae73a",
+ "sourceHandle": "image",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "first_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-c2b5afb3-image-9a73db93-first_image",
+ "source": "c2b5afb3-d079-4afb-9354-4c1a7aeae73a",
+ "sourceHandle": "image",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "first_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-vae-9a73db93-vae",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "vae",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "vae",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a73db93-frame_conditioning-9d3b9faf-frame_conditioning",
+ "source": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "sourceHandle": "frame_conditioning",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "frame_conditioning",
+ "type": "default"
+ },
+ {
+ "id": "edge-52e0f43e-width-9e8d7c6b-width",
+ "source": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "sourceHandle": "width",
+ "target": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-52e0f43e-height-9e8d7c6b-height",
+ "source": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "sourceHandle": "height",
+ "target": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9a73db93-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9a73db93-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-52e0f43e-video-9a94f5c6-item",
+ "source": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "sourceHandle": "video",
+ "target": "9a94f5c6-8021-47df-9e95-c1bd62046d08",
+ "targetHandle": "item",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a94f5c6-collection-9aa506d7-collection",
+ "source": "9a94f5c6-8021-47df-9e95-c1bd62046d08",
+ "sourceHandle": "collection",
+ "target": "9aa506d7-9132-48e0-af06-d2ce73157e09",
+ "targetHandle": "collection",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e5dcb1c-video-9aa506d7-item",
+ "source": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "sourceHandle": "video",
+ "target": "9aa506d7-9132-48e0-af06-d2ce73157e09",
+ "targetHandle": "item",
+ "type": "default"
+ },
+ {
+ "id": "edge-9aa506d7-collection-4b32c22b-videos",
+ "source": "9aa506d7-9132-48e0-af06-d2ce73157e09",
+ "sourceHandle": "collection",
+ "target": "4b32c22b-679d-4d5e-a167-c3309265fcd9",
+ "targetHandle": "videos",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e5dcb1c-fps-9ab617e8-value",
+ "source": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "sourceHandle": "fps",
+ "target": "9ab617e8-a243-49f1-b017-e3df84268f0a",
+ "targetHandle": "value",
+ "type": "default"
+ },
+ {
+ "id": "edge-9ab617e8-value-4b32c22b-fps",
+ "source": "9ab617e8-a243-49f1-b017-e3df84268f0a",
+ "sourceHandle": "value",
+ "target": "4b32c22b-679d-4d5e-a167-c3309265fcd9",
+ "targetHandle": "fps",
+ "type": "default"
+ },
+ {
+ "id": "edge-c2b5afb3-image-9e2b5033-first_frame_image",
+ "source": "c2b5afb3-d079-4afb-9354-4c1a7aeae73a",
+ "sourceHandle": "image",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "first_frame_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-52e0f43e-video-9e2b5033-source_video",
+ "source": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "sourceHandle": "video",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "source_video",
+ "type": "default"
+ }
+ ],
+ "form": {
+ "elements": {
+ "root": {
+ "id": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "heading-ext-gen",
+ "node-field-ext-video",
+ "container-ext-trim",
+ "node-field-ext-prompt",
+ "node-field-ext-resolution",
+ "container-ext-len",
+ "divider-ext",
+ "heading-ext-model",
+ "container-ext-model"
+ ],
+ "layout": "column"
+ }
+ },
+ "heading-ext-gen": {
+ "id": "heading-ext-gen",
+ "parentId": "root",
+ "type": "heading",
+ "data": {
+ "content": "Generation"
+ }
+ },
+ "node-field-ext-video": {
+ "id": "node-field-ext-video",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "fieldName": "video"
+ },
+ "showDescription": false
+ }
+ },
+ "container-ext-trim": {
+ "id": "container-ext-trim",
+ "parentId": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "node-field-ext-start",
+ "node-field-ext-end"
+ ],
+ "layout": "row"
+ }
+ },
+ "node-field-ext-start": {
+ "id": "node-field-ext-start",
+ "parentId": "container-ext-trim",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "fieldName": "start_frame"
+ },
+ "showDescription": true,
+ "settings": {
+ "type": "integer-field-config",
+ "showShuffle": false,
+ "component": "number-input"
+ }
+ }
+ },
+ "node-field-ext-end": {
+ "id": "node-field-ext-end",
+ "parentId": "container-ext-trim",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "52e0f43e-0593-4ba6-bb50-df63464a6189",
+ "fieldName": "end_frame"
+ },
+ "showDescription": true,
+ "settings": {
+ "type": "integer-field-config",
+ "showShuffle": false,
+ "component": "number-input"
+ }
+ }
+ },
+ "node-field-ext-prompt": {
+ "id": "node-field-ext-prompt",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "fieldName": "value"
+ },
+ "showDescription": false,
+ "settings": {
+ "type": "string-field-config",
+ "component": "textarea"
+ }
+ }
+ },
+ "node-field-ext-resolution": {
+ "id": "node-field-ext-resolution",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "fieldName": "target_resolution"
+ },
+ "showDescription": false
+ }
+ },
+ "container-ext-len": {
+ "id": "container-ext-len",
+ "parentId": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "node-field-ext-frames",
+ "node-field-ext-steps"
+ ],
+ "layout": "row"
+ }
+ },
+ "node-field-ext-frames": {
+ "id": "node-field-ext-frames",
+ "parentId": "container-ext-len",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "fieldName": "num_frames"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-ext-steps": {
+ "id": "node-field-ext-steps",
+ "parentId": "container-ext-len",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "fieldName": "value"
+ },
+ "showDescription": false,
+ "settings": {
+ "type": "integer-field-config",
+ "showShuffle": false,
+ "component": "number-input"
+ }
+ }
+ },
+ "divider-ext": {
+ "id": "divider-ext",
+ "parentId": "root",
+ "type": "divider"
+ },
+ "heading-ext-model": {
+ "id": "heading-ext-model",
+ "parentId": "root",
+ "type": "heading",
+ "data": {
+ "content": "Model"
+ }
+ },
+ "container-ext-model": {
+ "id": "container-ext-model",
+ "parentId": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "node-field-ext-model",
+ "node-field-ext-transformer",
+ "node-field-ext-textencoder",
+ "node-field-ext-lora"
+ ],
+ "layout": "column"
+ }
+ },
+ "node-field-ext-model": {
+ "id": "node-field-ext-model",
+ "parentId": "container-ext-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-ext-transformer": {
+ "id": "node-field-ext-transformer",
+ "parentId": "container-ext-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "transformer_model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-ext-textencoder": {
+ "id": "node-field-ext-textencoder",
+ "parentId": "container-ext-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "text_encoder_model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-ext-lora": {
+ "id": "node-field-ext-lora",
+ "parentId": "container-ext-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "fieldName": "lora"
+ },
+ "showDescription": false
+ }
+ }
+ },
+ "rootElementId": "root"
+ },
+ "id": "default_minimax_h3_extend"
+}
diff --git a/invokeai/app/services/workflow_records/default_workflows/First Frame to Video - MiniMax H3.json b/invokeai/app/services/workflow_records/default_workflows/First Frame to Video - MiniMax H3.json
index 2dc156942e..421e1ea6e7 100644
--- a/invokeai/app/services/workflow_records/default_workflows/First Frame to Video - MiniMax H3.json
+++ b/invokeai/app/services/workflow_records/default_workflows/First Frame to Video - MiniMax H3.json
@@ -1,39 +1,47 @@
{
"name": "First Frame to Video - MiniMax H3",
"author": "InvokeAI",
- "description": "First-frame-to-video generation with MiniMax H3 (FL2VA): the video starts from your image and animates it per the prompt, with a jointly generated AAC stereo soundtrack muxed into the MP4. The canvas is derived automatically from the image's aspect ratio (768px short edge, max 768x1344).",
+ "description": "Animate an image with MiniMax H3 (FL2VA): the video starts from your image and moves as the prompt describes, with a jointly generated AAC stereo soundtrack. The canvas follows the image's aspect ratio, and the generation parameters are recorded onto the saved video.",
"version": "1.0.0",
"contact": "",
"tags": "minimax h3, image to video, first frame, video, audio",
- "notes": "This workflow needs the MiniMax H3 FL2VA model (diffusers layout). Each InvokeAI install assigns its own internal model IDs, so the model field is left blank -- select your installed MiniMax H3 model in the form after loading.\n\nMiniMax H3 generates video and a synchronized stereo soundtrack together; the soundtrack is muxed into the MP4 automatically (AAC, 32 kHz). The frame rate is fixed at 24 fps and frame counts snap to a 17n+5 grid: 124 frames = ~5.2 s, up to 345 frames = 14.4 s. Width/height must be multiples of 32; the native canvas is a 768 px short edge (max 768x1344).\n\nThe model is guidance-distilled: no negative prompt, no CFG. Steps counts sigma grid points; 50 is the reference default.\n\nThe first frame is part of BOTH the text conditioning (vision context) and the VAE frame conditioning -- the denoise node rejects the graph if they diverge. This workflow wires the one First Frame image node and the shared Width/Height nodes to every consumer, so the coupling holds automatically; keep it that way if you edit a copy. The first frame is stretched onto the target canvas: pick Width/Height to match its aspect ratio.",
+ "notes": "The first frame is stretched onto the target canvas, so a source image whose aspect ratio is close to the canvas will look most natural.\n\nEach InvokeAI install assigns its own internal model IDs, so every model field ships blank -- pick your installed models in the form after loading:\n\n- Model: the MiniMax H3 FL2VA install (diffusers layout). Required.\n- Transformer (single file) / Text Encoder (single file): optional single-file replacements for the install's transformer and Qwen3-VL encoder (e.g. the pruned int8 repacks). Leave blank to use the ones in the main install.\n- LoRA: the MiniMax H3 Turbo step-distillation LoRA.\n\nSteps default to 6, which assumes the Turbo LoRA is loaded. Without a step-distillation LoRA, raise steps to about 50 -- the reference default -- or the result will be badly under-denoised.\n\nMiniMax H3 generates the video and a synchronized stereo soundtrack together; the soundtrack is muxed into the MP4 automatically (AAC, 32 kHz). The frame rate is fixed at 24 fps and frame counts snap to a 17n+5 grid: 124 frames = ~5.2 s, up to 345 frames = 14.4 s. Width and height must be multiples of 32; the native canvas has a 768 px short edge (max 768x1344).\n\nThe model is guidance-distilled: no negative prompt, no CFG.\n\nA keyframe is part of BOTH the text conditioning (vision context) and the VAE frame conditioning -- the denoise node rejects the graph if the two disagree. Each image node here feeds Prompt - MiniMax H3 and Frame Conditioning - MiniMax H3 together, and one MiniMax H3 Ideal Dimensions node feeds the canvas to all three consumers, so the coupling holds automatically. Keep it that way if you edit a copy.\n\nThe Core Metadata node records the prompt, steps, seed, canvas size, frame count, any keyframe images and every model ID onto the saved video, so the gallery's Metadata tab is filled in and the video is findable by searching its prompt text. Each value is read over an edge from the node that actually used it, so nothing recorded can drift from what the form is set to. If you rewire the graph, keep those edges attached.",
"exposedFields": [
- {
- "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "fieldName": "model"
- },
{
"nodeId": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
"fieldName": "image"
},
{
- "nodeId": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
- "fieldName": "prompt"
- },
- {
- "nodeId": "9bc328ea-83bf-4ac1-98f3-844de0e07208",
+ "nodeId": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
"fieldName": "value"
},
{
- "nodeId": "9c0a326b-9312-4cc4-89cf-cfc13887cd09",
- "fieldName": "value"
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "fieldName": "target_resolution"
},
{
"nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
"fieldName": "num_frames"
},
{
- "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "fieldName": "steps"
+ "nodeId": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "fieldName": "value"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "model"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "transformer_model"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "text_encoder_model"
+ },
+ {
+ "nodeId": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "fieldName": "lora"
}
],
"meta": {
@@ -42,20 +50,21 @@
},
"nodes": [
{
- "id": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "id": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
"type": "invocation",
"data": {
- "id": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
- "version": "1.0.2",
+ "id": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "version": "1.0.1",
"nodePack": "invokeai",
- "label": "",
- "notes": "",
- "type": "image",
+ "label": "Prompt",
+ "notes": "Feeds the text encoder and the metadata record from one place, so the recorded prompt is always the prompt that ran.",
+ "type": "string",
"inputs": {
- "image": {
- "name": "image",
- "label": "First Frame",
- "description": ""
+ "value": {
+ "name": "value",
+ "label": "Prompt",
+ "description": "",
+ "value": ""
}
},
"isOpen": true,
@@ -63,8 +72,8 @@
"useCache": true
},
"position": {
- "x": -200,
- "y": -250
+ "x": 620,
+ "y": -320
}
},
{
@@ -72,7 +81,7 @@
"type": "invocation",
"data": {
"id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "version": "1.2.0",
+ "version": "1.3.0",
"nodePack": "invokeai",
"label": "",
"notes": "",
@@ -83,6 +92,18 @@
"label": "",
"description": "",
"value": null
+ },
+ "transformer_model": {
+ "name": "transformer_model",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "text_encoder_model": {
+ "name": "text_encoder_model",
+ "label": "",
+ "description": "",
+ "value": null
}
},
"isOpen": true,
@@ -90,53 +111,59 @@
"useCache": false
},
"position": {
- "x": 200,
- "y": 0
+ "x": 140,
+ "y": 420
}
},
{
- "id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "id": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
"type": "invocation",
"data": {
- "id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
- "version": "1.0.0",
+ "id": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "version": "1.1.0",
"nodePack": "invokeai",
- "label": "Prompt",
- "notes": "H3 is guidance-distilled: there is no negative prompt. The first frame and the canvas size arrive over edges so they always match the Frame Conditioning node.",
- "type": "minimax_h3_text_encoder",
+ "label": "",
+ "notes": "The Turbo step-distillation LoRA is what makes 6 steps enough. Remove this node and raise the step count to about 50.",
+ "type": "minimax_h3_lora_loader",
"inputs": {
- "prompt": {
- "name": "prompt",
- "label": "Prompt",
- "description": "",
- "value": ""
- },
- "text_encoder": {
- "name": "text_encoder",
- "label": "",
- "description": ""
- },
- "first_image": {
- "name": "first_image",
+ "lora": {
+ "name": "lora",
"label": "",
- "description": ""
+ "description": "",
+ "value": null
},
- "last_image": {
- "name": "last_image",
- "label": "",
- "description": ""
- },
- "width": {
- "name": "width",
+ "weight": {
+ "name": "weight",
"label": "",
"description": "",
- "value": 1344
- },
- "height": {
- "name": "height",
+ "value": 1
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 620
+ }
+ },
+ {
+ "id": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "type": "invocation",
+ "data": {
+ "id": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "LoRAs (metadata)",
+ "notes": "",
+ "type": "collect",
+ "inputs": {
+ "collection": {
+ "name": "collection",
"label": "",
"description": "",
- "value": 768
+ "value": []
}
},
"isOpen": true,
@@ -144,35 +171,26 @@
"useCache": true
},
"position": {
- "x": 700,
- "y": -250
+ "x": 1000,
+ "y": 700
}
},
{
- "id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
"type": "invocation",
"data": {
- "id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
"version": "1.0.0",
"nodePack": "invokeai",
- "label": "",
- "notes": "Encodes the first frame into VAE condition rows. The same image must also reach the Prompt node -- both are wired from the one First Frame node.",
- "type": "minimax_h3_frame_conditioning",
+ "label": "Prompt",
+ "notes": "H3 is guidance-distilled: there is no negative prompt. The prompt and canvas arrive over edges so they always match the denoise node.",
+ "type": "minimax_h3_text_encoder",
"inputs": {
- "first_image": {
- "name": "first_image",
- "label": "",
- "description": ""
- },
- "last_image": {
- "name": "last_image",
- "label": "",
- "description": ""
- },
- "vae": {
- "name": "vae",
- "label": "",
- "description": ""
+ "prompt": {
+ "name": "prompt",
+ "label": "Prompt",
+ "description": "",
+ "value": ""
},
"width": {
"name": "width",
@@ -192,8 +210,8 @@
"useCache": true
},
"position": {
- "x": 700,
- "y": 150
+ "x": 620,
+ "y": -140
}
},
{
@@ -225,8 +243,35 @@
"useCache": false
},
"position": {
- "x": 400,
- "y": 550
+ "x": 1000,
+ "y": 900
+ }
+ },
+ {
+ "id": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "type": "invocation",
+ "data": {
+ "id": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "Steps",
+ "notes": "6 steps assumes the Turbo LoRA. Without it, about 50.",
+ "type": "integer",
+ "inputs": {
+ "value": {
+ "name": "value",
+ "label": "Steps",
+ "description": "",
+ "value": 6
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 900
}
},
{
@@ -240,21 +285,6 @@
"notes": "",
"type": "minimax_h3_denoise",
"inputs": {
- "transformer": {
- "name": "transformer",
- "label": "",
- "description": ""
- },
- "positive_conditioning": {
- "name": "positive_conditioning",
- "label": "",
- "description": ""
- },
- "frame_conditioning": {
- "name": "frame_conditioning",
- "label": "",
- "description": ""
- },
"width": {
"name": "width",
"label": "",
@@ -277,7 +307,7 @@
"name": "steps",
"label": "",
"description": "",
- "value": 50
+ "value": 6
},
"seed": {
"name": "seed",
@@ -291,8 +321,35 @@
"useCache": true
},
"position": {
- "x": 1150,
- "y": -50
+ "x": 1420,
+ "y": -60
+ }
+ },
+ {
+ "id": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "type": "invocation",
+ "data": {
+ "id": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "version": "2.3.0",
+ "nodePack": "invokeai",
+ "label": "Core Metadata",
+ "notes": "Everything except the generation mode arrives over an edge from the node that used the value, so the record cannot go stale.",
+ "type": "core_metadata",
+ "inputs": {
+ "generation_mode": {
+ "name": "generation_mode",
+ "label": "",
+ "description": "",
+ "value": "minimax_h3_i2v"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1860,
+ "y": 380
}
},
{
@@ -305,45 +362,47 @@
"label": "",
"notes": "",
"type": "minimax_h3_latents_to_video",
+ "inputs": {},
+ "isOpen": true,
+ "isIntermediate": false,
+ "useCache": true
+ },
+ "position": {
+ "x": 2300,
+ "y": -60
+ }
+ },
+ {
+ "id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "type": "invocation",
+ "data": {
+ "id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "version": "1.0.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "VAE-encodes the keyframes into conditioning rows. The same images and canvas must also reach the Prompt node -- both are wired from the one image node and the one Ideal Dimensions node.",
+ "type": "minimax_h3_frame_conditioning",
"inputs": {
- "board": {
- "name": "board",
- "label": "",
- "description": ""
- },
- "metadata": {
- "name": "metadata",
- "label": "",
- "description": ""
- },
- "video_latents": {
- "name": "video_latents",
- "label": "",
- "description": ""
- },
- "audio_latents": {
- "name": "audio_latents",
- "label": "",
- "description": ""
- },
- "vae": {
- "name": "vae",
+ "width": {
+ "name": "width",
"label": "",
- "description": ""
+ "description": "",
+ "value": 1344
},
- "audio_vae": {
- "name": "audio_vae",
+ "height": {
+ "name": "height",
"label": "",
- "description": ""
+ "description": "",
+ "value": 768
}
},
"isOpen": true,
- "isIntermediate": false,
+ "isIntermediate": true,
"useCache": true
},
"position": {
- "x": 1550,
- "y": -50
+ "x": 620,
+ "y": 200
}
},
{
@@ -354,7 +413,7 @@
"version": "1.1.0",
"nodePack": "invokeai",
"label": "",
- "notes": "",
+ "notes": "Derives an H3 canvas from the keyframe's aspect ratio, and feeds it to the prompt, frame conditioning and denoise nodes together -- they are required to agree.",
"type": "minimax_h3_ideal_dimensions",
"inputs": {
"width": {
@@ -381,243 +440,414 @@
"useCache": true
},
"position": {
- "x": -200,
- "y": 100
+ "x": 120,
+ "y": 60
+ }
+ },
+ {
+ "id": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "type": "invocation",
+ "data": {
+ "id": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "version": "1.0.2",
+ "nodePack": "invokeai",
+ "label": "First Frame",
+ "notes": "",
+ "type": "image",
+ "inputs": {
+ "image": {
+ "name": "image",
+ "label": "First Frame",
+ "description": ""
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": -280,
+ "y": -160
}
}
],
"edges": [
{
- "id": "edge-9a1e6c7b-transformer-9d3b9faf-transformer",
- "type": "default",
- "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "sourceHandle": "transformer",
- "targetHandle": "transformer"
+ "id": "edge-9c0f3e11-value-9b2f7d8c-prompt",
+ "source": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "sourceHandle": "value",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "prompt",
+ "type": "default"
},
{
"id": "edge-9a1e6c7b-text_encoder-9b2f7d8c-text_encoder",
- "type": "default",
"source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
"sourceHandle": "text_encoder",
- "targetHandle": "text_encoder"
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "text_encoder",
+ "type": "default"
},
{
"id": "edge-9b2f7d8c-conditioning-9d3b9faf-positive_conditioning",
- "type": "default",
"source": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
- "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
"sourceHandle": "conditioning",
- "targetHandle": "positive_conditioning"
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "positive_conditioning",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-transformer-9f10ad7a-transformer",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "transformer",
+ "target": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "targetHandle": "transformer",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f10ad7a-transformer-9d3b9faf-transformer",
+ "source": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "sourceHandle": "transformer",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "transformer",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d1a4f22-value-9d3b9faf-steps",
+ "source": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "sourceHandle": "value",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "steps",
+ "type": "default"
},
{
"id": "edge-9c4cab0b-value-9d3b9faf-seed",
- "type": "default",
"source": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
- "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
"sourceHandle": "value",
- "targetHandle": "seed"
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "seed",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9b2f7d8c-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9b2f7d8c-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9d3b9faf-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9d3b9faf-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "height",
+ "type": "default"
},
{
"id": "edge-9d3b9faf-video_latents-9e5dcb1c-video_latents",
- "type": "default",
"source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
"sourceHandle": "video_latents",
- "targetHandle": "video_latents"
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "video_latents",
+ "type": "default"
},
{
"id": "edge-9d3b9faf-audio_latents-9e5dcb1c-audio_latents",
- "type": "default",
"source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
"sourceHandle": "audio_latents",
- "targetHandle": "audio_latents"
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "audio_latents",
+ "type": "default"
},
{
"id": "edge-9a1e6c7b-vae-9e5dcb1c-vae",
- "type": "default",
"source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
"sourceHandle": "vae",
- "targetHandle": "vae"
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "vae",
+ "type": "default"
},
{
"id": "edge-9a1e6c7b-audio_vae-9e5dcb1c-audio_vae",
- "type": "default",
"source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
"sourceHandle": "audio_vae",
- "targetHandle": "audio_vae"
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "audio_vae",
+ "type": "default"
},
{
- "id": "edge-9f71d3a4-image-9b2f7d8c-first_image",
- "type": "default",
- "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
- "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
- "sourceHandle": "image",
- "targetHandle": "first_image"
+ "id": "edge-9c0f3e11-value-9e2b5033-positive_prompt",
+ "source": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "positive_prompt",
+ "type": "default"
},
{
- "id": "edge-9f71d3a4-image-9a73db93-first_image",
- "type": "default",
- "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
- "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
- "sourceHandle": "image",
- "targetHandle": "first_image"
+ "id": "edge-9d1a4f22-value-9e2b5033-steps",
+ "source": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "steps",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c4cab0b-value-9e2b5033-seed",
+ "source": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "seed",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-width-9e2b5033-width",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "width",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-height-9e2b5033-height",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "height",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-num_frames-9e2b5033-num_frames",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "num_frames",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "num_frames",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-model-9e2b5033-model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-transformer_model-9e2b5033-minimax_h3_transformer_model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "transformer_model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "minimax_h3_transformer_model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-text_encoder_model-9e2b5033-minimax_h3_text_encoder_model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "text_encoder_model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "minimax_h3_text_encoder_model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f10ad7a-lora_metadata-9f3c6144-item",
+ "source": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "sourceHandle": "lora_metadata",
+ "target": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "targetHandle": "item",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f3c6144-collection-9e2b5033-loras",
+ "source": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "sourceHandle": "collection",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "loras",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e2b5033-metadata-9e5dcb1c-metadata",
+ "source": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "sourceHandle": "metadata",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "metadata",
+ "type": "default"
},
{
"id": "edge-9a1e6c7b-vae-9a73db93-vae",
- "type": "default",
"source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
"sourceHandle": "vae",
- "targetHandle": "vae"
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "vae",
+ "type": "default"
},
{
"id": "edge-9a73db93-frame_conditioning-9d3b9faf-frame_conditioning",
- "type": "default",
"source": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
- "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
"sourceHandle": "frame_conditioning",
- "targetHandle": "frame_conditioning"
- },
- {
- "id": "edge-9f71d3a4-width-9e8d7c6b-width",
- "type": "default",
- "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
- "target": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
- "sourceHandle": "width",
- "targetHandle": "width"
- },
- {
- "id": "edge-9f71d3a4-height-9e8d7c6b-height",
- "type": "default",
- "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
- "target": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
- "sourceHandle": "height",
- "targetHandle": "height"
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "frame_conditioning",
+ "type": "default"
},
{
- "id": "edge-9e8d7c6b-width-9b2f7d8c-width",
- "type": "default",
+ "id": "edge-9e8d7c6b-width-9a73db93-width",
"source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
- "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
"sourceHandle": "width",
- "targetHandle": "width"
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "width",
+ "type": "default"
},
{
- "id": "edge-9e8d7c6b-width-9a73db93-width",
- "type": "default",
+ "id": "edge-9e8d7c6b-height-9a73db93-height",
"source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
"target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
- "sourceHandle": "width",
- "targetHandle": "width"
+ "targetHandle": "height",
+ "type": "default"
},
{
- "id": "edge-9e8d7c6b-width-9d3b9faf-width",
- "type": "default",
- "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
- "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "id": "edge-9f71d3a4-width-9e8d7c6b-width",
+ "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
"sourceHandle": "width",
- "targetHandle": "width"
+ "target": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "targetHandle": "width",
+ "type": "default"
},
{
- "id": "edge-9e8d7c6b-height-9b2f7d8c-height",
- "type": "default",
- "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
- "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "id": "edge-9f71d3a4-height-9e8d7c6b-height",
+ "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
"sourceHandle": "height",
- "targetHandle": "height"
+ "target": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "targetHandle": "height",
+ "type": "default"
},
{
- "id": "edge-9e8d7c6b-height-9a73db93-height",
- "type": "default",
- "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "id": "edge-9f71d3a4-image-9b2f7d8c-first_image",
+ "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "sourceHandle": "image",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "first_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f71d3a4-image-9a73db93-first_image",
+ "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "sourceHandle": "image",
"target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
- "sourceHandle": "height",
- "targetHandle": "height"
+ "targetHandle": "first_image",
+ "type": "default"
},
{
- "id": "edge-9e8d7c6b-height-9d3b9faf-height",
- "type": "default",
- "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
- "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "sourceHandle": "height",
- "targetHandle": "height"
+ "id": "edge-9f71d3a4-image-9e2b5033-first_frame_image",
+ "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "sourceHandle": "image",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "first_frame_image",
+ "type": "default"
}
],
"form": {
"elements": {
- "heading-h3-gen": {
- "id": "heading-h3-gen",
+ "root": {
+ "id": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "heading-i2v-gen",
+ "node-field-i2v-firstimage",
+ "node-field-i2v-prompt",
+ "node-field-i2v-resolution",
+ "container-i2v-len",
+ "divider-i2v",
+ "heading-i2v-model",
+ "container-i2v-model"
+ ],
+ "layout": "column"
+ }
+ },
+ "heading-i2v-gen": {
+ "id": "heading-i2v-gen",
"parentId": "root",
"type": "heading",
"data": {
"content": "Generation"
}
},
- "node-field-h3-image": {
- "id": "node-field-h3-image",
+ "node-field-i2v-prompt": {
+ "id": "node-field-i2v-prompt",
"parentId": "root",
"type": "node-field",
"data": {
"fieldIdentifier": {
- "nodeId": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
- "fieldName": "image"
+ "nodeId": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "fieldName": "value"
},
- "showDescription": false
+ "showDescription": false,
+ "settings": {
+ "type": "string-field-config",
+ "component": "textarea"
+ }
}
},
- "node-field-h3-prompt": {
- "id": "node-field-h3-prompt",
+ "node-field-i2v-resolution": {
+ "id": "node-field-i2v-resolution",
"parentId": "root",
"type": "node-field",
"data": {
"fieldIdentifier": {
- "nodeId": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
- "fieldName": "prompt"
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "fieldName": "target_resolution"
},
- "showDescription": false,
- "settings": {
- "type": "string-field-config",
- "component": "textarea"
- }
+ "showDescription": false
}
},
- "container-h3-len": {
- "id": "container-h3-len",
+ "container-i2v-len": {
+ "id": "container-i2v-len",
"parentId": "root",
"type": "container",
"data": {
- "layout": "row",
"children": [
- "node-field-h3-frames",
- "node-field-h3-steps"
- ]
+ "node-field-i2v-frames",
+ "node-field-i2v-steps"
+ ],
+ "layout": "row"
}
},
- "node-field-h3-frames": {
- "id": "node-field-h3-frames",
- "parentId": "container-h3-len",
+ "node-field-i2v-frames": {
+ "id": "node-field-i2v-frames",
+ "parentId": "container-i2v-len",
"type": "node-field",
"data": {
"fieldIdentifier": {
"nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
"fieldName": "num_frames"
},
- "showDescription": true
+ "showDescription": false
}
},
- "node-field-h3-steps": {
- "id": "node-field-h3-steps",
- "parentId": "container-h3-len",
+ "node-field-i2v-steps": {
+ "id": "node-field-i2v-steps",
+ "parentId": "container-i2v-len",
"type": "node-field",
"data": {
"fieldIdentifier": {
- "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "fieldName": "steps"
+ "nodeId": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "fieldName": "value"
},
"showDescription": false,
"settings": {
@@ -627,22 +857,36 @@
}
}
},
- "divider-h3": {
- "id": "divider-h3",
+ "divider-i2v": {
+ "id": "divider-i2v",
"parentId": "root",
"type": "divider"
},
- "heading-h3-model": {
- "id": "heading-h3-model",
+ "heading-i2v-model": {
+ "id": "heading-i2v-model",
"parentId": "root",
"type": "heading",
"data": {
"content": "Model"
}
},
- "node-field-h3-model": {
- "id": "node-field-h3-model",
+ "container-i2v-model": {
+ "id": "container-i2v-model",
"parentId": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "node-field-i2v-model",
+ "node-field-i2v-transformer",
+ "node-field-i2v-textencoder",
+ "node-field-i2v-lora"
+ ],
+ "layout": "column"
+ }
+ },
+ "node-field-i2v-model": {
+ "id": "node-field-i2v-model",
+ "parentId": "container-i2v-model",
"type": "node-field",
"data": {
"fieldIdentifier": {
@@ -652,21 +896,53 @@
"showDescription": false
}
},
- "root": {
- "id": "root",
+ "node-field-i2v-transformer": {
+ "id": "node-field-i2v-transformer",
+ "parentId": "container-i2v-model",
+ "type": "node-field",
"data": {
- "layout": "column",
- "children": [
- "heading-h3-gen",
- "node-field-h3-image",
- "node-field-h3-prompt",
- "container-h3-len",
- "divider-h3",
- "heading-h3-model",
- "node-field-h3-model"
- ]
- },
- "type": "container"
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "transformer_model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-i2v-textencoder": {
+ "id": "node-field-i2v-textencoder",
+ "parentId": "container-i2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "text_encoder_model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-i2v-lora": {
+ "id": "node-field-i2v-lora",
+ "parentId": "container-i2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "fieldName": "lora"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-i2v-firstimage": {
+ "id": "node-field-i2v-firstimage",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "fieldName": "image"
+ },
+ "showDescription": false
+ }
}
},
"rootElementId": "root"
diff --git a/invokeai/app/services/workflow_records/default_workflows/First and Last Frame to Video - MiniMax H3.json b/invokeai/app/services/workflow_records/default_workflows/First and Last Frame to Video - MiniMax H3.json
new file mode 100644
index 0000000000..8dc48d3940
--- /dev/null
+++ b/invokeai/app/services/workflow_records/default_workflows/First and Last Frame to Video - MiniMax H3.json
@@ -0,0 +1,1018 @@
+{
+ "name": "First and Last Frame to Video - MiniMax H3",
+ "author": "InvokeAI",
+ "description": "Generate the video between two images with MiniMax H3 (FL2VA): it starts on the first frame, ends on the last, and invents the motion in between, with a jointly generated AAC stereo soundtrack. The canvas follows the first image's aspect ratio, and the generation parameters are recorded onto the saved video.",
+ "version": "1.0.0",
+ "contact": "",
+ "tags": "minimax h3, image to video, first frame, last frame, interpolate, video, audio",
+ "notes": "The first frame is stretched onto the canvas and the last frame is cover-cropped onto it, so the two images should share an aspect ratio -- otherwise the end of the clip will be framed differently from the start. The canvas is derived from the first image.\n\nEach InvokeAI install assigns its own internal model IDs, so every model field ships blank -- pick your installed models in the form after loading:\n\n- Model: the MiniMax H3 FL2VA install (diffusers layout). Required.\n- Transformer (single file) / Text Encoder (single file): optional single-file replacements for the install's transformer and Qwen3-VL encoder (e.g. the pruned int8 repacks). Leave blank to use the ones in the main install.\n- LoRA: the MiniMax H3 Turbo step-distillation LoRA.\n\nSteps default to 6, which assumes the Turbo LoRA is loaded. Without a step-distillation LoRA, raise steps to about 50 -- the reference default -- or the result will be badly under-denoised.\n\nMiniMax H3 generates the video and a synchronized stereo soundtrack together; the soundtrack is muxed into the MP4 automatically (AAC, 32 kHz). The frame rate is fixed at 24 fps and frame counts snap to a 17n+5 grid: 124 frames = ~5.2 s, up to 345 frames = 14.4 s. Width and height must be multiples of 32; the native canvas has a 768 px short edge (max 768x1344).\n\nThe model is guidance-distilled: no negative prompt, no CFG.\n\nA keyframe is part of BOTH the text conditioning (vision context) and the VAE frame conditioning -- the denoise node rejects the graph if the two disagree. Each image node here feeds Prompt - MiniMax H3 and Frame Conditioning - MiniMax H3 together, and one MiniMax H3 Ideal Dimensions node feeds the canvas to all three consumers, so the coupling holds automatically. Keep it that way if you edit a copy.\n\nThe Core Metadata node records the prompt, steps, seed, canvas size, frame count, any keyframe images and every model ID onto the saved video, so the gallery's Metadata tab is filled in and the video is findable by searching its prompt text. Each value is read over an edge from the node that actually used it, so nothing recorded can drift from what the form is set to. If you rewire the graph, keep those edges attached.",
+ "exposedFields": [
+ {
+ "nodeId": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "fieldName": "image"
+ },
+ {
+ "nodeId": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "fieldName": "image"
+ },
+ {
+ "nodeId": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "fieldName": "value"
+ },
+ {
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "fieldName": "target_resolution"
+ },
+ {
+ "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "fieldName": "num_frames"
+ },
+ {
+ "nodeId": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "fieldName": "value"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "model"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "transformer_model"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "text_encoder_model"
+ },
+ {
+ "nodeId": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "fieldName": "lora"
+ }
+ ],
+ "meta": {
+ "version": "4.0.0",
+ "category": "default"
+ },
+ "nodes": [
+ {
+ "id": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "type": "invocation",
+ "data": {
+ "id": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "Prompt",
+ "notes": "Feeds the text encoder and the metadata record from one place, so the recorded prompt is always the prompt that ran.",
+ "type": "string",
+ "inputs": {
+ "value": {
+ "name": "value",
+ "label": "Prompt",
+ "description": "",
+ "value": ""
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": -320
+ }
+ },
+ {
+ "id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "type": "invocation",
+ "data": {
+ "id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "version": "1.3.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "minimax_h3_model_loader",
+ "inputs": {
+ "model": {
+ "name": "model",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "transformer_model": {
+ "name": "transformer_model",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "text_encoder_model": {
+ "name": "text_encoder_model",
+ "label": "",
+ "description": "",
+ "value": null
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": false
+ },
+ "position": {
+ "x": 140,
+ "y": 420
+ }
+ },
+ {
+ "id": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "type": "invocation",
+ "data": {
+ "id": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "The Turbo step-distillation LoRA is what makes 6 steps enough. Remove this node and raise the step count to about 50.",
+ "type": "minimax_h3_lora_loader",
+ "inputs": {
+ "lora": {
+ "name": "lora",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "weight": {
+ "name": "weight",
+ "label": "",
+ "description": "",
+ "value": 1
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 620
+ }
+ },
+ {
+ "id": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "type": "invocation",
+ "data": {
+ "id": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "LoRAs (metadata)",
+ "notes": "",
+ "type": "collect",
+ "inputs": {
+ "collection": {
+ "name": "collection",
+ "label": "",
+ "description": "",
+ "value": []
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1000,
+ "y": 700
+ }
+ },
+ {
+ "id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "type": "invocation",
+ "data": {
+ "id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "version": "1.0.0",
+ "nodePack": "invokeai",
+ "label": "Prompt",
+ "notes": "H3 is guidance-distilled: there is no negative prompt. The prompt and canvas arrive over edges so they always match the denoise node.",
+ "type": "minimax_h3_text_encoder",
+ "inputs": {
+ "prompt": {
+ "name": "prompt",
+ "label": "Prompt",
+ "description": "",
+ "value": ""
+ },
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1344
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 768
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": -140
+ }
+ },
+ {
+ "id": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "type": "invocation",
+ "data": {
+ "id": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "rand_int",
+ "inputs": {
+ "low": {
+ "name": "low",
+ "label": "",
+ "description": "",
+ "value": 0
+ },
+ "high": {
+ "name": "high",
+ "label": "",
+ "description": "",
+ "value": 2147483647
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": false
+ },
+ "position": {
+ "x": 1000,
+ "y": 900
+ }
+ },
+ {
+ "id": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "type": "invocation",
+ "data": {
+ "id": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "Steps",
+ "notes": "6 steps assumes the Turbo LoRA. Without it, about 50.",
+ "type": "integer",
+ "inputs": {
+ "value": {
+ "name": "value",
+ "label": "Steps",
+ "description": "",
+ "value": 6
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 900
+ }
+ },
+ {
+ "id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "type": "invocation",
+ "data": {
+ "id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "version": "1.3.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "minimax_h3_denoise",
+ "inputs": {
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1344
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 768
+ },
+ "num_frames": {
+ "name": "num_frames",
+ "label": "Frames",
+ "description": "",
+ "value": "124"
+ },
+ "steps": {
+ "name": "steps",
+ "label": "",
+ "description": "",
+ "value": 6
+ },
+ "seed": {
+ "name": "seed",
+ "label": "",
+ "description": "",
+ "value": 0
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1420,
+ "y": -60
+ }
+ },
+ {
+ "id": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "type": "invocation",
+ "data": {
+ "id": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "version": "2.3.0",
+ "nodePack": "invokeai",
+ "label": "Core Metadata",
+ "notes": "Everything except the generation mode arrives over an edge from the node that used the value, so the record cannot go stale.",
+ "type": "core_metadata",
+ "inputs": {
+ "generation_mode": {
+ "name": "generation_mode",
+ "label": "",
+ "description": "",
+ "value": "minimax_h3_flf2v"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1860,
+ "y": 380
+ }
+ },
+ {
+ "id": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "type": "invocation",
+ "data": {
+ "id": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "version": "1.0.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "minimax_h3_latents_to_video",
+ "inputs": {},
+ "isOpen": true,
+ "isIntermediate": false,
+ "useCache": true
+ },
+ "position": {
+ "x": 2300,
+ "y": -60
+ }
+ },
+ {
+ "id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "type": "invocation",
+ "data": {
+ "id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "version": "1.0.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "VAE-encodes the keyframes into conditioning rows. The same images and canvas must also reach the Prompt node -- both are wired from the one image node and the one Ideal Dimensions node.",
+ "type": "minimax_h3_frame_conditioning",
+ "inputs": {
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1344
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 768
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 200
+ }
+ },
+ {
+ "id": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "type": "invocation",
+ "data": {
+ "id": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "Derives an H3 canvas from the keyframe's aspect ratio, and feeds it to the prompt, frame conditioning and denoise nodes together -- they are required to agree.",
+ "type": "minimax_h3_ideal_dimensions",
+ "inputs": {
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1024
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 1024
+ },
+ "target_resolution": {
+ "name": "target_resolution",
+ "label": "",
+ "description": "",
+ "value": "768 highres"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 120,
+ "y": 60
+ }
+ },
+ {
+ "id": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "type": "invocation",
+ "data": {
+ "id": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "version": "1.0.2",
+ "nodePack": "invokeai",
+ "label": "First Frame",
+ "notes": "",
+ "type": "image",
+ "inputs": {
+ "image": {
+ "name": "image",
+ "label": "First Frame",
+ "description": ""
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": -280,
+ "y": -160
+ }
+ },
+ {
+ "id": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "type": "invocation",
+ "data": {
+ "id": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "version": "1.0.2",
+ "nodePack": "invokeai",
+ "label": "Last Frame",
+ "notes": "",
+ "type": "image",
+ "inputs": {
+ "image": {
+ "name": "image",
+ "label": "Last Frame",
+ "description": ""
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": -280,
+ "y": 140
+ }
+ }
+ ],
+ "edges": [
+ {
+ "id": "edge-9c0f3e11-value-9b2f7d8c-prompt",
+ "source": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "sourceHandle": "value",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "prompt",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-text_encoder-9b2f7d8c-text_encoder",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "text_encoder",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "text_encoder",
+ "type": "default"
+ },
+ {
+ "id": "edge-9b2f7d8c-conditioning-9d3b9faf-positive_conditioning",
+ "source": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "sourceHandle": "conditioning",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "positive_conditioning",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-transformer-9f10ad7a-transformer",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "transformer",
+ "target": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "targetHandle": "transformer",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f10ad7a-transformer-9d3b9faf-transformer",
+ "source": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "sourceHandle": "transformer",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "transformer",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d1a4f22-value-9d3b9faf-steps",
+ "source": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "sourceHandle": "value",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "steps",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c4cab0b-value-9d3b9faf-seed",
+ "source": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "sourceHandle": "value",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "seed",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9b2f7d8c-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9b2f7d8c-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9d3b9faf-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9d3b9faf-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-video_latents-9e5dcb1c-video_latents",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "video_latents",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "video_latents",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-audio_latents-9e5dcb1c-audio_latents",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "audio_latents",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "audio_latents",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-vae-9e5dcb1c-vae",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "vae",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "vae",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-audio_vae-9e5dcb1c-audio_vae",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "audio_vae",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "audio_vae",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c0f3e11-value-9e2b5033-positive_prompt",
+ "source": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "positive_prompt",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d1a4f22-value-9e2b5033-steps",
+ "source": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "steps",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c4cab0b-value-9e2b5033-seed",
+ "source": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "seed",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-width-9e2b5033-width",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "width",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-height-9e2b5033-height",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "height",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-num_frames-9e2b5033-num_frames",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "num_frames",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "num_frames",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-model-9e2b5033-model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-transformer_model-9e2b5033-minimax_h3_transformer_model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "transformer_model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "minimax_h3_transformer_model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-text_encoder_model-9e2b5033-minimax_h3_text_encoder_model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "text_encoder_model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "minimax_h3_text_encoder_model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f10ad7a-lora_metadata-9f3c6144-item",
+ "source": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "sourceHandle": "lora_metadata",
+ "target": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "targetHandle": "item",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f3c6144-collection-9e2b5033-loras",
+ "source": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "sourceHandle": "collection",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "loras",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e2b5033-metadata-9e5dcb1c-metadata",
+ "source": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "sourceHandle": "metadata",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "metadata",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-vae-9a73db93-vae",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "vae",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "vae",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a73db93-frame_conditioning-9d3b9faf-frame_conditioning",
+ "source": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "sourceHandle": "frame_conditioning",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "frame_conditioning",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9a73db93-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9a73db93-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f71d3a4-width-9e8d7c6b-width",
+ "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "sourceHandle": "width",
+ "target": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f71d3a4-height-9e8d7c6b-height",
+ "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "sourceHandle": "height",
+ "target": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f71d3a4-image-9b2f7d8c-first_image",
+ "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "sourceHandle": "image",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "first_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f71d3a4-image-9a73db93-first_image",
+ "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "sourceHandle": "image",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "first_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f71d3a4-image-9e2b5033-first_frame_image",
+ "source": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "sourceHandle": "image",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "first_frame_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a82e4b5-image-9b2f7d8c-last_image",
+ "source": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "sourceHandle": "image",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "last_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a82e4b5-image-9a73db93-last_image",
+ "source": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "sourceHandle": "image",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "last_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a82e4b5-image-9e2b5033-last_frame_image",
+ "source": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "sourceHandle": "image",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "last_frame_image",
+ "type": "default"
+ }
+ ],
+ "form": {
+ "elements": {
+ "root": {
+ "id": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "heading-flf2v-gen",
+ "node-field-flf2v-firstimage",
+ "node-field-flf2v-lastimage",
+ "node-field-flf2v-prompt",
+ "node-field-flf2v-resolution",
+ "container-flf2v-len",
+ "divider-flf2v",
+ "heading-flf2v-model",
+ "container-flf2v-model"
+ ],
+ "layout": "column"
+ }
+ },
+ "heading-flf2v-gen": {
+ "id": "heading-flf2v-gen",
+ "parentId": "root",
+ "type": "heading",
+ "data": {
+ "content": "Generation"
+ }
+ },
+ "node-field-flf2v-prompt": {
+ "id": "node-field-flf2v-prompt",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "fieldName": "value"
+ },
+ "showDescription": false,
+ "settings": {
+ "type": "string-field-config",
+ "component": "textarea"
+ }
+ }
+ },
+ "node-field-flf2v-resolution": {
+ "id": "node-field-flf2v-resolution",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "fieldName": "target_resolution"
+ },
+ "showDescription": false
+ }
+ },
+ "container-flf2v-len": {
+ "id": "container-flf2v-len",
+ "parentId": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "node-field-flf2v-frames",
+ "node-field-flf2v-steps"
+ ],
+ "layout": "row"
+ }
+ },
+ "node-field-flf2v-frames": {
+ "id": "node-field-flf2v-frames",
+ "parentId": "container-flf2v-len",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "fieldName": "num_frames"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-flf2v-steps": {
+ "id": "node-field-flf2v-steps",
+ "parentId": "container-flf2v-len",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "fieldName": "value"
+ },
+ "showDescription": false,
+ "settings": {
+ "type": "integer-field-config",
+ "showShuffle": false,
+ "component": "number-input"
+ }
+ }
+ },
+ "divider-flf2v": {
+ "id": "divider-flf2v",
+ "parentId": "root",
+ "type": "divider"
+ },
+ "heading-flf2v-model": {
+ "id": "heading-flf2v-model",
+ "parentId": "root",
+ "type": "heading",
+ "data": {
+ "content": "Model"
+ }
+ },
+ "container-flf2v-model": {
+ "id": "container-flf2v-model",
+ "parentId": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "node-field-flf2v-model",
+ "node-field-flf2v-transformer",
+ "node-field-flf2v-textencoder",
+ "node-field-flf2v-lora"
+ ],
+ "layout": "column"
+ }
+ },
+ "node-field-flf2v-model": {
+ "id": "node-field-flf2v-model",
+ "parentId": "container-flf2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-flf2v-transformer": {
+ "id": "node-field-flf2v-transformer",
+ "parentId": "container-flf2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "transformer_model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-flf2v-textencoder": {
+ "id": "node-field-flf2v-textencoder",
+ "parentId": "container-flf2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "text_encoder_model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-flf2v-lora": {
+ "id": "node-field-flf2v-lora",
+ "parentId": "container-flf2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "fieldName": "lora"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-flf2v-firstimage": {
+ "id": "node-field-flf2v-firstimage",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9f71d3a4-6f0b-45bd-9c73-a99b40e24b06",
+ "fieldName": "image"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-flf2v-lastimage": {
+ "id": "node-field-flf2v-lastimage",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "fieldName": "image"
+ },
+ "showDescription": false
+ }
+ }
+ },
+ "rootElementId": "root"
+ },
+ "id": "default_minimax_h3_flf2v"
+}
diff --git a/invokeai/app/services/workflow_records/default_workflows/Last Frame to Video - MiniMax H3.json b/invokeai/app/services/workflow_records/default_workflows/Last Frame to Video - MiniMax H3.json
new file mode 100644
index 0000000000..71a12effe3
--- /dev/null
+++ b/invokeai/app/services/workflow_records/default_workflows/Last Frame to Video - MiniMax H3.json
@@ -0,0 +1,951 @@
+{
+ "name": "Last Frame to Video - MiniMax H3",
+ "author": "InvokeAI",
+ "description": "Generate a video that ends on your image with MiniMax H3 (FL2VA): the model invents the run-up to the frame you supply, with a jointly generated AAC stereo soundtrack. The canvas follows the image's aspect ratio, and the generation parameters are recorded onto the saved video.",
+ "version": "1.0.0",
+ "contact": "",
+ "tags": "minimax h3, image to video, last frame, video, audio",
+ "notes": "The last frame is cover-cropped onto the target canvas. Write the prompt as a description of the whole clip, not just its final moment.\n\nEach InvokeAI install assigns its own internal model IDs, so every model field ships blank -- pick your installed models in the form after loading:\n\n- Model: the MiniMax H3 FL2VA install (diffusers layout). Required.\n- Transformer (single file) / Text Encoder (single file): optional single-file replacements for the install's transformer and Qwen3-VL encoder (e.g. the pruned int8 repacks). Leave blank to use the ones in the main install.\n- LoRA: the MiniMax H3 Turbo step-distillation LoRA.\n\nSteps default to 6, which assumes the Turbo LoRA is loaded. Without a step-distillation LoRA, raise steps to about 50 -- the reference default -- or the result will be badly under-denoised.\n\nMiniMax H3 generates the video and a synchronized stereo soundtrack together; the soundtrack is muxed into the MP4 automatically (AAC, 32 kHz). The frame rate is fixed at 24 fps and frame counts snap to a 17n+5 grid: 124 frames = ~5.2 s, up to 345 frames = 14.4 s. Width and height must be multiples of 32; the native canvas has a 768 px short edge (max 768x1344).\n\nThe model is guidance-distilled: no negative prompt, no CFG.\n\nA keyframe is part of BOTH the text conditioning (vision context) and the VAE frame conditioning -- the denoise node rejects the graph if the two disagree. Each image node here feeds Prompt - MiniMax H3 and Frame Conditioning - MiniMax H3 together, and one MiniMax H3 Ideal Dimensions node feeds the canvas to all three consumers, so the coupling holds automatically. Keep it that way if you edit a copy.\n\nThe Core Metadata node records the prompt, steps, seed, canvas size, frame count, any keyframe images and every model ID onto the saved video, so the gallery's Metadata tab is filled in and the video is findable by searching its prompt text. Each value is read over an edge from the node that actually used it, so nothing recorded can drift from what the form is set to. If you rewire the graph, keep those edges attached.",
+ "exposedFields": [
+ {
+ "nodeId": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "fieldName": "image"
+ },
+ {
+ "nodeId": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "fieldName": "value"
+ },
+ {
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "fieldName": "target_resolution"
+ },
+ {
+ "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "fieldName": "num_frames"
+ },
+ {
+ "nodeId": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "fieldName": "value"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "model"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "transformer_model"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "text_encoder_model"
+ },
+ {
+ "nodeId": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "fieldName": "lora"
+ }
+ ],
+ "meta": {
+ "version": "4.0.0",
+ "category": "default"
+ },
+ "nodes": [
+ {
+ "id": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "type": "invocation",
+ "data": {
+ "id": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "Prompt",
+ "notes": "Feeds the text encoder and the metadata record from one place, so the recorded prompt is always the prompt that ran.",
+ "type": "string",
+ "inputs": {
+ "value": {
+ "name": "value",
+ "label": "Prompt",
+ "description": "",
+ "value": ""
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": -320
+ }
+ },
+ {
+ "id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "type": "invocation",
+ "data": {
+ "id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "version": "1.3.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "minimax_h3_model_loader",
+ "inputs": {
+ "model": {
+ "name": "model",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "transformer_model": {
+ "name": "transformer_model",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "text_encoder_model": {
+ "name": "text_encoder_model",
+ "label": "",
+ "description": "",
+ "value": null
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": false
+ },
+ "position": {
+ "x": 140,
+ "y": 420
+ }
+ },
+ {
+ "id": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "type": "invocation",
+ "data": {
+ "id": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "The Turbo step-distillation LoRA is what makes 6 steps enough. Remove this node and raise the step count to about 50.",
+ "type": "minimax_h3_lora_loader",
+ "inputs": {
+ "lora": {
+ "name": "lora",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "weight": {
+ "name": "weight",
+ "label": "",
+ "description": "",
+ "value": 1
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 620
+ }
+ },
+ {
+ "id": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "type": "invocation",
+ "data": {
+ "id": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "LoRAs (metadata)",
+ "notes": "",
+ "type": "collect",
+ "inputs": {
+ "collection": {
+ "name": "collection",
+ "label": "",
+ "description": "",
+ "value": []
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1000,
+ "y": 700
+ }
+ },
+ {
+ "id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "type": "invocation",
+ "data": {
+ "id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "version": "1.0.0",
+ "nodePack": "invokeai",
+ "label": "Prompt",
+ "notes": "H3 is guidance-distilled: there is no negative prompt. The prompt and canvas arrive over edges so they always match the denoise node.",
+ "type": "minimax_h3_text_encoder",
+ "inputs": {
+ "prompt": {
+ "name": "prompt",
+ "label": "Prompt",
+ "description": "",
+ "value": ""
+ },
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1344
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 768
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": -140
+ }
+ },
+ {
+ "id": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "type": "invocation",
+ "data": {
+ "id": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "rand_int",
+ "inputs": {
+ "low": {
+ "name": "low",
+ "label": "",
+ "description": "",
+ "value": 0
+ },
+ "high": {
+ "name": "high",
+ "label": "",
+ "description": "",
+ "value": 2147483647
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": false
+ },
+ "position": {
+ "x": 1000,
+ "y": 900
+ }
+ },
+ {
+ "id": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "type": "invocation",
+ "data": {
+ "id": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "Steps",
+ "notes": "6 steps assumes the Turbo LoRA. Without it, about 50.",
+ "type": "integer",
+ "inputs": {
+ "value": {
+ "name": "value",
+ "label": "Steps",
+ "description": "",
+ "value": 6
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 900
+ }
+ },
+ {
+ "id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "type": "invocation",
+ "data": {
+ "id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "version": "1.3.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "minimax_h3_denoise",
+ "inputs": {
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1344
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 768
+ },
+ "num_frames": {
+ "name": "num_frames",
+ "label": "Frames",
+ "description": "",
+ "value": "124"
+ },
+ "steps": {
+ "name": "steps",
+ "label": "",
+ "description": "",
+ "value": 6
+ },
+ "seed": {
+ "name": "seed",
+ "label": "",
+ "description": "",
+ "value": 0
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1420,
+ "y": -60
+ }
+ },
+ {
+ "id": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "type": "invocation",
+ "data": {
+ "id": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "version": "2.3.0",
+ "nodePack": "invokeai",
+ "label": "Core Metadata",
+ "notes": "Everything except the generation mode arrives over an edge from the node that used the value, so the record cannot go stale.",
+ "type": "core_metadata",
+ "inputs": {
+ "generation_mode": {
+ "name": "generation_mode",
+ "label": "",
+ "description": "",
+ "value": "minimax_h3_lf2v"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1860,
+ "y": 380
+ }
+ },
+ {
+ "id": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "type": "invocation",
+ "data": {
+ "id": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "version": "1.0.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "",
+ "type": "minimax_h3_latents_to_video",
+ "inputs": {},
+ "isOpen": true,
+ "isIntermediate": false,
+ "useCache": true
+ },
+ "position": {
+ "x": 2300,
+ "y": -60
+ }
+ },
+ {
+ "id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "type": "invocation",
+ "data": {
+ "id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "version": "1.0.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "VAE-encodes the keyframes into conditioning rows. The same images and canvas must also reach the Prompt node -- both are wired from the one image node and the one Ideal Dimensions node.",
+ "type": "minimax_h3_frame_conditioning",
+ "inputs": {
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1344
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 768
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 200
+ }
+ },
+ {
+ "id": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "type": "invocation",
+ "data": {
+ "id": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "Derives an H3 canvas from the keyframe's aspect ratio, and feeds it to the prompt, frame conditioning and denoise nodes together -- they are required to agree.",
+ "type": "minimax_h3_ideal_dimensions",
+ "inputs": {
+ "width": {
+ "name": "width",
+ "label": "",
+ "description": "",
+ "value": 1024
+ },
+ "height": {
+ "name": "height",
+ "label": "",
+ "description": "",
+ "value": 1024
+ },
+ "target_resolution": {
+ "name": "target_resolution",
+ "label": "",
+ "description": "",
+ "value": "768 highres"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 120,
+ "y": 60
+ }
+ },
+ {
+ "id": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "type": "invocation",
+ "data": {
+ "id": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "version": "1.0.2",
+ "nodePack": "invokeai",
+ "label": "Last Frame",
+ "notes": "",
+ "type": "image",
+ "inputs": {
+ "image": {
+ "name": "image",
+ "label": "Last Frame",
+ "description": ""
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": -280,
+ "y": 140
+ }
+ }
+ ],
+ "edges": [
+ {
+ "id": "edge-9c0f3e11-value-9b2f7d8c-prompt",
+ "source": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "sourceHandle": "value",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "prompt",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-text_encoder-9b2f7d8c-text_encoder",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "text_encoder",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "text_encoder",
+ "type": "default"
+ },
+ {
+ "id": "edge-9b2f7d8c-conditioning-9d3b9faf-positive_conditioning",
+ "source": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "sourceHandle": "conditioning",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "positive_conditioning",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-transformer-9f10ad7a-transformer",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "transformer",
+ "target": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "targetHandle": "transformer",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f10ad7a-transformer-9d3b9faf-transformer",
+ "source": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "sourceHandle": "transformer",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "transformer",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d1a4f22-value-9d3b9faf-steps",
+ "source": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "sourceHandle": "value",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "steps",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c4cab0b-value-9d3b9faf-seed",
+ "source": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "sourceHandle": "value",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "seed",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9b2f7d8c-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9b2f7d8c-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9d3b9faf-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9d3b9faf-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-video_latents-9e5dcb1c-video_latents",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "video_latents",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "video_latents",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-audio_latents-9e5dcb1c-audio_latents",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "audio_latents",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "audio_latents",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-vae-9e5dcb1c-vae",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "vae",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "vae",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-audio_vae-9e5dcb1c-audio_vae",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "audio_vae",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "audio_vae",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c0f3e11-value-9e2b5033-positive_prompt",
+ "source": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "positive_prompt",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d1a4f22-value-9e2b5033-steps",
+ "source": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "steps",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c4cab0b-value-9e2b5033-seed",
+ "source": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "seed",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-width-9e2b5033-width",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "width",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-height-9e2b5033-height",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "height",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-num_frames-9e2b5033-num_frames",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "num_frames",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "num_frames",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-model-9e2b5033-model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-transformer_model-9e2b5033-minimax_h3_transformer_model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "transformer_model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "minimax_h3_transformer_model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-text_encoder_model-9e2b5033-minimax_h3_text_encoder_model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "text_encoder_model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "minimax_h3_text_encoder_model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f10ad7a-lora_metadata-9f3c6144-item",
+ "source": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "sourceHandle": "lora_metadata",
+ "target": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "targetHandle": "item",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f3c6144-collection-9e2b5033-loras",
+ "source": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "sourceHandle": "collection",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "loras",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e2b5033-metadata-9e5dcb1c-metadata",
+ "source": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "sourceHandle": "metadata",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "metadata",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-vae-9a73db93-vae",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "vae",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "vae",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a73db93-frame_conditioning-9d3b9faf-frame_conditioning",
+ "source": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "sourceHandle": "frame_conditioning",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "frame_conditioning",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9a73db93-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9a73db93-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a82e4b5-width-9e8d7c6b-width",
+ "source": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "sourceHandle": "width",
+ "target": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a82e4b5-height-9e8d7c6b-height",
+ "source": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "sourceHandle": "height",
+ "target": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a82e4b5-image-9b2f7d8c-last_image",
+ "source": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "sourceHandle": "image",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "last_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a82e4b5-image-9a73db93-last_image",
+ "source": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "sourceHandle": "image",
+ "target": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",
+ "targetHandle": "last_image",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a82e4b5-image-9e2b5033-last_frame_image",
+ "source": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "sourceHandle": "image",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "last_frame_image",
+ "type": "default"
+ }
+ ],
+ "form": {
+ "elements": {
+ "root": {
+ "id": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "heading-lf2v-gen",
+ "node-field-lf2v-lastimage",
+ "node-field-lf2v-prompt",
+ "node-field-lf2v-resolution",
+ "container-lf2v-len",
+ "divider-lf2v",
+ "heading-lf2v-model",
+ "container-lf2v-model"
+ ],
+ "layout": "column"
+ }
+ },
+ "heading-lf2v-gen": {
+ "id": "heading-lf2v-gen",
+ "parentId": "root",
+ "type": "heading",
+ "data": {
+ "content": "Generation"
+ }
+ },
+ "node-field-lf2v-prompt": {
+ "id": "node-field-lf2v-prompt",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "fieldName": "value"
+ },
+ "showDescription": false,
+ "settings": {
+ "type": "string-field-config",
+ "component": "textarea"
+ }
+ }
+ },
+ "node-field-lf2v-resolution": {
+ "id": "node-field-lf2v-resolution",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "fieldName": "target_resolution"
+ },
+ "showDescription": false
+ }
+ },
+ "container-lf2v-len": {
+ "id": "container-lf2v-len",
+ "parentId": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "node-field-lf2v-frames",
+ "node-field-lf2v-steps"
+ ],
+ "layout": "row"
+ }
+ },
+ "node-field-lf2v-frames": {
+ "id": "node-field-lf2v-frames",
+ "parentId": "container-lf2v-len",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "fieldName": "num_frames"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-lf2v-steps": {
+ "id": "node-field-lf2v-steps",
+ "parentId": "container-lf2v-len",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "fieldName": "value"
+ },
+ "showDescription": false,
+ "settings": {
+ "type": "integer-field-config",
+ "showShuffle": false,
+ "component": "number-input"
+ }
+ }
+ },
+ "divider-lf2v": {
+ "id": "divider-lf2v",
+ "parentId": "root",
+ "type": "divider"
+ },
+ "heading-lf2v-model": {
+ "id": "heading-lf2v-model",
+ "parentId": "root",
+ "type": "heading",
+ "data": {
+ "content": "Model"
+ }
+ },
+ "container-lf2v-model": {
+ "id": "container-lf2v-model",
+ "parentId": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "node-field-lf2v-model",
+ "node-field-lf2v-transformer",
+ "node-field-lf2v-textencoder",
+ "node-field-lf2v-lora"
+ ],
+ "layout": "column"
+ }
+ },
+ "node-field-lf2v-model": {
+ "id": "node-field-lf2v-model",
+ "parentId": "container-lf2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-lf2v-transformer": {
+ "id": "node-field-lf2v-transformer",
+ "parentId": "container-lf2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "transformer_model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-lf2v-textencoder": {
+ "id": "node-field-lf2v-textencoder",
+ "parentId": "container-lf2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "text_encoder_model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-lf2v-lora": {
+ "id": "node-field-lf2v-lora",
+ "parentId": "container-lf2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "fieldName": "lora"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-lf2v-lastimage": {
+ "id": "node-field-lf2v-lastimage",
+ "parentId": "root",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a82e4b5-7f1c-46ce-8d84-b0ac51f35c07",
+ "fieldName": "image"
+ },
+ "showDescription": false
+ }
+ }
+ },
+ "rootElementId": "root"
+ },
+ "id": "default_minimax_h3_lf2v"
+}
diff --git a/invokeai/app/services/workflow_records/default_workflows/Text to Video - MiniMax H3.json b/invokeai/app/services/workflow_records/default_workflows/Text to Video - MiniMax H3.json
index 4870d4f639..7ca1823f05 100644
--- a/invokeai/app/services/workflow_records/default_workflows/Text to Video - MiniMax H3.json
+++ b/invokeai/app/services/workflow_records/default_workflows/Text to Video - MiniMax H3.json
@@ -1,35 +1,51 @@
{
"name": "Text to Video - MiniMax H3",
"author": "InvokeAI",
- "description": "Text-to-video generation with MiniMax H3 (FL2VA). Produces an MP4 with a jointly generated AAC stereo soundtrack: `num_frames` frames at the model's fixed 24 fps (default 124 frames = ~5.2 s at 1344x768).",
+ "description": "Text-to-video generation with MiniMax H3 (FL2VA). Produces an MP4 with a jointly generated AAC stereo soundtrack, and records the generation parameters onto the video so they show up in the gallery's Metadata tab.",
"version": "1.0.0",
"contact": "",
"tags": "minimax h3, text to video, video, audio",
- "notes": "This workflow needs the MiniMax H3 FL2VA model (diffusers layout). Each InvokeAI install assigns its own internal model IDs, so the model field is left blank -- select your installed MiniMax H3 model in the form after loading.\n\nMiniMax H3 generates video and a synchronized stereo soundtrack together; the soundtrack is muxed into the MP4 automatically (AAC, 32 kHz). The frame rate is fixed at 24 fps and frame counts snap to a 17n+5 grid: 124 frames = ~5.2 s, up to 345 frames = 14.4 s. Width/height must be multiples of 32; the native canvas is a 768 px short edge (max 768x1344).\n\nThe model is guidance-distilled: no negative prompt, no CFG. Steps counts sigma grid points; 50 is the reference default.",
+ "notes": "Describe the clip in the prompt, set the canvas aspect and length, and generate.\n\nEach InvokeAI install assigns its own internal model IDs, so every model field ships blank -- pick your installed models in the form after loading:\n\n- Model: the MiniMax H3 FL2VA install (diffusers layout). Required.\n- Transformer (single file) / Text Encoder (single file): optional single-file replacements for the install's transformer and Qwen3-VL encoder (e.g. the pruned int8 repacks). Leave blank to use the ones in the main install.\n- LoRA: the MiniMax H3 Turbo step-distillation LoRA.\n\nSteps default to 6, which assumes the Turbo LoRA is loaded. Without a step-distillation LoRA, raise steps to about 50 -- the reference default -- or the result will be badly under-denoised.\n\nMiniMax H3 generates the video and a synchronized stereo soundtrack together; the soundtrack is muxed into the MP4 automatically (AAC, 32 kHz). The frame rate is fixed at 24 fps and frame counts snap to a 17n+5 grid: 124 frames = ~5.2 s, up to 345 frames = 14.4 s. Width and height must be multiples of 32; the native canvas has a 768 px short edge (max 768x1344).\n\nThe model is guidance-distilled: no negative prompt, no CFG.\n\nWidth and Height on the MiniMax H3 Ideal Dimensions node are the aspect ratio you are asking for, not the final canvas: the node snaps them onto a canvas the model supports. This template ships with the '768 lowres' preset (long edge 768) for quick renders -- switch it to '768 highres' for the model's native resolution.\n\nThe Core Metadata node records the prompt, steps, seed, canvas size, frame count, any keyframe images and every model ID onto the saved video, so the gallery's Metadata tab is filled in and the video is findable by searching its prompt text. Each value is read over an edge from the node that actually used it, so nothing recorded can drift from what the form is set to. If you rewire the graph, keep those edges attached.",
"exposedFields": [
{
- "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "fieldName": "model"
+ "nodeId": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "fieldName": "value"
},
{
- "nodeId": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
- "fieldName": "prompt"
- },
- {
- "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
"fieldName": "width"
},
{
- "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
"fieldName": "height"
},
+ {
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "fieldName": "target_resolution"
+ },
{
"nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
"fieldName": "num_frames"
},
{
- "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "fieldName": "steps"
+ "nodeId": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "fieldName": "value"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "model"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "transformer_model"
+ },
+ {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "text_encoder_model"
+ },
+ {
+ "nodeId": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "fieldName": "lora"
}
],
"meta": {
@@ -37,12 +53,39 @@
"category": "default"
},
"nodes": [
+ {
+ "id": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "type": "invocation",
+ "data": {
+ "id": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "Prompt",
+ "notes": "Feeds the text encoder and the metadata record from one place, so the recorded prompt is always the prompt that ran.",
+ "type": "string",
+ "inputs": {
+ "value": {
+ "name": "value",
+ "label": "Prompt",
+ "description": "",
+ "value": ""
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": -320
+ }
+ },
{
"id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
"type": "invocation",
"data": {
"id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "version": "1.2.0",
+ "version": "1.3.0",
"nodePack": "invokeai",
"label": "",
"notes": "",
@@ -53,6 +96,18 @@
"label": "",
"description": "",
"value": null
+ },
+ "transformer_model": {
+ "name": "transformer_model",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "text_encoder_model": {
+ "name": "text_encoder_model",
+ "label": "",
+ "description": "",
+ "value": null
}
},
"isOpen": true,
@@ -60,8 +115,68 @@
"useCache": false
},
"position": {
- "x": 200,
- "y": 0
+ "x": 140,
+ "y": 420
+ }
+ },
+ {
+ "id": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "type": "invocation",
+ "data": {
+ "id": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "The Turbo step-distillation LoRA is what makes 6 steps enough. Remove this node and raise the step count to about 50.",
+ "type": "minimax_h3_lora_loader",
+ "inputs": {
+ "lora": {
+ "name": "lora",
+ "label": "",
+ "description": "",
+ "value": null
+ },
+ "weight": {
+ "name": "weight",
+ "label": "",
+ "description": "",
+ "value": 1
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 620
+ }
+ },
+ {
+ "id": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "type": "invocation",
+ "data": {
+ "id": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "LoRAs (metadata)",
+ "notes": "",
+ "type": "collect",
+ "inputs": {
+ "collection": {
+ "name": "collection",
+ "label": "",
+ "description": "",
+ "value": []
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1000,
+ "y": 700
}
},
{
@@ -72,7 +187,7 @@
"version": "1.0.0",
"nodePack": "invokeai",
"label": "Prompt",
- "notes": "H3 is guidance-distilled: there is no negative prompt.",
+ "notes": "H3 is guidance-distilled: there is no negative prompt. The prompt and canvas arrive over edges so they always match the denoise node.",
"type": "minimax_h3_text_encoder",
"inputs": {
"prompt": {
@@ -81,21 +196,6 @@
"description": "",
"value": ""
},
- "text_encoder": {
- "name": "text_encoder",
- "label": "",
- "description": ""
- },
- "first_image": {
- "name": "first_image",
- "label": "",
- "description": ""
- },
- "last_image": {
- "name": "last_image",
- "label": "",
- "description": ""
- },
"width": {
"name": "width",
"label": "",
@@ -114,8 +214,8 @@
"useCache": true
},
"position": {
- "x": 700,
- "y": -150
+ "x": 620,
+ "y": -140
}
},
{
@@ -147,8 +247,35 @@
"useCache": false
},
"position": {
- "x": 400,
- "y": 500
+ "x": 1000,
+ "y": 900
+ }
+ },
+ {
+ "id": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "type": "invocation",
+ "data": {
+ "id": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "version": "1.0.1",
+ "nodePack": "invokeai",
+ "label": "Steps",
+ "notes": "6 steps assumes the Turbo LoRA. Without it, about 50.",
+ "type": "integer",
+ "inputs": {
+ "value": {
+ "name": "value",
+ "label": "Steps",
+ "description": "",
+ "value": 6
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 620,
+ "y": 900
}
},
{
@@ -162,21 +289,6 @@
"notes": "",
"type": "minimax_h3_denoise",
"inputs": {
- "transformer": {
- "name": "transformer",
- "label": "",
- "description": ""
- },
- "positive_conditioning": {
- "name": "positive_conditioning",
- "label": "",
- "description": ""
- },
- "frame_conditioning": {
- "name": "frame_conditioning",
- "label": "",
- "description": ""
- },
"width": {
"name": "width",
"label": "",
@@ -199,7 +311,7 @@
"name": "steps",
"label": "",
"description": "",
- "value": 50
+ "value": 6
},
"seed": {
"name": "seed",
@@ -213,8 +325,35 @@
"useCache": true
},
"position": {
- "x": 1150,
- "y": -50
+ "x": 1420,
+ "y": -60
+ }
+ },
+ {
+ "id": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "type": "invocation",
+ "data": {
+ "id": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "version": "2.3.0",
+ "nodePack": "invokeai",
+ "label": "Core Metadata",
+ "notes": "Everything except the generation mode arrives over an edge from the node that used the value, so the record cannot go stale.",
+ "type": "core_metadata",
+ "inputs": {
+ "generation_mode": {
+ "name": "generation_mode",
+ "label": "",
+ "description": "",
+ "value": "minimax_h3_t2v"
+ }
+ },
+ "isOpen": true,
+ "isIntermediate": true,
+ "useCache": true
+ },
+ "position": {
+ "x": 1860,
+ "y": 380
}
},
{
@@ -227,132 +366,308 @@
"label": "",
"notes": "",
"type": "minimax_h3_latents_to_video",
+ "inputs": {},
+ "isOpen": true,
+ "isIntermediate": false,
+ "useCache": true
+ },
+ "position": {
+ "x": 2300,
+ "y": -60
+ }
+ },
+ {
+ "id": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "type": "invocation",
+ "data": {
+ "id": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "version": "1.1.0",
+ "nodePack": "invokeai",
+ "label": "",
+ "notes": "Type the aspect ratio you want as width/height; the node snaps it onto a canvas H3 can render. '768 lowres' pins the long edge to 768 for fast renders -- switch to '768 highres' for the model's native canvas.",
+ "type": "minimax_h3_ideal_dimensions",
"inputs": {
- "board": {
- "name": "board",
- "label": "",
- "description": ""
- },
- "metadata": {
- "name": "metadata",
- "label": "",
- "description": ""
- },
- "video_latents": {
- "name": "video_latents",
- "label": "",
- "description": ""
- },
- "audio_latents": {
- "name": "audio_latents",
+ "width": {
+ "name": "width",
"label": "",
- "description": ""
+ "description": "",
+ "value": 768
},
- "vae": {
- "name": "vae",
+ "height": {
+ "name": "height",
"label": "",
- "description": ""
+ "description": "",
+ "value": 768
},
- "audio_vae": {
- "name": "audio_vae",
+ "target_resolution": {
+ "name": "target_resolution",
"label": "",
- "description": ""
+ "description": "",
+ "value": "768 lowres"
}
},
"isOpen": true,
- "isIntermediate": false,
+ "isIntermediate": true,
"useCache": true
},
"position": {
- "x": 1550,
- "y": -50
+ "x": 120,
+ "y": 60
}
}
],
"edges": [
{
- "id": "edge-9a1e6c7b-transformer-9d3b9faf-transformer",
- "type": "default",
- "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "sourceHandle": "transformer",
- "targetHandle": "transformer"
+ "id": "edge-9c0f3e11-value-9b2f7d8c-prompt",
+ "source": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "sourceHandle": "value",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "prompt",
+ "type": "default"
},
{
"id": "edge-9a1e6c7b-text_encoder-9b2f7d8c-text_encoder",
- "type": "default",
"source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
"sourceHandle": "text_encoder",
- "targetHandle": "text_encoder"
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "text_encoder",
+ "type": "default"
},
{
"id": "edge-9b2f7d8c-conditioning-9d3b9faf-positive_conditioning",
- "type": "default",
"source": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
- "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
"sourceHandle": "conditioning",
- "targetHandle": "positive_conditioning"
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "positive_conditioning",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-transformer-9f10ad7a-transformer",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "transformer",
+ "target": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "targetHandle": "transformer",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f10ad7a-transformer-9d3b9faf-transformer",
+ "source": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "sourceHandle": "transformer",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "transformer",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d1a4f22-value-9d3b9faf-steps",
+ "source": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "sourceHandle": "value",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "steps",
+ "type": "default"
},
{
"id": "edge-9c4cab0b-value-9d3b9faf-seed",
- "type": "default",
"source": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
- "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
"sourceHandle": "value",
- "targetHandle": "seed"
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "seed",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9b2f7d8c-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9b2f7d8c-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-width-9d3b9faf-width",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "width",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e8d7c6b-height-9d3b9faf-height",
+ "source": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "sourceHandle": "height",
+ "target": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "targetHandle": "height",
+ "type": "default"
},
{
"id": "edge-9d3b9faf-video_latents-9e5dcb1c-video_latents",
- "type": "default",
"source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
"sourceHandle": "video_latents",
- "targetHandle": "video_latents"
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "video_latents",
+ "type": "default"
},
{
"id": "edge-9d3b9faf-audio_latents-9e5dcb1c-audio_latents",
- "type": "default",
"source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
"sourceHandle": "audio_latents",
- "targetHandle": "audio_latents"
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "audio_latents",
+ "type": "default"
},
{
"id": "edge-9a1e6c7b-vae-9e5dcb1c-vae",
- "type": "default",
"source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
"sourceHandle": "vae",
- "targetHandle": "vae"
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "vae",
+ "type": "default"
},
{
"id": "edge-9a1e6c7b-audio_vae-9e5dcb1c-audio_vae",
- "type": "default",
"source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
- "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
"sourceHandle": "audio_vae",
- "targetHandle": "audio_vae"
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "audio_vae",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c0f3e11-value-9e2b5033-positive_prompt",
+ "source": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "positive_prompt",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d1a4f22-value-9e2b5033-steps",
+ "source": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "steps",
+ "type": "default"
+ },
+ {
+ "id": "edge-9c4cab0b-value-9e2b5033-seed",
+ "source": "9c4cab0b-316c-8faf-c05e-6d7baf90eb03",
+ "sourceHandle": "value",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "seed",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-width-9e2b5033-width",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "width",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "width",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-height-9e2b5033-height",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "height",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "height",
+ "type": "default"
+ },
+ {
+ "id": "edge-9d3b9faf-num_frames-9e2b5033-num_frames",
+ "source": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "sourceHandle": "num_frames",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "num_frames",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-model-9e2b5033-model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-transformer_model-9e2b5033-minimax_h3_transformer_model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "transformer_model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "minimax_h3_transformer_model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9a1e6c7b-text_encoder_model-9e2b5033-minimax_h3_text_encoder_model",
+ "source": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "sourceHandle": "text_encoder_model",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "minimax_h3_text_encoder_model",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f10ad7a-lora_metadata-9f3c6144-item",
+ "source": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "sourceHandle": "lora_metadata",
+ "target": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "targetHandle": "item",
+ "type": "default"
+ },
+ {
+ "id": "edge-9f3c6144-collection-9e2b5033-loras",
+ "source": "9f3c6144-5d6e-4f80-b192-0d1e2f3a4b05",
+ "sourceHandle": "collection",
+ "target": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "targetHandle": "loras",
+ "type": "default"
+ },
+ {
+ "id": "edge-9e2b5033-metadata-9e5dcb1c-metadata",
+ "source": "9e2b5033-4c5d-4e7f-a081-9c0d1e2f3a04",
+ "sourceHandle": "metadata",
+ "target": "9e5dcb1c-527d-9fb0-d16f-7e8cbaa1fc05",
+ "targetHandle": "metadata",
+ "type": "default"
}
],
"form": {
"elements": {
- "heading-h3-gen": {
- "id": "heading-h3-gen",
+ "root": {
+ "id": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "heading-t2v-gen",
+ "node-field-t2v-prompt",
+ "container-t2v-size",
+ "container-t2v-len",
+ "divider-t2v",
+ "heading-t2v-model",
+ "container-t2v-model"
+ ],
+ "layout": "column"
+ }
+ },
+ "heading-t2v-gen": {
+ "id": "heading-t2v-gen",
"parentId": "root",
"type": "heading",
"data": {
"content": "Generation"
}
},
- "node-field-h3-prompt": {
- "id": "node-field-h3-prompt",
+ "node-field-t2v-prompt": {
+ "id": "node-field-t2v-prompt",
"parentId": "root",
"type": "node-field",
"data": {
"fieldIdentifier": {
- "nodeId": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",
- "fieldName": "prompt"
+ "nodeId": "9c0f3e11-2a3b-4c5d-8e6f-7a8b9c0d1e02",
+ "fieldName": "value"
},
"showDescription": false,
"settings": {
@@ -361,84 +676,98 @@
}
}
},
- "container-h3-size": {
- "id": "container-h3-size",
+ "container-t2v-size": {
+ "id": "container-t2v-size",
"parentId": "root",
"type": "container",
"data": {
- "layout": "row",
"children": [
- "node-field-h3-width",
- "node-field-h3-height"
- ]
+ "container-t2v-wh",
+ "node-field-t2v-resolution"
+ ],
+ "layout": "column"
+ }
+ },
+ "container-t2v-wh": {
+ "id": "container-t2v-wh",
+ "parentId": "container-t2v-size",
+ "type": "container",
+ "data": {
+ "children": [
+ "node-field-t2v-width",
+ "node-field-t2v-height"
+ ],
+ "layout": "row"
}
},
- "node-field-h3-width": {
- "id": "node-field-h3-width",
- "parentId": "container-h3-size",
+ "node-field-t2v-width": {
+ "id": "node-field-t2v-width",
+ "parentId": "container-t2v-wh",
"type": "node-field",
"data": {
"fieldIdentifier": {
- "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
"fieldName": "width"
},
- "showDescription": false,
- "settings": {
- "type": "integer-field-config",
- "showShuffle": false,
- "component": "number-input"
- }
+ "showDescription": false
}
},
- "node-field-h3-height": {
- "id": "node-field-h3-height",
- "parentId": "container-h3-size",
+ "node-field-t2v-height": {
+ "id": "node-field-t2v-height",
+ "parentId": "container-t2v-wh",
"type": "node-field",
"data": {
"fieldIdentifier": {
- "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
"fieldName": "height"
},
- "showDescription": false,
- "settings": {
- "type": "integer-field-config",
- "showShuffle": false,
- "component": "number-input"
- }
+ "showDescription": false
+ }
+ },
+ "node-field-t2v-resolution": {
+ "id": "node-field-t2v-resolution",
+ "parentId": "container-t2v-size",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b",
+ "fieldName": "target_resolution"
+ },
+ "showDescription": false
}
},
- "container-h3-len": {
- "id": "container-h3-len",
+ "container-t2v-len": {
+ "id": "container-t2v-len",
"parentId": "root",
"type": "container",
"data": {
- "layout": "row",
"children": [
- "node-field-h3-frames",
- "node-field-h3-steps"
- ]
+ "node-field-t2v-frames",
+ "node-field-t2v-steps"
+ ],
+ "layout": "row"
}
},
- "node-field-h3-frames": {
- "id": "node-field-h3-frames",
- "parentId": "container-h3-len",
+ "node-field-t2v-frames": {
+ "id": "node-field-t2v-frames",
+ "parentId": "container-t2v-len",
"type": "node-field",
"data": {
"fieldIdentifier": {
"nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
"fieldName": "num_frames"
},
- "showDescription": true
+ "showDescription": false
}
},
- "node-field-h3-steps": {
- "id": "node-field-h3-steps",
- "parentId": "container-h3-len",
+ "node-field-t2v-steps": {
+ "id": "node-field-t2v-steps",
+ "parentId": "container-t2v-len",
"type": "node-field",
"data": {
"fieldIdentifier": {
- "nodeId": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",
- "fieldName": "steps"
+ "nodeId": "9d1a4f22-3b4c-4d6e-9f70-8b9c0d1e2f03",
+ "fieldName": "value"
},
"showDescription": false,
"settings": {
@@ -448,22 +777,36 @@
}
}
},
- "divider-h3": {
- "id": "divider-h3",
+ "divider-t2v": {
+ "id": "divider-t2v",
"parentId": "root",
"type": "divider"
},
- "heading-h3-model": {
- "id": "heading-h3-model",
+ "heading-t2v-model": {
+ "id": "heading-t2v-model",
"parentId": "root",
"type": "heading",
"data": {
"content": "Model"
}
},
- "node-field-h3-model": {
- "id": "node-field-h3-model",
+ "container-t2v-model": {
+ "id": "container-t2v-model",
"parentId": "root",
+ "type": "container",
+ "data": {
+ "children": [
+ "node-field-t2v-model",
+ "node-field-t2v-transformer",
+ "node-field-t2v-textencoder",
+ "node-field-t2v-lora"
+ ],
+ "layout": "column"
+ }
+ },
+ "node-field-t2v-model": {
+ "id": "node-field-t2v-model",
+ "parentId": "container-t2v-model",
"type": "node-field",
"data": {
"fieldIdentifier": {
@@ -473,21 +816,41 @@
"showDescription": false
}
},
- "root": {
- "id": "root",
+ "node-field-t2v-transformer": {
+ "id": "node-field-t2v-transformer",
+ "parentId": "container-t2v-model",
+ "type": "node-field",
"data": {
- "layout": "column",
- "children": [
- "heading-h3-gen",
- "node-field-h3-prompt",
- "container-h3-size",
- "container-h3-len",
- "divider-h3",
- "heading-h3-model",
- "node-field-h3-model"
- ]
- },
- "type": "container"
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "transformer_model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-t2v-textencoder": {
+ "id": "node-field-t2v-textencoder",
+ "parentId": "container-t2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",
+ "fieldName": "text_encoder_model"
+ },
+ "showDescription": false
+ }
+ },
+ "node-field-t2v-lora": {
+ "id": "node-field-t2v-lora",
+ "parentId": "container-t2v-model",
+ "type": "node-field",
+ "data": {
+ "fieldIdentifier": {
+ "nodeId": "9f10ad7a-1c2b-4d3e-8f40-5a6b7c8d9e01",
+ "fieldName": "lora"
+ },
+ "showDescription": false
+ }
}
},
"rootElementId": "root"
diff --git a/invokeai/frontend/web/openapi.json b/invokeai/frontend/web/openapi.json
index e5f418d205..c6338021a3 100644
--- a/invokeai/frontend/web/openapi.json
+++ b/invokeai/frontend/web/openapi.json
@@ -23432,6 +23432,9 @@
"wan_i2v",
"minimax_h3_t2v",
"minimax_h3_i2v",
+ "minimax_h3_lf2v",
+ "minimax_h3_flf2v",
+ "minimax_h3_extend_video",
"minimax_h3_txt2img"
],
"type": "string"
@@ -23864,6 +23867,103 @@
"orig_required": false,
"title": "Ideogram4 Caption"
},
+ "num_frames": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The number of video frames generated",
+ "field_kind": "input",
+ "input": "any",
+ "orig_default": null,
+ "orig_required": false,
+ "title": "Num Frames"
+ },
+ "first_frame_image": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ImageField"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The image used as the video's first frame",
+ "field_kind": "input",
+ "input": "any",
+ "orig_default": null,
+ "orig_required": false
+ },
+ "last_frame_image": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ImageField"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The image used as the video's last frame",
+ "field_kind": "input",
+ "input": "any",
+ "orig_default": null,
+ "orig_required": false
+ },
+ "source_video": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/VideoField"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The video this generation was derived from, e.g. the clip an extend workflow continues",
+ "field_kind": "input",
+ "input": "any",
+ "orig_default": null,
+ "orig_required": false
+ },
+ "minimax_h3_transformer_model": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ModelIdentifierField"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The single-file MiniMax H3 transformer used in place of the main model's transformer",
+ "field_kind": "input",
+ "input": "any",
+ "orig_default": null,
+ "orig_required": false
+ },
+ "minimax_h3_text_encoder_model": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ModelIdentifierField"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The single-file MiniMax H3 Qwen3-VL text encoder used in place of the main model's",
+ "field_kind": "input",
+ "input": "any",
+ "orig_default": null,
+ "orig_required": false
+ },
"hrf_enabled": {
"anyOf": [
{
@@ -24079,7 +24179,7 @@
"tags": ["metadata"],
"title": "Core Metadata",
"type": "object",
- "version": "2.2.0",
+ "version": "2.3.0",
"output": {
"$ref": "#/components/schemas/MetadataOutput"
}
@@ -69307,7 +69407,7 @@
"tags": ["lora", "model", "minimax"],
"title": "Apply LoRA - MiniMax H3",
"type": "object",
- "version": "1.0.0",
+ "version": "1.1.0",
"output": {
"$ref": "#/components/schemas/MiniMaxH3LoRALoaderOutput"
}
@@ -69331,6 +69431,13 @@
"title": "MiniMax H3 Transformer",
"ui_hidden": false
},
+ "lora_metadata": {
+ "$ref": "#/components/schemas/LoRAMetadataField",
+ "description": "The applied LoRA, in the shape Core Metadata's `loras` field takes.",
+ "field_kind": "output",
+ "title": "LoRA Metadata",
+ "ui_hidden": false
+ },
"type": {
"const": "minimax_h3_lora_loader_output",
"default": "minimax_h3_lora_loader_output",
@@ -69339,7 +69446,7 @@
"type": "string"
}
},
- "required": ["output_meta", "transformer", "type", "type"],
+ "required": ["output_meta", "transformer", "lora_metadata", "type", "type"],
"title": "MiniMaxH3LoRALoaderOutput",
"type": "object"
},
@@ -69437,7 +69544,7 @@
"tags": ["model", "minimax", "video"],
"title": "Main Model - MiniMax H3",
"type": "object",
- "version": "1.2.0",
+ "version": "1.3.0",
"output": {
"$ref": "#/components/schemas/MiniMaxH3ModelLoaderOutput"
}
@@ -69474,6 +69581,43 @@
"title": "Audio VAE",
"ui_hidden": false
},
+ "model": {
+ "$ref": "#/components/schemas/ModelIdentifierField",
+ "description": "The MiniMax H3 model that was loaded.",
+ "field_kind": "output",
+ "title": "Model",
+ "ui_hidden": false
+ },
+ "transformer_model": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ModelIdentifierField"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The single-file transformer override that was used, if any.",
+ "field_kind": "output",
+ "title": "Transformer (single file)",
+ "ui_hidden": false
+ },
+ "text_encoder_model": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ModelIdentifierField"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The single-file text encoder override that was used, if any.",
+ "field_kind": "output",
+ "title": "Text Encoder (single file)",
+ "ui_hidden": false
+ },
"type": {
"const": "minimax_h3_model_loader_output",
"default": "minimax_h3_model_loader_output",
@@ -69482,7 +69626,18 @@
"type": "string"
}
},
- "required": ["output_meta", "transformer", "text_encoder", "vae", "audio_vae", "type", "type"],
+ "required": [
+ "output_meta",
+ "transformer",
+ "text_encoder",
+ "vae",
+ "audio_vae",
+ "model",
+ "transformer_model",
+ "text_encoder_model",
+ "type",
+ "type"
+ ],
"title": "MiniMaxH3ModelLoaderOutput",
"type": "object"
},
diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts
index a7b094c67d..1748fc7753 100644
--- a/invokeai/frontend/web/src/services/api/schema.ts
+++ b/invokeai/frontend/web/src/services/api/schema.ts
@@ -8732,7 +8732,7 @@ export type components = {
* @description The generation mode that output this image
* @default null
*/
- generation_mode?: ("txt2img" | "img2img" | "inpaint" | "outpaint" | "sdxl_txt2img" | "sdxl_img2img" | "sdxl_inpaint" | "sdxl_outpaint" | "flux_txt2img" | "flux_img2img" | "flux_inpaint" | "flux_outpaint" | "flux2_txt2img" | "flux2_img2img" | "flux2_inpaint" | "flux2_outpaint" | "sd3_txt2img" | "sd3_img2img" | "sd3_inpaint" | "sd3_outpaint" | "cogview4_txt2img" | "cogview4_img2img" | "cogview4_inpaint" | "cogview4_outpaint" | "z_image_txt2img" | "z_image_img2img" | "z_image_inpaint" | "z_image_outpaint" | "ernie_image_txt2img" | "ideogram4_txt2img" | "qwen_image_txt2img" | "qwen_image_img2img" | "qwen_image_inpaint" | "qwen_image_outpaint" | "anima_txt2img" | "anima_img2img" | "anima_inpaint" | "anima_outpaint" | "krea2_txt2img" | "krea2_img2img" | "krea2_inpaint" | "krea2_outpaint" | "wan_txt2img" | "wan_img2img" | "wan_inpaint" | "wan_outpaint" | "wan_i2v" | "minimax_h3_t2v" | "minimax_h3_i2v" | "minimax_h3_txt2img") | null;
+ generation_mode?: ("txt2img" | "img2img" | "inpaint" | "outpaint" | "sdxl_txt2img" | "sdxl_img2img" | "sdxl_inpaint" | "sdxl_outpaint" | "flux_txt2img" | "flux_img2img" | "flux_inpaint" | "flux_outpaint" | "flux2_txt2img" | "flux2_img2img" | "flux2_inpaint" | "flux2_outpaint" | "sd3_txt2img" | "sd3_img2img" | "sd3_inpaint" | "sd3_outpaint" | "cogview4_txt2img" | "cogview4_img2img" | "cogview4_inpaint" | "cogview4_outpaint" | "z_image_txt2img" | "z_image_img2img" | "z_image_inpaint" | "z_image_outpaint" | "ernie_image_txt2img" | "ideogram4_txt2img" | "qwen_image_txt2img" | "qwen_image_img2img" | "qwen_image_inpaint" | "qwen_image_outpaint" | "anima_txt2img" | "anima_img2img" | "anima_inpaint" | "anima_outpaint" | "krea2_txt2img" | "krea2_img2img" | "krea2_inpaint" | "krea2_outpaint" | "wan_txt2img" | "wan_img2img" | "wan_inpaint" | "wan_outpaint" | "wan_i2v" | "minimax_h3_t2v" | "minimax_h3_i2v" | "minimax_h3_lf2v" | "minimax_h3_flf2v" | "minimax_h3_extend_video" | "minimax_h3_txt2img") | null;
/**
* Positive Prompt
* @description The positive prompt parameter
@@ -8873,6 +8873,37 @@ export type components = {
* @default null
*/
ideogram4_caption?: string | null;
+ /**
+ * Num Frames
+ * @description The number of video frames generated
+ * @default null
+ */
+ num_frames?: number | null;
+ /**
+ * @description The image used as the video's first frame
+ * @default null
+ */
+ first_frame_image?: components["schemas"]["ImageField"] | null;
+ /**
+ * @description The image used as the video's last frame
+ * @default null
+ */
+ last_frame_image?: components["schemas"]["ImageField"] | null;
+ /**
+ * @description The video this generation was derived from, e.g. the clip an extend workflow continues
+ * @default null
+ */
+ source_video?: components["schemas"]["VideoField"] | null;
+ /**
+ * @description The single-file MiniMax H3 transformer used in place of the main model's transformer
+ * @default null
+ */
+ minimax_h3_transformer_model?: components["schemas"]["ModelIdentifierField"] | null;
+ /**
+ * @description The single-file MiniMax H3 Qwen3-VL text encoder used in place of the main model's
+ * @default null
+ */
+ minimax_h3_text_encoder_model?: components["schemas"]["ModelIdentifierField"] | null;
/**
* Hrf Enabled
* @description Whether or not high resolution fix was enabled.
@@ -29480,6 +29511,11 @@ export type components = {
* @default null
*/
transformer: components["schemas"]["MiniMaxH3TransformerField"] | null;
+ /**
+ * LoRA Metadata
+ * @description The applied LoRA, in the shape Core Metadata's `loras` field takes.
+ */
+ lora_metadata: components["schemas"]["LoRAMetadataField"];
/**
* type
* @default minimax_h3_lora_loader_output
@@ -29564,6 +29600,23 @@ export type components = {
* @description Audio VAE (stereo, 32 kHz) for MiniMax H3
*/
audio_vae: components["schemas"]["VAEField"];
+ /**
+ * Model
+ * @description The MiniMax H3 model that was loaded.
+ */
+ model: components["schemas"]["ModelIdentifierField"];
+ /**
+ * Transformer (single file)
+ * @description The single-file transformer override that was used, if any.
+ * @default null
+ */
+ transformer_model: components["schemas"]["ModelIdentifierField"] | null;
+ /**
+ * Text Encoder (single file)
+ * @description The single-file text encoder override that was used, if any.
+ * @default null
+ */
+ text_encoder_model: components["schemas"]["ModelIdentifierField"] | null;
/**
* type
* @default minimax_h3_model_loader_output
diff --git a/invokeai/frontend/webv2/src/features/workflow/data/templates.test.ts b/invokeai/frontend/webv2/src/features/workflow/data/templates.test.ts
index 33d3cf9130..bfea62f07d 100644
--- a/invokeai/frontend/webv2/src/features/workflow/data/templates.test.ts
+++ b/invokeai/frontend/webv2/src/features/workflow/data/templates.test.ts
@@ -92,6 +92,39 @@ const openApiFixture = {
},
type: 'object',
},
+ SaveVideoInvocation: {
+ class: 'invocation',
+ output: { $ref: '#/components/schemas/IntegerOutput' },
+ properties: {
+ board: {
+ anyOf: [{ $ref: '#/components/schemas/BoardField' }, { type: 'null' }],
+ field_kind: 'internal',
+ input: 'direct',
+ orig_required: false,
+ title: 'Board',
+ },
+ id: { field_kind: 'node_attribute', title: 'Id', type: 'string' },
+ is_intermediate: { default: false, field_kind: 'node_attribute', type: 'boolean' },
+ latents: {
+ anyOf: [{ $ref: '#/components/schemas/LatentsField' }, { type: 'null' }],
+ field_kind: 'input',
+ input: 'connection',
+ orig_required: true,
+ title: 'Latents',
+ },
+ metadata: {
+ anyOf: [{ $ref: '#/components/schemas/MetadataField' }, { type: 'null' }],
+ field_kind: 'internal',
+ input: 'connection',
+ orig_required: false,
+ title: 'Metadata',
+ },
+ type: { const: 'save_video', default: 'save_video', title: 'type' },
+ use_cache: { default: true, field_kind: 'node_attribute', type: 'boolean' },
+ },
+ title: 'Save Video',
+ type: 'object',
+ },
LatentsOutput: {
class: 'output',
properties: {
@@ -112,7 +145,7 @@ describe('parseOpenApiToTemplates', () => {
const templates = parseOpenApiToTemplates(openApiFixture);
it('parses invocation schemas into templates, skipping the denylist', () => {
- expect(Object.keys(templates).sort()).toEqual(['add', 'denoise']);
+ expect(Object.keys(templates).sort()).toEqual(['add', 'denoise', 'save_video']);
const add = templates.add;
@@ -151,6 +184,17 @@ describe('parseOpenApiToTemplates', () => {
expect(denoise?.inputs.scheduler?.options).toEqual(['euler', 'ddim']);
});
+ it('keeps internal-kind metadata and board inputs, but drops node attributes', () => {
+ // `metadata` and `board` are the only two internal-kind properties in the schema, and both
+ // are connectable: without them a bundled workflow's Core Metadata edge has no handle to
+ // land on and is dropped on re-save.
+ const saveVideo = templates.save_video;
+
+ expect(Object.keys(saveVideo?.inputs ?? {}).sort()).toEqual(['board', 'latents', 'metadata']);
+ expect(saveVideo?.inputs.metadata?.type.name).toBe('MetadataField');
+ expect(saveVideo?.inputs.board?.type.name).toBe('BoardField');
+ });
+
it('parses output templates', () => {
expect(templates.denoise?.outputs.latents?.type.name).toBe('LatentsField');
expect(templates.add?.outputs.value?.type.name).toBe('IntegerField');
diff --git a/invokeai/frontend/webv2/src/features/workflow/data/templates.ts b/invokeai/frontend/webv2/src/features/workflow/data/templates.ts
index 7cf5de1c61..bab6af64df 100644
--- a/invokeai/frontend/webv2/src/features/workflow/data/templates.ts
+++ b/invokeai/frontend/webv2/src/features/workflow/data/templates.ts
@@ -275,7 +275,12 @@ const parseInvocationSchema = (schema: JsonObject, schemas: JsonObject): Invocat
continue;
}
- if (rawProperty.field_kind !== 'input') {
+ // `internal` covers exactly two properties across the whole schema: `metadata` and
+ // `board`. Both are real, connectable inputs — a workflow that wires a Core Metadata
+ // node into a save node needs the `metadata` handle to exist. The node-level
+ // attributes (`id`, `type`, `use_cache`, `is_intermediate`) are `node_attribute`, so
+ // they stay excluded here as well as by RESERVED_INPUT_FIELD_NAMES.
+ if (rawProperty.field_kind !== 'input' && rawProperty.field_kind !== 'internal') {
continue;
}
diff --git a/tests/app/services/workflow_records/test_default_workflows_registry.py b/tests/app/services/workflow_records/test_default_workflows_registry.py
index 04de560e40..76a96b652d 100644
--- a/tests/app/services/workflow_records/test_default_workflows_registry.py
+++ b/tests/app/services/workflow_records/test_default_workflows_registry.py
@@ -26,8 +26,8 @@ WAN_WORKFLOWS = sorted(
def test_wan_workflow_glob_finds_the_bundled_workflows() -> None:
# Guard against the glob silently matching nothing (e.g. after a rename).
- # 12 Wan workflows + 2 MiniMax H3 video workflows.
- assert len(WAN_WORKFLOWS) == 14
+ # 12 Wan workflows + 5 MiniMax H3 video workflows.
+ assert len(WAN_WORKFLOWS) == 17
@pytest.mark.parametrize("workflow_path", WAN_WORKFLOWS, ids=lambda p: p.stem)