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.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
feat(backend): MiniMax H3 Ref2VA generation - packing, conditioning, invocations
Lincoln Stein770946801e8e
diff --git a/invokeai/app/invocations/fields.py b/invokeai/app/invocations/fields.pyindex 97b4da0a3d..2f5dd65fcc 100644--- a/invokeai/app/invocations/fields.py+++ b/invokeai/app/invocations/fields.py@@ -1,5 +1,5 @@from enum import Enum-from typing import Any, Callable, Optional, Tuple+from typing import Any, Callable, Literal, Optional, Tuplefrom pydantic import BaseModel, ConfigDict, Field, RootModel, TypeAdapterfrom pydantic.fields import _Unset@@ -191,6 +191,8 @@ class FieldDescriptions:minimax_h3_text_encoder = "Qwen3-VL-32B tokenizer, processor and text encoder for MiniMax H3"minimax_h3_frame_conditioning = "First/last-keyframe (VAE-latent) conditioning for MiniMax H3"minimax_h3_audio_vae = "Audio VAE (stereo, 32 kHz) for MiniMax H3"+ minimax_h3_reference_media = "One ordered Ref2VA reference (image or video) for MiniMax H3"+ minimax_h3_reference_conditioning = "Ordered, VAE-encoded Ref2VA reference conditioning for MiniMax H3"sdxl_main_model = "SDXL Main model (UNet, VAE, CLIP1, CLIP2) to load"sdxl_refiner_model = "SDXL Refiner Main Modde (UNet, VAE, CLIP2) to load"onnx_main_model = "ONNX Main model (UNet, VAE, CLIP) to load"@@ -477,6 +479,67 @@ class MiniMaxH3FrameConditioningField(BaseModel):height: int = Field(description="Canvas height used during VAE encoding (matches denoise height).")+class MiniMaxH3ReferenceMediaField(BaseModel):+ """One ordered Ref2VA reference for MiniMax H3: the raw media plus its conditioning options.++ Carries no tensors — both the Prompt node and the Reference Conditioning node normalize+ the same media independently (the FL2VA keyframe precedent), and the denoise node+ cross-checks the two sides via the signature embedded in each side's output. Exactly one+ of ``image`` / ``video`` is set; ``video_conditioning`` selects which streams a video+ reference conditions ("audio" maps to upstream's standalone audio-reference kind, sourced+ from the video's soundtrack).+ """++ image: Optional[ImageField] = Field(default=None, description="The reference image, for an image reference.")+ video: Optional[VideoField] = Field(default=None, description="The reference video, for a video/audio reference.")+ video_conditioning: Literal["video_audio", "video", "audio"] = Field(+ default="video_audio",+ description="Which streams a video reference conditions: video + soundtrack, video only, or soundtrack only.",+ )+ image_detail: Literal["max", "match"] = Field(+ default="max",+ description="Image reference sizing: 'max' (2048 px short edge, highest fidelity) or 'match' "+ "(scaled to the generation's pixel area, several times faster).",+ )+ start_frame: int = Field(+ default=0, description="First source frame of a video reference (inclusive, 0-based; negative from the end)."+ )+ end_frame: int = Field(+ default=-1, description="Last source frame of a video reference (inclusive; negative from the end)."+ )+++class MiniMaxH3EncodedReferenceField(BaseModel):+ """One VAE-encoded Ref2VA reference, in packed order."""++ kind: Literal["image", "video", "audio"] = Field(description="The reference's packed-block kind.")+ video_rows_name: Optional[str] = Field(+ default=None, description="Name of the saved clean (N, 96) visual rows tensor. None for 'audio'."+ )+ latent_frames: Optional[int] = Field(default=None, description="Latent frame count of the visual rows.")+ latent_height: Optional[int] = Field(default=None, description="Latent height of the visual rows.")+ latent_width: Optional[int] = Field(default=None, description="Latent width of the visual rows.")+ audio_rows_name: Optional[str] = Field(+ default=None, description="Name of the saved clean (A, 32) soundtrack rows tensor, when the reference has one."+ )+++class MiniMaxH3ReferenceConditioningField(BaseModel):+ """Ordered, VAE-encoded Ref2VA reference conditioning for MiniMax H3.++ Rows are CLEAN: the denoise node noise-augments the visual rows to t=0.999 with the+ request seed's leading draws; audio rows are never noised. ``signature`` is the ordered+ per-reference fingerprint the denoise node compares against the prompt conditioning's,+ so the two sides cannot silently disagree about what was encoded.+ """++ references: list[MiniMaxH3EncodedReferenceField] = Field(description="The encoded references, in packed order.")+ num_frames: int = Field(description="The generated frame count the references were truncated for.")+ signature: list[str] = Field(description="Ordered structural fingerprint, one entry per reference.")+ width: int = Field(default=1344, description="Target canvas width the references were prepared for.")+ height: int = Field(default=768, description="Target canvas height the references were prepared for.")++class ConditioningField(BaseModel):"""A conditioning tensor primitive value"""diff --git a/invokeai/app/invocations/minimax_h3_denoise.py b/invokeai/app/invocations/minimax_h3_denoise.pyindex 1f75bd6f64..bc8a5eb368 100644--- a/invokeai/app/invocations/minimax_h3_denoise.py+++ b/invokeai/app/invocations/minimax_h3_denoise.py@@ -27,6 +27,7 @@ from invokeai.app.invocations.fields import (LatentsField,MiniMaxH3ConditioningField,MiniMaxH3FrameConditioningField,+ MiniMaxH3ReferenceConditioningField,OutputField,)from invokeai.app.invocations.model import MiniMaxH3TransformerField@@ -54,7 +55,9 @@ from invokeai.backend.minimax_h3.sampling import (MINIMAX_H3_SPATIAL_COMPRESSION,MINIMAX_H3_STILL_NUM_FRAMES,MINIMAX_H3_VAE_LATENT_CHANNELS,+ MiniMaxH3EncodedReference,build_denoise_state,+ build_ref2va_denoise_state,validate_canvas,validate_num_frames,)@@ -129,7 +132,7 @@ class MiniMaxH3DenoiseOutput(BaseInvocationOutput):title="Denoise - MiniMax H3",tags=["latents", "video", "audio", "minimax"],category="latents",- version="1.3.0",+ version="1.4.0",classification=Classification.Prototype,)class MiniMaxH3DenoiseInvocation(BaseInvocation):@@ -147,6 +150,12 @@ class MiniMaxH3DenoiseInvocation(BaseInvocation):input=Input.Connection,title="Frame Conditioning",)+ reference_conditioning: MiniMaxH3ReferenceConditioningField | None = InputField(+ default=None,+ description=FieldDescriptions.minimax_h3_reference_conditioning,+ input=Input.Connection,+ title="Reference Conditioning",+ )width: int = InputField(default=1344,gt=0,@@ -223,6 +232,87 @@ class MiniMaxH3DenoiseInvocation(BaseInvocation):)return None+ def _build_reference_state(+ self,+ context: InvocationContext,+ cond_info: MiniMaxH3ConditioningInfo,+ num_frames: int,+ num_latent_frames: int,+ latent_height: int,+ latent_width: int,+ num_audio_latents: int,+ device: torch.device,+ ):+ """Load the encoded references and build the Ref2VA denoise state.++ The reference list must agree with the prompt's vision context - same references,+ same order, same options, same generated duration - so the signature both nodes+ derived from their inputs is compared entry for entry, exactly as FL2VA cross-checks+ its keyframe anchors.+ """+ assert self.reference_conditioning is not None+ field = self.reference_conditioning+ if num_frames == MINIMAX_H3_STILL_NUM_FRAMES:+ raise ValueError("Reference-to-video cannot generate the 5-frame still-image clip.")+ if not cond_info.reference_signature:+ # Checked before any num_frames comparison so the remedy named is the right one:+ # a prompt with no references at all needs them WIRED, not a frame count changed.+ raise ValueError(+ "The prompt was encoded without references, but reference conditioning is wired. Connect "+ "the same ordered references to Prompt - MiniMax H3 as well."+ )+ if (field.width, field.height) != (self.width, self.height):+ raise ValueError(+ f"The references were prepared for a {field.width}x{field.height} canvas but this denoise "+ f"runs at {self.width}x{self.height}. Re-run Reference Conditioning - MiniMax H3 with "+ "matching width/height."+ )+ if field.num_frames != num_frames:+ raise ValueError(+ f"The references were prepared for {field.num_frames} frames but this denoise runs "+ f"{num_frames}. Re-run Reference Conditioning - MiniMax H3 with a matching Number of Frames."+ )+ if cond_info.reference_num_frames != num_frames:+ raise ValueError(+ f"The prompt's references were prepared for {cond_info.reference_num_frames} frames but this "+ f"denoise runs {num_frames}. Re-run Prompt - MiniMax H3 with a matching Number of Frames."+ )+ if tuple(field.signature) != tuple(cond_info.reference_signature):+ raise ValueError(+ "Reference mismatch: the prompt was encoded with different references (a different order, "+ "trim, or conditioning choice - or, for a 'match'-detail image, different width/height on "+ "the two nodes) than Reference Conditioning provides. Wire the SAME ordered references to "+ "both Prompt - MiniMax H3 and Reference Conditioning - MiniMax H3, with the same settings."+ )++ references: list[MiniMaxH3EncodedReference] = []+ for encoded in field.references:+ video_rows = context.tensors.load(encoded.video_rows_name) if encoded.video_rows_name else None+ audio_rows = context.tensors.load(encoded.audio_rows_name) if encoded.audio_rows_name else None+ latent_shape = None+ if (+ encoded.latent_frames is not None+ and encoded.latent_height is not None+ and encoded.latent_width is not None+ ):+ latent_shape = (encoded.latent_frames, encoded.latent_height, encoded.latent_width)+ references.append(+ MiniMaxH3EncodedReference(+ kind=encoded.kind, video_rows=video_rows, latent_shape=latent_shape, audio_rows=audio_rows+ )+ )+ return build_ref2va_denoise_state(+ text_token_tags=cond_info.text_token_tags,+ references=references,+ num_latent_frames=num_latent_frames,+ latent_height=latent_height,+ latent_width=latent_width,+ num_audio_latents=num_audio_latents,+ num_inference_steps=self.steps,+ seed=self.seed,+ device=device,+ )+@torch.no_grad()def invoke(self, context: InvocationContext) -> MiniMaxH3DenoiseOutput:# The field is a choice list of grid-aligned strings; validate anyway so a hand-authored graph that@@ -243,6 +333,23 @@ class MiniMaxH3DenoiseInvocation(BaseInvocation):num_latent_frames = video_latent_num_frames(num_frames)num_audio_latents = audio_latent_num_frames(num_frames)+ if self.frame_conditioning is not None and self.reference_conditioning is not None:+ raise ValueError(+ "Frame Conditioning (first/last keyframes, FL2VA) and Reference Conditioning (Ref2VA) are "+ "mutually exclusive - wire one or the other."+ )+ transformer_variant = self.transformer.variant+ if self.reference_conditioning is not None and transformer_variant == "fl2va":+ raise ValueError(+ "This transformer is the FL2VA task checkpoint, which cannot consume references. Select the "+ "Ref2VA transformer in the model loader, or remove the reference conditioning."+ )+ if self.reference_conditioning is None and transformer_variant == "ref2va":+ raise ValueError(+ "This transformer is the Ref2VA task checkpoint, which requires reference conditioning. Wire "+ "Reference Conditioning - MiniMax H3, or select the FL2VA transformer in the model loader."+ )+keyframe_anchors: tuple[str, ...] = ()clean_condition_rows: torch.Tensor | None = Noneif self.frame_conditioning is not None:@@ -271,18 +378,41 @@ class MiniMaxH3DenoiseInvocation(BaseInvocation):"width/height.")- state = build_denoise_state(- text_token_tags=cond_info.text_token_tags,- num_latent_frames=num_latent_frames,- latent_height=latent_height,- latent_width=latent_width,- num_audio_latents=num_audio_latents,- num_inference_steps=self.steps,- seed=self.seed,- device=device,- keyframe_anchors=keyframe_anchors,- clean_condition_rows=clean_condition_rows,- )+ if self.reference_conditioning is not None:+ state = self._build_reference_state(+ context,+ cond_info,+ num_frames,+ num_latent_frames,+ latent_height,+ latent_width,+ num_audio_latents,+ device,+ )+ else:+ if cond_info.reference_signature:+ raise ValueError(+ "The prompt was encoded with Ref2VA references but no reference conditioning is wired. "+ "Connect the same references to Reference Conditioning - MiniMax H3 and to this node."+ )+ state = build_denoise_state(+ text_token_tags=cond_info.text_token_tags,+ num_latent_frames=num_latent_frames,+ latent_height=latent_height,+ latent_width=latent_width,+ num_audio_latents=num_audio_latents,+ num_inference_steps=self.steps,+ seed=self.seed,+ device=device,+ keyframe_anchors=keyframe_anchors,+ clean_condition_rows=clean_condition_rows,+ )++ if state.layout.sequence_length > 100_000:+ context.logger.info(+ f"MiniMax H3 packed sequence is {state.layout.sequence_length} rows (references included); "+ "expect a long render."+ )num_condition_video_rows = state.layout.num_condition_video_rowsdiff --git a/invokeai/app/invocations/minimax_h3_frame_conditioning.py b/invokeai/app/invocations/minimax_h3_frame_conditioning.pyindex 332a04d239..fb979bc8d9 100644--- a/invokeai/app/invocations/minimax_h3_frame_conditioning.py+++ b/invokeai/app/invocations/minimax_h3_frame_conditioning.py@@ -21,6 +21,7 @@ from invokeai.backend.minimax_h3.autoencoder_kl_minimax_h3 import AutoencoderKLMfrom invokeai.backend.minimax_h3.keyframe_conditioning import encode_keyframes, prepare_keyframesfrom invokeai.backend.minimax_h3.packing import MINIMAX_H3_CANVAS_MULTIPLEfrom invokeai.backend.model_manager.load.model_cache.utils import get_effective_device+from invokeai.backend.util.vae_working_memory import estimate_vae_working_memory_minimax_h3@invocation_output("minimax_h3_frame_conditioning_output")@@ -37,7 +38,7 @@ class MiniMaxH3FrameConditioningOutput(BaseInvocationOutput):title="Frame Conditioning - MiniMax H3",tags=["conditioning", "minimax", "video", "i2v"],category="conditioning",- version="1.0.0",+ version="1.0.1",classification=Classification.Prototype,)class MiniMaxH3FrameConditioningInvocation(BaseInvocation):@@ -76,7 +77,8 @@ class MiniMaxH3FrameConditioningInvocation(BaseInvocation):raise TypeError(f"Expected AutoencoderKLMiniMaxH3 for the MiniMax H3 video VAE, got {type(vae_info.model).__name__}.")- with vae_info.model_on_device() as (_, vae):+ working_memory = estimate_vae_working_memory_minimax_h3("encode", vae_info.model, self.height, self.width, 1)+ with vae_info.model_on_device(working_mem_bytes=working_memory) as (_, vae):assert isinstance(vae, AutoencoderKLMiniMaxH3)context.util.signal_progress("Encoding MiniMax H3 keyframes")rows = encode_keyframes(vae, keyframes, device=get_effective_device(vae))diff --git a/invokeai/app/invocations/minimax_h3_model_loader.py b/invokeai/app/invocations/minimax_h3_model_loader.pyindex 9184882bf0..2feec6c76b 100644--- a/invokeai/app/invocations/minimax_h3_model_loader.py+++ b/invokeai/app/invocations/minimax_h3_model_loader.py@@ -29,7 +29,7 @@ class MiniMaxH3ModelLoaderOutput(BaseInvocationOutput):"""MiniMax H3 model loader output."""transformer: MiniMaxH3TransformerField = OutputField(- description="MiniMax H3 FL2VA transformer", title="Transformer"+ description="MiniMax H3 task transformer (FL2VA or Ref2VA)", title="Transformer")text_encoder: MiniMaxH3TextEncoderField = OutputField(description=FieldDescriptions.minimax_h3_text_encoder, title="Qwen3-VL Encoder"@@ -57,17 +57,22 @@ class MiniMaxH3ModelLoaderOutput(BaseInvocationOutput):title="Main Model - MiniMax H3",tags=["model", "minimax", "video"],category="model",- version="1.3.0",+ version="1.4.0",classification=Classification.Prototype,)class MiniMaxH3ModelLoaderInvocation(BaseInvocation):- """Loads a MiniMax H3 (FL2VA) model, outputting its submodels.+ """Loads a MiniMax H3 model, outputting its submodels.All six submodels (transformer, text encoder, tokenizer, processor, video VAE, audio VAE)come from the one diffusers-layout install. Optionally, a single-file transformer checkpoint(e.g. the pruned int8 repack) replaces the folder's transformer, and/or a single-filetruncated Qwen3-VL encoder (e.g. the int8 repack) replaces the folder's text encoder, whileeverything else keeps coming from the folder install.++ A Ref2VA diffusers folder's ``transformer_ref/`` weights are NOT folder-loadable (the+ submodel map has no entry for that folder), so Ref2VA generation always selects a+ single-file Ref2VA transformer here; identification marks such folders components-only so+ the UI requires it up front."""model: ModelIdentifierField = InputField(@@ -132,16 +137,11 @@ class MiniMaxH3ModelLoaderInvocation(BaseInvocation):else:transformer_config = main_configtransformer = self.model.model_copy(update={"submodel_type": SubModelType.Transformer})- # TODO(ref2va): replace this rejection with variant stamping when reference-conditioned- # generation lands. Until then a Ref2VA transformer (whose weights expect reference- # conditioning rows nothing here packs) must fail fast rather than silently produce- # degraded output - the webv2 picker filters it out, but hand-authored workflows and- # API clients do not go through that filter.- if getattr(transformer_config, "variant", None) is MiniMaxH3VariantType.REF2VA:- raise ValueError(- f"'{transformer_config.name}' is a Ref2VA (reference-to-video) transformer, which this "- "version cannot generate with yet. Select an FL2VA transformer instead."- )+ # Stamp the transformer's task variant onto the field: the denoise node uses it to+ # reject a task/conditioning mismatch (references on FL2VA weights, or Ref2VA weights+ # without references) instead of silently producing degraded output.+ variant = getattr(transformer_config, "variant", None)+ transformer_variant = variant.value if isinstance(variant, MiniMaxH3VariantType) else Nonetokenizer = self.model.model_copy(update={"submodel_type": SubModelType.Tokenizer})processor = self.model.model_copy(update={"submodel_type": SubModelType.Processor})if self.text_encoder_model is not None:@@ -154,7 +154,7 @@ class MiniMaxH3ModelLoaderInvocation(BaseInvocation):audio_vae = self.model.model_copy(update={"submodel_type": SubModelType.AudioVAE})return MiniMaxH3ModelLoaderOutput(- transformer=MiniMaxH3TransformerField(transformer=transformer),+ transformer=MiniMaxH3TransformerField(transformer=transformer, variant=transformer_variant),text_encoder=MiniMaxH3TextEncoderField(tokenizer=tokenizer, processor=processor, text_encoder=text_encoder),vae=VAEField(vae=vae),audio_vae=VAEField(vae=audio_vae),diff --git a/invokeai/app/invocations/minimax_h3_reference.py b/invokeai/app/invocations/minimax_h3_reference.pynew file mode 100644index 0000000000..3194c0f00f--- /dev/null+++ b/invokeai/app/invocations/minimax_h3_reference.py@@ -0,0 +1,449 @@+"""MiniMax H3 Ref2VA reference invocations.++Three nodes cover the reference side of a Ref2VA request:++- ``minimax_h3_image_reference`` / ``minimax_h3_video_reference`` are cheap descriptor+ nodes — they carry the media name plus its conditioning options, so an ordered,+ heterogeneous reference list is expressible through a Collect node (order IS part of the+ request: a different order is a different generation).+- ``minimax_h3_reference_conditioning`` does all the VAE work: it normalizes and encodes+ every reference, in order, into clean conditioning rows.++The same reference list must also be wired to Prompt - MiniMax H3, which normalizes the+media independently for the Qwen3-VL vision context (the FL2VA wire-it-to-both doctrine);+the denoise node cross-checks the two sides via each reference's signature string.+"""++from typing import Literal++import numpy as np+import torch++from invokeai.app.invocations.baseinvocation import (+ BaseInvocation,+ BaseInvocationOutput,+ Classification,+ invocation,+ invocation_output,+)+from invokeai.app.invocations.fields import (+ FieldDescriptions,+ ImageField,+ Input,+ InputField,+ MiniMaxH3EncodedReferenceField,+ MiniMaxH3ReferenceConditioningField,+ MiniMaxH3ReferenceMediaField,+ OutputField,+ UIComponent,+ VideoField,+)+from invokeai.app.invocations.model import VAEField+from invokeai.app.services.session_processor.session_processor_common import CanceledException+from invokeai.app.services.shared.invocation_context import InvocationContext+from invokeai.app.util.video_audio import extract_audio_pcm+from invokeai.app.util.video_thumbnails import decoder_frame_count, iter_video_frames, probe_video+from invokeai.backend.minimax_h3.autoencoder_kl_minimax_h3 import AutoencoderKLMiniMaxH3+from invokeai.backend.minimax_h3.autoencoder_kl_minimax_h3_audio import AutoencoderKLMiniMaxH3Audio+from invokeai.backend.minimax_h3.packing import (+ MINIMAX_H3_CANVAS_MULTIPLE,+ validate_reference_kinds,+)+from invokeai.backend.minimax_h3.presets import MINIMAX_H3_MIN_VIDEO_FRAMES+from invokeai.backend.minimax_h3.reference_conditioning import (+ encode_reference_audio,+ encode_reference_image,+ encode_reference_video,+ normalize_reference_audio,+ normalize_reference_image,+ normalize_reference_video_frames_streaming,+ resolve_reference_image_short_edge,+)+from invokeai.backend.model_manager.load.model_cache.utils import get_effective_device+from invokeai.backend.util.vae_working_memory import estimate_vae_working_memory_minimax_h3++# UI labels for the per-video conditioning selector.+VIDEO_CONDITIONING_LABELS: dict[str, str] = {+ "video_audio": "Video + audio",+ "video": "Video only",+ "audio": "Audio only",+}++IMAGE_DETAIL_LABELS: dict[str, str] = {+ "max": "Max (2048px, slower)",+ "match": "Match generation size",+}+++@invocation_output("minimax_h3_reference_media_output")+class MiniMaxH3ReferenceMediaOutput(BaseInvocationOutput):+ """One ordered Ref2VA reference descriptor."""++ reference: MiniMaxH3ReferenceMediaField = OutputField(description=FieldDescriptions.minimax_h3_reference_media)+++@invocation(+ "minimax_h3_image_reference",+ title="Image Reference - MiniMax H3",+ tags=["conditioning", "reference", "minimax", "video"],+ category="conditioning",+ version="1.0.0",+ classification=Classification.Prototype,+)+class MiniMaxH3ImageReferenceInvocation(BaseInvocation):+ """Describes one image reference for MiniMax H3 Ref2VA.++ Collect references in the order they should condition in — order is part of the request —+ and wire the collection to both Reference Conditioning - MiniMax H3 and Prompt - MiniMax H3.+ """++ image: ImageField = InputField(description="The reference image.")+ detail: Literal["max", "match"] = InputField(+ default="max",+ description="'max' conditions at a 2048px short edge (highest fidelity; a 2048px square reference adds "+ "~4096 rows to every denoising step). 'match' scales the reference to the generation's pixel area — "+ "several times faster.",+ ui_choice_labels=IMAGE_DETAIL_LABELS,+ )++ def invoke(self, context: InvocationContext) -> MiniMaxH3ReferenceMediaOutput:+ return MiniMaxH3ReferenceMediaOutput(+ reference=MiniMaxH3ReferenceMediaField(image=self.image, image_detail=self.detail)+ )+++@invocation(+ "minimax_h3_video_reference",+ title="Video Reference - MiniMax H3",+ tags=["conditioning", "reference", "minimax", "video", "audio"],+ category="conditioning",+ version="1.0.0",+ classification=Classification.Prototype,+)+class MiniMaxH3VideoReferenceInvocation(BaseInvocation):+ """Describes one video reference for MiniMax H3 Ref2VA.++ 'Audio only' conditions on the video's soundtrack alone (the standalone audio-reference+ kind). At least one reference of the request must contribute visuals, and a conditioning+ choice that includes audio requires the video to actually carry a soundtrack.+ """++ video: VideoField = InputField(description="The reference video.")+ conditioning: Literal["video_audio", "video", "audio"] = InputField(+ default="video_audio",+ description="Which streams this reference conditions: video + soundtrack, video only, or soundtrack only.",+ ui_choice_labels=VIDEO_CONDITIONING_LABELS,+ )+ start_frame: int = InputField(+ default=0,+ description="First source frame of the reference range (inclusive, 0-based; negative counts from the end).",+ ui_component=UIComponent.VideoFrameIndex,+ )+ end_frame: int = InputField(+ default=-1,+ description="Last source frame of the reference range (inclusive; negative counts from the end).",+ ui_component=UIComponent.VideoFrameIndex,+ )++ def invoke(self, context: InvocationContext) -> MiniMaxH3ReferenceMediaOutput:+ return MiniMaxH3ReferenceMediaOutput(+ reference=MiniMaxH3ReferenceMediaField(+ video=self.video,+ video_conditioning=self.conditioning,+ start_frame=self.start_frame,+ end_frame=self.end_frame,+ )+ )+++def normalize_reference_list(+ references: MiniMaxH3ReferenceMediaField | list[MiniMaxH3ReferenceMediaField],+) -> list[MiniMaxH3ReferenceMediaField]:+ """A single reference or a Collect-fed list onto a validated, ordered list."""+ entries = references if isinstance(references, list) else [references]+ for index, entry in enumerate(entries):+ if (entry.image is None) == (entry.video is None):+ raise ValueError(f"Reference {index + 1} must carry exactly one of an image or a video.")+ validate_reference_kinds([reference_kind(entry) for entry in entries])+ return entries+++def reference_kind(reference: MiniMaxH3ReferenceMediaField) -> str:+ """The packed-block kind of a reference: 'image', 'video', or 'audio' (audio-only video)."""+ if reference.image is not None:+ return "image"+ return "audio" if reference.video_conditioning == "audio" else "video"+++def reference_has_audio(reference: MiniMaxH3ReferenceMediaField) -> bool:+ """Whether the reference contributes audio rows (and an '<Audio j>: ' label)."""+ return reference.video is not None and reference.video_conditioning in ("video_audio", "audio")+++class _ResolvedVideoRange:+ """The trimmed source range of a video reference, resolved against the real frame count."""++ def __init__(self, context: InvocationContext, reference: MiniMaxH3ReferenceMediaField) -> None:+ assert reference.video is not None+ self.path = context.videos.get_path(reference.video.video_name)+ _width, _height, duration, fps = probe_video(self.path)+ n_frames = decoder_frame_count(self.path)+ if n_frames is None and duration and fps:+ n_frames = max(1, round(duration * fps))+ if n_frames is None or n_frames <= 0:+ raise ValueError(f"Could not determine the frame count of reference video {reference.video.video_name}.")+ if fps is not None and fps > 0:+ self.fps = float(fps)+ elif duration and duration > 0:+ self.fps = n_frames / float(duration)+ else:+ raise ValueError(f"Could not determine the frame rate of reference video {reference.video.video_name}.")++ def resolve(value: int, name: str) -> int:+ resolved = value + n_frames if value < 0 else value+ if resolved < 0 or resolved >= n_frames:+ raise ValueError(f"{name}={value} is out of range for a {n_frames}-frame reference video.")+ return resolved++ self.start = resolve(reference.start_frame, "start_frame")+ self.end = resolve(reference.end_frame, "end_frame")+ if self.start > self.end:+ raise ValueError(f"start_frame ({self.start}) must not be after end_frame ({self.end}).")+++def load_reference_video_frames(+ context: InvocationContext, reference: MiniMaxH3ReferenceMediaField, span: _ResolvedVideoRange, num_frames: int+) -> np.ndarray:+ """Decode, trim and normalize a video reference's frames (24 fps, canvas, truncated).++ The decoder stream is fully drained (or early-stopped) here, BEFORE any GPU work — the+ app holds a single global video-stream slot with an inactivity timeout, so decode must+ never interleave with model execution.+ """++ def trimmed():+ for index, frame in enumerate(iter_video_frames(span.path, is_canceled=context.util.is_canceled)):+ if index < span.start:+ continue+ if index > span.end:+ return+ yield frame++ return normalize_reference_video_frames_streaming(trimmed(), span.fps, num_frames)+++def load_reference_audio(+ reference: MiniMaxH3ReferenceMediaField, span: _ResolvedVideoRange, num_frames: int+) -> torch.Tensor:+ """Extract, trim and normalize a video reference's soundtrack to 32 kHz stereo.++ Raises with an actionable message when the container has no audio stream — the user+ asked for audio conditioning, so silence must not be conditioned on unannounced.+ """+ assert reference.video is not None+ extracted = extract_audio_pcm(span.path, float_pcm=True)+ if extracted is None:+ raise ValueError(+ f"Reference video {reference.video.video_name} has no audio track, but its conditioning is "+ f"'{VIDEO_CONDITIONING_LABELS[reference.video_conditioning]}'. Pick 'Video only' or use a video "+ "with sound."+ )+ pcm, rate = extracted+ window_start = round(span.start * rate / span.fps)+ window_end = round((span.end + 1) * rate / span.fps)+ window = pcm[:, window_start:window_end]+ if window.shape[1] == 0:+ raise ValueError(+ f"The trimmed range of reference video {reference.video.video_name} lies past the end of its audio track."+ )+ if window.shape[1] < window_end - window_start:+ # Track shorter than the video: keep temporal alignment by padding with silence.+ window = np.pad(window, ((0, 0), (0, (window_end - window_start) - window.shape[1])))+ return normalize_reference_audio(window, rate, num_frames)+++def reference_signature_entry(+ reference: MiniMaxH3ReferenceMediaField, normalized_image_size: tuple[int, int] | None, num_frames: int+) -> str:+ """The deterministic fingerprint of one reference, derivable identically on both the+ prompt and the encoder side, compared by the denoise node."""+ if reference.image is not None:+ assert normalized_image_size is not None+ width, height = normalized_image_size+ return f"image:{reference.image.image_name}:{reference.image_detail}:{width}x{height}"+ assert reference.video is not None+ kind = reference_kind(reference)+ streams = {"video_audio": "va", "video": "v", "audio": "a"}[reference.video_conditioning]+ return f"{kind}:{reference.video.video_name}:{streams}:{reference.start_frame}-{reference.end_frame}:{num_frames}"+++@invocation_output("minimax_h3_reference_conditioning_output")+class MiniMaxH3ReferenceConditioningOutput(BaseInvocationOutput):+ """Output of the MiniMax H3 reference VAE-encoder."""++ reference_conditioning: MiniMaxH3ReferenceConditioningField = OutputField(+ description=FieldDescriptions.minimax_h3_reference_conditioning+ )+++@invocation(+ "minimax_h3_reference_conditioning",+ title="Reference Conditioning - MiniMax H3",+ tags=["conditioning", "reference", "minimax", "video", "audio"],+ category="conditioning",+ version="1.0.0",+ classification=Classification.Prototype,+)+class MiniMaxH3ReferenceConditioningInvocation(BaseInvocation):+ """VAE-encodes an ordered list of Ref2VA references into conditioning rows.++ The rows are clean (the denoise node noise-augments the visual rows with the request+ seed; soundtrack rows stay clean). The same references, in the same order, must also be+ wired to Prompt - MiniMax H3: they are part of both the packed sequence and the text+ conditioning, and the denoise node rejects a mismatch.+ """++ references: MiniMaxH3ReferenceMediaField | list[MiniMaxH3ReferenceMediaField] = InputField(+ description="The references, in conditioning order (order is part of the request).",+ input=Input.Connection,+ )+ vae: VAEField = InputField(description=FieldDescriptions.vae, input=Input.Connection, title="Video VAE")+ audio_vae: VAEField = InputField(+ description=FieldDescriptions.minimax_h3_audio_vae, input=Input.Connection, title="Audio VAE"+ )+ num_frames: int = InputField(+ default=124,+ gt=0,+ description="The frame count the generation will run at (17n+5). References are truncated to this "+ "duration; it must match the Denoise node's Number of Frames.",+ )+ width: int = InputField(+ default=1344,+ gt=0,+ multiple_of=MINIMAX_H3_CANVAS_MULTIPLE,+ description="Target canvas width (used only to size 'match'-detail image references).",+ )+ height: int = InputField(+ default=768,+ gt=0,+ multiple_of=MINIMAX_H3_CANVAS_MULTIPLE,+ description="Target canvas height (used only to size 'match'-detail image references).",+ )++ @torch.no_grad()+ def invoke(self, context: InvocationContext) -> MiniMaxH3ReferenceConditioningOutput:+ references = normalize_reference_list(self.references)+ if self.num_frames < MINIMAX_H3_MIN_VIDEO_FRAMES:+ raise ValueError(+ f"Reference-to-video needs at least {MINIMAX_H3_MIN_VIDEO_FRAMES} frames (the still-image "+ "clip is not supported)."+ )++ # Phase 1 — ingest and normalize every reference on the CPU. All video decoding+ # happens here, before any model load: the app's decoder has one global stream slot+ # and a per-frame inactivity timeout, so it must never wait on GPU work.+ normalized_images: list = [None] * len(references)+ normalized_frames: list = [None] * len(references)+ normalized_audio: list = [None] * len(references)+ signatures: list[str] = []+ for index, reference in enumerate(references):+ if context.util.is_canceled():+ raise CanceledException+ if reference.image is not None:+ image = context.images.get_pil(reference.image.image_name)+ short_edge = resolve_reference_image_short_edge(+ image.width, image.height, reference.image_detail, self.width * self.height+ )+ normalized = normalize_reference_image(image, short_edge)+ normalized_images[index] = normalized+ signatures.append(reference_signature_entry(reference, normalized.size, self.num_frames))+ continue+ span = _ResolvedVideoRange(context, reference)+ if reference_kind(reference) == "video":+ normalized_frames[index] = load_reference_video_frames(context, reference, span, self.num_frames)+ if reference_has_audio(reference):+ normalized_audio[index] = load_reference_audio(reference, span, self.num_frames)+ signatures.append(reference_signature_entry(reference, None, self.num_frames))++ # Phase 2 — encode the visual references through the video VAE, in packed order.+ encoded: list[MiniMaxH3EncodedReferenceField] = [+ MiniMaxH3EncodedReferenceField(kind=reference_kind(reference)) for reference in references+ ]+ if any(image is not None for image in normalized_images) or any(+ frames is not None for frames in normalized_frames+ ):+ vae_info = context.models.load(self.vae.vae)+ if not isinstance(vae_info.model, AutoencoderKLMiniMaxH3):+ raise TypeError(+ f"Expected AutoencoderKLMiniMaxH3 for the MiniMax H3 video VAE, got "+ f"{type(vae_info.model).__name__}."+ )+ working_memory = 0+ for index in range(len(references)):+ if normalized_images[index] is not None:+ width, height = normalized_images[index].size+ working_memory = max(+ working_memory,+ estimate_vae_working_memory_minimax_h3("encode", vae_info.model, height, width, 1),+ )+ elif normalized_frames[index] is not None:+ frames = normalized_frames[index]+ # encode_reference_video streams 17-frame chunks to the device (the+ # moments are latent-sized), so the clip term of the estimate covers+ # one chunk, not the whole reference - a 361-frame clip would otherwise+ # reserve ~6 GB it never uses.+ working_memory = max(+ working_memory,+ estimate_vae_working_memory_minimax_h3(+ "encode",+ vae_info.model,+ frames.shape[1],+ frames.shape[2],+ min(frames.shape[0], int(vae_info.model.config.clip_length)),+ ),+ )+ with vae_info.model_on_device(working_mem_bytes=working_memory) as (_, vae):+ assert isinstance(vae, AutoencoderKLMiniMaxH3)+ device = get_effective_device(vae)+ for index in range(len(references)):+ if context.util.is_canceled():+ raise CanceledException+ if normalized_images[index] is not None:+ rows, latent_shape = encode_reference_image(vae, normalized_images[index], device)+ elif normalized_frames[index] is not None:+ rows, latent_shape = encode_reference_video(vae, normalized_frames[index], device)+ else:+ continue+ encoded[index].video_rows_name = context.tensors.save(tensor=rows.detach().cpu())+ encoded[index].latent_frames = latent_shape[0]+ encoded[index].latent_height = latent_shape[1]+ encoded[index].latent_width = latent_shape[2]+ normalized_images[index] = None+ normalized_frames[index] = None++ # Phase 3 — encode the soundtracks through the audio VAE, in packed order.+ if any(waveform is not None for waveform in normalized_audio):+ audio_vae_info = context.models.load(self.audio_vae.vae)+ if not isinstance(audio_vae_info.model, AutoencoderKLMiniMaxH3Audio):+ raise TypeError(+ f"Expected AutoencoderKLMiniMaxH3Audio for the MiniMax H3 audio VAE, got "+ f"{type(audio_vae_info.model).__name__}."+ )+ with audio_vae_info.model_on_device() as (_, audio_vae):+ assert isinstance(audio_vae, AutoencoderKLMiniMaxH3Audio)+ audio_device = get_effective_device(audio_vae)+ for index, waveform in enumerate(normalized_audio):+ if waveform is None:+ continue+ rows = encode_reference_audio(audio_vae, waveform, audio_device)+ encoded[index].audio_rows_name = context.tensors.save(tensor=rows.detach().cpu())++ return MiniMaxH3ReferenceConditioningOutput(+ reference_conditioning=MiniMaxH3ReferenceConditioningField(+ references=encoded,+ num_frames=self.num_frames,+ signature=signatures,+ width=self.width,+ height=self.height,+ )+ )diff --git a/invokeai/app/invocations/minimax_h3_text_encoder.py b/invokeai/app/invocations/minimax_h3_text_encoder.pyindex 6c1e94dd5a..a27b7bfdf4 100644--- a/invokeai/app/invocations/minimax_h3_text_encoder.py+++ b/invokeai/app/invocations/minimax_h3_text_encoder.py@@ -6,14 +6,31 @@ from invokeai.app.invocations.fields import (ImageField,Input,InputField,+ MiniMaxH3ReferenceMediaField,UIComponent,)+from invokeai.app.invocations.minimax_h3_reference import (+ _ResolvedVideoRange,+ load_reference_video_frames,+ normalize_reference_list,+ reference_has_audio,+ reference_kind,+ reference_signature_entry,+)from invokeai.app.invocations.model import MiniMaxH3TextEncoderFieldfrom invokeai.app.invocations.primitives import MiniMaxH3ConditioningOutputfrom invokeai.app.services.shared.invocation_context import InvocationContextfrom invokeai.backend.minimax_h3.keyframe_conditioning import prepare_keyframesfrom invokeai.backend.minimax_h3.packing import MINIMAX_H3_CANVAS_MULTIPLE-from invokeai.backend.minimax_h3.text_conditioning import encode_prompt+from invokeai.backend.minimax_h3.reference_conditioning import (+ normalize_reference_image,+ resolve_reference_image_short_edge,+)+from invokeai.backend.minimax_h3.text_conditioning import (+ MiniMaxH3TextReference,+ encode_prompt,+ encode_prompt_ref2va,+)from invokeai.backend.model_manager.load.model_cache.utils import get_effective_devicefrom invokeai.backend.stable_diffusion.diffusion.conditioning_data import (ConditioningFieldData,@@ -26,18 +43,21 @@ from invokeai.backend.stable_diffusion.diffusion.conditioning_data import (title="Prompt - MiniMax H3",tags=["prompt", "conditioning", "minimax", "video"],category="conditioning",- version="1.0.0",+ version="1.1.0",classification=Classification.Prototype,idle_gpu_offloadable=True,)class MiniMaxH3TextEncoderInvocation(BaseInvocation):- """Encodes a prompt (and optional first/last keyframes) for MiniMax H3.+ """Encodes a prompt (and optional first/last keyframes, or Ref2VA references) for MiniMax H3.The conditioning is Qwen3-VL-32B's *unnormalized* layer-50 hidden state. H3 isguidance-distilled: there is no negative prompt. For first/last-frame video, the keyframesare ALSO part of the text conditioning (a "<Picture i>: " label plus a vision block perkeyframe), so the same images must be wired here and to the Frame Conditioning node, with- the same width/height as the denoise node.+ the same width/height as the denoise node. For reference-to-video (Ref2VA), the same+ ordered references must be wired here and to the Reference Conditioning node, with the+ same Number of Frames — the references appear in the conditioning as per-modality labels+ and vision blocks (a reference video is read at 2 fps)."""prompt: str = InputField(description="Text prompt for MiniMax H3.", ui_component=UIComponent.Textarea)@@ -52,6 +72,18 @@ class MiniMaxH3TextEncoderInvocation(BaseInvocation):last_image: ImageField | None = InputField(default=None, description="Optional keyframe the video ends on (must match Frame Conditioning).")+ references: MiniMaxH3ReferenceMediaField | list[MiniMaxH3ReferenceMediaField] | None = InputField(+ default=None,+ description="Ref2VA references, in conditioning order (must match Reference Conditioning - MiniMax H3). "+ "Mutually exclusive with keyframes.",+ input=Input.Connection,+ )+ num_frames: int | None = InputField(+ default=None,+ gt=0,+ description="The generation's frame count. Required with references (they are truncated to it); "+ "must match the Denoise and Reference Conditioning nodes.",+ )width: int = InputField(default=1344, gt=0, multiple_of=MINIMAX_H3_CANVAS_MULTIPLE, description="Target canvas width.")@@ -59,14 +91,66 @@ class MiniMaxH3TextEncoderInvocation(BaseInvocation):default=768, gt=0, multiple_of=MINIMAX_H3_CANVAS_MULTIPLE, description="Target canvas height.")+ def _build_text_references(+ self, context: InvocationContext, references: list[MiniMaxH3ReferenceMediaField], num_frames: int+ ) -> tuple[list[MiniMaxH3TextReference], list[str]]:+ """Normalize the reference media for the vision context, in packed order.++ The normalization is intentionally identical to Reference Conditioning - MiniMax H3's+ (same helpers, same trim, same canvas rules); the signature entries computed here are+ what the denoise node compares against that node's, so the two sides cannot silently+ disagree. All video decoding happens here, before the text encoder loads.+ """+ text_references: list[MiniMaxH3TextReference] = []+ signatures: list[str] = []+ for reference in references:+ if reference.image is not None:+ image = context.images.get_pil(reference.image.image_name)+ short_edge = resolve_reference_image_short_edge(+ image.width, image.height, reference.image_detail, self.width * self.height+ )+ normalized = normalize_reference_image(image, short_edge)+ text_references.append(MiniMaxH3TextReference(kind="image", image=normalized))+ signatures.append(reference_signature_entry(reference, normalized.size, num_frames))+ continue+ kind = reference_kind(reference)+ has_audio = reference_has_audio(reference)+ if kind == "video":+ span = _ResolvedVideoRange(context, reference)+ frames = load_reference_video_frames(context, reference, span, num_frames)+ text_references.append(MiniMaxH3TextReference(kind="video", has_audio=has_audio, frames=frames))+ else:+ # An audio-only reference contributes its label alone; whether the file+ # actually carries sound is enforced by the Reference Conditioning node.+ text_references.append(MiniMaxH3TextReference(kind="audio", has_audio=True))+ signatures.append(reference_signature_entry(reference, None, num_frames))+ return text_references, signatures+@torch.no_grad()def invoke(self, context: InvocationContext) -> MiniMaxH3ConditioningOutput:+ has_keyframes = self.first_image is not None or self.last_image is not None+ if self.references is not None and has_keyframes:+ raise ValueError(+ "Keyframes (first/last image) and Ref2VA references are mutually exclusive - a request is "+ "either first/last-frame-to-video or reference-to-video."+ )+keyframes = []anchors: tuple[str, ...] = ()- if self.first_image is not None or self.last_image is not None:+ text_references: list[MiniMaxH3TextReference] = []+ reference_signature: tuple[str, ...] = ()+ if has_keyframes:first = context.images.get_pil(self.first_image.image_name) if self.first_image else Nonelast = context.images.get_pil(self.last_image.image_name) if self.last_image else Nonekeyframes, anchors = prepare_keyframes(first, last, self.height, self.width)+ elif self.references is not None:+ if self.num_frames is None:+ raise ValueError(+ "num_frames is required with references: they are truncated to the generated duration."+ )+ reference_list = normalize_reference_list(self.references)+ text_references, signatures = self._build_text_references(context, reference_list, self.num_frames)+ reference_signature = tuple(signatures)# Load the largest model first: loading the ~22 GB text encoder evicts unlocked small# entries from the RAM cache, so tokenizer/processor loaded before it would be dropped@@ -81,14 +165,24 @@ class MiniMaxH3TextEncoderInvocation(BaseInvocation):):device = get_effective_device(text_encoder)context.util.signal_progress("Running Qwen3-VL text encoder")- prompt_embeds, text_token_tags = encode_prompt(- text_encoder=text_encoder,- tokenizer=tokenizer,- processor=processor,- prompt=self.prompt,- keyframe_images=keyframes,- device=device,- )+ if text_references:+ prompt_embeds, text_token_tags = encode_prompt_ref2va(+ text_encoder=text_encoder,+ tokenizer=tokenizer,+ processor=processor,+ prompt=self.prompt,+ references=text_references,+ device=device,+ )+ else:+ prompt_embeds, text_token_tags = encode_prompt(+ text_encoder=text_encoder,+ tokenizer=tokenizer,+ processor=processor,+ prompt=self.prompt,+ keyframe_images=keyframes,+ device=device,+ )# Persist on CPU; required by the idle-GPU-offload contract of this node.conditioning_data = ConditioningFieldData(@@ -99,6 +193,8 @@ class MiniMaxH3TextEncoderInvocation(BaseInvocation):keyframe_anchors=anchors,width=self.width if anchors else None,height=self.height if anchors else None,+ reference_signature=reference_signature,+ reference_num_frames=self.num_frames if reference_signature else None,)])diff --git a/invokeai/app/invocations/model.py b/invokeai/app/invocations/model.pyindex a201f26561..f30aaaad3a 100644--- a/invokeai/app/invocations/model.py+++ b/invokeai/app/invocations/model.py@@ -184,10 +184,15 @@ class MiniMaxH3TextEncoderField(BaseModel):class MiniMaxH3TransformerField(BaseModel):- """Transformer field for MiniMax H3 models (FL2VA)."""+ """Transformer field for MiniMax H3 models (FL2VA or Ref2VA)."""transformer: ModelIdentifierField = Field(description="Info to load Transformer submodel")loras: List[LoRAField] = Field(default_factory=list, description="LoRAs to apply on model loading")+ variant: Optional[str] = Field(+ default=None,+ description="The task variant of the loaded transformer ('fl2va' / 'ref2va'), stamped by the model "+ "loader so the denoise node can reject a task/conditioning mismatch.",+ )class VAEField(BaseModel):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.jsonindex 441efb8e65..c3d91cb1cd 100644--- 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@@ -89,7 +89,7 @@"type": "invocation","data": {"id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",- "version": "1.3.0",+ "version": "1.4.0","nodePack": "invokeai","label": "","notes": "",@@ -188,7 +188,7 @@"type": "invocation","data": {"id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",- "version": "1.0.0",+ "version": "1.1.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.",@@ -287,7 +287,7 @@"type": "invocation","data": {"id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",- "version": "1.3.0",+ "version": "1.4.0","nodePack": "invokeai","label": "","notes": "",@@ -469,7 +469,7 @@"type": "invocation","data": {"id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",- "version": "1.0.0",+ "version": "1.0.1","nodePack": "invokeai","label": "","notes": "VAE-encodes the hand-off frame. The same image and canvas must also reach the Prompt node.",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.jsonindex 4cd0ce9418..4ee49d6852 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@@ -81,7 +81,7 @@"type": "invocation","data": {"id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",- "version": "1.3.0",+ "version": "1.4.0","nodePack": "invokeai","label": "","notes": "",@@ -180,7 +180,7 @@"type": "invocation","data": {"id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",- "version": "1.0.0",+ "version": "1.1.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.",@@ -279,7 +279,7 @@"type": "invocation","data": {"id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",- "version": "1.3.0",+ "version": "1.4.0","nodePack": "invokeai","label": "","notes": "",@@ -377,7 +377,7 @@"type": "invocation","data": {"id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",- "version": "1.0.0",+ "version": "1.0.1","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.",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.jsonindex 357969c4fd..a176026d1b 100644--- 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@@ -85,7 +85,7 @@"type": "invocation","data": {"id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",- "version": "1.3.0",+ "version": "1.4.0","nodePack": "invokeai","label": "","notes": "",@@ -184,7 +184,7 @@"type": "invocation","data": {"id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",- "version": "1.0.0",+ "version": "1.1.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.",@@ -283,7 +283,7 @@"type": "invocation","data": {"id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",- "version": "1.3.0",+ "version": "1.4.0","nodePack": "invokeai","label": "","notes": "",@@ -381,7 +381,7 @@"type": "invocation","data": {"id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",- "version": "1.0.0",+ "version": "1.0.1","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.",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.jsonindex 2a0eaea7cb..7225013cdf 100644--- 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@@ -81,7 +81,7 @@"type": "invocation","data": {"id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",- "version": "1.3.0",+ "version": "1.4.0","nodePack": "invokeai","label": "","notes": "",@@ -180,7 +180,7 @@"type": "invocation","data": {"id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",- "version": "1.0.0",+ "version": "1.1.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.",@@ -279,7 +279,7 @@"type": "invocation","data": {"id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",- "version": "1.3.0",+ "version": "1.4.0","nodePack": "invokeai","label": "","notes": "",@@ -377,7 +377,7 @@"type": "invocation","data": {"id": "9a73db93-75eb-4468-bba1-d0f9d1c21a07",- "version": "1.0.0",+ "version": "1.0.1","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.",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.jsonindex bfd3ff0ac1..0ba6ecd59f 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@@ -85,7 +85,7 @@"type": "invocation","data": {"id": "9a1e6c7b-1d2f-4b3c-8e1a-2f3d4c5b6a01",- "version": "1.3.0",+ "version": "1.4.0","nodePack": "invokeai","label": "","notes": "",@@ -184,7 +184,7 @@"type": "invocation","data": {"id": "9b2f7d8c-2e3f-5c4d-9f2b-3a4e5d6c7b02",- "version": "1.0.0",+ "version": "1.1.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.",@@ -283,7 +283,7 @@"type": "invocation","data": {"id": "9d3b9faf-405b-7e6f-bf4d-5c6a7f8e9d04",- "version": "1.3.0",+ "version": "1.4.0","nodePack": "invokeai","label": "","notes": "",diff --git a/invokeai/app/util/video_audio.py b/invokeai/app/util/video_audio.pyindex 33f4c94f94..94f3c04075 100644--- a/invokeai/app/util/video_audio.py+++ b/invokeai/app/util/video_audio.py@@ -34,15 +34,26 @@ class AudioExtractionError(RuntimeError):"""ffmpeg failed to decode an audio track for a reason other than 'no audio stream'."""-def extract_audio_pcm(video_path: Path) -> tuple[np.ndarray, int] | None:+def extract_audio_pcm(video_path: Path, *, float_pcm: bool = False) -> tuple[np.ndarray, int] | None:"""Decode ``video_path``'s audio track to float32 stereo PCM at its native sample rate.Returns ``(samples, sample_rate)`` with ``samples`` shaped ``(2, n)`` in [-1, 1], or``None`` when the container has no audio stream. Mono sources are upmixed to stereo by- ffmpeg; multi-channel sources are downmixed.+ ffmpeg; multi-channel sources are downmixed (MiniMax H3's reference implementation would+ reject >2 channels instead — an accepted divergence).++ With ``float_pcm=True`` the decode goes through ``pcm_f32le`` instead of ``pcm_s16le``,+ preserving the container's float samples without an int16 quantization. MiniMax H3+ reference conditioning requires this: upstream conditions on the decoder's float output."""- with tempfile.NamedTemporaryFile(prefix="invokeai_audio_extract_", suffix=".wav", delete=False) as tmp:- wav_path = Path(tmp.name)+ suffix = ".f32" if float_pcm else ".wav"+ with tempfile.NamedTemporaryFile(prefix="invokeai_audio_extract_", suffix=suffix, delete=False) as tmp:+ out_path = Path(tmp.name)+ codec_args = (+ # Raw float32 interleaved stereo: the stdlib `wave` module cannot read float WAVs,+ # so the float branch writes a headerless `f32le` stream and notes the rate below.+ ["-acodec", "pcm_f32le", "-f", "f32le"] if float_pcm else ["-acodec", "pcm_s16le"]+ )try:try:proc = subprocess.run(@@ -56,9 +67,8 @@ def extract_audio_pcm(video_path: Path) -> tuple[np.ndarray, int] | None:"-vn","-ac","2",- "-acodec",- "pcm_s16le",- str(wav_path),+ *codec_args,+ str(out_path),],capture_output=True,timeout=600,@@ -74,7 +84,14 @@ def extract_audio_pcm(video_path: Path) -> tuple[np.ndarray, int] | None:raise AudioExtractionError(f"ffmpeg could not extract audio from {video_path.name}: {stderr.strip()[-500:]}")- with wave.open(str(wav_path), "rb") as wav:+ if float_pcm:+ rate = _probe_audio_sample_rate(video_path)+ raw = out_path.read_bytes()+ if not raw or rate is None:+ return None+ data = np.frombuffer(raw, dtype=np.float32).reshape(-1, 2).T+ return np.ascontiguousarray(data), rate+ with wave.open(str(out_path), "rb") as wav:rate = wav.getframerate()n = wav.getnframes()raw = wav.readframes(n)@@ -83,7 +100,38 @@ def extract_audio_pcm(video_path: Path) -> tuple[np.ndarray, int] | None:data = np.frombuffer(raw, dtype=np.int16).reshape(-1, 2).Treturn data.astype(np.float32) / 32768.0, ratefinally:- wav_path.unlink(missing_ok=True)+ out_path.unlink(missing_ok=True)+++def _probe_audio_sample_rate(video_path: Path) -> int | None:+ """The native sample rate of ``video_path``'s FIRST audio stream, or None without one.++ A raw ``f32le`` dump carries no header, so the rate is read off the container instead —+ and the float decode pins ``-map 0:a:0`` precisely so this banner-order lookup and the+ decoded stream agree. The bundled ffmpeg binary ships without ffprobe; parsing the+ stream banner ffmpeg prints for an input with no output is the established fallback.+ """+ try:+ proc = subprocess.run(+ [_ffmpeg_exe(), "-hide_banner", "-i", str(video_path)],+ capture_output=True,+ timeout=60,+ )+ except subprocess.TimeoutExpired as e:+ raise AudioExtractionError(f"ffmpeg timed out probing audio in {video_path.name}") from e+ # ffmpeg exits non-zero for probe-only invocations; the stream info is on stderr, e.g.+ # "Stream #0:1[0x2](und): Audio: aac (LC) ..., 44100 Hz, stereo, ...".+ stderr = proc.stderr.decode("utf-8", errors="replace")+ for line in stderr.splitlines():+ if "Audio:" in line and "Hz" in line:+ for token in line.split(","):+ token = token.strip()+ if token.endswith("Hz"):+ try:+ return int(token[:-2].strip())+ except ValueError:+ continue+ return Nonedef resample_linear(samples: np.ndarray, num_output_samples: int) -> np.ndarray:diff --git a/invokeai/backend/minimax_h3/audio_resample.py b/invokeai/backend/minimax_h3/audio_resample.pynew file mode 100644index 0000000000..cafc0f3724--- /dev/null+++ b/invokeai/backend/minimax_h3/audio_resample.py@@ -0,0 +1,79 @@+"""Windowed-sinc audio resampling for MiniMax H3 reference soundtracks.++MiniMax H3's reference implementation resamples soundtracks with+``torchaudio.transforms.Resample`` at its defaults (``lowpass_filter_width=6``,+``rolloff=0.99``, ``sinc_interp_hann``). torchaudio is not an InvokeAI dependency, so this is+a dependency-free port of exactly that path — ``_get_sinc_resample_kernel`` and+``_apply_sinc_resample_kernel`` from ``torchaudio.functional`` (BSD-2-Clause, Copyright (c)+2017 Facebook Inc.; https://github.com/pytorch/audio) — kept operation-for-operation+identical, mixed-dtype quirks included, so the conditioning matches upstream bit for bit.++The linear resampler in :mod:`invokeai.app.util.video_audio` is NOT numerically equivalent+and must not be substituted on this path.+"""++import math++import torch++_LOWPASS_FILTER_WIDTH = 6+_ROLLOFF = 0.99+++def _sinc_resample_kernel(orig_freq: int, new_freq: int) -> tuple[torch.Tensor, int]:+ """The torchaudio ``sinc_interp_hann`` kernel at default parameters, float32.++ Mirrors torchaudio's ``dtype=None`` path exactly: the sample index grid is float64, the+ output-phase grid starts as an integer arange whose division lands in float32 before the+ float64 promotion, and the finished kernel is cast to float32.+ """+ base_freq = min(orig_freq, new_freq) * _ROLLOFF+ width = math.ceil(_LOWPASS_FILTER_WIDTH * orig_freq / base_freq)++ idx = torch.arange(-width, width + orig_freq, dtype=torch.float64)[None, None] / orig_freq+ t = torch.arange(0, -new_freq, -1)[:, None, None] / new_freq + idx+ t *= base_freq+ t = t.clamp_(-_LOWPASS_FILTER_WIDTH, _LOWPASS_FILTER_WIDTH)++ window = torch.cos(t * math.pi / _LOWPASS_FILTER_WIDTH / 2) ** 2++ t *= math.pi+ scale = base_freq / orig_freq+ kernels = torch.where(t == 0, torch.tensor(1.0).to(t), t.sin() / t)+ kernels *= window * scale+ return kernels.to(dtype=torch.float32), width+++def resample_sinc(waveform: torch.Tensor, orig_freq: int, new_freq: int) -> torch.Tensor:+ """Resample ``(channels, num_samples)`` float32 audio, matching torchaudio bit for bit.++ Args:+ waveform: The audio, any floating dtype, channels-first.+ orig_freq: The rate the waveform carries its samples at.+ new_freq: The rate to resample to.++ Returns:+ The resampled waveform, same channel count, ``ceil(num_samples * new / orig)`` samples+ (after frequency reduction by their gcd).+ """+ if orig_freq <= 0 or new_freq <= 0:+ raise ValueError(f"Sample rates must be positive, got {orig_freq} -> {new_freq}.")+ if not waveform.is_floating_point():+ raise TypeError(f"Expected floating point type for waveform tensor, but received {waveform.dtype}.")+ if orig_freq == new_freq:+ return waveform++ gcd = math.gcd(int(orig_freq), int(new_freq))+ orig_freq, new_freq = int(orig_freq) // gcd, int(new_freq) // gcd+ kernel, width = _sinc_resample_kernel(orig_freq, new_freq)+ kernel = kernel.to(waveform.dtype)++ shape = waveform.size()+ waveform = waveform.view(-1, shape[-1])+ num_wavs, length = waveform.shape+ waveform = torch.nn.functional.pad(waveform, (width, width + orig_freq))+ resampled = torch.nn.functional.conv1d(waveform[:, None], kernel, stride=orig_freq)+ resampled = resampled.transpose(1, 2).reshape(num_wavs, -1)+ target_length = int(torch.ceil(torch.as_tensor(new_freq * length / orig_freq)).long())+ resampled = resampled[..., :target_length]+ return resampled.view(shape[:-1] + resampled.shape[-1:])diff --git a/invokeai/backend/minimax_h3/packing.py b/invokeai/backend/minimax_h3/packing.pyindex e34de27e74..d9940f55ca 100644--- a/invokeai/backend/minimax_h3/packing.py+++ b/invokeai/backend/minimax_h3/packing.py@@ -36,6 +36,7 @@ without it: `MiniMaxH3Transformer3DModel` then needs no attention mask, which kebackends available."""+from collections.abc import Sequencefrom dataclasses import dataclassimport numpy as np@@ -84,6 +85,19 @@ MINIMAX_H3_KEYFRAME_NOISE_AUG = 0.999# The seeded posterior sample of the keyframe VAE encode. Fixed at 42 independently of the request seed.MINIMAX_H3_KEYFRAME_ENCODE_SEED = 42+# Reference caps of the `ref2va` task, per the reference implementation: at most 9 image, 3 video and 3 audio+# references, and at most 12 in total. At least one reference must be visual (image or video).+MINIMAX_H3_MAX_IMAGE_REFERENCES = 9+MINIMAX_H3_MAX_VIDEO_REFERENCES = 3+MINIMAX_H3_MAX_AUDIO_REFERENCES = 3+MINIMAX_H3_MAX_REFERENCES = 12++# Reference images are resized to a 2048 pixel short edge (upscaling included, no area cap) - a deliberately+# different rule than the 768 canvas that keyframes and targets use. The text conditioner reads reference videos+# at 2 fps.+MINIMAX_H3_REFERENCE_IMAGE_SHORT_EDGE = 2048+MINIMAX_H3_TEXT_VIDEO_SAMPLE_FPS = 2.0+# Rotary-time constants. One latent frame spans `5/3 * frames_per_latent` rotary units, where the pattern# `(1, 4, 4, 4, 4)` mirrors the VAE's 17-pixel-frames-to-5-latent-frames grouping; the spatial axes are normalized# by the square root of the latent area and scaled by 32.@@ -126,6 +140,50 @@ class MiniMaxH3PackedSequence:num_condition_audio_rows: int+def validate_reference_kinds(kinds: Sequence[str]) -> None:+ r"""+ Reject reference combinations the `ref2va` task does not accept.++ Args:+ kinds (`Sequence[str]`): The kind (`"image"`, `"video"` or `"audio"`) of every reference, in packed order.+ """+ for kind in kinds:+ if kind not in ("image", "video", "audio"):+ raise ValueError(f"A reference must be an 'image', a 'video' or an 'audio', got {kind!r}.")+ if not kinds:+ raise ValueError("Reference-to-video needs at least one reference; use the `t2va` workflow instead.")+ if set(kinds) == {"audio"}:+ raise ValueError("An audio reference cannot be used alone; add at least one image or video reference.")+ counts = {kind: sum(1 for k in kinds if k == kind) for kind in ("image", "video", "audio")}+ caps = {+ "image": MINIMAX_H3_MAX_IMAGE_REFERENCES,+ "video": MINIMAX_H3_MAX_VIDEO_REFERENCES,+ "audio": MINIMAX_H3_MAX_AUDIO_REFERENCES,+ }+ for kind, cap in caps.items():+ if counts[kind] > cap:+ raise ValueError(f"At most {cap} {kind} references are supported, got {counts[kind]}.")+ if len(kinds) > MINIMAX_H3_MAX_REFERENCES:+ raise ValueError(f"At most {MINIMAX_H3_MAX_REFERENCES} references are supported, got {len(kinds)}.")+++@dataclass+class MiniMaxH3ReferenceLayoutEntry:+ r"""+ The layout-relevant description of one `ref2va` reference.++ Attributes:+ kind (`str`):+ `"image"`, `"video"` or `"audio"`.+ has_audio (`bool`):+ Whether the reference carries audio rows: `True` for an `"audio"` reference and for a `"video"`+ reference with a soundtrack.+ """++ kind: str+ has_audio: bool++def resolve_canvas_size(aspect_width: float, aspect_height: float) -> tuple[int, int]:r"""Resolve a display aspect ratio into a MiniMax-H3 canvas.@@ -193,9 +251,7 @@ def video_latent_num_frames(num_frames: int) -> int:"""if num_frames % MINIMAX_H3_FRAMES_PER_CHUNK != MINIMAX_H3_LATENTS_PER_CHUNK:raise ValueError(f"`num_frames` must be of the form 17 * n + 5, got {num_frames}.")- return (- num_frames - MINIMAX_H3_LATENTS_PER_CHUNK- ) // MINIMAX_H3_FRAMES_PER_CHUNK * MINIMAX_H3_LATENTS_PER_CHUNK + 2+ return (num_frames - MINIMAX_H3_LATENTS_PER_CHUNK) // MINIMAX_H3_FRAMES_PER_CHUNK * MINIMAX_H3_LATENTS_PER_CHUNK + 2def audio_latent_num_frames(num_frames: int) -> int:@@ -364,6 +420,41 @@ def _temporal_position_span(num_latent_frames: int) -> float:return float(spans.sum())+def _frame_position_grid(+ latent_height: int, latent_width: int, patch_h: int, patch_w: int+) -> tuple[torch.Tensor, torch.Tensor]:+ r"""The `(h, w)` rotary coordinates of one latent frame, and the width axis they were built from."""+ sqrt_area = np.sqrt(latent_height * latent_width)+ height_grid = _spatial_position_grid(latent_height, patch_h, sqrt_area)+ width_grid = _spatial_position_grid(latent_width, patch_w, sqrt_area)+ grids = torch.meshgrid(height_grid, width_grid, indexing="ij")+ return torch.stack([grid.reshape(-1) for grid in grids], dim=-1), width_grid+++def _fill_audio_positions(+ position_ids: torch.Tensor,+ rows: slice,+ num_audio_latents: int,+ rotary_time: float,+ width_grid: torch.Tensor,+ audio_channels: int,+) -> None:+ r"""+ Place one channel-major audio block.++ Audio rows carry no height coordinate and are pinned to the two extremes of the width grid of *their own* block —+ the target grid for a standalone audio reference, the video's grid for a soundtrack.+ """+ time = rotary_time + torch.arange(num_audio_latents, dtype=torch.float64)+ position_ids[rows, 0] = time.repeat(audio_channels)+ position_ids[rows, 2] = torch.cat(+ [+ torch.full((num_audio_latents,), float(width_grid[0]), dtype=torch.float64),+ torch.full((num_audio_latents,), float(width_grid[-1]), dtype=torch.float64),+ ]+ )++def build_packed_sequence(text_token_tags: torch.Tensor,num_latent_frames: int,@@ -464,6 +555,162 @@ def build_packed_sequence()+def build_ref2va_packed_sequence(+ text_token_tags: torch.Tensor,+ references: Sequence[MiniMaxH3ReferenceLayoutEntry],+ condition_latent_shapes: tuple[tuple[int, int, int], ...],+ audio_condition_row_counts: tuple[int, ...],+ num_latent_frames: int,+ latent_height: int,+ latent_width: int,+ num_audio_latents: int,+ patch_size: tuple[int, int, int],+) -> MiniMaxH3PackedSequence:+ r"""+ Build the `[text | reference blocks | target audio | target video]` layout of the `ref2va` task.++ Args:+ text_token_tags (`torch.Tensor` of shape `(num_text_tokens,)`):+ The modality tag of every text row. Text is tagged `1`, except for the rows of a reference's vision+ block, which MiniMax-H3 tags `0` (video).+ references (`Sequence[MiniMaxH3ReferenceLayoutEntry]`):+ The references, in packed order. Only their modality is read here; the geometry comes from the shape+ arguments.+ condition_latent_shapes (`tuple[tuple[int, int, int], ...]`):+ One `(num_latent_frames, latent_height, latent_width)` triple per image and video reference, in packed+ order — the shape of what the reference encoder produced.+ audio_condition_row_counts (`tuple[int, ...]`):+ One packed row count (`num_audio_latents * 2`) per audio-bearing reference, in packed order.+ num_latent_frames (`int`): Number of target latent frames.+ latent_height (`int`): Target latent height.+ latent_width (`int`): Target latent width.+ num_audio_latents (`int`): Number of target audio latents per channel.+ patch_size (`tuple[int, int, int]`): The transformer's `(t, h, w)` patch.++ Returns:+ [`MiniMaxH3PackedSequence`]+ """+ _, patch_h, patch_w = patch_size+ num_text_tokens = text_token_tags.shape[0]+ num_target_video_rows = num_latent_frames * (latent_height // patch_h) * (latent_width // patch_w)+ num_target_audio_rows = num_audio_latents * MINIMAX_H3_AUDIO_CHANNELS++ # The geometry of every reference block is the shape of what the encoder produced for it, so the two can never+ # disagree. Both lists are in packed order but skip the references they do not apply to, so they are consumed as+ # iterators alongside the reference list rather than indexed by it.+ visual_geometry = iter(condition_latent_shapes)+ audio_row_counts = iter(audio_condition_row_counts)+ num_reference_video_rows = sum(+ frames * (height // patch_h) * (width // patch_w) for frames, height, width in condition_latent_shapes+ )+ num_reference_audio_rows = sum(audio_condition_row_counts)+ sequence_length = (+ num_text_tokens+ + num_reference_video_rows+ + num_reference_audio_rows+ + num_target_audio_rows+ + num_target_video_rows+ )++ position_ids = torch.zeros(sequence_length, 3, dtype=torch.float64)+ position_ids[:num_text_tokens, 0] = torch.arange(num_text_tokens, dtype=torch.float64)+ target_frame_grid, target_width_grid = _frame_position_grid(latent_height, latent_width, patch_h, patch_w)++ # Reference blocks, in request order. `rotary_time` is the shared audio/video clock: it starts where the text+ # rows end and every block pushes it forward by the time that block occupies.+ video_indices, audio_indices = [], []+ cursor = num_text_tokens+ rotary_time = float(num_text_tokens)+ for reference in references:+ if reference.kind == "image":+ num_latent_frames_, reference_height, reference_width = next(visual_geometry)+ num_video_rows = num_latent_frames_ * (reference_height // patch_h) * (reference_width // patch_w)+ rows = slice(cursor, cursor + num_video_rows)+ cursor = rows.stop+ video_indices.append(torch.arange(rows.start, rows.stop))+ frame_grid, _ = _frame_position_grid(reference_height, reference_width, patch_h, patch_w)+ position_ids[rows, 0] = rotary_time+ position_ids[rows, 1:] = frame_grid+ # An image is a single frame and takes a single integer rotary slot, not a latent frame's 5/3 units.+ rotary_time += 1.0+ elif reference.kind == "audio":+ num_audio_rows = next(audio_row_counts)+ reference_audio_latents = num_audio_rows // MINIMAX_H3_AUDIO_CHANNELS+ rows = slice(cursor, cursor + num_audio_rows)+ cursor = rows.stop+ audio_indices.append(torch.arange(rows.start, rows.stop))+ _fill_audio_positions(+ position_ids, rows, reference_audio_latents, rotary_time, target_width_grid, MINIMAX_H3_AUDIO_CHANNELS+ )+ rotary_time += float(reference_audio_latents)+ elif reference.kind == "video":+ # A video reference's soundtrack rows are packed immediately before its video rows and share their+ # origin, so the two are rotary-aligned exactly as the generated audio and video are.+ num_audio_rows = next(audio_row_counts) if reference.has_audio else 0+ reference_audio_latents = num_audio_rows // MINIMAX_H3_AUDIO_CHANNELS+ num_latent_frames_, reference_height, reference_width = next(visual_geometry)+ num_video_rows = num_latent_frames_ * (reference_height // patch_h) * (reference_width // patch_w)+ audio_rows = slice(cursor, cursor + num_audio_rows)+ video_rows = slice(audio_rows.stop, audio_rows.stop + num_video_rows)+ cursor = video_rows.stop+ audio_indices.append(torch.arange(audio_rows.start, audio_rows.stop))+ video_indices.append(torch.arange(video_rows.start, video_rows.stop))++ frame_grid, width_grid = _frame_position_grid(reference_height, reference_width, patch_h, patch_w)+ _fill_audio_positions(+ position_ids, audio_rows, reference_audio_latents, rotary_time, width_grid, MINIMAX_H3_AUDIO_CHANNELS+ )+ frame_time = _temporal_position_grid(num_latent_frames_, rotary_time)+ position_ids[video_rows, 0] = frame_time.repeat_interleave(frame_grid.shape[0])+ position_ids[video_rows, 1:] = frame_grid.repeat(num_latent_frames_, 1)+ # The rotary time this reference advances the clock by, summed sequentially in float64. That is *not*+ # how `_temporal_position_span` sums the same series — it reproduces a numpy pairwise sum, and the two+ # orders differ in the last ulp from 16 latent frames onwards. The reference implementation keeps both,+ # one per call site, so the port has to as well.+ video_span = sum(+ _ROPE_FRAME_RESCALE * _ROPE_FRAMES_PER_LATENT[index % len(_ROPE_FRAMES_PER_LATENT)]+ for index in range(num_latent_frames_)+ )+ rotary_time += max(float(reference_audio_latents), video_span)+ else:+ raise ValueError(f"A reference must be an 'image', a 'video' or an 'audio', got {reference.kind!r}.")++ # The generated rows. Target audio and target video share the origin the reference blocks left behind.+ audio_start = cursor+ video_start = audio_start + num_target_audio_rows+ _fill_audio_positions(+ position_ids,+ slice(audio_start, video_start),+ num_audio_latents,+ rotary_time,+ target_width_grid,+ MINIMAX_H3_AUDIO_CHANNELS,+ )+ frame_time = _temporal_position_grid(num_latent_frames, rotary_time)+ position_ids[video_start:, 0] = frame_time.repeat_interleave(target_frame_grid.shape[0])+ position_ids[video_start:, 1:] = target_frame_grid.repeat(num_latent_frames, 1)++ video_indices = torch.cat(video_indices + [torch.arange(video_start, sequence_length)])+ audio_indices = torch.cat(audio_indices + [torch.arange(audio_start, video_start)])+ text_indices = torch.arange(num_text_tokens)++ token_tags = torch.empty(sequence_length, dtype=torch.long)+ token_tags[text_indices] = text_token_tags.to(torch.long)+ token_tags[audio_indices] = MINIMAX_H3_AUDIO_TAG+ token_tags[video_indices] = MINIMAX_H3_VIDEO_TAG++ return MiniMaxH3PackedSequence(+ sequence_length=sequence_length,+ position_ids=position_ids,+ token_tags=token_tags,+ video_indices=video_indices,+ audio_indices=audio_indices,+ text_indices=text_indices,+ num_condition_video_rows=num_reference_video_rows,+ num_condition_audio_rows=num_reference_audio_rows,+ )++def build_row_timesteps(layout: MiniMaxH3PackedSequence,video_timestep: float,diff --git a/invokeai/backend/minimax_h3/reference_conditioning.py b/invokeai/backend/minimax_h3/reference_conditioning.pynew file mode 100644index 0000000000..fd91742571--- /dev/null+++ b/invokeai/backend/minimax_h3/reference_conditioning.py@@ -0,0 +1,364 @@+"""MiniMax H3 Ref2VA reference normalization and VAE conditioning.++First-party port of the reference halves of ``MiniMaxH3Ref2VASetupStep``+(``modular_pipelines/minimax_h3/before_encoder.py``) and+``MiniMaxH3Ref2VAReferenceEncoderStep`` (``encoders.py``) from the merged diffusers+MiniMax-H3 integration (commit recorded in ``__init__``). Every numeric choice below is a+checkpoint contract, matched to upstream operation for operation:++- image references are resized (LANCZOS) to a 2048 px short edge — upscaling included, no+ area cap, a deliberately different rule from the 768 canvas keyframes and targets use;+- video references are resampled onto the 24 fps grid by dropping/duplicating whole frames+ (ffmpeg's ``fps``-filter arithmetic), truncated to the generated frame count, then put on+ the canvas their own aspect ratio resolves to;+- soundtracks are truncated at their native rate to the generated duration and resampled+ ONCE to the audio VAE's 32 kHz with a torchaudio-parity windowed-sinc pass;+- visual references encode with the keyframe recipe (ImageNet norm, seed-42 posterior+ sample, fp16 round-trip, mean/std normalization) — a video through the VAE's temporal+ chunking, its frame count snapped DOWN to ``17 * n + 5``;+- soundtracks take the audio posterior *mean* (never sampled), stereo as two batch items.++The rows returned here are CLEAN: the denoise state noise-augments the visual rows to+``t = 0.999`` with the request generator's leading draws, and audio rows are never noised.+"""++import math++import numpy as np+import torch+from diffusers.models.autoencoders.vae import DiagonalGaussianDistribution+from PIL import Image, ImageOps++from invokeai.backend.minimax_h3.audio_resample import resample_sinc+from invokeai.backend.minimax_h3.autoencoder_kl_minimax_h3 import AutoencoderKLMiniMaxH3+from invokeai.backend.minimax_h3.autoencoder_kl_minimax_h3_audio import AutoencoderKLMiniMaxH3Audio+from invokeai.backend.minimax_h3.packing import (+ MINIMAX_H3_CANVAS_MULTIPLE,+ MINIMAX_H3_FPS,+ MINIMAX_H3_KEYFRAME_ENCODE_SEED,+ MINIMAX_H3_MAX_ASPECT_RATIO,+ MINIMAX_H3_PIXEL_MEAN,+ MINIMAX_H3_PIXEL_STD,+ MINIMAX_H3_REFERENCE_IMAGE_SHORT_EDGE,+ MINIMAX_H3_TEXT_VIDEO_SAMPLE_FPS,+ patchify_video_latents,+ resolve_canvas_size,+)+from invokeai.backend.minimax_h3.sampling import MINIMAX_H3_PATCH_SIZE++# The audio VAE's sample rate (its config's `sampling_rate`; 800-sample hop -> 40 latents/s).+# `encode_reference_audio` asserts the loaded VAE agrees.+MINIMAX_H3_AUDIO_SAMPLE_RATE = 32000+++def snap_reference_num_frames(num_frames: int) -> int:+ r"""+ Snap a reference video's frame count DOWN to a `17 * n + 5` count the VAE encodes without padding.++ This only bites when the reference is shorter than the target, whose own frame count already has that form.+ For fewer than 22 frames the result (22) exceeds the input: slicing to it is then a no-op and the VAE pads the+ tail chunk by repeating the last frame, exactly as upstream.+ """+ from invokeai.backend.minimax_h3.packing import MINIMAX_H3_FRAMES_PER_CHUNK, MINIMAX_H3_LATENTS_PER_CHUNK++ return (+ max(1, (num_frames - MINIMAX_H3_LATENTS_PER_CHUNK) // MINIMAX_H3_FRAMES_PER_CHUNK) * MINIMAX_H3_FRAMES_PER_CHUNK+ + MINIMAX_H3_LATENTS_PER_CHUNK+ )+++def resolve_reference_image_short_edge(width: int, height: int, detail: str, target_area: int) -> int:+ r"""+ The short edge a reference image is normalized to.++ ``"max"`` is the reference pipeline's rule: a constant 2048. ``"match"`` mirrors ComfyUI's cheaper option —+ scale the reference to roughly the generation's pixel area (never above the 2048 rule), cutting the rows the+ reference contributes to every denoising step by an order of magnitude.+ """+ if detail == "max":+ return MINIMAX_H3_REFERENCE_IMAGE_SHORT_EDGE+ if detail == "match":+ scale = math.sqrt(target_area / (width * height))+ matched = max(MINIMAX_H3_CANVAS_MULTIPLE, round(min(width, height) * scale))+ return min(MINIMAX_H3_REFERENCE_IMAGE_SHORT_EDGE, matched)+ raise ValueError(f"A reference image detail must be 'max' or 'match', got {detail!r}.")+++def normalize_reference_image(image: Image.Image, short_edge: int) -> Image.Image:+ r"""+ Normalize a reference image: EXIF-oriented RGB, resized (LANCZOS) to `short_edge`.++ Upscaling is included and there is no area cap — the reference pipeline conditions image references at high+ detail. Both axes round to the nearest multiple of 32 with a 32 floor; an image already at its target size+ passes through without a resample.+ """+ image = ImageOps.exif_transpose(image).convert("RGB")+ width, height = image.size+ if width <= 0 or height <= 0:+ raise ValueError(f"A reference image must have a positive size, got {image.size}.")+ if width > MINIMAX_H3_MAX_ASPECT_RATIO * height or height > MINIMAX_H3_MAX_ASPECT_RATIO * width:+ raise ValueError(f"A reference image must be within 1:4 and 4:1, got {width}x{height}.")+ multiple = MINIMAX_H3_CANVAS_MULTIPLE+ scale = short_edge / min(width, height)+ target_height = max(multiple, round(height * scale / multiple) * multiple)+ target_width = max(multiple, round(width * scale / multiple) * multiple)+ if image.size != (target_width, target_height):+ image = image.resize((target_width, target_height), Image.Resampling.LANCZOS)+ return image+++def resample_video_frame_repeats(+ num_source_frames: int, fps: float, target_fps: float = float(MINIMAX_H3_FPS)+) -> np.ndarray:+ r"""+ Per-source-frame repeat counts that put a stream on the target fps grid.++ ffmpeg's `fps`-filter arithmetic, as upstream reproduces it: every frame is held until the slot of the next+ one, and the last one until the slot the stream's end rounds to. A repeat of 0 drops the frame.+ """+ if fps <= 0:+ raise ValueError(f"A reference video must have a positive frame rate, got {fps}.")+ scale = target_fps / fps+ slots = np.floor(np.arange(num_source_frames) * scale + 0.5).astype(np.int64)+ return np.diff(slots, append=math.floor(num_source_frames * scale + 0.5))+++def normalize_reference_video_frames(frames: np.ndarray, fps: float, num_frames: int) -> np.ndarray:+ r"""+ Normalize a reference video's frames: onto 24 fps, truncated to `num_frames`, on the canvas of its own aspect.++ Mirrors upstream's two passes in the same order: the constant-frame-rate resample first (dropping and+ duplicating whole frames), the LANCZOS rescale second. Frames already at 24 fps and on-canvas flow through+ untouched.++ Args:+ frames (`np.ndarray` of shape `(num_source_frames, height, width, 3)`): `uint8` RGB frames.+ fps (`float`): The frame rate `frames` carries.+ num_frames (`int`): The generated frame count the reference is truncated to.++ Returns:+ `np.ndarray` of shape `(min(num_frames, resampled), canvas_height, canvas_width, 3)`, `uint8`.+ """+ frames = np.asarray(frames)+ if frames.ndim != 4 or frames.shape[3] != 3 or frames.dtype != np.uint8:+ raise ValueError(+ f"A reference video must be `(num_frames, height, width, 3)` uint8 RGB frames, got "+ f"{tuple(frames.shape)} {frames.dtype}."+ )+ if frames.shape[0] == 0:+ raise ValueError("A reference video must have at least one frame.")++ if fps != float(MINIMAX_H3_FPS):+ frames = np.repeat(frames, resample_video_frame_repeats(frames.shape[0], fps), axis=0)++ frames = frames[:num_frames]+ height, width = resolve_canvas_size(frames.shape[2], frames.shape[1])+ if frames.shape[1:3] == (height, width):+ return frames+ return np.stack(+ [np.asarray(Image.fromarray(frame).resize((width, height), Image.Resampling.LANCZOS)) for frame in frames]+ )+++def normalize_reference_video_frames_streaming(frames, fps: float, num_frames: int) -> np.ndarray:+ r"""+ Streaming variant of :func:`normalize_reference_video_frames` for frame iterators.++ Produces bit-identical output for the kept range: the fps-resample repeat of a source frame depends only on+ the frames before it, per-frame LANCZOS resizing commutes with frame drop/duplication, and truncation to+ `num_frames` makes later source frames irrelevant — so the decode can stop as soon as `num_frames` outputs+ exist, and only canvas-sized frames are ever held.++ Args:+ frames: An iterator (or sequence) of `(height, width, 3)` uint8 RGB frames.+ fps (`float`): The frame rate the source carries.+ num_frames (`int`): The generated frame count the reference is truncated to.+ """+ if fps <= 0:+ raise ValueError(f"A reference video must have a positive frame rate, got {fps}.")+ scale = float(MINIMAX_H3_FPS) / fps+ out: list[np.ndarray] = []+ canvas: tuple[int, int] | None = None+ index = 0+ for frame in frames:+ frame = np.asarray(frame)+ if frame.ndim != 3 or frame.shape[2] != 3 or frame.dtype != np.uint8:+ raise ValueError(f"A reference video frame must be `(height, width, 3)` uint8 RGB, got {frame.shape}.")+ if canvas is None:+ canvas = resolve_canvas_size(frame.shape[1], frame.shape[0])+ height, width = canvas+ if frame.shape[:2] != (height, width):+ frame = np.asarray(Image.fromarray(frame).resize((width, height), Image.Resampling.LANCZOS))+ if fps != float(MINIMAX_H3_FPS):+ repeats = math.floor((index + 1) * scale + 0.5) - math.floor(index * scale + 0.5)+ else:+ repeats = 1+ for _ in range(repeats):+ if len(out) < num_frames:+ out.append(frame)+ index += 1+ if len(out) >= num_frames:+ break+ if not out:+ raise ValueError("A reference video must have at least one frame.")+ return np.stack(out)+++def normalize_reference_audio(waveform: np.ndarray | torch.Tensor, sample_rate: int, num_frames: int) -> torch.Tensor:+ r"""+ Normalize a reference soundtrack: truncated at its NATIVE rate to the generated duration, then resampled once+ to the audio VAE's 32 kHz, stereo.++ The order is part of the contract — truncating after the resample lands on different sample values.+ """+ waveform = torch.as_tensor(waveform)+ if waveform.ndim != 2 or waveform.shape[0] not in (1, 2):+ raise ValueError(+ f"A reference soundtrack must be a `(channels, num_samples)` mono or stereo waveform, got "+ f"{tuple(waveform.shape)}."+ )+ max_duration = num_frames / MINIMAX_H3_FPS+ waveform = waveform.to(torch.float32)[:, : int(max_duration * sample_rate)]+ if waveform.shape[0] != 2:+ waveform = waveform.expand(2, -1).contiguous()+ if sample_rate == MINIMAX_H3_AUDIO_SAMPLE_RATE:+ return waveform+ return resample_sinc(waveform, sample_rate, MINIMAX_H3_AUDIO_SAMPLE_RATE)+++def _encode_condition_moments(+ vae: AutoencoderKLMiniMaxH3, moments: torch.Tensor+) -> tuple[torch.Tensor, tuple[int, int, int]]:+ """Sample, round and normalize one visual condition's posterior moments into packed rows."""+ latents_mean = torch.tensor(vae.config.latents_mean).view(1, -1, 1, 1, 1)+ latents_std = torch.tensor(vae.config.latents_std).view(1, -1, 1, 1, 1)+ posterior = DiagonalGaussianDistribution(moments)+ latents = posterior.sample(generator=torch.Generator().manual_seed(MINIMAX_H3_KEYFRAME_ENCODE_SEED))+ # The fp16 rounding before normalization is a checkpoint contract (~11 bits of every+ # conditioning latent); without it the released model's conditioning is not reproduced.+ latents = latents.to(torch.float16).float().cpu()+ latents = (latents - latents_mean) / latents_std+ shape = (int(latents.shape[2]), int(latents.shape[3]), int(latents.shape[4]))+ return patchify_video_latents(latents, MINIMAX_H3_PATCH_SIZE), shape+++def _normalize_pixels(pixels: torch.Tensor, device: torch.device) -> torch.Tensor:+ """uint8 `(1, 3, T, H, W)` pixels onto the VAE's ImageNet convention, float32, on device."""+ pixel_mean = torch.tensor(MINIMAX_H3_PIXEL_MEAN, device=device).view(1, -1, 1, 1, 1)+ pixel_std = torch.tensor(MINIMAX_H3_PIXEL_STD, device=device).view(1, -1, 1, 1, 1)+ return (pixels.to(torch.float32).div(255.0) - pixel_mean) / pixel_std++[email protected]_grad()+def encode_reference_image(+ vae: AutoencoderKLMiniMaxH3, image: Image.Image, device: torch.device+) -> tuple[torch.Tensor, tuple[int, int, int]]:+ """Encode a normalized reference image into clean packed rows.++ Returns ``(rows, (num_latent_frames, latent_height, latent_width))`` — rows float32 CPU,+ shape ``(N, 96)``. A single frame goes through the (tiled) spatial encoder alone, exactly+ like a keyframe.+ """+ pixels = torch.from_numpy(np.array(image)).to(device).permute(2, 0, 1)[None, :, None]+ moments = vae._encode_clip(_normalize_pixels(pixels, device))+ return _encode_condition_moments(vae, moments)++[email protected]_grad()+def encode_reference_video(+ vae: AutoencoderKLMiniMaxH3, frames: np.ndarray, device: torch.device+) -> tuple[torch.Tensor, tuple[int, int, int]]:+ """Encode a normalized reference video into clean packed rows.++ Returns ``(rows, (num_latent_frames, latent_height, latent_width))``. The frame count is+ snapped DOWN to ``17 * n + 5`` first, then the stack goes through the VAE's temporal+ chunking. The pixels move to the device one 17-frame chunk at a time — each chunk encodes+ independently, so the result is bit-identical to ``vae._encode`` over the whole stack+ while never materializing the full float32 pixel tensor on the device.+ """+ frames = frames[: snap_reference_num_frames(frames.shape[0])]++ clip_length = int(vae.config.clip_length)+ num_frames = frames.shape[0]+ num_chunks = -(-num_frames // clip_length)++ chunk_moments = []+ for index in range(num_chunks):+ chunk = frames[index * clip_length : (index + 1) * clip_length]+ pixels = torch.from_numpy(np.ascontiguousarray(chunk)).to(device).permute(3, 0, 1, 2)[None]+ if pixels.shape[2] < clip_length:+ # The tail chunk is padded by repeating the last frame, exactly as `_encode` pads+ # the whole stack to a multiple of `clip_length`.+ pad = pixels[:, :, -1:].repeat(1, 1, clip_length - pixels.shape[2], 1, 1)+ pixels = torch.cat([pixels, pad], dim=2)+ chunk_moments.append(vae._encode_clip(_normalize_pixels(pixels, device)).cpu())++ moments = torch.cat(chunk_moments, dim=2)+ if vae.config.token_drop > 0:+ moments = moments[:, :, : -vae.config.token_drop]+ # The posterior arithmetic runs on the device, as upstream's does (the moments tensor is+ # latent-sized — tens of MB, not GB).+ return _encode_condition_moments(vae, moments.to(device))++[email protected]_grad()+def encode_reference_audio(+ audio_vae: AutoencoderKLMiniMaxH3Audio, waveform: torch.Tensor, device: torch.device+) -> torch.Tensor:+ """Encode a normalized soundtrack into clean channel-major audio rows, ``(A, 32)`` float32 CPU.++ The posterior *mean* is taken — reference soundtracks are never sampled — and the two+ stereo channels ride as two batch items of the mono audio VAE.+ """+ if int(audio_vae.config.sampling_rate) != MINIMAX_H3_AUDIO_SAMPLE_RATE:+ raise ValueError(+ f"The audio VAE runs at {audio_vae.config.sampling_rate} Hz but reference soundtracks are "+ f"normalized to {MINIMAX_H3_AUDIO_SAMPLE_RATE} Hz."+ )+ audio_latents_mean = torch.tensor(audio_vae.config.latents_mean).view(1, 1, -1)+ audio_latents_std = torch.tensor(audio_vae.config.latents_std).view(1, 1, -1)++ posterior = audio_vae.encode(waveform.to(device)[:, None], return_dict=False)[0]+ latents = posterior.mode().float().cpu().transpose(1, 2)+ normalized = (latents - audio_latents_mean) / audio_latents_std+ return normalized.reshape(-1, normalized.shape[-1])+++def sample_text_conditioning_frames(+ frames: np.ndarray, temporal_patch: int, fps: float = float(MINIMAX_H3_FPS)+) -> tuple[list[np.ndarray], list[float]]:+ r"""+ Sample the frames the conditioner sees from a normalized reference video, and label their vision blocks.++ The conditioner reads a reference at 2 fps: every `fps / 2`-th frame, deduplicated. Qwen3-VL then merges the+ sampled frames in groups of `temporal_patch` — repeating the last one when the count does not divide — and a+ merged group is labelled with the mean of its timestamps, which `"<{timestamp:.1f} seconds>"` renders with+ Python's round-half-to-even, so the first block of a 2 fps pair is `"<0.2 seconds>"` rather than+ `"<0.3 seconds>"`.++ Returns:+ `tuple[list[np.ndarray], list[float]]`: the sampled frames and one timestamp per vision block.+ """+ sample_fps = MINIMAX_H3_TEXT_VIDEO_SAMPLE_FPS+ stride = fps / sample_fps+ indices: list[int] = []+ cursor = 0.0+ while round(cursor) < frames.shape[0]:+ if not indices or round(cursor) > indices[-1]:+ indices.append(round(cursor))+ cursor += stride+ if len(indices) < temporal_patch:+ minimum = round((temporal_patch - 1) * stride) + 1+ raise ValueError(+ f"A reference video is read at {sample_fps:g} fps and its sampled frames are merged in groups of "+ f"{temporal_patch}, so it must run at least {minimum} frames at {fps:g} fps "+ f"({minimum / fps:.2g} seconds), got {frames.shape[0]}."+ )++ timestamps = [index / sample_fps for index in range(len(indices))]+ timestamps += [timestamps[-1]] * (-len(timestamps) % temporal_patch)+ block_timestamps = [+ (timestamps[index] + timestamps[index + temporal_patch - 1]) / 2+ for index in range(0, len(timestamps), temporal_patch)+ ]+ return [frames[index] for index in indices], block_timestampsdiff --git a/invokeai/backend/minimax_h3/sampling.py b/invokeai/backend/minimax_h3/sampling.pyindex a1bd92b0c5..db6ccbc490 100644--- a/invokeai/backend/minimax_h3/sampling.py+++ b/invokeai/backend/minimax_h3/sampling.py@@ -30,10 +30,13 @@ from invokeai.backend.minimax_h3.packing import (MINIMAX_H3_MIN_ASPECT_RATIO,MINIMAX_H3_SHORT_EDGE,MiniMaxH3PackedSequence,+ MiniMaxH3ReferenceLayoutEntry,build_packed_sequence,+ build_ref2va_packed_sequence,build_row_timesteps,keyframe_condition_noise,patchify_video_latents,+ validate_reference_kinds,)from invokeai.backend.minimax_h3.presets import MINIMAX_H3_MIN_VIDEO_FRAMESfrom invokeai.backend.minimax_h3.scheduling_minimax_h3 import MiniMaxH3Scheduler@@ -257,3 +260,165 @@ def build_denoise_state(scheduler=scheduler,audio_scheduler=audio_scheduler,)+++@dataclass+class MiniMaxH3EncodedReference:+ """One VAE-encoded `ref2va` reference, in packed order.++ ``video_rows``/``audio_rows`` are CLEAN: the visual rows are noise-augmented to ``t = 0.999``+ by :func:`build_ref2va_denoise_state` with the request seed's leading draws, and the audio+ rows are never noised (a reference soundtrack conditions clean, pinned at timestep ``1.0``).+ """++ kind: str+ """`"image"`, `"video"` or `"audio"`."""+ video_rows: torch.Tensor | None = None+ """Clean packed rows of an image or video reference, shape (N, 96), float32. None for `"audio"`."""+ latent_shape: tuple[int, int, int] | None = None+ """The `(num_latent_frames, latent_height, latent_width)` the visual rows were packed from. None for `"audio"`."""+ audio_rows: torch.Tensor | None = None+ """Clean normalized soundtrack rows, shape (A, 32), float32. None when the reference carries no audio."""++ @property+ def has_audio(self) -> bool:+ return self.audio_rows is not None+++def build_ref2va_denoise_state(+ text_token_tags: torch.Tensor,+ references: list[MiniMaxH3EncodedReference],+ num_latent_frames: int,+ latent_height: int,+ latent_width: int,+ num_audio_latents: int,+ num_inference_steps: int,+ seed: int,+ device: torch.device,+) -> MiniMaxH3DenoiseState:+ """Build the packed layout, the noise, and the schedules of one Ref2VA request.++ Mirrors upstream's block order exactly, because the request's single generator reproduces the+ draw sequence: one visual-condition noise draw per image/video reference in packed order, then+ the video noise as a 5D latent tensor, then the audio noise in row layout. Reference soundtrack+ rows are concatenated clean — never noised.+ """+ validate_reference_kinds([reference.kind for reference in references])+ for index, reference in enumerate(references):+ if reference.kind == "audio":+ if reference.video_rows is not None or reference.latent_shape is not None:+ raise ValueError(f"Reference {index + 1} is audio-only but carries video rows.")+ if reference.audio_rows is None:+ raise ValueError(f"Reference {index + 1} is audio-only but carries no audio rows.")+ else:+ if reference.video_rows is None or reference.latent_shape is None:+ raise ValueError(f"Reference {index + 1} is a {reference.kind} but carries no video rows.")+ if reference.kind == "image" and reference.audio_rows is not None:+ raise ValueError(f"Reference {index + 1} is an image but carries audio rows.")+ frames, height, width = reference.latent_shape+ expected_rows = frames * (height // MINIMAX_H3_PATCH_SIZE[1]) * (width // MINIMAX_H3_PATCH_SIZE[2])+ if reference.video_rows.shape[0] != expected_rows:+ raise ValueError(+ f"Reference {index + 1} carries {reference.video_rows.shape[0]} video rows but its latent "+ f"shape {reference.latent_shape} packs into {expected_rows}. The reference conditioning is "+ "inconsistent - re-run the Reference Conditioning node."+ )+ if reference.audio_rows is not None and reference.audio_rows.shape[0] % MINIMAX_H3_AUDIO_CHANNELS != 0:+ raise ValueError(+ f"Reference {index + 1} carries {reference.audio_rows.shape[0]} audio rows, which is not "+ f"channel-major stereo (a multiple of {MINIMAX_H3_AUDIO_CHANNELS})."+ )++ visual_references = [r for r in references if r.kind != "audio"]+ audio_bearing = [r for r in references if r.has_audio]+ condition_latent_shapes = tuple(r.latent_shape for r in visual_references if r.latent_shape is not None)+ audio_condition_row_counts = tuple(r.audio_rows.shape[0] for r in audio_bearing if r.audio_rows is not None)++ layout = build_ref2va_packed_sequence(+ text_token_tags,+ [MiniMaxH3ReferenceLayoutEntry(kind=r.kind, has_audio=r.has_audio) for r in references],+ condition_latent_shapes,+ audio_condition_row_counts,+ num_latent_frames,+ latent_height,+ latent_width,+ num_audio_latents,+ MINIMAX_H3_PATCH_SIZE,+ )++ generator = torch.Generator(device="cpu").manual_seed(seed)++ # Draw 1: visual-condition noise, one draw per image/video reference, in packed order — drawn+ # before the generated rows' noise, exactly as upstream's condition-latents block runs first.+ condition_rows: torch.Tensor | None = None+ if visual_references:+ noise = keyframe_condition_noise(+ condition_latent_shapes,+ MINIMAX_H3_PATCH_SIZE,+ MINIMAX_H3_VAE_LATENT_CHANNELS,+ generator=generator,+ device=device,+ )+ clean_rows = torch.cat([r.video_rows for r in visual_references if r.video_rows is not None])+ scale_noise_scheduler = MiniMaxH3Scheduler(shift=MINIMAX_H3_VIDEO_FLOW_SHIFT)+ condition_rows = scale_noise_scheduler.scale_noise(+ clean_rows.to(device=device, dtype=torch.float32), MINIMAX_H3_KEYFRAME_NOISE_AUG, noise+ )++ # Draw 2: video noise, as a 5D latent tensor, patchified afterwards (upstream order).+ video_noise = randn_tensor(+ (1, MINIMAX_H3_VAE_LATENT_CHANNELS, num_latent_frames, latent_height, latent_width),+ generator=generator,+ device=device,+ dtype=torch.float32,+ )+ video_rows = patchify_video_latents(video_noise, MINIMAX_H3_PATCH_SIZE).to(device)++ # Draw 3: audio noise, directly in row layout.+ audio_rows = randn_tensor(+ (num_audio_latents * MINIMAX_H3_AUDIO_CHANNELS, MINIMAX_H3_AUDIO_LATENT_CHANNELS),+ generator=generator,+ device=device,+ dtype=torch.float32,+ ).to(device)++ if condition_rows is not None:+ video_rows = torch.cat([condition_rows, video_rows])+ if audio_bearing:+ # Reference soundtracks ride in front of the generated audio rows, clean.+ audio_rows = torch.cat(+ [r.audio_rows.to(device=device, dtype=torch.float32) for r in audio_bearing if r.audio_rows is not None]+ + [audio_rows]+ )++ scheduler, audio_scheduler = build_schedulers(num_inference_steps, device)++ row_timestep_plan = [+ tuple(+ tensor.to(device)+ for tensor in build_row_timesteps(+ layout,+ float(timestep),+ float(audio_timestep),+ max(float(timestep), MINIMAX_H3_KEYFRAME_NOISE_AUG),+ 1.0,+ )+ )+ for timestep, audio_timestep in zip(scheduler.timesteps, audio_scheduler.timesteps, strict=True)+ ]++ return MiniMaxH3DenoiseState(+ layout=layout,+ video_rows=video_rows,+ audio_rows=audio_rows,+ position_ids=layout.position_ids.to(device),+ token_tags=layout.token_tags.to(device),+ video_indices=layout.video_indices.to(device),+ audio_indices=layout.audio_indices.to(device),+ text_indices=layout.text_indices.to(device),+ timesteps=scheduler.timesteps,+ audio_timesteps=audio_scheduler.timesteps,+ row_timestep_plan=row_timestep_plan,+ scheduler=scheduler,+ audio_scheduler=audio_scheduler,+ )diff --git a/invokeai/backend/minimax_h3/text_conditioning.py b/invokeai/backend/minimax_h3/text_conditioning.pyindex bbc14884ab..4285d541b1 100644--- a/invokeai/backend/minimax_h3/text_conditioning.py+++ b/invokeai/backend/minimax_h3/text_conditioning.py@@ -1,19 +1,26 @@-"""MiniMax H3 text (and keyframe-vision) conditioning.+"""MiniMax H3 text (and reference/keyframe-vision) conditioning.-First-party port of the FL2VA half of ``modular_pipelines/minimax_h3/encoders.py`` (commit-recorded in ``__init__``). The presentation is the verbatim prompt, preceded by a-``"<Picture i>: "`` label and a vision block per keyframe — no chat template, no special-tokens. The conditioning is the *unnormalized* hidden state after the 50th of the Qwen3-VL-conditioner's 64 decoder layers; the language-model head never runs.+First-party port of the FL2VA and Ref2VA halves of ``modular_pipelines/minimax_h3/encoders.py``+(commit recorded in ``__init__``). The presentation is the verbatim prompt, preceded by+per-keyframe/per-reference labels numbered per modality — ``"<Picture i>: "`` plus a vision+block, ``"<Audio j>: "`` alone (a waveform never reaches the conditioner), ``"<Video k>: "``+plus one timestamped vision block per merged frame group — with no chat template and no+special tokens. The conditioning is the *unnormalized* hidden state after the 50th of the+Qwen3-VL conditioner's 64 decoder layers; the language-model head never runs."""+from dataclasses import dataclass++import numpy as npimport torch+from PIL import Imagefrom invokeai.backend.minimax_h3.packing import (MINIMAX_H3_TEXT_ENCODER_LAYER,MINIMAX_H3_TEXT_TAG,MINIMAX_H3_VIDEO_TAG,)+from invokeai.backend.minimax_h3.reference_conditioning import sample_text_conditioning_framesdef validate_text_encoder_depth(text_encoder) -> None:@@ -103,3 +110,167 @@ def encode_prompt()prompt_embeds = outputs.hidden_states[MINIMAX_H3_TEXT_ENCODER_LAYER]return prompt_embeds, torch.tensor(token_tags, dtype=torch.long)+++@dataclass+class MiniMaxH3TextReference:+ """What the text conditioner needs of one Ref2VA reference, in packed order.++ ``image`` is the normalized (2048-short-edge or area-matched) reference image;+ ``sampled_frames`` are the 2 fps frames sampled off the normalized 24 fps stack by+ :func:`~invokeai.backend.minimax_h3.reference_conditioning.sample_text_conditioning_frames`+ — pass the FULL normalized stack via ``frames`` instead to have :func:`encode_prompt_ref2va`+ sample them. Audio contributes only ``has_audio`` (its ``"<Audio j>: "`` label); a waveform+ never reaches the conditioner.+ """++ kind: str+ """`"image"`, `"video"` or `"audio"`."""+ has_audio: bool = False+ image: Image.Image | None = None+ frames: np.ndarray | None = None+ """The full normalized 24 fps frame stack of a video reference, `(T, H, W, 3)` uint8."""+++def build_ref2va_presentation(+ tokenizer,+ prompt: str,+ references: list[MiniMaxH3TextReference],+ image_token_counts: list[int],+ video_block_token_counts: list[int],+ video_block_timestamps: list[list[float]],+) -> tuple[list[int], list[int]]:+ r"""+ Tokenize MiniMax H3's presentation of a `ref2va` request.++ Every reference prepends a label, in packed order and numbered per modality: `"<Picture i>: "` plus a vision+ block for an image, `"<Audio j>: "` alone for audio — a waveform never reaches the conditioner — and+ `"<Video k>: "` plus one timestamped vision block per merged frame group for a video. A video that carries+ sound is labelled `"<Audio j>: "` *before* `"<Video k>: "`, mirroring the order its rows are packed in. The+ prompt follows verbatim, with no chat template and no special tokens.++ Returns:+ `tuple[list[int], list[int]]`: the token ids and their modality tags.+ """++ def text(value: str) -> tuple[list[int], list[int]]:+ token_ids = tokenizer(value, add_special_tokens=False)["input_ids"]+ return token_ids, [MINIMAX_H3_TEXT_TAG] * len(token_ids)++ def vision(pad_token: str, num_tokens: int) -> tuple[list[int], list[int]]:+ token_ids = (+ [tokenizer.convert_tokens_to_ids("<|vision_start|>")]+ + [tokenizer.convert_tokens_to_ids(pad_token)] * num_tokens+ + [tokenizer.convert_tokens_to_ids("<|vision_end|>")]+ )+ return token_ids, [MINIMAX_H3_VIDEO_TAG] * len(token_ids)++ token_ids: list[int] = []+ token_tags: list[int] = []++ def emit(segment: tuple[list[int], list[int]]) -> None:+ token_ids.extend(segment[0])+ token_tags.extend(segment[1])++ counts = {"image": 0, "video": 0, "audio": 0}+ for reference in references:+ if reference.has_audio:+ counts["audio"] += 1+ emit(text(f"<Audio {counts['audio']}>: "))+ if reference.kind == "image":+ counts["image"] += 1+ emit(text(f"<Picture {counts['image']}>: "))+ emit(vision("<|image_pad|>", image_token_counts[counts["image"] - 1]))+ elif reference.kind == "video":+ counts["video"] += 1+ emit(text(f"<Video {counts['video']}>: "))+ for timestamp in video_block_timestamps[counts["video"] - 1]:+ # `"{:.1f}"` rounds half to even, so the mean of a 2 fps pair renders as "<0.2 seconds>".+ emit(text(f"<{timestamp:.1f} seconds>"))+ emit(vision("<|video_pad|>", video_block_token_counts[counts["video"] - 1]))+ emit(text(prompt))+ return token_ids, token_tags+++def encode_prompt_ref2va(+ text_encoder,+ tokenizer,+ processor,+ prompt: str,+ references: list[MiniMaxH3TextReference],+ device: torch.device | None = None,+) -> tuple[torch.Tensor, torch.Tensor]:+ """Build MiniMax H3's `ref2va` presentation and encode it in one conditioner call.++ The vision tensors are batched PER MODALITY while the presentation is tokenized in+ request order; the two agree because relative order is preserved within each modality and+ Qwen3-VL fills the n-th pad *run* of a modality with the n-th entry of that modality's+ batch. Audio contributes nothing beyond its label.+ """+ validate_text_encoder_depth(text_encoder)++ merge_size = processor.image_processor.merge_size**2+ vision_inputs: dict[str, torch.Tensor] = {}++ image_token_counts: list[int] = []+ images = [reference.image for reference in references if reference.kind == "image"]+ if any(image is None for image in images):+ raise ValueError("Every image reference must carry its normalized image.")+ if images:+ image_features = processor.image_processor(images=images, return_tensors="pt")+ vision_inputs["pixel_values"] = image_features["pixel_values"]+ vision_inputs["image_grid_thw"] = image_features["image_grid_thw"]+ image_token_counts = [int(grid.prod()) // merge_size for grid in image_features["image_grid_thw"]]++ video_block_token_counts: list[int] = []+ video_block_timestamps: list[list[float]] = []+ videos = [reference for reference in references if reference.kind == "video"]+ if any(reference.frames is None for reference in videos):+ raise ValueError("Every video reference must carry its normalized frames.")+ if videos:+ temporal_patch = processor.video_processor.temporal_patch_size+ sampled = [+ sample_text_conditioning_frames(reference.frames, temporal_patch)+ for reference in videos+ if reference.frames is not None+ ]+ video_block_timestamps = [timestamps for _, timestamps in sampled]+ video_features = processor.video_processor(+ videos=[np.stack(frames) for frames, _ in sampled], do_sample_frames=False, return_tensors="pt"+ )+ vision_inputs["pixel_values_videos"] = video_features["pixel_values_videos"]+ vision_inputs["video_grid_thw"] = video_features["video_grid_thw"]+ video_block_token_counts = [+ int(grid[1]) * int(grid[2]) // merge_size for grid in video_features["video_grid_thw"]+ ]+ for timestamps, grid in zip(video_block_timestamps, video_features["video_grid_thw"], strict=True):+ if int(grid[0]) != len(timestamps):+ raise ValueError(+ f"The processor merged a reference video into {int(grid[0])} vision blocks, but MiniMax H3 "+ f"labels {len(timestamps)} of them."+ )++ token_ids, token_tags = build_ref2va_presentation(+ tokenizer, prompt, references, image_token_counts, video_block_token_counts, video_block_timestamps+ )++ input_ids = torch.tensor([token_ids], dtype=torch.long, device=device)+ mm_token_type_ids = torch.tensor(processor.create_mm_token_type_ids([token_ids]), dtype=torch.long, device=device)+ vision_kwargs = {+ name: value.to(device, text_encoder.dtype) if name.startswith("pixel_") else value.to(device)+ for name, value in vision_inputs.items()+ }+ # Call the language-model submodule directly: MiniMax H3 reads hidden_states[50] and never+ # uses the LM head, whose vocabulary-wide projection is all the top-level forward would add.+ # (InvokeAI's model cache places the whole module before this is called, so upstream's+ # accelerate-hook workaround is not needed here.)+ outputs = text_encoder.model(+ input_ids=input_ids,+ attention_mask=torch.ones_like(input_ids),+ mm_token_type_ids=mm_token_type_ids,+ use_cache=False,+ output_hidden_states=True,+ **vision_kwargs,+ )+ prompt_embeds = outputs.hidden_states[MINIMAX_H3_TEXT_ENCODER_LAYER]+ return prompt_embeds, torch.tensor(token_tags, dtype=torch.long)diff --git a/invokeai/backend/stable_diffusion/diffusion/conditioning_data.py b/invokeai/backend/stable_diffusion/diffusion/conditioning_data.pyindex b271addc28..552ab292c2 100644--- a/invokeai/backend/stable_diffusion/diffusion/conditioning_data.py+++ b/invokeai/backend/stable_diffusion/diffusion/conditioning_data.py@@ -208,6 +208,15 @@ class MiniMaxH3ConditioningInfo:height: int | None = None"""Canvas height the keyframes were prepared at (None when no keyframes)."""+ reference_signature: tuple[str, ...] = ()+ """Per-reference fingerprints (packed order) of a Ref2VA request's vision context. The+ denoise node cross-checks this against its reference-conditioning input: the references+ must reach the text conditioning and the VAE condition rows together, in the same order,+ with the same options."""++ reference_num_frames: int | None = None+ """The generated frame count the references were truncated for (None without references)."""+def to(self, device: torch.device | None = None, dtype: torch.dtype | None = None):self.prompt_embeds = self.prompt_embeds.to(device=device, dtype=dtype)# Tags are structural (long); only the device moves.diff --git a/invokeai/frontend/web/openapi.json b/invokeai/frontend/web/openapi.jsonindex e8a4b506f2..dca633f7cb 100644--- a/invokeai/frontend/web/openapi.json+++ b/invokeai/frontend/web/openapi.json@@ -37412,6 +37412,9 @@{"$ref": "#/components/schemas/MiniMaxH3IdealDimensionsInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ImageReferenceInvocation"+ },{"$ref": "#/components/schemas/MiniMaxH3LatentsToImageInvocation"},@@ -37427,9 +37430,15 @@{"$ref": "#/components/schemas/MiniMaxH3ModelLoaderInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningInvocation"+ },{"$ref": "#/components/schemas/MiniMaxH3TextEncoderInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3VideoReferenceInvocation"+ },{"$ref": "#/components/schemas/ModelIdentifierInvocation"},@@ -38021,6 +38030,12 @@{"$ref": "#/components/schemas/MiniMaxH3ModelLoaderOutput"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningOutput"+ },+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaOutput"+ },{"$ref": "#/components/schemas/ModelIdentifierOutput"},@@ -46478,6 +46493,9 @@{"$ref": "#/components/schemas/MiniMaxH3IdealDimensionsInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ImageReferenceInvocation"+ },{"$ref": "#/components/schemas/MiniMaxH3LatentsToImageInvocation"},@@ -46493,9 +46511,15 @@{"$ref": "#/components/schemas/MiniMaxH3ModelLoaderInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningInvocation"+ },{"$ref": "#/components/schemas/MiniMaxH3TextEncoderInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3VideoReferenceInvocation"+ },{"$ref": "#/components/schemas/ModelIdentifierInvocation"},@@ -47044,6 +47068,12 @@{"$ref": "#/components/schemas/MiniMaxH3ModelLoaderOutput"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningOutput"+ },+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaOutput"+ },{"$ref": "#/components/schemas/ModelIdentifierOutput"},@@ -47874,6 +47904,9 @@{"$ref": "#/components/schemas/MiniMaxH3IdealDimensionsInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ImageReferenceInvocation"+ },{"$ref": "#/components/schemas/MiniMaxH3LatentsToImageInvocation"},@@ -47889,9 +47922,15 @@{"$ref": "#/components/schemas/MiniMaxH3ModelLoaderInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningInvocation"+ },{"$ref": "#/components/schemas/MiniMaxH3TextEncoderInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3VideoReferenceInvocation"+ },{"$ref": "#/components/schemas/ModelIdentifierInvocation"},@@ -48870,6 +48909,9 @@"minimax_h3_ideal_dimensions": {"$ref": "#/components/schemas/IdealSizeOutput"},+ "minimax_h3_image_reference": {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaOutput"+ },"minimax_h3_latents_to_image": {"$ref": "#/components/schemas/ImageOutput"},@@ -48885,9 +48927,15 @@"minimax_h3_model_loader": {"$ref": "#/components/schemas/MiniMaxH3ModelLoaderOutput"},+ "minimax_h3_reference_conditioning": {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningOutput"+ },"minimax_h3_text_encoder": {"$ref": "#/components/schemas/MiniMaxH3ConditioningOutput"},+ "minimax_h3_video_reference": {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaOutput"+ },"mlsd_detection": {"$ref": "#/components/schemas/ImageOutput"},@@ -49401,12 +49449,15 @@"minimax_h3_denoise","minimax_h3_frame_conditioning","minimax_h3_ideal_dimensions",+ "minimax_h3_image_reference","minimax_h3_latents_to_image","minimax_h3_latents_to_video","minimax_h3_lora_collection_loader","minimax_h3_lora_loader","minimax_h3_model_loader",+ "minimax_h3_reference_conditioning","minimax_h3_text_encoder",+ "minimax_h3_video_reference","mlsd_detection","model_identifier","mul",@@ -50205,6 +50256,9 @@{"$ref": "#/components/schemas/MiniMaxH3IdealDimensionsInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ImageReferenceInvocation"+ },{"$ref": "#/components/schemas/MiniMaxH3LatentsToImageInvocation"},@@ -50220,9 +50274,15 @@{"$ref": "#/components/schemas/MiniMaxH3ModelLoaderInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningInvocation"+ },{"$ref": "#/components/schemas/MiniMaxH3TextEncoderInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3VideoReferenceInvocation"+ },{"$ref": "#/components/schemas/ModelIdentifierInvocation"},@@ -51292,6 +51352,9 @@{"$ref": "#/components/schemas/MiniMaxH3IdealDimensionsInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ImageReferenceInvocation"+ },{"$ref": "#/components/schemas/MiniMaxH3LatentsToImageInvocation"},@@ -51307,9 +51370,15 @@{"$ref": "#/components/schemas/MiniMaxH3ModelLoaderInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningInvocation"+ },{"$ref": "#/components/schemas/MiniMaxH3TextEncoderInvocation"},+ {+ "$ref": "#/components/schemas/MiniMaxH3VideoReferenceInvocation"+ },{"$ref": "#/components/schemas/ModelIdentifierInvocation"},@@ -70050,6 +70119,23 @@"orig_required": false,"title": "Frame Conditioning"},+ "reference_conditioning": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Ordered, VAE-encoded Ref2VA reference conditioning for MiniMax H3",+ "field_kind": "input",+ "input": "connection",+ "orig_default": null,+ "orig_required": false,+ "title": "Reference Conditioning"+ },"width": {"default": 1344,"description": "Width of the generated video. H3's native canvas has a 768px short edge (max 768x1344).",@@ -70155,7 +70241,7 @@"tags": ["latents", "video", "audio", "minimax"],"title": "Denoise - MiniMax H3","type": "object",- "version": "1.3.0",+ "version": "1.4.0","output": {"$ref": "#/components/schemas/MiniMaxH3DenoiseOutput"}@@ -70209,6 +70295,85 @@"title": "MiniMaxH3DenoiseOutput","type": "object"},+ "MiniMaxH3EncodedReferenceField": {+ "description": "One VAE-encoded Ref2VA reference, in packed order.",+ "properties": {+ "kind": {+ "description": "The reference's packed-block kind.",+ "enum": ["image", "video", "audio"],+ "title": "Kind",+ "type": "string"+ },+ "video_rows_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Name of the saved clean (N, 96) visual rows tensor. None for 'audio'.",+ "title": "Video Rows Name"+ },+ "latent_frames": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Latent frame count of the visual rows.",+ "title": "Latent Frames"+ },+ "latent_height": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Latent height of the visual rows.",+ "title": "Latent Height"+ },+ "latent_width": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Latent width of the visual rows.",+ "title": "Latent Width"+ },+ "audio_rows_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Name of the saved clean (A, 32) soundtrack rows tensor, when the reference has one.",+ "title": "Audio Rows Name"+ }+ },+ "required": ["kind"],+ "title": "MiniMaxH3EncodedReferenceField",+ "type": "object"+ },"MiniMaxH3FrameConditioningField": {"description": "First/last-keyframe conditioning for MiniMax H3 (FL2VA).\n\nCarries the CLEAN (not yet noise-augmented) packed keyframe conditioning rows; the denoise\nnode noise-augments them to t=0.999 with the request seed's first draws. Width/height ride\nalong so the denoise node can reject a canvas mismatch instead of failing inside the\ntransformer.","properties": {@@ -70355,7 +70520,7 @@"tags": ["conditioning", "minimax", "video", "i2v"],"title": "Frame Conditioning - MiniMax H3","type": "object",- "version": "1.0.0",+ "version": "1.0.1","output": {"$ref": "#/components/schemas/MiniMaxH3FrameConditioningOutput"}@@ -70467,6 +70632,84 @@"$ref": "#/components/schemas/IdealSizeOutput"}},+ "MiniMaxH3ImageReferenceInvocation": {+ "category": "conditioning",+ "class": "invocation",+ "classification": "prototype",+ "description": "Describes one image reference for MiniMax H3 Ref2VA.\n\nCollect references in the order they should condition in \u2014 order is part of the request \u2014\nand wire the collection to both Reference Conditioning - MiniMax H3 and Prompt - MiniMax H3.",+ "node_pack": "invokeai",+ "properties": {+ "id": {+ "description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",+ "field_kind": "node_attribute",+ "title": "Id",+ "type": "string"+ },+ "is_intermediate": {+ "default": false,+ "description": "Whether or not this is an intermediate invocation.",+ "field_kind": "node_attribute",+ "input": "direct",+ "orig_required": true,+ "title": "Is Intermediate",+ "type": "boolean",+ "ui_hidden": false,+ "ui_type": "IsIntermediate"+ },+ "use_cache": {+ "default": true,+ "description": "Whether or not to use the cache",+ "field_kind": "node_attribute",+ "title": "Use Cache",+ "type": "boolean"+ },+ "image": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ImageField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The reference image.",+ "field_kind": "input",+ "input": "any",+ "orig_required": true+ },+ "detail": {+ "default": "max",+ "description": "'max' conditions at a 2048px short edge (highest fidelity; a 2048px square reference adds ~4096 rows to every denoising step). 'match' scales the reference to the generation's pixel area \u2014 several times faster.",+ "enum": ["max", "match"],+ "field_kind": "input",+ "input": "any",+ "orig_default": "max",+ "orig_required": false,+ "title": "Detail",+ "type": "string",+ "ui_choice_labels": {+ "match": "Match generation size",+ "max": "Max (2048px, slower)"+ }+ },+ "type": {+ "const": "minimax_h3_image_reference",+ "default": "minimax_h3_image_reference",+ "field_kind": "node_attribute",+ "title": "type",+ "type": "string"+ }+ },+ "required": ["type", "id"],+ "tags": ["conditioning", "reference", "minimax", "video"],+ "title": "Image Reference - MiniMax H3",+ "type": "object",+ "version": "1.0.0",+ "output": {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaOutput"+ }+ },"MiniMaxH3LatentsToImageInvocation": {"category": "latents","class": "invocation",@@ -70999,7 +71242,7 @@"category": "model","class": "invocation","classification": "prototype",- "description": "Loads a MiniMax H3 (FL2VA) model, outputting its submodels.\n\nAll six submodels (transformer, text encoder, tokenizer, processor, video VAE, audio VAE)\ncome from the one diffusers-layout install. Optionally, a single-file transformer checkpoint\n(e.g. the pruned int8 repack) replaces the folder's transformer, and/or a single-file\ntruncated Qwen3-VL encoder (e.g. the int8 repack) replaces the folder's text encoder, while\neverything else keeps coming from the folder install.",+ "description": "Loads a MiniMax H3 model, outputting its submodels.\n\nAll six submodels (transformer, text encoder, tokenizer, processor, video VAE, audio VAE)\ncome from the one diffusers-layout install. Optionally, a single-file transformer checkpoint\n(e.g. the pruned int8 repack) replaces the folder's transformer, and/or a single-file\ntruncated Qwen3-VL encoder (e.g. the int8 repack) replaces the folder's text encoder, while\neverything else keeps coming from the folder install.\n\nA Ref2VA diffusers folder's ``transformer_ref/`` weights are NOT folder-loadable (the\nsubmodel map has no entry for that folder), so Ref2VA generation always selects a\nsingle-file Ref2VA transformer here; identification marks such folders components-only so\nthe UI requires it up front.","node_pack": "invokeai","properties": {"id": {@@ -71089,7 +71332,7 @@"tags": ["model", "minimax", "video"],"title": "Main Model - MiniMax H3","type": "object",- "version": "1.3.0",+ "version": "1.4.0","output": {"$ref": "#/components/schemas/MiniMaxH3ModelLoaderOutput"}@@ -71100,7 +71343,7 @@"properties": {"transformer": {"$ref": "#/components/schemas/MiniMaxH3TransformerField",- "description": "MiniMax H3 FL2VA transformer",+ "description": "MiniMax H3 task transformer (FL2VA or Ref2VA)","field_kind": "output","title": "Transformer","ui_hidden": false@@ -71186,6 +71429,285 @@"title": "MiniMaxH3ModelLoaderOutput","type": "object"},+ "MiniMaxH3ReferenceConditioningField": {+ "description": "Ordered, VAE-encoded Ref2VA reference conditioning for MiniMax H3.\n\nRows are CLEAN: the denoise node noise-augments the visual rows to t=0.999 with the\nrequest seed's leading draws; audio rows are never noised. ``signature`` is the ordered\nper-reference fingerprint the denoise node compares against the prompt conditioning's,\nso the two sides cannot silently disagree about what was encoded.",+ "properties": {+ "references": {+ "description": "The encoded references, in packed order.",+ "items": {+ "$ref": "#/components/schemas/MiniMaxH3EncodedReferenceField"+ },+ "title": "References",+ "type": "array"+ },+ "num_frames": {+ "description": "The generated frame count the references were truncated for.",+ "title": "Num Frames",+ "type": "integer"+ },+ "signature": {+ "description": "Ordered structural fingerprint, one entry per reference.",+ "items": {+ "type": "string"+ },+ "title": "Signature",+ "type": "array"+ },+ "width": {+ "default": 1344,+ "description": "Target canvas width the references were prepared for.",+ "title": "Width",+ "type": "integer"+ },+ "height": {+ "default": 768,+ "description": "Target canvas height the references were prepared for.",+ "title": "Height",+ "type": "integer"+ }+ },+ "required": ["references", "num_frames", "signature"],+ "title": "MiniMaxH3ReferenceConditioningField",+ "type": "object"+ },+ "MiniMaxH3ReferenceConditioningInvocation": {+ "category": "conditioning",+ "class": "invocation",+ "classification": "prototype",+ "description": "VAE-encodes an ordered list of Ref2VA references into conditioning rows.\n\nThe rows are clean (the denoise node noise-augments the visual rows with the request\nseed; soundtrack rows stay clean). The same references, in the same order, must also be\nwired to Prompt - MiniMax H3: they are part of both the packed sequence and the text\nconditioning, and the denoise node rejects a mismatch.",+ "node_pack": "invokeai",+ "properties": {+ "id": {+ "description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",+ "field_kind": "node_attribute",+ "title": "Id",+ "type": "string"+ },+ "is_intermediate": {+ "default": false,+ "description": "Whether or not this is an intermediate invocation.",+ "field_kind": "node_attribute",+ "input": "direct",+ "orig_required": true,+ "title": "Is Intermediate",+ "type": "boolean",+ "ui_hidden": false,+ "ui_type": "IsIntermediate"+ },+ "use_cache": {+ "default": true,+ "description": "Whether or not to use the cache",+ "field_kind": "node_attribute",+ "title": "Use Cache",+ "type": "boolean"+ },+ "references": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaField"+ },+ {+ "items": {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaField"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The references, in conditioning order (order is part of the request).",+ "field_kind": "input",+ "input": "connection",+ "orig_required": true,+ "title": "References"+ },+ "vae": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/VAEField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "VAE",+ "field_kind": "input",+ "input": "connection",+ "orig_required": true,+ "title": "Video VAE"+ },+ "audio_vae": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/VAEField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Audio VAE (stereo, 32 kHz) for MiniMax H3",+ "field_kind": "input",+ "input": "connection",+ "orig_required": true,+ "title": "Audio VAE"+ },+ "num_frames": {+ "default": 124,+ "description": "The frame count the generation will run at (17n+5). References are truncated to this duration; it must match the Denoise node's Number of Frames.",+ "exclusiveMinimum": 0,+ "field_kind": "input",+ "input": "any",+ "orig_default": 124,+ "orig_required": false,+ "title": "Num Frames",+ "type": "integer"+ },+ "width": {+ "default": 1344,+ "description": "Target canvas width (used only to size 'match'-detail image references).",+ "exclusiveMinimum": 0,+ "field_kind": "input",+ "input": "any",+ "multipleOf": 32,+ "orig_default": 1344,+ "orig_required": false,+ "title": "Width",+ "type": "integer"+ },+ "height": {+ "default": 768,+ "description": "Target canvas height (used only to size 'match'-detail image references).",+ "exclusiveMinimum": 0,+ "field_kind": "input",+ "input": "any",+ "multipleOf": 32,+ "orig_default": 768,+ "orig_required": false,+ "title": "Height",+ "type": "integer"+ },+ "type": {+ "const": "minimax_h3_reference_conditioning",+ "default": "minimax_h3_reference_conditioning",+ "field_kind": "node_attribute",+ "title": "type",+ "type": "string"+ }+ },+ "required": ["type", "id"],+ "tags": ["conditioning", "reference", "minimax", "video", "audio"],+ "title": "Reference Conditioning - MiniMax H3",+ "type": "object",+ "version": "1.0.0",+ "output": {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningOutput"+ }+ },+ "MiniMaxH3ReferenceConditioningOutput": {+ "class": "output",+ "description": "Output of the MiniMax H3 reference VAE-encoder.",+ "properties": {+ "reference_conditioning": {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceConditioningField",+ "description": "Ordered, VAE-encoded Ref2VA reference conditioning for MiniMax H3",+ "field_kind": "output",+ "ui_hidden": false+ },+ "type": {+ "const": "minimax_h3_reference_conditioning_output",+ "default": "minimax_h3_reference_conditioning_output",+ "field_kind": "node_attribute",+ "title": "type",+ "type": "string"+ }+ },+ "required": ["output_meta", "reference_conditioning", "type", "type"],+ "title": "MiniMaxH3ReferenceConditioningOutput",+ "type": "object"+ },+ "MiniMaxH3ReferenceMediaField": {+ "description": "One ordered Ref2VA reference for MiniMax H3: the raw media plus its conditioning options.\n\nCarries no tensors \u2014 both the Prompt node and the Reference Conditioning node normalize\nthe same media independently (the FL2VA keyframe precedent), and the denoise node\ncross-checks the two sides via the signature embedded in each side's output. Exactly one\nof ``image`` / ``video`` is set; ``video_conditioning`` selects which streams a video\nreference conditions (\"audio\" maps to upstream's standalone audio-reference kind, sourced\nfrom the video's soundtrack).",+ "properties": {+ "image": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ImageField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The reference image, for an image reference."+ },+ "video": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/VideoField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The reference video, for a video/audio reference."+ },+ "video_conditioning": {+ "default": "video_audio",+ "description": "Which streams a video reference conditions: video + soundtrack, video only, or soundtrack only.",+ "enum": ["video_audio", "video", "audio"],+ "title": "Video Conditioning",+ "type": "string"+ },+ "image_detail": {+ "default": "max",+ "description": "Image reference sizing: 'max' (2048 px short edge, highest fidelity) or 'match' (scaled to the generation's pixel area, several times faster).",+ "enum": ["max", "match"],+ "title": "Image Detail",+ "type": "string"+ },+ "start_frame": {+ "default": 0,+ "description": "First source frame of a video reference (inclusive, 0-based; negative from the end).",+ "title": "Start Frame",+ "type": "integer"+ },+ "end_frame": {+ "default": -1,+ "description": "Last source frame of a video reference (inclusive; negative from the end).",+ "title": "End Frame",+ "type": "integer"+ }+ },+ "title": "MiniMaxH3ReferenceMediaField",+ "type": "object"+ },+ "MiniMaxH3ReferenceMediaOutput": {+ "class": "output",+ "description": "One ordered Ref2VA reference descriptor.",+ "properties": {+ "reference": {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaField",+ "description": "One ordered Ref2VA reference (image or video) for MiniMax H3",+ "field_kind": "output",+ "ui_hidden": false+ },+ "type": {+ "const": "minimax_h3_reference_media_output",+ "default": "minimax_h3_reference_media_output",+ "field_kind": "node_attribute",+ "title": "type",+ "type": "string"+ }+ },+ "required": ["output_meta", "reference", "type", "type"],+ "title": "MiniMaxH3ReferenceMediaOutput",+ "type": "object"+ },"MiniMaxH3TextEncoderField": {"description": "Field for the Qwen3-VL-32B conditioner used by MiniMax H3 models.\n\nUnlike :class:`Qwen3VLEncoderField`, H3 also needs the Qwen3VLProcessor \u2014 even for\ntext-only prompts (its multimodal token-type ids drive Qwen3-VL's 3D rotary layout), and\nfor feeding first/last keyframes to the conditioner as vision context.","properties": {@@ -71210,7 +71732,7 @@"category": "conditioning","class": "invocation","classification": "prototype",- "description": "Encodes a prompt (and optional first/last keyframes) for MiniMax H3.\n\nThe conditioning is Qwen3-VL-32B's *unnormalized* layer-50 hidden state. H3 is\nguidance-distilled: there is no negative prompt. For first/last-frame video, the keyframes\nare ALSO part of the text conditioning (a \"<Picture i>: \" label plus a vision block per\nkeyframe), so the same images must be wired here and to the Frame Conditioning node, with\nthe same width/height as the denoise node.",+ "description": "Encodes a prompt (and optional first/last keyframes, or Ref2VA references) for MiniMax H3.\n\nThe conditioning is Qwen3-VL-32B's *unnormalized* layer-50 hidden state. H3 is\nguidance-distilled: there is no negative prompt. For first/last-frame video, the keyframes\nare ALSO part of the text conditioning (a \"<Picture i>: \" label plus a vision block per\nkeyframe), so the same images must be wired here and to the Frame Conditioning node, with\nthe same width/height as the denoise node. For reference-to-video (Ref2VA), the same\nordered references must be wired here and to the Reference Conditioning node, with the\nsame Number of Frames \u2014 the references appear in the conditioning as per-modality labels\nand vision blocks (a reference video is read at 2 fps).","node_pack": "invokeai","properties": {"id": {@@ -71302,6 +71824,47 @@"orig_default": null,"orig_required": false},+ "references": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaField"+ },+ {+ "items": {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaField"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Ref2VA references, in conditioning order (must match Reference Conditioning - MiniMax H3). Mutually exclusive with keyframes.",+ "field_kind": "input",+ "input": "connection",+ "orig_default": null,+ "orig_required": false,+ "title": "References"+ },+ "num_frames": {+ "anyOf": [+ {+ "exclusiveMinimum": 0,+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The generation's frame count. Required with references (they are truncated to it); must match the Denoise and Reference Conditioning nodes.",+ "field_kind": "input",+ "input": "any",+ "orig_default": null,+ "orig_required": false,+ "title": "Num Frames"+ },"width": {"default": 1344,"description": "Target canvas width.",@@ -71338,13 +71901,13 @@"tags": ["prompt", "conditioning", "minimax", "video"],"title": "Prompt - MiniMax H3","type": "object",- "version": "1.0.0",+ "version": "1.1.0","output": {"$ref": "#/components/schemas/MiniMaxH3ConditioningOutput"}},"MiniMaxH3TransformerField": {- "description": "Transformer field for MiniMax H3 models (FL2VA).",+ "description": "Transformer field for MiniMax H3 models (FL2VA or Ref2VA).","properties": {"transformer": {"$ref": "#/components/schemas/ModelIdentifierField",@@ -71357,6 +71920,19 @@},"title": "Loras","type": "array"+ },+ "variant": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The task variant of the loaded transformer ('fl2va' / 'ref2va'), stamped by the model loader so the denoise node can reject a task/conditioning mismatch.",+ "title": "Variant"}},"required": ["transformer"],@@ -71369,6 +71945,107 @@"title": "MiniMaxH3VariantType","description": "MiniMax H3 model variants (task-specific transformer checkpoints sharing every other component)."},+ "MiniMaxH3VideoReferenceInvocation": {+ "category": "conditioning",+ "class": "invocation",+ "classification": "prototype",+ "description": "Describes one video reference for MiniMax H3 Ref2VA.\n\n'Audio only' conditions on the video's soundtrack alone (the standalone audio-reference\nkind). At least one reference of the request must contribute visuals, and a conditioning\nchoice that includes audio requires the video to actually carry a soundtrack.",+ "node_pack": "invokeai",+ "properties": {+ "id": {+ "description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",+ "field_kind": "node_attribute",+ "title": "Id",+ "type": "string"+ },+ "is_intermediate": {+ "default": false,+ "description": "Whether or not this is an intermediate invocation.",+ "field_kind": "node_attribute",+ "input": "direct",+ "orig_required": true,+ "title": "Is Intermediate",+ "type": "boolean",+ "ui_hidden": false,+ "ui_type": "IsIntermediate"+ },+ "use_cache": {+ "default": true,+ "description": "Whether or not to use the cache",+ "field_kind": "node_attribute",+ "title": "Use Cache",+ "type": "boolean"+ },+ "video": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/VideoField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The reference video.",+ "field_kind": "input",+ "input": "any",+ "orig_required": true+ },+ "conditioning": {+ "default": "video_audio",+ "description": "Which streams this reference conditions: video + soundtrack, video only, or soundtrack only.",+ "enum": ["video_audio", "video", "audio"],+ "field_kind": "input",+ "input": "any",+ "orig_default": "video_audio",+ "orig_required": false,+ "title": "Conditioning",+ "type": "string",+ "ui_choice_labels": {+ "audio": "Audio only",+ "video": "Video only",+ "video_audio": "Video + audio"+ }+ },+ "start_frame": {+ "default": 0,+ "description": "First source frame of the reference range (inclusive, 0-based; negative counts from the end).",+ "field_kind": "input",+ "input": "any",+ "orig_default": 0,+ "orig_required": false,+ "title": "Start Frame",+ "type": "integer",+ "ui_component": "video-frame-index"+ },+ "end_frame": {+ "default": -1,+ "description": "Last source frame of the reference range (inclusive; negative counts from the end).",+ "field_kind": "input",+ "input": "any",+ "orig_default": -1,+ "orig_required": false,+ "title": "End Frame",+ "type": "integer",+ "ui_component": "video-frame-index"+ },+ "type": {+ "const": "minimax_h3_video_reference",+ "default": "minimax_h3_video_reference",+ "field_kind": "node_attribute",+ "title": "type",+ "type": "string"+ }+ },+ "required": ["type", "id"],+ "tags": ["conditioning", "reference", "minimax", "video", "audio"],+ "title": "Video Reference - MiniMax H3",+ "type": "object",+ "version": "1.0.0",+ "output": {+ "$ref": "#/components/schemas/MiniMaxH3ReferenceMediaOutput"+ }+ },"Mistral3EncoderField": {"description": "Field for Mistral3 text encoder used by ERNIE-Image models.","properties": {diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.tsindex 011d698fb9..4a36bc8922 100644--- a/invokeai/frontend/web/src/services/api/schema.ts+++ b/invokeai/frontend/web/src/services/api/schema.ts@@ -15253,7 +15253,7 @@ export type components = {* @description The nodes in this graph*/nodes?: {- [key: string]: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ [key: string]: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];};/*** Edges@@ -15290,7 +15290,7 @@ export type components = {* @description The results of node executions*/results: {- [key: string]: components["schemas"]["AnimaConditioningOutput"] | components["schemas"]["AnimaLLLiteOutput"] | components["schemas"]["AnimaLoRALoaderOutput"] | components["schemas"]["AnimaModelLoaderOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["BoundingBoxCollectionOutput"] | components["schemas"]["BoundingBoxOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["CLIPSkipInvocationOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["CogView4ConditioningOutput"] | components["schemas"]["CogView4ModelLoaderOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["ErnieImageConditioningOutput"] | components["schemas"]["ErnieImageModelLoaderOutput"] | components["schemas"]["ExtractVideoRangeOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["FloatGeneratorOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["Flux2DevLoRALoaderOutput"] | components["schemas"]["Flux2DevModelLoaderOutput"] | components["schemas"]["Flux2KleinLoRALoaderOutput"] | components["schemas"]["Flux2KleinModelLoaderOutput"] | components["schemas"]["FluxConditioningCollectionOutput"] | components["schemas"]["FluxConditioningOutput"] | components["schemas"]["FluxControlLoRALoaderOutput"] | components["schemas"]["FluxControlNetOutput"] | components["schemas"]["FluxFillOutput"] | components["schemas"]["FluxKontextOutput"] | components["schemas"]["FluxLoRALoaderOutput"] | components["schemas"]["FluxModelLoaderOutput"] | components["schemas"]["FluxReduxOutput"] | components["schemas"]["Gemma2EncoderOutput"] | components["schemas"]["GradientMaskOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["Ideogram4ConditioningOutput"] | components["schemas"]["Ideogram4ModelLoaderOutput"] | components["schemas"]["IfInvocationOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["ImageGeneratorOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ImagePanelCoordinateOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["IntegerGeneratorOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["Krea2ConditioningOutput"] | components["schemas"]["Krea2LoRALoaderOutput"] | components["schemas"]["Krea2ModelLoaderOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["LatentsMetaOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["LoRALoaderOutput"] | components["schemas"]["LoRASelectorOutput"] | components["schemas"]["MDControlListOutput"] | components["schemas"]["MDIPAdapterListOutput"] | components["schemas"]["MDT2IAdapterListOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["MetadataToLorasCollectionOutput"] | components["schemas"]["MetadataToModelOutput"] | components["schemas"]["MetadataToSDXLModelOutput"] | components["schemas"]["MiniMaxH3ConditioningOutput"] | components["schemas"]["MiniMaxH3DenoiseOutput"] | components["schemas"]["MiniMaxH3FrameConditioningOutput"] | components["schemas"]["MiniMaxH3LoRACollectionLoaderOutput"] | components["schemas"]["MiniMaxH3LoRALoaderOutput"] | components["schemas"]["MiniMaxH3ModelLoaderOutput"] | components["schemas"]["ModelIdentifierOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["PBRMapsOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["PiDDecoderOutput"] | components["schemas"]["PromptTemplateOutput"] | components["schemas"]["QwenImageConditioningOutput"] | components["schemas"]["QwenImageLoRALoaderOutput"] | components["schemas"]["QwenImageModelLoaderOutput"] | components["schemas"]["SD3ConditioningOutput"] | components["schemas"]["SDXLLoRALoaderOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["Sd3ModelLoaderOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["String2Output"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["StringGeneratorOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["VideoOutput"] | components["schemas"]["WanConditioningOutput"] | components["schemas"]["WanLoRALoaderOutput"] | components["schemas"]["WanModelLoaderOutput"] | components["schemas"]["WanRefImageOutput"] | components["schemas"]["WorkflowReturnGetOutput"] | components["schemas"]["WorkflowReturnOutput"] | components["schemas"]["WorkflowReturnValueOutput"] | components["schemas"]["ZImageConditioningOutput"] | components["schemas"]["ZImageControlOutput"] | components["schemas"]["ZImageLoRALoaderOutput"] | components["schemas"]["ZImageModelLoaderOutput"];+ [key: string]: components["schemas"]["AnimaConditioningOutput"] | components["schemas"]["AnimaLLLiteOutput"] | components["schemas"]["AnimaLoRALoaderOutput"] | components["schemas"]["AnimaModelLoaderOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["BoundingBoxCollectionOutput"] | components["schemas"]["BoundingBoxOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["CLIPSkipInvocationOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["CogView4ConditioningOutput"] | components["schemas"]["CogView4ModelLoaderOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["ErnieImageConditioningOutput"] | components["schemas"]["ErnieImageModelLoaderOutput"] | components["schemas"]["ExtractVideoRangeOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["FloatGeneratorOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["Flux2DevLoRALoaderOutput"] | components["schemas"]["Flux2DevModelLoaderOutput"] | components["schemas"]["Flux2KleinLoRALoaderOutput"] | components["schemas"]["Flux2KleinModelLoaderOutput"] | components["schemas"]["FluxConditioningCollectionOutput"] | components["schemas"]["FluxConditioningOutput"] | components["schemas"]["FluxControlLoRALoaderOutput"] | components["schemas"]["FluxControlNetOutput"] | components["schemas"]["FluxFillOutput"] | components["schemas"]["FluxKontextOutput"] | components["schemas"]["FluxLoRALoaderOutput"] | components["schemas"]["FluxModelLoaderOutput"] | components["schemas"]["FluxReduxOutput"] | components["schemas"]["Gemma2EncoderOutput"] | components["schemas"]["GradientMaskOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["Ideogram4ConditioningOutput"] | components["schemas"]["Ideogram4ModelLoaderOutput"] | components["schemas"]["IfInvocationOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["ImageGeneratorOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ImagePanelCoordinateOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["IntegerGeneratorOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["Krea2ConditioningOutput"] | components["schemas"]["Krea2LoRALoaderOutput"] | components["schemas"]["Krea2ModelLoaderOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["LatentsMetaOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["LoRALoaderOutput"] | components["schemas"]["LoRASelectorOutput"] | components["schemas"]["MDControlListOutput"] | components["schemas"]["MDIPAdapterListOutput"] | components["schemas"]["MDT2IAdapterListOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["MetadataToLorasCollectionOutput"] | components["schemas"]["MetadataToModelOutput"] | components["schemas"]["MetadataToSDXLModelOutput"] | components["schemas"]["MiniMaxH3ConditioningOutput"] | components["schemas"]["MiniMaxH3DenoiseOutput"] | components["schemas"]["MiniMaxH3FrameConditioningOutput"] | components["schemas"]["MiniMaxH3LoRACollectionLoaderOutput"] | components["schemas"]["MiniMaxH3LoRALoaderOutput"] | components["schemas"]["MiniMaxH3ModelLoaderOutput"] | components["schemas"]["MiniMaxH3ReferenceConditioningOutput"] | components["schemas"]["MiniMaxH3ReferenceMediaOutput"] | components["schemas"]["ModelIdentifierOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["PBRMapsOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["PiDDecoderOutput"] | components["schemas"]["PromptTemplateOutput"] | components["schemas"]["QwenImageConditioningOutput"] | components["schemas"]["QwenImageLoRALoaderOutput"] | components["schemas"]["QwenImageModelLoaderOutput"] | components["schemas"]["SD3ConditioningOutput"] | components["schemas"]["SDXLLoRALoaderOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["Sd3ModelLoaderOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["String2Output"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["StringGeneratorOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["VideoOutput"] | components["schemas"]["WanConditioningOutput"] | components["schemas"]["WanLoRALoaderOutput"] | components["schemas"]["WanModelLoaderOutput"] | components["schemas"]["WanRefImageOutput"] | components["schemas"]["WorkflowReturnGetOutput"] | components["schemas"]["WorkflowReturnOutput"] | components["schemas"]["WorkflowReturnValueOutput"] | components["schemas"]["ZImageConditioningOutput"] | components["schemas"]["ZImageControlOutput"] | components["schemas"]["ZImageLoRALoaderOutput"] | components["schemas"]["ZImageModelLoaderOutput"];};/*** Errors@@ -19441,7 +19441,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -19451,7 +19451,7 @@ export type components = {* Result* @description The result of the invocation*/- result: components["schemas"]["AnimaConditioningOutput"] | components["schemas"]["AnimaLLLiteOutput"] | components["schemas"]["AnimaLoRALoaderOutput"] | components["schemas"]["AnimaModelLoaderOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["BoundingBoxCollectionOutput"] | components["schemas"]["BoundingBoxOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["CLIPSkipInvocationOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["CogView4ConditioningOutput"] | components["schemas"]["CogView4ModelLoaderOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["ErnieImageConditioningOutput"] | components["schemas"]["ErnieImageModelLoaderOutput"] | components["schemas"]["ExtractVideoRangeOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["FloatGeneratorOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["Flux2DevLoRALoaderOutput"] | components["schemas"]["Flux2DevModelLoaderOutput"] | components["schemas"]["Flux2KleinLoRALoaderOutput"] | components["schemas"]["Flux2KleinModelLoaderOutput"] | components["schemas"]["FluxConditioningCollectionOutput"] | components["schemas"]["FluxConditioningOutput"] | components["schemas"]["FluxControlLoRALoaderOutput"] | components["schemas"]["FluxControlNetOutput"] | components["schemas"]["FluxFillOutput"] | components["schemas"]["FluxKontextOutput"] | components["schemas"]["FluxLoRALoaderOutput"] | components["schemas"]["FluxModelLoaderOutput"] | components["schemas"]["FluxReduxOutput"] | components["schemas"]["Gemma2EncoderOutput"] | components["schemas"]["GradientMaskOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["Ideogram4ConditioningOutput"] | components["schemas"]["Ideogram4ModelLoaderOutput"] | components["schemas"]["IfInvocationOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["ImageGeneratorOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ImagePanelCoordinateOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["IntegerGeneratorOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["Krea2ConditioningOutput"] | components["schemas"]["Krea2LoRALoaderOutput"] | components["schemas"]["Krea2ModelLoaderOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["LatentsMetaOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["LoRALoaderOutput"] | components["schemas"]["LoRASelectorOutput"] | components["schemas"]["MDControlListOutput"] | components["schemas"]["MDIPAdapterListOutput"] | components["schemas"]["MDT2IAdapterListOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["MetadataToLorasCollectionOutput"] | components["schemas"]["MetadataToModelOutput"] | components["schemas"]["MetadataToSDXLModelOutput"] | components["schemas"]["MiniMaxH3ConditioningOutput"] | components["schemas"]["MiniMaxH3DenoiseOutput"] | components["schemas"]["MiniMaxH3FrameConditioningOutput"] | components["schemas"]["MiniMaxH3LoRACollectionLoaderOutput"] | components["schemas"]["MiniMaxH3LoRALoaderOutput"] | components["schemas"]["MiniMaxH3ModelLoaderOutput"] | components["schemas"]["ModelIdentifierOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["PBRMapsOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["PiDDecoderOutput"] | components["schemas"]["PromptTemplateOutput"] | components["schemas"]["QwenImageConditioningOutput"] | components["schemas"]["QwenImageLoRALoaderOutput"] | components["schemas"]["QwenImageModelLoaderOutput"] | components["schemas"]["SD3ConditioningOutput"] | components["schemas"]["SDXLLoRALoaderOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["Sd3ModelLoaderOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["String2Output"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["StringGeneratorOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["VideoOutput"] | components["schemas"]["WanConditioningOutput"] | components["schemas"]["WanLoRALoaderOutput"] | components["schemas"]["WanModelLoaderOutput"] | components["schemas"]["WanRefImageOutput"] | components["schemas"]["WorkflowReturnGetOutput"] | components["schemas"]["WorkflowReturnOutput"] | components["schemas"]["WorkflowReturnValueOutput"] | components["schemas"]["ZImageConditioningOutput"] | components["schemas"]["ZImageControlOutput"] | components["schemas"]["ZImageLoRALoaderOutput"] | components["schemas"]["ZImageModelLoaderOutput"];+ result: components["schemas"]["AnimaConditioningOutput"] | components["schemas"]["AnimaLLLiteOutput"] | components["schemas"]["AnimaLoRALoaderOutput"] | components["schemas"]["AnimaModelLoaderOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["BoundingBoxCollectionOutput"] | components["schemas"]["BoundingBoxOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["CLIPSkipInvocationOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["CogView4ConditioningOutput"] | components["schemas"]["CogView4ModelLoaderOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["ErnieImageConditioningOutput"] | components["schemas"]["ErnieImageModelLoaderOutput"] | components["schemas"]["ExtractVideoRangeOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["FloatGeneratorOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["Flux2DevLoRALoaderOutput"] | components["schemas"]["Flux2DevModelLoaderOutput"] | components["schemas"]["Flux2KleinLoRALoaderOutput"] | components["schemas"]["Flux2KleinModelLoaderOutput"] | components["schemas"]["FluxConditioningCollectionOutput"] | components["schemas"]["FluxConditioningOutput"] | components["schemas"]["FluxControlLoRALoaderOutput"] | components["schemas"]["FluxControlNetOutput"] | components["schemas"]["FluxFillOutput"] | components["schemas"]["FluxKontextOutput"] | components["schemas"]["FluxLoRALoaderOutput"] | components["schemas"]["FluxModelLoaderOutput"] | components["schemas"]["FluxReduxOutput"] | components["schemas"]["Gemma2EncoderOutput"] | components["schemas"]["GradientMaskOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["Ideogram4ConditioningOutput"] | components["schemas"]["Ideogram4ModelLoaderOutput"] | components["schemas"]["IfInvocationOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["ImageGeneratorOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ImagePanelCoordinateOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["IntegerGeneratorOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["Krea2ConditioningOutput"] | components["schemas"]["Krea2LoRALoaderOutput"] | components["schemas"]["Krea2ModelLoaderOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["LatentsMetaOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["LoRALoaderOutput"] | components["schemas"]["LoRASelectorOutput"] | components["schemas"]["MDControlListOutput"] | components["schemas"]["MDIPAdapterListOutput"] | components["schemas"]["MDT2IAdapterListOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["MetadataToLorasCollectionOutput"] | components["schemas"]["MetadataToModelOutput"] | components["schemas"]["MetadataToSDXLModelOutput"] | components["schemas"]["MiniMaxH3ConditioningOutput"] | components["schemas"]["MiniMaxH3DenoiseOutput"] | components["schemas"]["MiniMaxH3FrameConditioningOutput"] | components["schemas"]["MiniMaxH3LoRACollectionLoaderOutput"] | components["schemas"]["MiniMaxH3LoRALoaderOutput"] | components["schemas"]["MiniMaxH3ModelLoaderOutput"] | components["schemas"]["MiniMaxH3ReferenceConditioningOutput"] | components["schemas"]["MiniMaxH3ReferenceMediaOutput"] | components["schemas"]["ModelIdentifierOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["PBRMapsOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["PiDDecoderOutput"] | components["schemas"]["PromptTemplateOutput"] | components["schemas"]["QwenImageConditioningOutput"] | components["schemas"]["QwenImageLoRALoaderOutput"] | components["schemas"]["QwenImageModelLoaderOutput"] | components["schemas"]["SD3ConditioningOutput"] | components["schemas"]["SDXLLoRALoaderOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["Sd3ModelLoaderOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["String2Output"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["StringGeneratorOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["VideoOutput"] | components["schemas"]["WanConditioningOutput"] | components["schemas"]["WanLoRALoaderOutput"] | components["schemas"]["WanModelLoaderOutput"] | components["schemas"]["WanRefImageOutput"] | components["schemas"]["WorkflowReturnGetOutput"] | components["schemas"]["WorkflowReturnOutput"] | components["schemas"]["WorkflowReturnValueOutput"] | components["schemas"]["ZImageConditioningOutput"] | components["schemas"]["ZImageControlOutput"] | components["schemas"]["ZImageLoRALoaderOutput"] | components["schemas"]["ZImageModelLoaderOutput"];};/*** InvocationErrorEvent@@ -19505,7 +19505,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -19739,12 +19739,15 @@ export type components = {minimax_h3_denoise: components["schemas"]["MiniMaxH3DenoiseOutput"];minimax_h3_frame_conditioning: components["schemas"]["MiniMaxH3FrameConditioningOutput"];minimax_h3_ideal_dimensions: components["schemas"]["IdealSizeOutput"];+ minimax_h3_image_reference: components["schemas"]["MiniMaxH3ReferenceMediaOutput"];minimax_h3_latents_to_image: components["schemas"]["ImageOutput"];minimax_h3_latents_to_video: components["schemas"]["VideoOutput"];minimax_h3_lora_collection_loader: components["schemas"]["MiniMaxH3LoRACollectionLoaderOutput"];minimax_h3_lora_loader: components["schemas"]["MiniMaxH3LoRALoaderOutput"];minimax_h3_model_loader: components["schemas"]["MiniMaxH3ModelLoaderOutput"];+ minimax_h3_reference_conditioning: components["schemas"]["MiniMaxH3ReferenceConditioningOutput"];minimax_h3_text_encoder: components["schemas"]["MiniMaxH3ConditioningOutput"];+ minimax_h3_video_reference: components["schemas"]["MiniMaxH3ReferenceMediaOutput"];mlsd_detection: components["schemas"]["ImageOutput"];model_identifier: components["schemas"]["ModelIdentifierOutput"];mul: components["schemas"]["IntegerOutput"];@@ -19898,7 +19901,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -19979,7 +19982,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -29738,6 +29741,12 @@ export type components = {* @default null*/frame_conditioning?: components["schemas"]["MiniMaxH3FrameConditioningField"] | null;+ /**+ * Reference Conditioning+ * @description Ordered, VAE-encoded Ref2VA reference conditioning for MiniMax H3+ * @default null+ */+ reference_conditioning?: components["schemas"]["MiniMaxH3ReferenceConditioningField"] | null;/*** Width* @description Width of the generated video. H3's native canvas has a 768px short edge (max 768x1344).@@ -29807,6 +29816,48 @@ export type components = {*/type: "minimax_h3_denoise_output";};+ /**+ * MiniMaxH3EncodedReferenceField+ * @description One VAE-encoded Ref2VA reference, in packed order.+ */+ MiniMaxH3EncodedReferenceField: {+ /**+ * Kind+ * @description The reference's packed-block kind.+ * @enum {string}+ */+ kind: "image" | "video" | "audio";+ /**+ * Video Rows Name+ * @description Name of the saved clean (N, 96) visual rows tensor. None for 'audio'.+ * @default null+ */+ video_rows_name?: string | null;+ /**+ * Latent Frames+ * @description Latent frame count of the visual rows.+ * @default null+ */+ latent_frames?: number | null;+ /**+ * Latent Height+ * @description Latent height of the visual rows.+ * @default null+ */+ latent_height?: number | null;+ /**+ * Latent Width+ * @description Latent width of the visual rows.+ * @default null+ */+ latent_width?: number | null;+ /**+ * Audio Rows Name+ * @description Name of the saved clean (A, 32) soundtrack rows tensor, when the reference has one.+ * @default null+ */+ audio_rows_name?: string | null;+ };/*** MiniMaxH3FrameConditioningField* @description First/last-keyframe conditioning for MiniMax H3 (FL2VA).@@ -29971,6 +30022,50 @@ export type components = {*/type: "minimax_h3_ideal_dimensions";};+ /**+ * Image Reference - MiniMax H3+ * @description Describes one image reference for MiniMax H3 Ref2VA.+ *+ * Collect references in the order they should condition in — order is part of the request —+ * and wire the collection to both Reference Conditioning - MiniMax H3 and Prompt - MiniMax H3.+ */+ MiniMaxH3ImageReferenceInvocation: {+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default true+ */+ use_cache?: boolean;+ /**+ * @description The reference image.+ * @default null+ */+ image?: components["schemas"]["ImageField"] | null;+ /**+ * Detail+ * @description 'max' conditions at a 2048px short edge (highest fidelity; a 2048px square reference adds ~4096 rows to every denoising step). 'match' scales the reference to the generation's pixel area — several times faster.+ * @default max+ * @enum {string}+ */+ detail?: "max" | "match";+ /**+ * type+ * @default minimax_h3_image_reference+ * @constant+ */+ type: "minimax_h3_image_reference";+ };/*** Latents to Image - MiniMax H3* @description Decode MiniMax H3 video latents and save a single frame as an image.@@ -30229,13 +30324,18 @@ export type components = {};/*** Main Model - MiniMax H3- * @description Loads a MiniMax H3 (FL2VA) model, outputting its submodels.+ * @description Loads a MiniMax H3 model, outputting its submodels.** All six submodels (transformer, text encoder, tokenizer, processor, video VAE, audio VAE)* come from the one diffusers-layout install. Optionally, a single-file transformer checkpoint* (e.g. the pruned int8 repack) replaces the folder's transformer, and/or a single-file* truncated Qwen3-VL encoder (e.g. the int8 repack) replaces the folder's text encoder, while* everything else keeps coming from the folder install.+ *+ * A Ref2VA diffusers folder's ``transformer_ref/`` weights are NOT folder-loadable (the+ * submodel map has no entry for that folder), so Ref2VA generation always selects a+ * single-file Ref2VA transformer here; identification marks such folders components-only so+ * the UI requires it up front.*/MiniMaxH3ModelLoaderInvocation: {/**@@ -30286,7 +30386,7 @@ export type components = {MiniMaxH3ModelLoaderOutput: {/*** Transformer- * @description MiniMax H3 FL2VA transformer+ * @description MiniMax H3 task transformer (FL2VA or Ref2VA)*/transformer: components["schemas"]["MiniMaxH3TransformerField"];/**@@ -30328,6 +30428,191 @@ export type components = {*/type: "minimax_h3_model_loader_output";};+ /**+ * MiniMaxH3ReferenceConditioningField+ * @description Ordered, VAE-encoded Ref2VA reference conditioning for MiniMax H3.+ *+ * Rows are CLEAN: the denoise node noise-augments the visual rows to t=0.999 with the+ * request seed's leading draws; audio rows are never noised. ``signature`` is the ordered+ * per-reference fingerprint the denoise node compares against the prompt conditioning's,+ * so the two sides cannot silently disagree about what was encoded.+ */+ MiniMaxH3ReferenceConditioningField: {+ /**+ * References+ * @description The encoded references, in packed order.+ */+ references: components["schemas"]["MiniMaxH3EncodedReferenceField"][];+ /**+ * Num Frames+ * @description The generated frame count the references were truncated for.+ */+ num_frames: number;+ /**+ * Signature+ * @description Ordered structural fingerprint, one entry per reference.+ */+ signature: string[];+ /**+ * Width+ * @description Target canvas width the references were prepared for.+ * @default 1344+ */+ width?: number;+ /**+ * Height+ * @description Target canvas height the references were prepared for.+ * @default 768+ */+ height?: number;+ };+ /**+ * Reference Conditioning - MiniMax H3+ * @description VAE-encodes an ordered list of Ref2VA references into conditioning rows.+ *+ * The rows are clean (the denoise node noise-augments the visual rows with the request+ * seed; soundtrack rows stay clean). The same references, in the same order, must also be+ * wired to Prompt - MiniMax H3: they are part of both the packed sequence and the text+ * conditioning, and the denoise node rejects a mismatch.+ */+ MiniMaxH3ReferenceConditioningInvocation: {+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default true+ */+ use_cache?: boolean;+ /**+ * References+ * @description The references, in conditioning order (order is part of the request).+ * @default null+ */+ references?: components["schemas"]["MiniMaxH3ReferenceMediaField"] | components["schemas"]["MiniMaxH3ReferenceMediaField"][] | null;+ /**+ * Video VAE+ * @description VAE+ * @default null+ */+ vae?: components["schemas"]["VAEField"] | null;+ /**+ * Audio VAE+ * @description Audio VAE (stereo, 32 kHz) for MiniMax H3+ * @default null+ */+ audio_vae?: components["schemas"]["VAEField"] | null;+ /**+ * Num Frames+ * @description The frame count the generation will run at (17n+5). References are truncated to this duration; it must match the Denoise node's Number of Frames.+ * @default 124+ */+ num_frames?: number;+ /**+ * Width+ * @description Target canvas width (used only to size 'match'-detail image references).+ * @default 1344+ */+ width?: number;+ /**+ * Height+ * @description Target canvas height (used only to size 'match'-detail image references).+ * @default 768+ */+ height?: number;+ /**+ * type+ * @default minimax_h3_reference_conditioning+ * @constant+ */+ type: "minimax_h3_reference_conditioning";+ };+ /**+ * MiniMaxH3ReferenceConditioningOutput+ * @description Output of the MiniMax H3 reference VAE-encoder.+ */+ MiniMaxH3ReferenceConditioningOutput: {+ /** @description Ordered, VAE-encoded Ref2VA reference conditioning for MiniMax H3 */+ reference_conditioning: components["schemas"]["MiniMaxH3ReferenceConditioningField"];+ /**+ * type+ * @default minimax_h3_reference_conditioning_output+ * @constant+ */+ type: "minimax_h3_reference_conditioning_output";+ };+ /**+ * MiniMaxH3ReferenceMediaField+ * @description One ordered Ref2VA reference for MiniMax H3: the raw media plus its conditioning options.+ *+ * Carries no tensors — both the Prompt node and the Reference Conditioning node normalize+ * the same media independently (the FL2VA keyframe precedent), and the denoise node+ * cross-checks the two sides via the signature embedded in each side's output. Exactly one+ * of ``image`` / ``video`` is set; ``video_conditioning`` selects which streams a video+ * reference conditions ("audio" maps to upstream's standalone audio-reference kind, sourced+ * from the video's soundtrack).+ */+ MiniMaxH3ReferenceMediaField: {+ /**+ * @description The reference image, for an image reference.+ * @default null+ */+ image?: components["schemas"]["ImageField"] | null;+ /**+ * @description The reference video, for a video/audio reference.+ * @default null+ */+ video?: components["schemas"]["VideoField"] | null;+ /**+ * Video Conditioning+ * @description Which streams a video reference conditions: video + soundtrack, video only, or soundtrack only.+ * @default video_audio+ * @enum {string}+ */+ video_conditioning?: "video_audio" | "video" | "audio";+ /**+ * Image Detail+ * @description Image reference sizing: 'max' (2048 px short edge, highest fidelity) or 'match' (scaled to the generation's pixel area, several times faster).+ * @default max+ * @enum {string}+ */+ image_detail?: "max" | "match";+ /**+ * Start Frame+ * @description First source frame of a video reference (inclusive, 0-based; negative from the end).+ * @default 0+ */+ start_frame?: number;+ /**+ * End Frame+ * @description Last source frame of a video reference (inclusive; negative from the end).+ * @default -1+ */+ end_frame?: number;+ };+ /**+ * MiniMaxH3ReferenceMediaOutput+ * @description One ordered Ref2VA reference descriptor.+ */+ MiniMaxH3ReferenceMediaOutput: {+ /** @description One ordered Ref2VA reference (image or video) for MiniMax H3 */+ reference: components["schemas"]["MiniMaxH3ReferenceMediaField"];+ /**+ * type+ * @default minimax_h3_reference_media_output+ * @constant+ */+ type: "minimax_h3_reference_media_output";+ };/*** MiniMaxH3TextEncoderField* @description Field for the Qwen3-VL-32B conditioner used by MiniMax H3 models.@@ -30346,13 +30631,16 @@ export type components = {};/*** Prompt - MiniMax H3- * @description Encodes a prompt (and optional first/last keyframes) for MiniMax H3.+ * @description Encodes a prompt (and optional first/last keyframes, or Ref2VA references) for MiniMax H3.** The conditioning is Qwen3-VL-32B's *unnormalized* layer-50 hidden state. H3 is* guidance-distilled: there is no negative prompt. For first/last-frame video, the keyframes* are ALSO part of the text conditioning (a "<Picture i>: " label plus a vision block per* keyframe), so the same images must be wired here and to the Frame Conditioning node, with- * the same width/height as the denoise node.+ * the same width/height as the denoise node. For reference-to-video (Ref2VA), the same+ * ordered references must be wired here and to the Reference Conditioning node, with the+ * same Number of Frames — the references appear in the conditioning as per-modality labels+ * and vision blocks (a reference video is read at 2 fps).*/MiniMaxH3TextEncoderInvocation: {/**@@ -30394,6 +30682,18 @@ export type components = {* @default null*/last_image?: components["schemas"]["ImageField"] | null;+ /**+ * References+ * @description Ref2VA references, in conditioning order (must match Reference Conditioning - MiniMax H3). Mutually exclusive with keyframes.+ * @default null+ */+ references?: components["schemas"]["MiniMaxH3ReferenceMediaField"] | components["schemas"]["MiniMaxH3ReferenceMediaField"][] | null;+ /**+ * Num Frames+ * @description The generation's frame count. Required with references (they are truncated to it); must match the Denoise and Reference Conditioning nodes.+ * @default null+ */+ num_frames?: number | null;/*** Width* @description Target canvas width.@@ -30415,7 +30715,7 @@ export type components = {};/*** MiniMaxH3TransformerField- * @description Transformer field for MiniMax H3 models (FL2VA).+ * @description Transformer field for MiniMax H3 models (FL2VA or Ref2VA).*/MiniMaxH3TransformerField: {/** @description Info to load Transformer submodel */@@ -30425,6 +30725,12 @@ export type components = {* @description LoRAs to apply on model loading*/loras?: components["schemas"]["LoRAField"][];+ /**+ * Variant+ * @description The task variant of the loaded transformer ('fl2va' / 'ref2va'), stamped by the model loader so the denoise node can reject a task/conditioning mismatch.+ * @default null+ */+ variant?: string | null;};/*** MiniMaxH3VariantType@@ -30432,6 +30738,63 @@ export type components = {* @enum {string}*/MiniMaxH3VariantType: "fl2va" | "ref2va";+ /**+ * Video Reference - MiniMax H3+ * @description Describes one video reference for MiniMax H3 Ref2VA.+ *+ * 'Audio only' conditions on the video's soundtrack alone (the standalone audio-reference+ * kind). At least one reference of the request must contribute visuals, and a conditioning+ * choice that includes audio requires the video to actually carry a soundtrack.+ */+ MiniMaxH3VideoReferenceInvocation: {+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default true+ */+ use_cache?: boolean;+ /**+ * @description The reference video.+ * @default null+ */+ video?: components["schemas"]["VideoField"] | null;+ /**+ * Conditioning+ * @description Which streams this reference conditions: video + soundtrack, video only, or soundtrack only.+ * @default video_audio+ * @enum {string}+ */+ conditioning?: "video_audio" | "video" | "audio";+ /**+ * Start Frame+ * @description First source frame of the reference range (inclusive, 0-based; negative counts from the end).+ * @default 0+ */+ start_frame?: number;+ /**+ * End Frame+ * @description Last source frame of the reference range (inclusive; negative counts from the end).+ * @default -1+ */+ end_frame?: number;+ /**+ * type+ * @default minimax_h3_video_reference+ * @constant+ */+ type: "minimax_h3_video_reference";+ };/*** Mistral3EncoderField* @description Field for Mistral3 text encoder used by ERNIE-Image models.diff --git a/tests/app/invocations/test_minimax_h3_model_loader.py b/tests/app/invocations/test_minimax_h3_model_loader.pyindex 738f9d5d07..2433debf2a 100644--- a/tests/app/invocations/test_minimax_h3_model_loader.py+++ b/tests/app/invocations/test_minimax_h3_model_loader.py@@ -59,10 +59,6 @@ def test_accepts_diffusers_folder_main():assert output.vae.vae.key == "h3-main"-# TODO(ref2va): these rejections flip to acceptance (with variant stamping) when-# reference-conditioned generation lands.--def _context_with_override(main_config: MagicMock, override_config: MagicMock) -> MagicMock:context = MagicMock()context.models.exists.return_value = True@@ -70,26 +66,38 @@ def _context_with_override(main_config: MagicMock, override_config: MagicMock) -return context-def test_rejects_ref2va_transformer_override():+def test_stamps_ref2va_variant_from_transformer_override():+ # The denoise node keys its task/conditioning guard off this stamp - references on FL2VA+ # weights (or Ref2VA weights without references) must fail fast there.ref2va = _config(format_=ModelFormat.Checkpoint)ref2va.variant = MiniMaxH3VariantType.REF2VAref2va.name = "MiniMax H3 Ref2VA Transformer (int8, pruned)"node = MiniMaxH3ModelLoaderInvocation(id="loader", model=_identifier(), transformer_model=_identifier("h3-ckpt"))- with pytest.raises(ValueError, match="Ref2VA.*cannot generate with yet"):- node.invoke(_context_with_override(_config(), ref2va))---def test_rejects_ref2va_diffusers_main_without_override():- main = _config()- main.variant = MiniMaxH3VariantType.REF2VA- node = MiniMaxH3ModelLoaderInvocation(id="loader", model=_identifier())- with pytest.raises(ValueError, match="Ref2VA.*cannot generate with yet"):- node.invoke(_context(main))+ output = node.invoke(_context_with_override(_config(), ref2va))+ assert output.transformer.transformer.key == "h3-ckpt"+ assert output.transformer.variant == "ref2va"-def test_accepts_fl2va_transformer_override():+def test_stamps_fl2va_variant_from_transformer_override():fl2va = _config(format_=ModelFormat.Checkpoint)fl2va.variant = MiniMaxH3VariantType.FL2VAnode = MiniMaxH3ModelLoaderInvocation(id="loader", model=_identifier(), transformer_model=_identifier("h3-ckpt"))output = node.invoke(_context_with_override(_config(), fl2va))assert output.transformer.transformer.key == "h3-ckpt"+ assert output.transformer.variant == "fl2va"+++def test_stamps_variant_from_diffusers_main_without_override():+ main = _config()+ main.variant = MiniMaxH3VariantType.REF2VA+ node = MiniMaxH3ModelLoaderInvocation(id="loader", model=_identifier())+ output = node.invoke(_context(main))+ assert output.transformer.variant == "ref2va"+++def test_variant_stamp_is_none_for_untyped_configs():+ # A MagicMock config's `variant` attribute is not a MiniMaxH3VariantType, standing in for+ # any config without one - the stamp must degrade to None, not an arbitrary object.+ node = MiniMaxH3ModelLoaderInvocation(id="loader", model=_identifier())+ output = node.invoke(_context(_config()))+ assert output.transformer.variant is Nonediff --git a/tests/app/invocations/test_minimax_h3_reference_nodes.py b/tests/app/invocations/test_minimax_h3_reference_nodes.pynew file mode 100644index 0000000000..e0282c0cc1--- /dev/null+++ b/tests/app/invocations/test_minimax_h3_reference_nodes.py@@ -0,0 +1,229 @@+"""Validation-level tests for the MiniMax H3 Ref2VA reference invocations.++No models are loaded: these exercise field construction, kind/cap validation, the+prompt-vs-conditioning signature cross-checks in the denoise node, and the task-variant+guard. The numerics live in tests/backend/minimax_h3/.+"""++from unittest.mock import MagicMock++import pytest+import torch++from invokeai.app.invocations.fields import (+ ImageField,+ MiniMaxH3ConditioningField,+ MiniMaxH3EncodedReferenceField,+ MiniMaxH3ReferenceConditioningField,+ MiniMaxH3ReferenceMediaField,+ VideoField,+)+from invokeai.app.invocations.minimax_h3_denoise import MiniMaxH3DenoiseInvocation+from invokeai.app.invocations.minimax_h3_reference import (+ normalize_reference_list,+ reference_has_audio,+ reference_kind,+ reference_signature_entry,+)+from invokeai.app.invocations.minimax_h3_text_encoder import MiniMaxH3TextEncoderInvocation+from invokeai.app.invocations.model import MiniMaxH3TransformerField, ModelIdentifierField+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelType+from invokeai.backend.stable_diffusion.diffusion.conditioning_data import MiniMaxH3ConditioningInfo+++def _image_ref(name: str = "img.png", detail: str = "max") -> MiniMaxH3ReferenceMediaField:+ return MiniMaxH3ReferenceMediaField(image=ImageField(image_name=name), image_detail=detail)+++def _video_ref(name: str = "clip.mp4", conditioning: str = "video_audio") -> MiniMaxH3ReferenceMediaField:+ return MiniMaxH3ReferenceMediaField(video=VideoField(video_name=name), video_conditioning=conditioning)+++class TestMediaField:+ def test_kind_mapping(self):+ assert reference_kind(_image_ref()) == "image"+ assert reference_kind(_video_ref()) == "video"+ assert reference_kind(_video_ref(conditioning="video")) == "video"+ assert reference_kind(_video_ref(conditioning="audio")) == "audio"++ def test_has_audio(self):+ assert not reference_has_audio(_image_ref())+ assert reference_has_audio(_video_ref())+ assert not reference_has_audio(_video_ref(conditioning="video"))+ assert reference_has_audio(_video_ref(conditioning="audio"))++ def test_normalize_rejects_both_or_neither_media(self):+ with pytest.raises(ValueError, match="exactly one"):+ normalize_reference_list([MiniMaxH3ReferenceMediaField()])+ with pytest.raises(ValueError, match="exactly one"):+ normalize_reference_list(+ [MiniMaxH3ReferenceMediaField(image=ImageField(image_name="a"), video=VideoField(video_name="b"))]+ )++ def test_normalize_rejects_all_audio(self):+ with pytest.raises(ValueError, match="cannot be used alone"):+ normalize_reference_list([_video_ref(conditioning="audio")])++ def test_normalize_rejects_caps(self):+ with pytest.raises(ValueError, match="At most 3 video"):+ normalize_reference_list([_video_ref(name=f"v{i}.mp4") for i in range(4)])+ with pytest.raises(ValueError, match="At most 9 image"):+ normalize_reference_list([_image_ref(name=f"i{i}.png") for i in range(10)])++ def test_normalize_wraps_single_reference(self):+ assert len(normalize_reference_list(_video_ref())) == 1++ def test_signature_distinguishes_options_and_order_inputs(self):+ base = reference_signature_entry(_video_ref(), None, 124)+ assert reference_signature_entry(_video_ref(conditioning="video"), None, 124) != base+ assert reference_signature_entry(_video_ref(name="other.mp4"), None, 124) != base+ assert reference_signature_entry(_video_ref(), None, 141) != base+ trimmed = _video_ref()+ trimmed.start_frame = 10+ assert reference_signature_entry(trimmed, None, 124) != base+ image = reference_signature_entry(_image_ref(), (2048, 2048), 124)+ assert reference_signature_entry(_image_ref(detail="match"), (2048, 2048), 124) != image+ assert reference_signature_entry(_image_ref(), (1024, 1024), 124) != image+++def _transformer_field(variant: str | None) -> MiniMaxH3TransformerField:+ return MiniMaxH3TransformerField(+ transformer=ModelIdentifierField(+ key="t", hash="h", name="T", base=BaseModelType.MiniMaxH3, type=ModelType.Main+ ),+ variant=variant,+ )+++def _reference_conditioning(signature: list[str], num_frames: int = 124) -> MiniMaxH3ReferenceConditioningField:+ return MiniMaxH3ReferenceConditioningField(+ references=[MiniMaxH3EncodedReferenceField(kind="image", video_rows_name="rows")],+ num_frames=num_frames,+ signature=signature,+ )+++def _denoise(reference_conditioning=None, variant="ref2va", num_frames="124") -> MiniMaxH3DenoiseInvocation:+ return MiniMaxH3DenoiseInvocation(+ id="denoise",+ transformer=_transformer_field(variant),+ positive_conditioning=MiniMaxH3ConditioningField(conditioning_name="cond"),+ reference_conditioning=reference_conditioning,+ num_frames=num_frames,+ )+++def _context_with_conditioning(cond_info: MiniMaxH3ConditioningInfo) -> MagicMock:+ context = MagicMock()+ cond_data = MagicMock()+ cond_data.conditionings = [cond_info]+ context.conditioning.load.return_value = cond_data+ return context+++def _cond_info(reference_signature=(), reference_num_frames=None) -> MiniMaxH3ConditioningInfo:+ return MiniMaxH3ConditioningInfo(+ prompt_embeds=torch.zeros(1, 3, 8),+ text_token_tags=torch.tensor([1, 1, 0]),+ reference_signature=reference_signature,+ reference_num_frames=reference_num_frames,+ )+++class TestDenoiseGuards:+ def test_rejects_references_on_fl2va_transformer(self):+ node = _denoise(_reference_conditioning(["image:a:max:64x64"]), variant="fl2va")+ with pytest.raises(ValueError, match="FL2VA task checkpoint"):+ node.invoke(_context_with_conditioning(_cond_info()))++ def test_rejects_ref2va_transformer_without_references(self):+ node = _denoise(None, variant="ref2va")+ with pytest.raises(ValueError, match="requires reference conditioning"):+ node.invoke(_context_with_conditioning(_cond_info()))++ def test_rejects_prompt_references_without_wired_conditioning(self):+ node = _denoise(None, variant=None)+ with pytest.raises(ValueError, match="no reference conditioning is wired"):+ node.invoke(_context_with_conditioning(_cond_info(reference_signature=("image:a:max:64x64",))))++ def test_wired_conditioning_with_referenceless_prompt_names_the_right_remedy(self):+ # The prompt side has NO references: the error must say to wire them there, not to+ # change a frame count (the num_frames comparison would otherwise fire first).+ node = _denoise(_reference_conditioning(["image:a:max:64x64"]), variant=None)+ with pytest.raises(ValueError, match="Connect the same ordered references to Prompt"):+ node.invoke(_context_with_conditioning(_cond_info()))++ def test_rejects_canvas_mismatch(self):+ sig = "image:a:max:64x64"+ field = _reference_conditioning([sig])+ field.width = 768+ field.height = 768+ node = _denoise(field, variant=None)+ cond = _cond_info(reference_signature=(sig,), reference_num_frames=124)+ with pytest.raises(ValueError, match="768x768 canvas"):+ node.invoke(_context_with_conditioning(cond))++ def test_rejects_signature_mismatch(self):+ sig = "image:a:max:64x64"+ node = _denoise(_reference_conditioning([sig]), variant=None)+ cond = _cond_info(reference_signature=("image:OTHER:max:64x64",), reference_num_frames=124)+ with pytest.raises(ValueError, match="Reference mismatch"):+ node.invoke(_context_with_conditioning(cond))++ def test_rejects_num_frames_mismatch_between_nodes(self):+ sig = "image:a:max:64x64"+ node = _denoise(_reference_conditioning([sig], num_frames=141), variant=None)+ cond = _cond_info(reference_signature=(sig,), reference_num_frames=141)+ with pytest.raises(ValueError, match="prepared for 141 frames"):+ node.invoke(_context_with_conditioning(cond))++ def test_rejects_frame_and_reference_conditioning_together(self):+ from invokeai.app.invocations.fields import MiniMaxH3FrameConditioningField++ node = MiniMaxH3DenoiseInvocation(+ id="denoise",+ transformer=_transformer_field(None),+ positive_conditioning=MiniMaxH3ConditioningField(conditioning_name="cond"),+ frame_conditioning=MiniMaxH3FrameConditioningField(+ condition_rows_name="rows", keyframe_anchors=["first"], width=1344, height=768+ ),+ reference_conditioning=_reference_conditioning(["image:a:max:64x64"]),+ )+ with pytest.raises(ValueError, match="mutually exclusive"):+ node.invoke(_context_with_conditioning(_cond_info()))++ def test_rejects_still_image_frame_count_with_references(self):+ sig = "image:a:max:64x64"+ node = _denoise(_reference_conditioning([sig], num_frames=5), variant=None, num_frames="5")+ cond = _cond_info(reference_signature=(sig,), reference_num_frames=5)+ with pytest.raises(ValueError, match="still-image"):+ node.invoke(_context_with_conditioning(cond))+++class TestTextEncoderGuards:+ def _node(self, **kwargs) -> MiniMaxH3TextEncoderInvocation:+ identifier = ModelIdentifierField(+ key="te", hash="h", name="TE", base=BaseModelType.MiniMaxH3, type=ModelType.Main+ )+ from invokeai.app.invocations.model import MiniMaxH3TextEncoderField++ return MiniMaxH3TextEncoderInvocation(+ id="prompt",+ prompt="p",+ text_encoder=MiniMaxH3TextEncoderField(tokenizer=identifier, processor=identifier, text_encoder=identifier),+ **kwargs,+ )++ def test_rejects_keyframes_with_references(self):+ node = self._node(+ first_image=ImageField(image_name="kf.png"),+ references=_image_ref(),+ num_frames=124,+ )+ with pytest.raises(ValueError, match="mutually exclusive"):+ node.invoke(MagicMock())++ def test_requires_num_frames_with_references(self):+ node = self._node(references=_image_ref())+ with pytest.raises(ValueError, match="num_frames is required"):+ node.invoke(MagicMock())diff --git a/tests/app/util/test_video_audio_float.py b/tests/app/util/test_video_audio_float.pynew file mode 100644index 0000000000..b824dca05b--- /dev/null+++ b/tests/app/util/test_video_audio_float.py@@ -0,0 +1,92 @@+"""The float-PCM branch of extract_audio_pcm (Ref2VA reference soundtracks).++The float branch pins ``-map 0:a:0`` and reads the rate off the container banner; the two+must describe the same stream, including on multi-track containers where ffmpeg's default+selection would pick a different one.+"""++import subprocess+import tempfile+from pathlib import Path++import numpy as np+import pytest++from invokeai.app.util.video_audio import _ffmpeg_exe, extract_audio_pcm+from invokeai.app.util.video_encoding import make_mp4_writer, write_stereo_wav+++def _sine(rate: int, seconds: float, freq: float) -> np.ndarray:+ t = np.arange(int(rate * seconds)) / rate+ wave = np.sin(2 * np.pi * freq * t).astype(np.float32) * 0.5+ return np.stack([wave, wave])+++def tmp_dir():+ with tempfile.TemporaryDirectory() as td:+ yield Path(td)+++def _make_video(tmp_dir: Path, wavs: list[tuple[np.ndarray, int]]) -> Path:+ """A tiny h264 MP4 carrying the given audio tracks, in order."""+ silent = tmp_dir / "silent.mp4"+ writer = make_mp4_writer(silent, fps=8)+ frame = np.zeros((64, 64, 3), dtype=np.uint8)+ for _ in range(16):+ writer.append_data(frame)+ writer.close()++ wav_paths = []+ for index, (samples, rate) in enumerate(wavs):+ wav_path = tmp_dir / f"a{index}.wav"+ write_stereo_wav(wav_path, samples, rate)+ wav_paths.append(wav_path)++ out = tmp_dir / "multi.mp4"+ args = [_ffmpeg_exe(), "-y", "-loglevel", "error", "-i", str(silent)]+ for wav_path in wav_paths:+ args += ["-i", str(wav_path)]+ args += ["-map", "0:v:0"]+ for index in range(len(wav_paths)):+ args += ["-map", f"{index + 1}:a:0"]+ args += ["-c:v", "copy", "-c:a", "aac", str(out)]+ subprocess.run(args, check=True, capture_output=True, timeout=120)+ return out+++def test_float_branch_returns_float_samples_at_the_probed_rate(tmp_dir):+ video = _make_video(tmp_dir, [(_sine(44100, 2.0, 440.0), 44100)])+ extracted = extract_audio_pcm(video, float_pcm=True)++ assert extracted is not None+ pcm, rate = extracted+ assert rate == 44100+ assert pcm.dtype == np.float32+ assert pcm.shape[0] == 2+ # Genuinely float samples, not an int16 re-quantization.+ assert np.mean((pcm * 32768.0) % 1.0 > 1e-6) > 0.5+++def test_multi_track_container_decodes_the_stream_the_probe_describes(tmp_dir):+ # Track 0 at 44100 Hz, track 1 at 48000 Hz: without the -map pin, ffmpeg's default+ # selection can decode a different stream than the banner-order probe reports, and the+ # soundtrack conditions ~9% off-speed - silently.+ video = _make_video(tmp_dir, [(_sine(44100, 2.0, 440.0), 44100), (_sine(48000, 2.0, 220.0), 48000)])+ extracted = extract_audio_pcm(video, float_pcm=True)++ assert extracted is not None+ pcm, rate = extracted+ assert rate == 44100+ # The sample COUNT must match the probed rate's timeline (2 s +/- codec padding).+ assert pcm.shape[1] == pytest.approx(2.0 * rate, rel=0.05)+++def test_int16_branch_unchanged(tmp_dir):+ video = _make_video(tmp_dir, [(_sine(44100, 1.0, 440.0), 44100)])+ extracted = extract_audio_pcm(video)++ assert extracted is not None+ pcm, rate = extracted+ assert rate == 44100+ assert pcm.shape[0] == 2diff --git a/tests/backend/minimax_h3/test_ref2va_packing.py b/tests/backend/minimax_h3/test_ref2va_packing.pynew file mode 100644index 0000000000..3bbf79590f--- /dev/null+++ b/tests/backend/minimax_h3/test_ref2va_packing.py@@ -0,0 +1,357 @@+"""Golden tests for the Ref2VA packed-sequence layout and denoise state.++The layout contract is ported from the merged diffusers MiniMax-H3 integration+(``modular_pipelines/minimax_h3/before_denoise.py::build_ref2va_packed_sequence`` at commit+f53d552036a0d1bd5570782a39cd40cfabf112bc); the micro-geometry expectations below are hand-derived+from that source. Run on CPU with tiny latents.+"""++import math++import pytest+import torch++from invokeai.backend.minimax_h3.packing import (+ _ROPE_FRAME_RESCALE,+ _ROPE_FRAMES_PER_LATENT,+ MINIMAX_H3_AUDIO_TAG,+ MINIMAX_H3_TEXT_TAG,+ MINIMAX_H3_VIDEO_TAG,+ MiniMaxH3ReferenceLayoutEntry,+ _temporal_position_span,+ build_ref2va_packed_sequence,+ validate_reference_kinds,+)+from invokeai.backend.minimax_h3.sampling import (+ MiniMaxH3EncodedReference,+ build_denoise_state,+ build_ref2va_denoise_state,+)++TEXT_TAGS = torch.tensor([1, 1, 0], dtype=torch.long)++# Target micro-geometry shared by every test: 2 latent frames on a 4x4 latent canvas, 8 audio+# latents. rows_per_target_frame = (4//2) * (4//2) = 4, so 8 target video rows and 16 target+# audio rows.+TARGET = {"num_latent_frames": 2, "latent_height": 4, "latent_width": 4, "num_audio_latents": 8}+++def _sequential_span(num_latent_frames: int) -> float:+ return sum(+ _ROPE_FRAME_RESCALE * _ROPE_FRAMES_PER_LATENT[index % len(_ROPE_FRAMES_PER_LATENT)]+ for index in range(num_latent_frames)+ )+++def _layout(references, condition_latent_shapes, audio_condition_row_counts):+ return build_ref2va_packed_sequence(+ TEXT_TAGS,+ references,+ condition_latent_shapes,+ audio_condition_row_counts,+ patch_size=(1, 2, 2),+ **TARGET,+ )+++IMAGE = MiniMaxH3ReferenceLayoutEntry(kind="image", has_audio=False)+VIDEO = MiniMaxH3ReferenceLayoutEntry(kind="video", has_audio=False)+VIDEO_AUDIO = MiniMaxH3ReferenceLayoutEntry(kind="video", has_audio=True)+AUDIO = MiniMaxH3ReferenceLayoutEntry(kind="audio", has_audio=True)+++class TestValidateReferenceKinds:+ def test_accepts_ordered_mixes(self):+ validate_reference_kinds(["image", "video", "audio"])+ validate_reference_kinds(["video"])++ def test_rejects_empty(self):+ with pytest.raises(ValueError, match="at least one reference"):+ validate_reference_kinds([])++ def test_rejects_all_audio(self):+ with pytest.raises(ValueError, match="cannot be used alone"):+ validate_reference_kinds(["audio", "audio"])++ def test_rejects_unknown_kind(self):+ with pytest.raises(ValueError, match="got 'movie'"):+ validate_reference_kinds(["movie"])++ @pytest.mark.parametrize(+ ("kinds", "message"),+ [+ (["image"] * 10, "At most 9 image"),+ (["video"] * 4, "At most 3 video"),+ (["audio"] * 4 + ["image"], "At most 3 audio"),+ ],+ )+ def test_rejects_per_kind_caps(self, kinds, message):+ with pytest.raises(ValueError, match=message):+ validate_reference_kinds(kinds)+++class TestRef2VALayout:+ def test_single_image_reference(self):+ # Image 1x6x2 -> (6//2) * (2//2) = 3 rows on its OWN aspect-normalized grid.+ layout = _layout([IMAGE], ((1, 6, 2),), ())++ assert layout.sequence_length == 3 + 3 + 16 + 8+ assert layout.num_condition_video_rows == 3+ assert layout.num_condition_audio_rows == 0+ # Reference video rows lead video_indices; targets follow after the target audio block.+ assert layout.video_indices.tolist() == [3, 4, 5] + list(range(3 + 3 + 16, layout.sequence_length))+ assert layout.audio_indices.tolist() == list(range(6, 22))+ # All image rows share ONE rotary time: the text length. The image consumes a single+ # integer slot, so target audio starts at num_text_tokens + 1.+ assert torch.all(layout.position_ids[3:6, 0] == 3.0)+ assert float(layout.position_ids[6, 0]) == 4.0+ # The image's (h, w) grid is its own (6x2 latent), not the target's 4x4: its rows'+ # height coordinates span 3 distinct values.+ assert len(set(layout.position_ids[3:6, 1].tolist())) == 3+ # Tags: text rows keep their tags, reference rows are video, audio rows audio.+ assert layout.token_tags[:3].tolist() == TEXT_TAGS.tolist()+ assert torch.all(layout.token_tags[3:6] == MINIMAX_H3_VIDEO_TAG)+ assert torch.all(layout.token_tags[6:22] == MINIMAX_H3_AUDIO_TAG)+ assert MINIMAX_H3_TEXT_TAG in layout.token_tags[:3].tolist()++ def test_standalone_audio_uses_target_width_grid(self):+ # [audio (6 rows = 3 latents), image 1x4x4]: the audio block borrows the TARGET width+ # grid; the image then starts at num_text_tokens + 3.+ layout = _layout([AUDIO, IMAGE], ((1, 4, 4),), (6,))++ assert layout.num_condition_audio_rows == 6+ assert layout.num_condition_video_rows == 4+ # Audio rows 3..8; image rows 9..12.+ assert layout.audio_indices[:6].tolist() == [3, 4, 5, 6, 7, 8]+ assert layout.video_indices[:4].tolist() == [9, 10, 11, 12]+ # Standalone audio at the target's width-grid extremes: identical w pins as the+ # generated audio rows (which use the same 4x4 target grid).+ target_audio_start = 13+ assert float(layout.position_ids[3, 2]) == float(layout.position_ids[target_audio_start, 2])+ assert float(layout.position_ids[8, 2]) == float(layout.position_ids[target_audio_start + 15, 2])+ # Audio advances the clock by its latent count (3): the image sits at time 3 + 3.+ assert torch.all(layout.position_ids[9:13, 0] == 6.0)+ # h stays 0 on audio rows.+ assert torch.all(layout.position_ids[3:9, 1] == 0.0)++ def test_video_reference_soundtrack_adjacency_and_clock(self):+ # [video+audio]: video 7 latent frames on a 2x4 latent grid (2 rows/frame -> 14 rows),+ # soundtrack 8 rows (4 latents). Soundtrack rows pack immediately BEFORE the video rows+ # and share its origin; the block advances the clock by max(4, span(7)).+ layout = _layout([VIDEO_AUDIO], ((7, 2, 4),), (8,))++ assert layout.num_condition_video_rows == 14+ assert layout.num_condition_audio_rows == 8+ assert layout.audio_indices[:8].tolist() == list(range(3, 11))+ assert layout.video_indices[:14].tolist() == list(range(11, 25))+ # Soundtrack and video share the origin (time 3.0 at their first latent).+ assert float(layout.position_ids[3, 0]) == 3.0+ assert float(layout.position_ids[11, 0]) == 3.0+ # The soundtrack is pinned to the VIDEO's own width grid, which differs from the+ # target's: compare against the first target audio row's pin.+ target_audio_start = 25+ assert float(layout.position_ids[3, 2]) != float(layout.position_ids[target_audio_start, 2])+ # Clock: span(7) = 5/3 * (1+4+4+4+4+1+4) = 36.67 > 4 audio latents, so the target+ # audio starts at 3 + span(7), summed SEQUENTIALLY.+ assert float(layout.position_ids[target_audio_start, 0]) == 3.0 + _sequential_span(7)++ def test_silent_video_reference_contributes_no_audio_rows(self):+ layout = _layout([VIDEO], ((2, 2, 4),), ())++ assert layout.num_condition_audio_rows == 0+ assert layout.num_condition_video_rows == 4+ assert layout.audio_indices.tolist() == list(range(3 + 4, 3 + 4 + 16))++ def test_full_mix_order_and_counts(self):+ # [image 1x6x2, video+audio 3x2x4 (audio 8 rows), audio 6 rows] - the hand-verified+ # composite: blocks pack in request order, targets last.+ layout = _layout([IMAGE, VIDEO_AUDIO, AUDIO], ((1, 6, 2), (3, 2, 4)), (8, 6))++ assert layout.sequence_length == 50+ assert layout.num_condition_video_rows == 9+ assert layout.num_condition_audio_rows == 14+ assert layout.video_indices[:9].tolist() == [3, 4, 5] + list(range(14, 20))+ assert layout.audio_indices[:14].tolist() == list(range(6, 14)) + list(range(20, 26))+ # Clock walk: image (+1.0) -> video block at 4.0, advancing by max(4, span(3)) =+ # span(3) = 5/3 * (1+4+4) = 15 -> audio ref at 19.0, 3 latents -> targets at 22.0.+ assert torch.all(layout.position_ids[3:6, 0] == 3.0)+ assert float(layout.position_ids[6, 0]) == 4.0 # soundtrack origin+ assert float(layout.position_ids[14, 0]) == 4.0 # video rows origin+ assert float(layout.position_ids[20, 0]) == 4.0 + _sequential_span(3)+ assert float(layout.position_ids[26, 0]) == 4.0 + _sequential_span(3) + 3.0++ def test_reference_order_changes_the_layout(self):+ a = _layout([IMAGE, VIDEO_AUDIO], ((1, 6, 2), (3, 2, 4)), (8,))+ b = _layout([VIDEO_AUDIO, IMAGE], ((3, 2, 4), (1, 6, 2)), (8,))++ assert a.sequence_length == b.sequence_length+ assert not torch.equal(a.position_ids, b.position_ids)++ @pytest.mark.parametrize("num_latent_frames", [2, 6, 7, 17, 18, 22])+ def test_video_span_is_summed_sequentially(self, num_latent_frames):+ # The ref2va clock sums a video reference's span sequentially in float64 - NOT the+ # numpy-pairwise order `_temporal_position_span` reproduces for the FL2VA "last"+ # anchor. The two differ in the last ulp for several of these counts (empirically+ # from n = 6 in this series); the builder must match the sequential sum bit-exactly.+ layout = _layout([VIDEO], ((num_latent_frames, 2, 4),), ())+ target_audio_start = 3 + num_latent_frames * 2++ assert float(layout.position_ids[target_audio_start, 0]) == 3.0 + _sequential_span(num_latent_frames)++ def test_the_two_summation_orders_really_differ(self):+ # Documents why both span implementations exist: numpy's pairwise sum and the+ # sequential sum disagree in the last ulp at n = 18 (among others).+ assert _temporal_position_span(18) != _sequential_span(18)+++def _encoded_references(kinds=("image",)):+ """Build consistent encoded references for the state builder at the micro geometry."""+ refs = []+ for kind in kinds:+ if kind == "image":+ refs.append(MiniMaxH3EncodedReference(kind="image", video_rows=torch.zeros(3, 96), latent_shape=(1, 6, 2)))+ elif kind == "video":+ refs.append(MiniMaxH3EncodedReference(kind="video", video_rows=torch.zeros(6, 96), latent_shape=(3, 2, 4)))+ elif kind == "video_audio":+ refs.append(+ MiniMaxH3EncodedReference(+ kind="video",+ video_rows=torch.zeros(6, 96),+ latent_shape=(3, 2, 4),+ audio_rows=torch.full((8, 32), 0.25),+ )+ )+ elif kind == "audio":+ refs.append(MiniMaxH3EncodedReference(kind="audio", audio_rows=torch.full((6, 32), 0.5)))+ return refs+++def _build_ref_state(seed: int, kinds=("image",)):+ return build_ref2va_denoise_state(+ text_token_tags=TEXT_TAGS,+ references=_encoded_references(kinds),+ num_inference_steps=4,+ seed=seed,+ device=torch.device("cpu"),+ **TARGET,+ )+++class TestRef2VADenoiseState:+ def test_shapes_and_layout(self):+ state = _build_ref_state(0, kinds=("image", "video_audio", "audio"))++ assert state.layout.num_condition_video_rows == 9+ assert state.layout.num_condition_audio_rows == 14+ assert state.video_rows.shape == (9 + 8, 96)+ assert state.audio_rows.shape == (14 + 16, 32)++ def test_determinism_per_seed(self):+ a = _build_ref_state(3, kinds=("image", "video_audio"))+ b = _build_ref_state(3, kinds=("image", "video_audio"))+ c = _build_ref_state(4, kinds=("image", "video_audio"))++ assert torch.equal(a.video_rows, b.video_rows)+ assert torch.equal(a.audio_rows, b.audio_rows)+ assert not torch.equal(a.video_rows, c.video_rows)++ def test_reference_audio_rows_stay_bitwise_clean(self):+ # Reference soundtracks are never noised: the leading audio rows equal the encoded+ # rows exactly, for any seed.+ state = _build_ref_state(9, kinds=("video_audio", "audio"))++ assert torch.equal(state.audio_rows[:8], torch.full((8, 32), 0.25))+ assert torch.equal(state.audio_rows[8:14], torch.full((6, 32), 0.5))++ def test_visual_condition_rows_are_noised(self):+ # Visual reference rows ARE noise-augmented (to t = 0.999): zero input rows come out+ # non-zero.+ state = _build_ref_state(9, kinds=("image",))++ assert not torch.all(state.video_rows[:3] == 0)++ def test_condition_draws_precede_generated_draws(self):+ # The per-reference condition draws come off the generator FIRST, so the generated+ # rows differ from a reference-free FL2VA request at the same seed.+ ref_state = _build_ref_state(5, kinds=("image",))+ plain_state = build_denoise_state(+ text_token_tags=TEXT_TAGS,+ num_inference_steps=4,+ seed=5,+ device=torch.device("cpu"),+ **TARGET,+ )++ assert not torch.equal(ref_state.video_rows[3:], plain_state.video_rows)++ def test_swapping_references_permutes_the_noise(self):+ a = _build_ref_state(6, kinds=("image", "video"))+ b = _build_ref_state(6, kinds=("video", "image"))++ # Same total rows, different packing order -> different leading rows.+ assert a.video_rows.shape == b.video_rows.shape+ assert not torch.equal(a.video_rows, b.video_rows)++ def test_timestep_plan_pins_reference_audio_clean(self):+ state = _build_ref_state(0, kinds=("video_audio",))++ for unique_timesteps, timestep_indices in state.row_timestep_plan:+ row_timesteps = unique_timesteps[timestep_indices]+ # Reference audio rows sit at exactly 1.0 on every step...+ assert torch.all(row_timesteps[state.audio_indices[:8]] == 1.0)+ # ...and visual reference rows at >= 0.999.+ assert torch.all(row_timesteps[state.video_indices[:6]] >= 0.999)++ def test_rejects_all_audio(self):+ with pytest.raises(ValueError, match="cannot be used alone"):+ _build_ref_state(0, kinds=("audio",))++ def test_rejects_row_shape_mismatch(self):+ refs = [MiniMaxH3EncodedReference(kind="image", video_rows=torch.zeros(5, 96), latent_shape=(1, 6, 2))]+ with pytest.raises(ValueError, match="packs into 3"):+ build_ref2va_denoise_state(+ text_token_tags=TEXT_TAGS,+ references=refs,+ num_inference_steps=4,+ seed=0,+ device=torch.device("cpu"),+ **TARGET,+ )++ def test_rejects_inconsistent_kinds(self):+ audio_with_video_rows = [+ MiniMaxH3EncodedReference(kind="audio", video_rows=torch.zeros(3, 96), audio_rows=torch.zeros(6, 32)),+ MiniMaxH3EncodedReference(kind="image", video_rows=torch.zeros(3, 96), latent_shape=(1, 6, 2)),+ ]+ with pytest.raises(ValueError, match="audio-only but carries video rows"):+ build_ref2va_denoise_state(+ text_token_tags=TEXT_TAGS,+ references=audio_with_video_rows,+ num_inference_steps=4,+ seed=0,+ device=torch.device("cpu"),+ **TARGET,+ )++ def test_fl2va_state_is_frozen(self):+ # Guards the FL2VA path against drift from any shared-code change: a fixed-seed+ # request's noise must stay put. If this moves beyond the tolerance, existing FL2VA+ # seeds change - do not update the golden without understanding why.+ #+ # The checksum is math.fsum (exact, reduction-order-independent) over the float32+ # elements, but the elements themselves are NOT bit-identical across platforms:+ # torch's seeded CPU normal draws differ in the last ulp between x86/arm64 and+ # Linux/macOS/Windows libms (observed spreads up to ~2e-7 relative on CI). The+ # tolerance absorbs exactly that platform variance and nothing more - any real+ # regression this test guards against (a reordered/extra draw, a changed noise-aug+ # level) moves the sum by O(1).+ state = build_denoise_state(+ text_token_tags=TEXT_TAGS,+ num_inference_steps=4,+ seed=1234,+ device=torch.device("cpu"),+ **TARGET,+ )+ checksum = math.fsum(state.video_rows.flatten().tolist()) + math.fsum(state.audio_rows.flatten().tolist())++ assert checksum == pytest.approx(-77.11209162930027, rel=1e-6)diff --git a/tests/backend/minimax_h3/test_reference_conditioning.py b/tests/backend/minimax_h3/test_reference_conditioning.pynew file mode 100644index 0000000000..0982f5c227--- /dev/null+++ b/tests/backend/minimax_h3/test_reference_conditioning.py@@ -0,0 +1,322 @@+"""Golden tests for Ref2VA reference normalization, encoding math and text presentation.++Ported behavior is asserted against upstream's own arithmetic (merged diffusers MiniMax-H3,+commit f53d552036a0d1bd5570782a39cd40cfabf112bc): the ffmpeg fps-filter resample, the+snap-down frame counts, the 2048 short-edge image rule, the truncate-then-resample audio+order, torchaudio-parity resampling (against baked torchaudio 2.11 vectors), the 2 fps+conditioner sampling, and the per-modality label presentation. No models are loaded.+"""++import numpy as np+import pytest+import torch+from PIL import Image++from invokeai.backend.minimax_h3.audio_resample import resample_sinc+from invokeai.backend.minimax_h3.reference_conditioning import (+ normalize_reference_audio,+ normalize_reference_image,+ normalize_reference_video_frames,+ normalize_reference_video_frames_streaming,+ resample_video_frame_repeats,+ resolve_reference_image_short_edge,+ sample_text_conditioning_frames,+ snap_reference_num_frames,+)+from invokeai.backend.minimax_h3.text_conditioning import MiniMaxH3TextReference, build_ref2va_presentation+++class TestFrameResample:+ def test_24_to_24_is_identity(self):+ frames = np.arange(5 * 2 * 2 * 3, dtype=np.uint8).reshape(5, 2, 2, 3)+ out = normalize_reference_video_frames(frames, 24.0, 124)+ # 2x2 resolves to a 768x768 canvas, so pixels change - but the FRAME COUNT must not.+ assert out.shape[0] == 5++ def test_12_to_24_duplicates_every_frame(self):+ assert resample_video_frame_repeats(5, 12.0).tolist() == [2, 2, 2, 2, 2]++ def test_48_to_24_drops_every_other_frame(self):+ assert resample_video_frame_repeats(6, 48.0).tolist() == [1, 0, 1, 0, 1, 0]++ def test_30_to_24_drop_pattern(self):+ # ffmpeg fps-filter arithmetic: slots = floor(i * 0.8 + 0.5), repeats = diff(slots,+ # append=floor(n * 0.8 + 0.5)). Hand-computed for 10 source frames.+ assert resample_video_frame_repeats(10, 30.0).tolist() == [1, 1, 0, 1, 1, 1, 1, 0, 1, 1]++ def test_rejects_non_positive_fps(self):+ with pytest.raises(ValueError, match="positive frame rate"):+ resample_video_frame_repeats(5, 0.0)++ def test_truncates_to_generated_count(self):+ frames = np.zeros((50, 2, 2, 3), dtype=np.uint8)+ out = normalize_reference_video_frames(frames, 24.0, 22)+ assert out.shape[0] == 22++ def test_on_canvas_frames_pass_through_bitwise(self):+ rng = np.random.default_rng(0)+ frames = (rng.random((3, 768, 768, 3)) * 255).astype(np.uint8)+ out = normalize_reference_video_frames(frames, 24.0, 124)+ assert np.array_equal(out, frames)++ def test_canvas_follows_own_aspect_with_area_cap(self):+ frames = np.zeros((2, 32, 64, 3), dtype=np.uint8) # 2:1 aspect+ out = normalize_reference_video_frames(frames, 24.0, 124)+ # resolve_canvas_size(64, 32): short edge 768 -> 1536x768, area-capped and 32-rounded.+ assert out.shape[1:3] == (704, 1440)++ def test_rejects_wrong_layout(self):+ with pytest.raises(ValueError, match="uint8 RGB frames"):+ normalize_reference_video_frames(np.zeros((5, 2, 2, 3), dtype=np.float32), 24.0, 124)++ @pytest.mark.parametrize(+ ("fps", "num_source", "num_frames"), [(30.0, 40, 22), (12.0, 10, 22), (24.0, 30, 22), (60.0, 90, 22)]+ )+ def test_streaming_equals_batch(self, fps, num_source, num_frames):+ rng = np.random.default_rng(3)+ frames = (rng.random((num_source, 32, 64, 3)) * 255).astype(np.uint8)+ batch = normalize_reference_video_frames(frames, fps, num_frames)+ streamed = normalize_reference_video_frames_streaming(iter(frames), fps, num_frames)+ assert np.array_equal(batch, streamed)++ def test_streaming_stops_early(self):+ # The iterator must not be drained past what the truncation needs.+ consumed = []++ def source():+ for index in range(1000):+ consumed.append(index)+ yield np.zeros((32, 64, 3), dtype=np.uint8)++ out = normalize_reference_video_frames_streaming(source(), 24.0, 22)+ assert out.shape[0] == 22+ assert len(consumed) == 22+++class TestSnapDown:+ @pytest.mark.parametrize(("num_frames", "expected"), [(124, 124), (130, 124), (141, 141), (22, 22), (5, 22)])+ def test_snap(self, num_frames, expected):+ assert snap_reference_num_frames(num_frames) == expected+++class TestImageNormalization:+ def test_upscales_to_2048_short_edge(self):+ image = Image.new("RGB", (100, 200))+ out = normalize_reference_image(image, 2048)+ # scale = 2048/100 = 20.48 -> 2048x4096, both already multiples of 32.+ assert out.size == (2048, 4096)++ def test_rounds_to_32_grid(self):+ image = Image.new("RGB", (1000, 900))+ out = normalize_reference_image(image, 2048)+ # scale = 2048/900: 1000 -> 2275.6 -> round(71.1)*32 = 2272; 900 -> 2048 exactly.+ assert out.size == (2272, 2048)++ def test_no_area_cap(self):+ out = normalize_reference_image(Image.new("RGB", (2048, 2048)), 2048)+ assert out.size == (2048, 2048) # far above the 768x1344 canvas cap - deliberately++ def test_already_sized_image_is_returned_unresampled(self):+ image = Image.new("RGB", (2048, 2048))+ assert normalize_reference_image(image, 2048).size == (2048, 2048)++ def test_rejects_extreme_aspect(self):+ with pytest.raises(ValueError, match="1:4 and 4:1"):+ normalize_reference_image(Image.new("RGB", (100, 500)), 2048)++ def test_match_detail_targets_generation_area(self):+ # A 4000x4000 reference matched to a 768x1344 generation: short edge ~ sqrt(area).+ edge = resolve_reference_image_short_edge(4000, 4000, "match", 768 * 1344)+ assert edge == round((768 * 1344) ** 0.5)+ assert resolve_reference_image_short_edge(4000, 4000, "max", 768 * 1344) == 2048++ def test_match_never_exceeds_max(self):+ assert resolve_reference_image_short_edge(100, 100, "match", 4096 * 4096) == 2048++ def test_rejects_unknown_detail(self):+ with pytest.raises(ValueError, match="'max' or 'match'"):+ resolve_reference_image_short_edge(100, 100, "hd", 768 * 1344)+++class TestAudioNormalization:+ def test_truncates_at_native_rate_before_resampling(self):+ # 2 s of 48 kHz audio truncated to 1 s (24 frames) THEN resampled: the result must+ # equal resampling the pre-truncated first second - not truncating the resampled+ # stream, which would blend post-cut samples into the tail.+ rng = np.random.default_rng(1)+ wav = (rng.random((2, 96000)) * 2 - 1).astype(np.float32)+ out = normalize_reference_audio(wav, 48000, 24)+ expected = resample_sinc(torch.from_numpy(wav[:, :48000]), 48000, 32000)+ assert torch.equal(out, expected)++ def test_mono_is_upmixed(self):+ wav = np.ones((1, 32000), dtype=np.float32)+ out = normalize_reference_audio(wav, 32000, 24)+ assert out.shape == (2, 32000)+ assert torch.equal(out[0], out[1])++ def test_native_rate_passes_through(self):+ wav = np.linspace(-1, 1, 32000, dtype=np.float32)[None].repeat(2, axis=0)+ out = normalize_reference_audio(wav, 32000, 24)+ assert torch.equal(out, torch.from_numpy(wav[:, :32000]))++ def test_rejects_bad_shape(self):+ with pytest.raises(ValueError, match="mono or stereo"):+ normalize_reference_audio(np.zeros((3, 100), dtype=np.float32), 32000, 24)+++class TestSincResampleGoldens:+ """Baked torchaudio 2.11.0 outputs (sinc_interp_hann defaults). The port must match them+ bit for bit - these vectors ARE the upstream-parity contract."""++ WAV_SEED, WAV_LEN = 7, 481++ def _wav(self):+ g = torch.Generator().manual_seed(self.WAV_SEED)+ return torch.rand(2, self.WAV_LEN, generator=g) * 2 - 1++ @pytest.mark.parametrize(+ ("orig", "new", "length", "head0", "tail1"),+ [+ (+ 48,+ 32,+ 321,+ [+ "-0x1.6302e00000000p-3",+ "-0x1.e41a7c0000000p-4",+ "0x1.0a4f960000000p-2",+ "-0x1.ed4d160000000p-2",+ "-0x1.b646c60000000p-3",+ "-0x1.47e4e00000000p-4",+ "0x1.10e8640000000p-1",+ "0x1.06f1700000000p-1",+ ],+ ["0x1.a0e7d40000000p-1", "0x1.8aeff00000000p-2", "0x1.6e95ea0000000p-3", "0x1.c8cc3a0000000p-3"],+ ),+ (+ 441,+ 320,+ 350,+ [+ "-0x1.14e3f40000000p-3",+ "-0x1.cd6f7a0000000p-3",+ "0x1.73078e0000000p-2",+ "-0x1.8f71f80000000p-2",+ "-0x1.6888720000000p-2",+ "-0x1.71f04a0000000p-4",+ "0x1.af8ee40000000p-4",+ "0x1.9a03440000000p-1",+ ],+ ["0x1.ee63340000000p-2", "0x1.c1e3f00000000p-4", "0x1.4f6dcc0000000p-2", "-0x1.fc556c0000000p-5"],+ ),+ ],+ )+ def test_matches_torchaudio_golden(self, orig, new, length, head0, tail1):+ out = resample_sinc(self._wav(), orig, new)+ assert out.shape == (2, length)+ assert [v.hex() for v in out[0, :8].tolist()] == head0+ assert [v.hex() for v in out[1, -4:].tolist()] == tail1++ def test_identity_rate_returns_input(self):+ wav = self._wav()+ assert resample_sinc(wav, 32000, 32000) is wav+++class TestTextConditioningSampling:+ def test_samples_every_twelfth_frame(self):+ frames = np.arange(124)[:, None, None, None].astype(np.uint8) * np.ones((1, 2, 2, 3), dtype=np.uint8)+ sampled, timestamps = sample_text_conditioning_frames(frames, temporal_patch=2)+ assert [int(frame[0, 0, 0]) for frame in sampled] == list(range(0, 124, 12))+ assert len(sampled) == 11++ def test_block_timestamps_round_half_even(self):+ frames = np.zeros((124, 2, 2, 3), dtype=np.uint8)+ _, timestamps = sample_text_conditioning_frames(frames, temporal_patch=2)+ # 11 sampled frames at 0.5 s spacing, padded to 12: block means 0.25, 1.25, ... and+ # the label rendering "{:.1f}" turns 0.25 into "0.2" (round half to even).+ assert timestamps[:3] == [0.25, 1.25, 2.25]+ assert f"{timestamps[0]:.1f}" == "0.2"+ # The padded final block repeats the last timestamp.+ assert timestamps[-1] == 5.0++ def test_rejects_too_short_videos(self):+ with pytest.raises(ValueError, match="at least 13 frames"):+ sample_text_conditioning_frames(np.zeros((12, 2, 2, 3), dtype=np.uint8), temporal_patch=2)++ def test_minimum_is_temporal_patch_dependent(self):+ # temporal_patch=1 needs a single sampled frame; one source frame suffices.+ sampled, timestamps = sample_text_conditioning_frames(np.zeros((1, 2, 2, 3), dtype=np.uint8), temporal_patch=1)+ assert len(sampled) == 1 and timestamps == [0.0]+++class _StubTokenizer:+ """Records every text segment; returns one distinct id per call, so the id stream maps+ 1:1 onto the emission order."""++ def __init__(self):+ self.texts: list[str] = []+ self.special = {+ "<|vision_start|>": 90001,+ "<|image_pad|>": 90002,+ "<|vision_end|>": 90003,+ "<|video_pad|>": 90004,+ }++ def __call__(self, value, add_special_tokens=False):+ self.texts.append(value)+ return {"input_ids": [10000 + len(self.texts)]}++ def convert_tokens_to_ids(self, token):+ return self.special[token]+++class TestPresentation:+ def test_label_order_numbering_and_tags(self):+ tokenizer = _StubTokenizer()+ references = [+ MiniMaxH3TextReference(kind="video", has_audio=True),+ MiniMaxH3TextReference(kind="image"),+ MiniMaxH3TextReference(kind="audio", has_audio=True),+ ]+ token_ids, token_tags = build_ref2va_presentation(+ tokenizer,+ "PROMPT",+ references,+ image_token_counts=[3],+ video_block_token_counts=[2],+ video_block_timestamps=[[0.25, 1.25]],+ )++ # A sounded video emits its audio label BEFORE its video label; numbering is per+ # modality; the prompt comes last.+ assert tokenizer.texts == [+ "<Audio 1>: ",+ "<Video 1>: ",+ "<0.2 seconds>",+ "<1.2 seconds>",+ "<Picture 1>: ",+ "<Audio 2>: ",+ "PROMPT",+ ]+ # Two video vision blocks (2 tokens each + start/end) and one image block (3 tokens).+ assert token_ids.count(90004) == 4+ assert token_ids.count(90002) == 3+ assert token_ids.count(90001) == token_ids.count(90003) == 3+ # Tags: labels/timestamps/prompt are text (1), vision block rows are video (0).+ assert len(token_tags) == len(token_ids)+ # Two video blocks of (start + 2 pads + end) plus one image block of (start + 3 pads + end).+ assert token_tags.count(0) == 2 * 4 + 5+ assert token_tags[-1] == 1 # the prompt++ def test_silent_video_emits_no_audio_label(self):+ tokenizer = _StubTokenizer()+ build_ref2va_presentation(+ tokenizer,+ "P",+ [MiniMaxH3TextReference(kind="video", has_audio=False)],+ image_token_counts=[],+ video_block_token_counts=[1],+ video_block_timestamps=[[0.25]],+ )+ assert tokenizer.texts == ["<Video 1>: ", "<0.2 seconds>", "P"]