Skip to content

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

feat(models): add LTX-2.5 as an installable model family

Lincoln Stein8ee0be827436
diff --git a/invokeai/app/invocations/metadata.py b/invokeai/app/invocations/metadata.py
index 139243dc88..c7a58ac3e5 100644
--- a/invokeai/app/invocations/metadata.py
+++ b/invokeai/app/invocations/metadata.py
@@ -191,6 +191,8 @@ GENERATION_MODES = Literal[
"wan_extend_video",
"minimax_h3_t2v",
"minimax_h3_i2v",
+ "ltx2_t2v",
+ "ltx2_i2v",
"minimax_h3_lf2v",
"minimax_h3_flf2v",
"minimax_h3_extend_video",
diff --git a/invokeai/app/services/model_install/model_install_default.py b/invokeai/app/services/model_install/model_install_default.py
index 88e286b864..d2e28037d0 100644
--- a/invokeai/app/services/model_install/model_install_default.py
+++ b/invokeai/app/services/model_install/model_install_default.py
@@ -84,6 +84,26 @@ INSTALL_MARKER_FILENAME = ".invokeai_install.json"
INSTALL_MARKER_VERSION = 1
+# Filesystems cap a single path component at 255 bytes. A source that lists many explicit files
+# (an LTX-2 component folder names eight) would otherwise produce a folder name that cannot be
+# created; the combined name is only a label, so it is shortened past this point with a count.
+_MAX_COMBINED_SUBFOLDER_NAME = 96
+
+
+def _combined_subfolder_name(subfolder_names: List[str]) -> str:
+ combined = "_".join(subfolder_names)
+ if len(combined) <= _MAX_COMBINED_SUBFOLDER_NAME:
+ return combined
+ kept: List[str] = []
+ for name in subfolder_names:
+ candidate = "_".join([*kept, name])
+ if kept and len(candidate) > _MAX_COMBINED_SUBFOLDER_NAME - 16:
+ break
+ kept.append(name)
+ remaining = len(subfolder_names) - len(kept)
+ return "_".join(kept) + (f"_and_{remaining}_more" if remaining else "")
+
+
class ModelInstallService(ModelInstallServiceBase):
"""class for InvokeAI model installation."""
@@ -1408,7 +1428,7 @@ class ModelInstallService(ModelInstallServiceBase):
subfolder_names = [
(sf.stem if sf.suffix else sf.name).replace("/", "_").replace("\\", "_") for sf in subfolders
]
- combined_name = "_".join(subfolder_names)
+ combined_name = _combined_subfolder_name(subfolder_names)
path_to_add = Path(f"{top}_{combined_name}")
parts: List[RemoteModelFile] = []
diff --git a/invokeai/app/services/model_records/model_records_base.py b/invokeai/app/services/model_records/model_records_base.py
index 5bf2a40c62..5d7d2dedb2 100644
--- a/invokeai/app/services/model_records/model_records_base.py
+++ b/invokeai/app/services/model_records/model_records_base.py
@@ -27,6 +27,7 @@ from invokeai.backend.model_manager.taxonomy import (
Flux2VariantType,
FluxVariantType,
Krea2VariantType,
+ LTX2VariantType,
MiniMaxH3VariantType,
MistralVariantType,
ModelFormat,
@@ -147,6 +148,7 @@ class ModelRecordChanges(BaseModelExcludeNull):
| Qwen3VLVariantType
| Krea2VariantType
| MiniMaxH3VariantType
+ | LTX2VariantType
| MistralVariantType
| PiDDecoderVariantType
] = Field(description="The variant of the model.", default=None)
diff --git a/invokeai/backend/architectures/defs/ltx_2.py b/invokeai/backend/architectures/defs/ltx_2.py
new file mode 100644
index 0000000000..c2702d7100
--- /dev/null
+++ b/invokeai/backend/architectures/defs/ltx_2.py
@@ -0,0 +1,41 @@
+"""What the ltx-2 architecture declares."""
+
+from invokeai.backend.architectures.facets.conditioning import ConditioningFacet
+from invokeai.backend.architectures.facets.default_settings import DefaultSettingsFacet
+from invokeai.backend.architectures.facets.features import FeaturesFacet, NegativePrompt
+from invokeai.backend.architectures.facets.latent_space import LTX2_128, LatentSpaceFacet
+from invokeai.backend.architectures.facets.modality import ModalityFacet
+from invokeai.backend.architectures.facets.variant import VariantFacet
+from invokeai.backend.architectures.registry import register
+from invokeai.backend.model_manager.configs.default_settings import MainModelDefaultSettings
+from invokeai.backend.model_manager.taxonomy import BaseModelType, LTX2VariantType, ModelType
+from invokeai.backend.stable_diffusion.diffusion.conditioning_data import LTX2ConditioningInfo
+
+register(
+ BaseModelType.LTX2,
+ LatentSpaceFacet(LTX2_128),
+ ConditioningFacet(LTX2ConditioningInfo),
+ # Dev samples a guided ~40-step flow schedule (video CFG 3.0); Distilled runs a fixed 8-sigma
+ # schedule with guidance off, so cfg_scale 1.0 means "none". 1280x704 is a 32-multiple 16:9
+ # canvas that a 121-frame clip fits on one 48 GB card at.
+ DefaultSettingsFacet(
+ {
+ LTX2VariantType.Distilled: MainModelDefaultSettings(steps=8, cfg_scale=1.0, width=1280, height=704),
+ None: MainModelDefaultSettings(steps=40, cfg_scale=3.0, width=1280, height=704),
+ }
+ ),
+ # Video only in this version: text-to-video and first-frame image-to-video, with synchronized
+ # audio generated alongside. Keyframes, extension and the audio/video-conditioned modes follow.
+ ModalityFacet(frozenset({"t2v", "i2v"}), metadata_slug="ltx2"),
+ FeaturesFacet(
+ # The negative prompt only reaches the model through classifier-free guidance, which the
+ # distilled variant runs without.
+ negative_prompt=NegativePrompt(visible=True, usage="cfg-gated"),
+ # The VAE's 32x spatial compression at patch size 1.
+ dimension_grid=32,
+ guidance_label="CFG",
+ # No guidance range yet: `ltx2_denoise` (and the slider that reaches it) lands with the
+ # generation nodes, which is where the range is declared and checked.
+ ),
+ VariantFacet({ModelType.Main: LTX2VariantType}),
+)
diff --git a/invokeai/backend/architectures/facets/latent_space.py b/invokeai/backend/architectures/facets/latent_space.py
index f3db89859f..df3d6403ee 100644
--- a/invokeai/backend/architectures/facets/latent_space.py
+++ b/invokeai/backend/architectures/facets/latent_space.py
@@ -198,6 +198,141 @@ MINIMAX_H3_LATENT_RGB_FACTORS = [
[-0.0099, 0.0042, -0.0358],
]
MINIMAX_H3_LATENT_RGB_BIAS = [0.1189, 0.1415, -0.0034]
+# LTX-2.5's video VAE: 128 latent channels, 32x spatial downscale. Least-squares fit of
+# NORMALIZED posterior-mean latents against 32x-downscaled RGB in [-1, 1], over 48 real images
+# plus synthetic gradients/flat patches, using the released 2.5 video VAE encoder (fit rms
+# 0.075). Single-frame encodes: the preview projects one latent frame at a time.
+LTX2_LATENT_RGB_FACTORS = [
+ [0.0039, -0.0080, 0.0047],
+ [0.0001, 0.0003, 0.0001],
+ [-0.0004, 0.0030, 0.0042],
+ [0.0078, 0.0048, 0.0028],
+ [-0.0063, -0.0020, 0.0035],
+ [0.0057, -0.0029, -0.0011],
+ [-0.0084, -0.0153, -0.0193],
+ [-0.0207, 0.0017, 0.0124],
+ [-0.0074, 0.0010, 0.0009],
+ [0.0070, 0.0079, -0.0019],
+ [-0.0048, -0.0039, -0.0029],
+ [-0.0003, 0.0089, 0.0130],
+ [0.0130, 0.0113, -0.0010],
+ [0.0066, -0.0019, -0.0128],
+ [0.0011, 0.0006, 0.0005],
+ [-0.0002, -0.0040, -0.0053],
+ [-0.0005, 0.0029, 0.0075],
+ [-0.0052, -0.0028, 0.0006],
+ [-0.0028, -0.0028, 0.0005],
+ [0.0060, 0.0001, 0.0038],
+ [0.0148, 0.0025, -0.0057],
+ [-0.0022, -0.0006, -0.0009],
+ [0.0017, -0.0039, 0.0035],
+ [-0.0023, -0.0088, 0.0064],
+ [0.0061, 0.0092, 0.0237],
+ [-0.0085, -0.0079, 0.0002],
+ [-0.0102, -0.0088, -0.0142],
+ [-0.0070, 0.0007, 0.0013],
+ [0.0057, -0.0000, -0.0030],
+ [0.0003, -0.0007, 0.0017],
+ [-0.0029, 0.0035, 0.0062],
+ [-0.0012, 0.0002, 0.0012],
+ [0.0020, 0.0006, 0.0038],
+ [-0.0010, -0.0030, -0.0055],
+ [0.0014, 0.0011, 0.0059],
+ [0.0004, 0.0008, 0.0041],
+ [-0.0004, -0.0038, -0.0005],
+ [0.0020, 0.0015, 0.0010],
+ [0.0033, -0.0006, -0.0012],
+ [0.0020, -0.0022, -0.0022],
+ [0.0003, 0.0014, 0.0010],
+ [-0.0107, -0.0068, -0.0016],
+ [-0.0027, -0.0020, -0.0001],
+ [-0.0038, 0.0005, -0.0010],
+ [-0.0027, -0.0041, -0.0051],
+ [0.0132, 0.0168, 0.0239],
+ [0.0038, 0.0038, 0.0008],
+ [-0.0021, 0.0001, 0.0020],
+ [-0.0018, 0.0008, 0.0024],
+ [0.0008, -0.0012, 0.0002],
+ [0.0050, 0.0011, 0.0034],
+ [0.0039, 0.0070, 0.0054],
+ [0.0006, -0.0011, 0.0009],
+ [-0.0038, -0.0018, -0.0018],
+ [-0.0046, -0.0027, -0.0065],
+ [-0.0149, -0.0102, 0.0042],
+ [-0.0011, 0.0002, -0.0029],
+ [0.0798, 0.0779, 0.1003],
+ [-0.0023, -0.0031, -0.0003],
+ [-0.0019, -0.0011, -0.0008],
+ [0.0032, 0.0020, -0.0017],
+ [-0.0012, -0.0012, -0.0008],
+ [-0.0043, 0.0007, 0.0015],
+ [0.0076, -0.0021, 0.0025],
+ [-0.0175, 0.0000, 0.0057],
+ [-0.0116, -0.0041, -0.0172],
+ [-0.0040, 0.0006, 0.0024],
+ [-0.0077, -0.0037, -0.0020],
+ [0.0010, 0.0008, 0.0002],
+ [0.0025, -0.0001, 0.0023],
+ [0.0007, -0.0001, -0.0023],
+ [0.0002, -0.0000, -0.0003],
+ [-0.0170, -0.0027, -0.0163],
+ [0.0005, 0.0014, 0.0006],
+ [-0.0038, 0.0015, 0.0017],
+ [-0.1267, -0.1276, -0.0992],
+ [0.0007, -0.0031, -0.0012],
+ [-0.0033, -0.0007, -0.0014],
+ [0.0042, -0.0011, -0.0059],
+ [-0.0004, -0.0036, 0.0009],
+ [0.0052, -0.0041, -0.0047],
+ [0.0097, 0.0091, 0.0030],
+ [0.0138, 0.0001, 0.0029],
+ [-0.0024, -0.0054, -0.0062],
+ [-0.0036, -0.0016, -0.0004],
+ [-0.0004, -0.0014, -0.0007],
+ [0.0150, 0.0080, 0.0099],
+ [0.0131, 0.0003, -0.0017],
+ [0.0033, 0.0012, 0.0036],
+ [-0.0068, -0.0021, -0.0039],
+ [-0.0005, -0.0014, 0.0001],
+ [-0.0046, -0.0022, -0.0066],
+ [-0.0021, 0.0001, 0.0134],
+ [-0.0035, -0.0074, -0.0034],
+ [0.0026, 0.0031, -0.0013],
+ [-0.0022, 0.0003, -0.0042],
+ [-0.0048, 0.0105, 0.0005],
+ [0.0011, -0.0383, -0.0655],
+ [-0.0012, 0.0094, -0.0055],
+ [-0.0020, -0.0028, -0.0005],
+ [-0.0123, -0.0039, -0.0032],
+ [0.0075, -0.0086, -0.0034],
+ [0.0011, -0.0017, 0.0027],
+ [0.1109, 0.1516, 0.1298],
+ [0.0022, 0.0000, -0.0019],
+ [0.0053, 0.0008, 0.0040],
+ [-0.0010, -0.0009, 0.0001],
+ [-0.0057, 0.0024, 0.0035],
+ [-0.0191, -0.0196, -0.0024],
+ [0.0128, 0.0144, 0.0186],
+ [0.0083, 0.0006, -0.0436],
+ [0.0004, 0.0064, 0.0063],
+ [-0.0097, -0.0054, -0.0047],
+ [-0.0066, 0.0029, -0.0050],
+ [-0.0032, -0.0073, 0.0057],
+ [0.0115, 0.0084, 0.0083],
+ [-0.0821, -0.0599, -0.0339],
+ [0.0017, 0.0029, 0.0008],
+ [0.0024, 0.0047, -0.0013],
+ [0.0071, 0.0051, -0.0008],
+ [0.0056, -0.0006, -0.0022],
+ [0.0046, 0.0029, 0.0050],
+ [-0.0026, -0.0020, 0.0005],
+ [-0.0010, 0.0016, 0.0001],
+ [-0.0021, -0.0017, 0.0008],
+ [-0.0055, 0.0010, -0.0006],
+ [-0.0055, -0.0106, -0.0146],
+ [-0.0008, -0.0017, -0.0007],
+]
+LTX2_LATENT_RGB_BIAS = [-0.2223, -0.2864, -0.2917]
# Wan 2.2 TI2V-5B uses Wan2.2-VAE with 48 latent channels and 16x spatial downscale.
# Factors come from ComfyUI's Wan22 latent_format.
WAN22_LATENT_RGB_FACTORS = [
@@ -371,6 +506,14 @@ MINIMAX_H3_24 = LatentSpace(
rgb_bias=MINIMAX_H3_LATENT_RGB_BIAS,
)
+LTX2_128 = LatentSpace(
+ channels=128,
+ spatial_compression=32,
+ rgb_factors=LTX2_LATENT_RGB_FACTORS,
+ rgb_bias=LTX2_LATENT_RGB_BIAS,
+)
+"""LTX-2.5's video VAE."""
+
WAN22_48 = LatentSpace(
channels=48,
spatial_compression=16,
diff --git a/invokeai/backend/ltx2/__init__.py b/invokeai/backend/ltx2/__init__.py
new file mode 100644
index 0000000000..7f355da2cf
--- /dev/null
+++ b/invokeai/backend/ltx2/__init__.py
@@ -0,0 +1,7 @@
+"""LTX-2 (Lightricks) audio-video generation: model-manager glue and the inference recipe.
+
+The model classes come from the installed diffusers (``LTX2VideoTransformer3DModel``,
+``AutoencoderKLLTX2Video``, ``AutoencoderKLLTX2Audio``, the text connectors, vocoder and latent
+upsamplers); this package owns what diffusers does not ship in a form this app can use: how the
+released single files are recognised and mapped onto those classes, and the denoising recipe.
+"""
diff --git a/invokeai/backend/ltx2/checkpoint_layout.py b/invokeai/backend/ltx2/checkpoint_layout.py
new file mode 100644
index 0000000000..4876acfb3d
--- /dev/null
+++ b/invokeai/backend/ltx2/checkpoint_layout.py
@@ -0,0 +1,148 @@
+"""How the released LTX-2 single files are told apart.
+
+Lightricks and the mirrors that repack their weights (WanGP's ``DeepBeepMeep/LTX-2``, the ComfyUI
+repacks) ship one safetensors file per component, all in the official (non-diffusers) key layout:
+the transformer under ``model.diffusion_model.*``, the text connectors under the same prefix, the
+video VAE bare (``encoder.*`` / ``decoder.*``), the audio VAE under ``audio_vae.*`` and the vocoder
+under ``vocoder.*``. Some releases bundle several of these into one file. This module classifies a
+file by its key names alone -- the header is read, never the tensors -- so both identification
+(``configs/main.py``) and the loaders share one notion of "which component is this".
+
+Nothing here imports torch or diffusers: identification runs in the installer's probe, which must
+stay cheap and import-light.
+"""
+
+import json
+from collections.abc import Iterable, Mapping
+from typing import Any, Final
+
+TRANSFORMER_PREFIX: Final = "model.diffusion_model."
+"""Prefix the official layout puts on transformer and connector keys."""
+
+# Component roles a single file can carry. Values double as the keys of a folder record's
+# ``components`` map, so they are persisted in the model database: never rename one.
+ROLE_TRANSFORMER: Final = "transformer"
+ROLE_VIDEO_CONNECTOR: Final = "video_connector"
+ROLE_AUDIO_CONNECTOR: Final = "audio_connector"
+ROLE_TEXT_PROJECTION: Final = "text_projection"
+ROLE_VIDEO_VAE: Final = "video_vae"
+ROLE_DIFFUSION_VIDEO_VAE: Final = "diffusion_video_vae"
+ROLE_AUDIO_VAE: Final = "audio_vae"
+ROLE_VOCODER: Final = "vocoder"
+ROLE_SPATIAL_UPSAMPLER: Final = "spatial_upsampler"
+ROLE_TEMPORAL_UPSAMPLER: Final = "temporal_upsampler"
+
+ALL_ROLES: Final = frozenset(
+ {
+ ROLE_TRANSFORMER,
+ ROLE_VIDEO_CONNECTOR,
+ ROLE_AUDIO_CONNECTOR,
+ ROLE_TEXT_PROJECTION,
+ ROLE_VIDEO_VAE,
+ ROLE_DIFFUSION_VIDEO_VAE,
+ ROLE_AUDIO_VAE,
+ ROLE_VOCODER,
+ ROLE_SPATIAL_UPSAMPLER,
+ ROLE_TEMPORAL_UPSAMPLER,
+ }
+)
+
+# The transformer fingerprint: the audio->video cross-attention gate's timestep embedder exists in
+# no other family probed here. Diffusers' single-file detector keys on the same tensor.
+TRANSFORMER_FINGERPRINT_KEY: Final = "av_ca_a2v_gate_adaln_single.emb.timestep_embedder.linear_1.weight"
+
+_VIDEO_VAE_MARKER: Final = "encoder.conv_in.conv.weight"
+_AUDIO_VAE_PREFIX: Final = "audio_vae."
+_VOCODER_PREFIX: Final = "vocoder."
+_VIDEO_CONNECTOR_PREFIX: Final = "video_embeddings_connector."
+_AUDIO_CONNECTOR_PREFIX: Final = "audio_embeddings_connector."
+_TEXT_PROJECTION_PREFIX: Final = "text_embedding_projection."
+_UPSAMPLER_MARKER: Final = "initial_conv.weight"
+
+
+def strip_transformer_prefix(key: str) -> str:
+ """``model.diffusion_model.x`` -> ``x``; other keys pass through."""
+ return key[len(TRANSFORMER_PREFIX) :] if key.startswith(TRANSFORMER_PREFIX) else key
+
+
+def header_config(metadata: Mapping[str, str] | None) -> dict[str, Any]:
+ """The ``config`` JSON the official files embed in their safetensors header, or ``{}``."""
+ raw = (metadata or {}).get("config")
+ if not isinstance(raw, str):
+ return {}
+ try:
+ parsed = json.loads(raw)
+ except ValueError:
+ return {}
+ return parsed if isinstance(parsed, dict) else {}
+
+
+def header_model_version(metadata: Mapping[str, str] | None) -> str | None:
+ """The ``model_version`` the official files embed (``"2.5.0"``), or None."""
+ version = (metadata or {}).get("model_version")
+ return version if isinstance(version, str) and version else None
+
+
+def generation_from_version(version: str | None) -> str | None:
+ """``"2.5.0"`` -> ``"2.5"``; None when the string is not ``major.minor[...]``."""
+ if not version:
+ return None
+ parts = version.split(".")
+ if len(parts) < 2 or not (parts[0].isdigit() and parts[1].isdigit()):
+ return None
+ return f"{parts[0]}.{parts[1]}"
+
+
+def classify_roles(
+ state_dict: Mapping[str, Any] | Iterable[str], metadata: Mapping[str, str] | None = None
+) -> set[str]:
+ """Which components a file holds, from its key names.
+
+ ``state_dict`` may be a real or header-only (meta tensor) state dict, or just its keys; tensor
+ ranks are consulted only to tell the two x2 latent upsamplers apart when the header cannot.
+ A file may carry several roles (the bundled 2.0/2.3 releases hold transformer, VAEs and more in
+ one file); an unrelated file yields the empty set.
+ """
+ values: Mapping[str, Any] = state_dict if isinstance(state_dict, Mapping) else {}
+ keys = state_dict.keys() if isinstance(state_dict, Mapping) else state_dict
+ stripped = {strip_transformer_prefix(k) for k in keys if isinstance(k, str)}
+ roles: set[str] = set()
+
+ if TRANSFORMER_FINGERPRINT_KEY in stripped and any(k.startswith("transformer_blocks.") for k in stripped):
+ roles.add(ROLE_TRANSFORMER)
+ if any(k.startswith(_VIDEO_CONNECTOR_PREFIX) for k in stripped):
+ roles.add(ROLE_VIDEO_CONNECTOR)
+ if any(k.startswith(_AUDIO_CONNECTOR_PREFIX) for k in stripped):
+ roles.add(ROLE_AUDIO_CONNECTOR)
+ if any(k.startswith(_TEXT_PROJECTION_PREFIX) for k in stripped):
+ roles.add(ROLE_TEXT_PROJECTION)
+ if any(k.startswith(_AUDIO_VAE_PREFIX) for k in stripped):
+ roles.add(ROLE_AUDIO_VAE)
+ if any(k.startswith(_VOCODER_PREFIX) for k in stripped):
+ roles.add(ROLE_VOCODER)
+
+ # The video VAE is bare in the split files and under ``vae.`` in the bundled ones.
+ if _VIDEO_VAE_MARKER in stripped or f"vae.{_VIDEO_VAE_MARKER}" in stripped:
+ if any(k.startswith(("decoder.diff_blocks.", "vae.decoder.diff_blocks.")) for k in stripped):
+ roles.add(ROLE_DIFFUSION_VIDEO_VAE)
+ else:
+ roles.add(ROLE_VIDEO_VAE)
+
+ if _UPSAMPLER_MARKER in stripped and "res_blocks.0.conv1.weight" in stripped and "final_conv.weight" in stripped:
+ config = header_config(metadata)
+ if config.get("temporal_upsample") is True:
+ roles.add(ROLE_TEMPORAL_UPSAMPLER)
+ elif config.get("spatial_upsample") is True:
+ roles.add(ROLE_SPATIAL_UPSAMPLER)
+ else:
+ # Without the header flags the two x2 files are told apart by their upsampling conv: the
+ # spatial x2 file's pixel-shuffle conv is 2-D (kernel 3x3), the temporal one's is 3-D.
+ conv = values.get("upsampler.0.weight")
+ roles.add(ROLE_TEMPORAL_UPSAMPLER if getattr(conv, "ndim", 4) == 5 else ROLE_SPATIAL_UPSAMPLER)
+
+ return roles
+
+
+def is_distilled_filename(name: str) -> bool:
+ """Dev and Distilled transformers are key-for-key identical; the filename is the classifier."""
+ return "distilled" in name.lower()
diff --git a/invokeai/backend/ltx2/component_configs.py b/invokeai/backend/ltx2/component_configs.py
new file mode 100644
index 0000000000..6c45a6c662
--- /dev/null
+++ b/invokeai/backend/ltx2/component_configs.py
@@ -0,0 +1,327 @@
+"""The diffusers configs and key maps for the released LTX-2.5 components.
+
+The official files embed a config in their safetensors header, but it is the *official* code's
+config (``AVTransformer3DModel``, ``CausalVideoAutoencoder``, ...), not diffusers', and the
+diffusers default configs describe LTX-2.0. Each mapping here was derived by instantiating the
+diffusers class on the meta device and matching every parameter name and shape against the released
+2.5 file (0 missing, 0 unexpected, 0 shape mismatches for every component); the loaders re-check the
+shapes on the real tensors, so a differently built file fails at load time with a named tensor
+rather than at the first forward.
+
+Key maps go from the official layout (``model.diffusion_model.*``, ``vae.*``, ...) to diffusers
+attribute paths. Diffusers ships converters for the transformer and the two VAEs
+(``diffusers.loaders.single_file_utils.convert_ltx2_*``); they are reused where they are complete and
+patched where they stop short of 2.5 (the transformer's prompt AdaLN, the VAE's fourth decoder
+stage). The connectors, text projection and vocoder have no diffusers converter at all.
+"""
+
+import re
+from collections.abc import Mapping
+from typing import Any, Final
+
+# --- Transformer ---------------------------------------------------------------------------------
+
+LTX2_5_TRANSFORMER_CONFIG: Final[dict[str, Any]] = {
+ "in_channels": 128,
+ "out_channels": 128,
+ "patch_size": 1,
+ "patch_size_t": 1,
+ "num_attention_heads": 32,
+ "attention_head_dim": 128,
+ "cross_attention_dim": 4096,
+ "vae_scale_factors": (8, 32, 32),
+ "pos_embed_max_pos": 20,
+ "base_height": 2048,
+ "base_width": 2048,
+ # LTX-2.3+ gated self-attention and prompt-KV modulation, on both streams.
+ "gated_attn": True,
+ "cross_attn_mod": True,
+ "audio_in_channels": 128,
+ "audio_out_channels": 128,
+ "audio_num_attention_heads": 32,
+ "audio_attention_head_dim": 64,
+ "audio_cross_attention_dim": 2048,
+ "audio_scale_factor": 4,
+ "audio_pos_embed_max_pos": 20,
+ "audio_sampling_rate": 16000,
+ "audio_hop_length": 160,
+ "audio_gated_attn": True,
+ "audio_cross_attn_mod": True,
+ "num_layers": 48,
+ "activation_fn": "gelu-approximate",
+ "qk_norm": "rms_norm_across_heads",
+ "norm_elementwise_affine": False,
+ "norm_eps": 1e-6,
+ "caption_channels": 3840,
+ "attention_bias": True,
+ "attention_out_bias": True,
+ "rope_theta": 10000.0,
+ "rope_double_precision": True,
+ "causal_offset": 1,
+ "timestep_scale_multiplier": 1000,
+ "cross_attn_timestep_scale_multiplier": 1000,
+ "rope_type": "split",
+ # 2.3+ project the caption in the connectors, not in the transformer.
+ "use_prompt_embeddings": False,
+ # No weights are involved: the STG pass installs the perturbed processor at runtime.
+ "perturbed_attn": False,
+ # 2.5 dropped the video feed-forward biases but kept the audio ones.
+ "ff_bias": False,
+ "audio_ff_bias": True,
+ "use_prompt_adaln_single": True,
+ "use_keyframes_abs_pos_embedding": True,
+}
+
+# What ``convert_ltx2_transformer_to_diffusers`` leaves in the official spelling: the prompt
+# cross-attention AdaLN heads (its rename table only covers the ``adaln_single`` pair).
+TRANSFORMER_RENAMES_AFTER_DIFFUSERS: Final[tuple[tuple[str, str], ...]] = (
+ ("audio_prompt_adaln_single.", "audio_prompt_adaln."),
+ ("prompt_adaln_single.", "prompt_adaln."),
+)
+
+# Components the official transformer files may bundle beside the transformer; dropped by the
+# transformer loader, they are loaded from the component folder instead.
+TRANSFORMER_FOREIGN_PREFIXES: Final[tuple[str, ...]] = (
+ "video_embeddings_connector.",
+ "audio_embeddings_connector.",
+ "vae.",
+ "audio_vae.",
+ "vocoder.",
+ "text_embedding_projection.",
+)
+
+
+def finish_transformer_keys(sd: dict[str, Any]) -> tuple[dict[str, Any], dict[str, str]]:
+ """Apply the renames diffusers' transformer converter misses; returns (sd, key_map) where
+ ``key_map`` records every key that changed (old -> new)."""
+ key_map: dict[str, str] = {}
+ out: dict[str, Any] = {}
+ for key, value in sd.items():
+ new_key = key
+ for old, new in TRANSFORMER_RENAMES_AFTER_DIFFUSERS:
+ if new_key.startswith(old):
+ new_key = new + new_key[len(old) :]
+ break
+ if new_key != key:
+ key_map[key] = new_key
+ out[new_key] = value
+ return out, key_map
+
+
+# --- Video VAE -----------------------------------------------------------------------------------
+
+LTX2_5_VIDEO_VAE_CONFIG: Final[dict[str, Any]] = {
+ "in_channels": 3,
+ "out_channels": 3,
+ "latent_channels": 128,
+ # Encoder: 4 down blocks (128->256 spatial, ->512 temporal, ->1024 spatiotemporal,
+ # ->1024 spatiotemporal) then a 1024-wide mid block; 4/6/4/2 resnets per block, 2 in the mid.
+ "block_out_channels": (256, 512, 1024, 1024),
+ "layers_per_block": (4, 6, 4, 2, 2),
+ "downsample_type": ("spatial", "temporal", "spatiotemporal", "spatiotemporal"),
+ "spatio_temporal_scaling": (True, True, True, True),
+ # Decoder (outermost first, as diffusers lists it): 128 <-spatial- 256 <-temporal- 512
+ # <-all(x1, channel preserving)- 512 <-all(x2)- 1024 mid. The third stage keeps its width, which
+ # is what the unit upsample factor encodes.
+ "decoder_block_out_channels": (256, 512, 512, 1024),
+ "decoder_layers_per_block": (4, 6, 4, 2, 2),
+ "decoder_spatio_temporal_scaling": (True, True, True, True),
+ "decoder_inject_noise": (False, False, False, False, False),
+ "upsample_type": ("spatiotemporal", "spatiotemporal", "temporal", "spatial"),
+ "upsample_residual": (False, False, False, False),
+ "upsample_factor": (2, 2, 1, 2),
+ "timestep_conditioning": False,
+ "patch_size": 4,
+ "patch_size_t": 1,
+ "resnet_norm_eps": 1e-6,
+ "scaling_factor": 1.0,
+ "encoder_causal": True,
+ # The 2.5 header says ``causal_decoder: false`` and ``spatial_padding_mode: zeros`` for both halves.
+ "decoder_causal": False,
+ "encoder_spatial_padding_mode": "zeros",
+ "decoder_spatial_padding_mode": "zeros",
+ "spatial_compression_ratio": 32,
+ "temporal_compression_ratio": 8,
+}
+
+# Official flat block indices -> diffusers nested paths. The encoder half is what diffusers' own
+# converter does; the decoder half extends it by the fourth upsampling stage 2.5 added.
+_VIDEO_VAE_BLOCK_RENAMES: Final[dict[str, str]] = {
+ "encoder.down_blocks.0": "encoder.down_blocks.0",
+ "encoder.down_blocks.1": "encoder.down_blocks.0.downsamplers.0",
+ "encoder.down_blocks.2": "encoder.down_blocks.1",
+ "encoder.down_blocks.3": "encoder.down_blocks.1.downsamplers.0",
+ "encoder.down_blocks.4": "encoder.down_blocks.2",
+ "encoder.down_blocks.5": "encoder.down_blocks.2.downsamplers.0",
+ "encoder.down_blocks.6": "encoder.down_blocks.3",
+ "encoder.down_blocks.7": "encoder.down_blocks.3.downsamplers.0",
+ "encoder.down_blocks.8": "encoder.mid_block",
+ "decoder.up_blocks.0": "decoder.mid_block",
+ "decoder.up_blocks.1": "decoder.up_blocks.0.upsamplers.0",
+ "decoder.up_blocks.2": "decoder.up_blocks.0",
+ "decoder.up_blocks.3": "decoder.up_blocks.1.upsamplers.0",
+ "decoder.up_blocks.4": "decoder.up_blocks.1",
+ "decoder.up_blocks.5": "decoder.up_blocks.2.upsamplers.0",
+ "decoder.up_blocks.6": "decoder.up_blocks.2",
+ "decoder.up_blocks.7": "decoder.up_blocks.3.upsamplers.0",
+ "decoder.up_blocks.8": "decoder.up_blocks.3",
+}
+_VIDEO_VAE_BLOCK_KEY = re.compile(r"^((?:encoder\.down_blocks|decoder\.up_blocks)\.\d+)(\..*)$")
+_VIDEO_VAE_STATS_RENAMES: Final[dict[str, str]] = {
+ "per_channel_statistics.mean-of-means": "latents_mean",
+ "per_channel_statistics.std-of-means": "latents_std",
+}
+_VIDEO_VAE_DROPPED_KEYS: Final[frozenset[str]] = frozenset(
+ {"per_channel_statistics.channel", "per_channel_statistics.mean-of-stds"}
+)
+
+
+def convert_video_vae_keys(sd: Mapping[str, Any]) -> dict[str, Any]:
+ """Official video VAE keys (bare or under ``vae.``) -> diffusers ``AutoencoderKLLTX2Video`` keys."""
+ out: dict[str, Any] = {}
+ for key, value in sd.items():
+ key = key[len("vae.") :] if key.startswith("vae.") else key
+ if key in _VIDEO_VAE_DROPPED_KEYS:
+ continue
+ if key in _VIDEO_VAE_STATS_RENAMES:
+ out[_VIDEO_VAE_STATS_RENAMES[key]] = value
+ continue
+ match = _VIDEO_VAE_BLOCK_KEY.match(key)
+ if match:
+ block, rest = match.groups()
+ key = _VIDEO_VAE_BLOCK_RENAMES[block] + rest
+ out[key.replace(".res_blocks.", ".resnets.")] = value
+ return out
+
+
+# --- Audio VAE -----------------------------------------------------------------------------------
+
+# The released audio VAE is exactly diffusers' ``AutoencoderKLLTX2Audio`` default (8 latent
+# channels, 64 mel bins, 16 kHz, hop 160, causal along the time axis).
+LTX2_5_AUDIO_VAE_CONFIG: Final[dict[str, Any]] = {}
+
+
+def convert_audio_vae_keys(sd: Mapping[str, Any]) -> dict[str, Any]:
+ """Official ``audio_vae.*`` keys -> diffusers ``AutoencoderKLLTX2Audio`` keys."""
+ out: dict[str, Any] = {}
+ for key, value in sd.items():
+ key = key[len("audio_vae.") :] if key.startswith("audio_vae.") else key
+ out[_VIDEO_VAE_STATS_RENAMES.get(key, key)] = value
+ return out
+
+
+# --- Vocoder -------------------------------------------------------------------------------------
+
+# 2.5 ships the 48 kHz vocoder: the 24 kHz HiFi-GAN followed by a bandwidth-extension generator,
+# which is diffusers' ``LTX2VocoderWithBWE`` default.
+LTX2_5_VOCODER_CONFIG: Final[dict[str, Any]] = {}
+
+_VOCODER_RENAMES: Final[tuple[tuple[str, str], ...]] = (
+ (".conv_pre.", ".conv_in."),
+ (".conv_post.", ".conv_out."),
+ (".act_post.", ".act_out."),
+ (".ups.", ".upsamplers."),
+ (".resblocks.", ".resnets."),
+ (".downsample.lowpass.filter", ".downsample.filter"),
+)
+
+
+def convert_vocoder_keys(sd: Mapping[str, Any]) -> dict[str, Any]:
+ """Official ``vocoder.{vocoder,bwe_generator,mel_stft}.*`` keys -> diffusers ``LTX2VocoderWithBWE``.
+
+ The anti-aliasing ``resampler.filter`` buffer is computed by the constructor and is not stored.
+ """
+ out: dict[str, Any] = {}
+ for key, value in sd.items():
+ key = key[len("vocoder.") :] if key.startswith("vocoder.") else key
+ key = "." + key
+ for old, new in _VOCODER_RENAMES:
+ key = key.replace(old, new)
+ out[key[1:]] = value
+ return out
+
+
+# --- Text connectors -----------------------------------------------------------------------------
+
+LTX2_5_CONNECTORS_CONFIG: Final[dict[str, Any]] = {
+ "caption_channels": 3840,
+ # 48 Gemma-4 layers + the embedding output, all stacked.
+ "text_proj_in_factor": 49,
+ "video_connector_num_attention_heads": 32,
+ "video_connector_attention_head_dim": 128,
+ "video_connector_num_layers": 8,
+ "video_connector_num_learnable_registers": 128,
+ "video_gated_attn": True,
+ "audio_connector_num_attention_heads": 32,
+ "audio_connector_attention_head_dim": 64,
+ "audio_connector_num_layers": 8,
+ "audio_connector_num_learnable_registers": 128,
+ "audio_gated_attn": True,
+ "connector_rope_base_seq_len": 4096,
+ "rope_theta": 10000.0,
+ "rope_double_precision": True,
+ "causal_temporal_positioning": False,
+ "rope_type": "split",
+ "per_modality_projections": True,
+ "video_hidden_dim": 4096,
+ "audio_hidden_dim": 2048,
+ "proj_bias": True,
+}
+
+_CONNECTOR_RENAMES: Final[tuple[tuple[str, str], ...]] = (
+ ("video_embeddings_connector.", "video_connector."),
+ ("audio_embeddings_connector.", "audio_connector."),
+ ("text_embedding_projection.video_aggregate_embed.", "video_text_proj_in."),
+ ("text_embedding_projection.audio_aggregate_embed.", "audio_text_proj_in."),
+)
+_CONNECTOR_INNER_RENAMES: Final[tuple[tuple[str, str], ...]] = (
+ (".transformer_1d_blocks.", ".transformer_blocks."),
+ (".q_norm.", ".norm_q."),
+ (".k_norm.", ".norm_k."),
+)
+
+
+def convert_connector_keys(sd: Mapping[str, Any]) -> dict[str, Any]:
+ """Official connector / projection keys (any of the three files) -> ``LTX2TextConnectors`` keys.
+
+ Keys that belong to none of the connector prefixes are dropped: the official connector files
+ carry nothing else, and a bundled transformer file's other tensors are not this component's.
+ """
+ out: dict[str, Any] = {}
+ for key, value in sd.items():
+ key = key[len("model.diffusion_model.") :] if key.startswith("model.diffusion_model.") else key
+ for old, new in _CONNECTOR_RENAMES:
+ if key.startswith(old):
+ key = new + key[len(old) :]
+ break
+ else:
+ continue
+ for old, new in _CONNECTOR_INNER_RENAMES:
+ key = key.replace(old, new)
+ out[key] = value
+ return out
+
+
+# --- Latent upsamplers ---------------------------------------------------------------------------
+
+# Both x2 upsamplers use diffusers' own key names; only their configs differ.
+LTX2_5_SPATIAL_UPSAMPLER_CONFIG: Final[dict[str, Any]] = {
+ "in_channels": 128,
+ "mid_channels": 1024,
+ "num_blocks_per_stage": 4,
+ "dims": 3,
+ "spatial_upsample": True,
+ "temporal_upsample": False,
+ "rational_spatial_scale": 2.0,
+ "use_rational_resampler": False,
+}
+LTX2_5_TEMPORAL_UPSAMPLER_CONFIG: Final[dict[str, Any]] = {
+ "in_channels": 128,
+ "mid_channels": 512,
+ "num_blocks_per_stage": 4,
+ "dims": 3,
+ "spatial_upsample": False,
+ "temporal_upsample": True,
+ "rational_spatial_scale": 1.0,
+ "use_rational_resampler": True,
+}
diff --git a/invokeai/backend/model_manager/configs/factory.py b/invokeai/backend/model_manager/configs/factory.py
index 419e978b17..c7681cdc78 100644
--- a/invokeai/backend/model_manager/configs/factory.py
+++ b/invokeai/backend/model_manager/configs/factory.py
@@ -37,6 +37,7 @@ from invokeai.backend.model_manager.configs.gemma2_encoder import (
Gemma2Encoder_Gemma2Encoder_Config,
Gemma2Encoder_GGUF_Config,
)
+from invokeai.backend.model_manager.configs.gemma4_encoder import Gemma4Encoder_Gemma4Encoder_LTX2_Config
from invokeai.backend.model_manager.configs.identification_utils import InvalidMatchError, NotAMatchError
from invokeai.backend.model_manager.configs.ip_adapter import (
IPAdapter_Checkpoint_FLUX_Config,
@@ -79,6 +80,7 @@ from invokeai.backend.model_manager.configs.main import (
Main_Checkpoint_FLUX_Config,
Main_Checkpoint_Ideogram4_Config,
Main_Checkpoint_Krea2_Config,
+ Main_Checkpoint_LTX2_Config,
Main_Checkpoint_MiniMaxH3_Config,
Main_Checkpoint_QwenImage_Config,
Main_Checkpoint_SD1_Config,
@@ -93,6 +95,7 @@ from invokeai.backend.model_manager.configs.main import (
Main_Diffusers_FLUX_Config,
Main_Diffusers_Ideogram4_Config,
Main_Diffusers_Krea2_Config,
+ Main_Diffusers_LTX2_Config,
Main_Diffusers_MiniMaxH3_Config,
Main_Diffusers_QwenImage_Config,
Main_Diffusers_SD1_Config,
@@ -373,6 +376,7 @@ AnyModelConfig = Annotated[
Annotated[Main_Diffusers_Ideogram4_Config, Main_Diffusers_Ideogram4_Config.get_tag()],
Annotated[Main_Diffusers_Krea2_Config, Main_Diffusers_Krea2_Config.get_tag()],
Annotated[Main_Diffusers_MiniMaxH3_Config, Main_Diffusers_MiniMaxH3_Config.get_tag()],
+ Annotated[Main_Diffusers_LTX2_Config, Main_Diffusers_LTX2_Config.get_tag()],
# Main (Pipeline) - checkpoint format
# IMPORTANT: FLUX.2 must be checked BEFORE FLUX.1 because FLUX.2 has specific validation
# that will reject FLUX.1 models, but FLUX.1 validation may incorrectly match FLUX.2 models
@@ -390,6 +394,7 @@ AnyModelConfig = Annotated[
Annotated[Main_Checkpoint_Krea2_Config, Main_Checkpoint_Krea2_Config.get_tag()],
Annotated[Main_Checkpoint_Anima_Config, Main_Checkpoint_Anima_Config.get_tag()],
Annotated[Main_Checkpoint_MiniMaxH3_Config, Main_Checkpoint_MiniMaxH3_Config.get_tag()],
+ Annotated[Main_Checkpoint_LTX2_Config, Main_Checkpoint_LTX2_Config.get_tag()],
# Main (Pipeline) - quantized formats
# IMPORTANT: FLUX.2 must be checked BEFORE FLUX.1 because FLUX.2 has specific validation
# that will reject FLUX.1 models, but FLUX.1 validation may incorrectly match FLUX.2 models
@@ -510,6 +515,7 @@ AnyModelConfig = Annotated[
Annotated[MistralEncoder_GGUF_Config, MistralEncoder_GGUF_Config.get_tag()],
# Gemma 2 Encoder (used by PiD)
Annotated[Gemma2Encoder_Gemma2Encoder_Config, Gemma2Encoder_Gemma2Encoder_Config.get_tag()],
+ Annotated[Gemma4Encoder_Gemma4Encoder_LTX2_Config, Gemma4Encoder_Gemma4Encoder_LTX2_Config.get_tag()],
Annotated[Gemma2Encoder_GGUF_Config, Gemma2Encoder_GGUF_Config.get_tag()],
# Qwen VL Encoder (Qwen2.5-VL multimodal encoder for Qwen Image)
Annotated[QwenVLEncoder_Diffusers_Config, QwenVLEncoder_Diffusers_Config.get_tag()],
diff --git a/invokeai/backend/model_manager/configs/gemma4_encoder.py b/invokeai/backend/model_manager/configs/gemma4_encoder.py
new file mode 100644
index 0000000000..455644c9e5
--- /dev/null
+++ b/invokeai/backend/model_manager/configs/gemma4_encoder.py
@@ -0,0 +1,154 @@
+"""Model config for the LTX-2.5 Gemma-4 text encoder.
+
+LTX-2.5 conditions on a Lightricks fine-tune of Gemma-4-12B (``gemma4-12b-ltx-v1``): every one of
+its 49 hidden states (48 layers + the embedding output) is stacked into a 188160-wide vector per
+token and projected by the LTX-2 text connectors. Google's stock Gemma-4 is *not* interchangeable
+with it, and only the text tower is used -- the vision and audio embedders of the unified model are
+never loaded.
+
+The folder is the HF-style layout the ungated ``DeepBeepMeep/LTX-2`` mirror ships under
+``gemma4-12b-ltx-v1/``::
+
+ <model_root>/
+ config.json # model_type gemma4_unified_text / architectures Gemma4UnifiedForCausalLM
+ tokenizer.json
+ tokenizer_config.json
+ chat_template.jinja
+ gemma4-12b-ltx-v1_bf16.safetensors OR gemma4-12b-ltx-v1_int8_convrot.safetensors
+
+When installed from a Hugging Face source that lists the files explicitly (the starter model
+does, to fetch one weight file rather than the mirror's whole 37 GB folder), the installer keeps
+their repo-relative paths, so the same files sit one directory down::
+
+ <model_root>/gemma4-12b-ltx-v1/config.json ...
+
+``subfolder`` records which of the two it is.
+
+The weights carry the text tower's ``model.*`` keys only (no ``lm_head``: the head is tied and never
+run). The text tower is loaded into ``transformers.Gemma4TextModel`` -- verified key-for-key against
+the checkpoint -- so the installed transformers needs no ``Gemma4Unified*`` classes.
+
+License note: the weights are derivatives of the official LTX-2.5 release and are distributed under
+the LTX-2.x Community License. This config only describes how to recognise the folder on disk.
+"""
+
+import re
+from pathlib import Path
+from typing import Any, Literal, Self
+
+from pydantic import Field
+
+from invokeai.backend.model_manager.configs.base import Config_Base
+from invokeai.backend.model_manager.configs.identification_utils import (
+ NotAMatchError,
+ get_config_dict_or_raise,
+ raise_for_override_fields,
+ raise_if_not_dir,
+)
+from invokeai.backend.model_manager.model_on_disk import ModelOnDisk
+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType
+
+# The LTX-2.5 connectors project ``hidden_size * (num_hidden_layers + 1)`` = 3840 * 49 = 188160
+# features; a Gemma-4 of any other width or depth cannot feed them.
+LTX2_GEMMA4_HIDDEN_SIZE = 3840
+LTX2_GEMMA4_NUM_LAYERS = 48
+
+_GEMMA4_TEXT_MODEL_TYPES = {"gemma4_unified_text", "gemma4_text"}
+_GEMMA4_TEXT_ARCHITECTURES = {"Gemma4UnifiedForCausalLM", "Gemma4ForCausalLM", "Gemma4TextModel"}
+
+
+def _find_model_subfolder(model_root: Path) -> str:
+ """'' when config.json is at the root, else the one immediate subdirectory that holds it."""
+ if (model_root / "config.json").is_file():
+ return ""
+ candidates = sorted(p for p in model_root.iterdir() if p.is_dir() and (p / "config.json").is_file())
+ if len(candidates) != 1:
+ raise NotAMatchError("no config.json at the folder root or in exactly one subdirectory")
+ return candidates[0].name
+
+
+def select_gemma4_weight_file(folder: Path) -> Path:
+ """The one weight file a Gemma-4 encoder folder is loaded from.
+
+ The LTX release is a single file per precision. A sharded folder (``model-00001-of-00005`` plus
+ an index) is Google's stock Gemma-4 layout, which this loader does not read and whose weights
+ are not the LTX fine-tune anyway; leaving it unclaimed keeps it a generic text LLM. The mirror
+ publishes the bf16 and int8-convrot files side by side, so a user who downloads both gets a
+ deterministic pick: the bf16 file, the lossless one.
+ """
+ if (folder / "model.safetensors.index.json").is_file():
+ raise NotAMatchError("a sharded Gemma-4 folder is not the single-file LTX-2 text encoder")
+ candidates = sorted(p for p in folder.glob("*.safetensors") if p.is_file())
+ if not candidates:
+ raise NotAMatchError("no .safetensors weight file in the folder")
+ if any(re.search(r"-\d{5}-of-\d{5}\.safetensors$", p.name) for p in candidates):
+ raise NotAMatchError("a sharded Gemma-4 folder is not the single-file LTX-2 text encoder")
+ preferred = [p for p in candidates if "bf16" in p.name.lower()]
+ return (preferred or candidates)[0]
+
+
+def is_ltx2_gemma4_encoder_folder(model_root: Path) -> bool:
+ """Whether ``Gemma4Encoder_Gemma4Encoder_LTX2_Config`` would claim this folder.
+
+ The generic text-LLM config asks this to know when to stand aside: only for the LTX layout
+ (the Gemma-4-12B text config beside a single unsharded weight file), never for stock Gemma-4.
+ """
+ try:
+ _resolve_ltx2_gemma4_layout(model_root)
+ except NotAMatchError:
+ return False
+ return True
+
+
+def _resolve_ltx2_gemma4_layout(model_root: Path, subfolder: str | None = None) -> tuple[str, Path]:
+ """``(subfolder, weight_file)`` for a folder in the LTX Gemma-4 layout, or ``NotAMatchError``."""
+ if subfolder is None:
+ subfolder = _find_model_subfolder(model_root)
+ root = model_root / subfolder if subfolder else model_root
+
+ config = get_config_dict_or_raise(root / "config.json")
+ # Top-level only: a unified multimodal config nests a text config this loader could build, but
+ # its weights carry the vision/audio embedders too and are not the LTX fine-tune.
+ model_type = config.get("model_type")
+ architectures = set(config.get("architectures") or [])
+ if model_type not in _GEMMA4_TEXT_MODEL_TYPES and not (architectures & _GEMMA4_TEXT_ARCHITECTURES):
+ raise NotAMatchError(f"config.json does not describe a Gemma-4 text model (model_type={model_type!r})")
+
+ hidden_size = config.get("hidden_size")
+ num_layers = config.get("num_hidden_layers")
+ if hidden_size != LTX2_GEMMA4_HIDDEN_SIZE or num_layers != LTX2_GEMMA4_NUM_LAYERS:
+ raise NotAMatchError(
+ f"LTX-2.5 needs the Gemma-4-12B tower (hidden_size {LTX2_GEMMA4_HIDDEN_SIZE}, "
+ f"{LTX2_GEMMA4_NUM_LAYERS} layers); this folder has hidden_size {hidden_size}, {num_layers} layers"
+ )
+ if not (root / "tokenizer.json").exists():
+ raise NotAMatchError("no tokenizer.json beside config.json")
+ return subfolder, select_gemma4_weight_file(root)
+
+
+class Gemma4Encoder_Gemma4Encoder_LTX2_Config(Config_Base):
+ """The LTX-2.5 Gemma-4-12B text encoder as a folder (config, tokenizer, one weight file)."""
+
+ base: Literal[BaseModelType.LTX2] = Field(default=BaseModelType.LTX2)
+ type: Literal[ModelType.Gemma4Encoder] = Field(default=ModelType.Gemma4Encoder)
+ format: Literal[ModelFormat.Gemma4Encoder] = Field(default=ModelFormat.Gemma4Encoder)
+ subfolder: str = Field(
+ default="",
+ description="Directory inside the model folder that holds config, tokenizer and weights ('' = the root).",
+ )
+ weight_file: str = Field(description="The weight file inside `subfolder` the encoder loads from.")
+ cpu_only: bool | None = Field(default=None, description="Whether this model should run on CPU only")
+
+ @classmethod
+ def from_model_on_disk(cls, mod: ModelOnDisk, override_fields: dict[str, Any]) -> Self:
+ raise_if_not_dir(mod)
+ raise_for_override_fields(cls, override_fields)
+
+ subfolder, selected = _resolve_ltx2_gemma4_layout(mod.path, override_fields.pop("subfolder", None))
+ root = mod.path / subfolder if subfolder else mod.path
+
+ weight_file = override_fields.pop("weight_file", None) or selected.name
+ if not (root / weight_file).is_file():
+ raise NotAMatchError(f"weight file {weight_file!r} is not in the folder")
+
+ return cls(**override_fields, subfolder=subfolder, weight_file=weight_file)
diff --git a/invokeai/backend/model_manager/configs/main.py b/invokeai/backend/model_manager/configs/main.py
index 34ad1b758b..29285d30ef 100644
--- a/invokeai/backend/model_manager/configs/main.py
+++ b/invokeai/backend/model_manager/configs/main.py
@@ -6,6 +6,7 @@ from typing import Any, Literal, Self
import torch
from pydantic import BaseModel, Field
+from invokeai.backend.ltx2 import checkpoint_layout as ltx2_layout
from invokeai.backend.model_manager.configs.base import (
Checkpoint_Config_Base,
Config_Base,
@@ -45,6 +46,7 @@ from invokeai.backend.model_manager.taxonomy import (
Flux2VariantType,
FluxVariantType,
Krea2VariantType,
+ LTX2VariantType,
MiniMaxH3VariantType,
ModelFormat,
ModelRepoVariant,
@@ -1797,6 +1799,194 @@ class Main_Checkpoint_MiniMaxH3_Config(Checkpoint_Config_Base, Main_Config_Base,
return cls(**override_fields, variant=variant, pruned=pruned)
+# ---------------------------------------------------------------------------------------------
+# LTX-2
+# ---------------------------------------------------------------------------------------------
+
+LTX2_SUPPORTED_GENERATIONS = frozenset({"2.5"})
+"""The LTX-2 generations this version can run. 2.0/2.3 use a Gemma-3 encoder, bundled single files
+and different transformer switches; their files are recognised as LTX-2 and refused (an invalid
+match, so they are not registered as unknown models) rather than half-loaded."""
+
+
+def _ltx2_generation_from_keys(stripped_keys: set[str]) -> str | None:
+ """The generation a file's structure implies, for files whose header carries no version.
+
+ LTX-2.5 dropped the video feed-forward biases (2.0/2.3 keep them on both streams), and its video
+ VAE decoder gained a fourth upsampling stage (``up_blocks.8``; 2.0/2.3 stop at ``up_blocks.6``).
+ Either component identifies the generation on its own.
+ """
+ if "transformer_blocks.0.ff.net.0.proj.weight" in stripped_keys:
+ video_ff_bias = "transformer_blocks.0.ff.net.2.bias" in stripped_keys
+ audio_ff_bias = "transformer_blocks.0.audio_ff.net.2.bias" in stripped_keys
+ return "2.5" if (not video_ff_bias and audio_ff_bias) else None
+ for prefix in ("", "vae."):
+ if f"{prefix}decoder.up_blocks.0.res_blocks.0.conv1.conv.weight" in stripped_keys:
+ return "2.5" if f"{prefix}decoder.up_blocks.8.res_blocks.0.conv1.conv.weight" in stripped_keys else None
+ return None
+
+
+def _ltx2_generation_or_raise(mod: ModelOnDisk, path: Path, stripped_keys: set[str] | None) -> str:
+ """The generation a dating file belongs to: the header version when the file carries one, its
+ structure otherwise. An LTX-2 file of a generation this version cannot run is an *invalid* match:
+ recognised, and refused rather than registered as an unknown model."""
+ generation = ltx2_layout.generation_from_version(ltx2_layout.header_model_version(mod.metadata(path)))
+ if generation is None and stripped_keys is not None:
+ generation = _ltx2_generation_from_keys(stripped_keys)
+ if generation is None:
+ raise NotAMatchError(f"cannot tell which LTX-2 generation {path.name} belongs to")
+ if generation not in LTX2_SUPPORTED_GENERATIONS:
+ raise InvalidMatchError(
+ f"{path.name} is an LTX-{generation} file; only LTX-{'/'.join(sorted(LTX2_SUPPORTED_GENERATIONS))} "
+ "is supported in this version"
+ )
+ return generation
+
+
+class Main_Diffusers_LTX2_Config(Diffusers_Config_Base, Main_Config_Base, Config_Base):
+ """An LTX-2 folder of per-component single files in the official key layout.
+
+ This is how the ``DeepBeepMeep/LTX-2`` mirror distributes LTX-2.5: one safetensors per component
+ rather than a diffusers ``model_index.json`` tree. (The official ``Lightricks/LTX-2.5`` files use
+ the same layout for the VAEs, upsamplers and transformer, but keep the connectors inside the
+ transformer file and the text projection inside the text-encoder file; a folder of official files
+ therefore lacks a text-projection component in this version.) The folder is
+ the *component source* of a generation -- video VAE, audio VAE, vocoder, text projection, the two
+ text connectors and the latent upsamplers -- while the 22B transformer normally comes from a
+ single-file record selected in the model loader (bf16, int8-convrot or nvfp4). A folder that
+ also holds a transformer file is a full install.
+
+ ``components`` maps each role (see ``invokeai.backend.ltx2.checkpoint_layout``) to the file in the
+ folder that carries it, so the loader never re-classifies at generation time.
+ """
+
+ base: Literal[BaseModelType.LTX2] = Field(BaseModelType.LTX2)
+ variant: LTX2VariantType = Field()
+ generation: str = Field(description="The LTX-2 generation the folder's files belong to, e.g. '2.5'.")
+ components: dict[str, str] = Field(
+ default_factory=dict,
+ description="Component role -> weight file name inside the folder.",
+ )
+ components_only: bool = Field(
+ default=False,
+ description="Whether the folder holds only the shared components (VAEs, vocoder, connectors, "
+ "upsamplers) without a transformer - the transformer must then be supplied as a single-file "
+ "selection at generation time.",
+ )
+
+ @classmethod
+ def from_model_on_disk(cls, mod: ModelOnDisk, override_fields: dict[str, Any]) -> Self:
+ raise_if_not_dir(mod)
+ raise_for_override_fields(cls, override_fields)
+
+ if any((mod.path / name).exists() for name in ("model_index.json", "modular_model_index.json")):
+ # The diffusers-layout repos (`Lightricks/LTX-2.5-Diffusers`) are a different install shape
+ # this version does not load; leave them unclaimed rather than half-matched.
+ raise NotAMatchError("diffusers-layout LTX-2 folders are not supported in this version")
+
+ components: dict[str, str] = {}
+ generations: dict[str, str] = {}
+ for weight_file in sorted(p for p in mod.path.glob("*.safetensors") if p.is_file()):
+ state_dict = mod.load_state_dict(weight_file)
+ keys = {k for k in state_dict if isinstance(k, str)}
+ roles = ltx2_layout.classify_roles(state_dict, mod.metadata(weight_file))
+ if not roles:
+ continue
+ for role in roles:
+ # First file wins for a duplicated role; sorted order keeps the choice deterministic.
+ components.setdefault(role, weight_file.name)
+ if roles & {ltx2_layout.ROLE_TRANSFORMER, ltx2_layout.ROLE_VIDEO_VAE}:
+ # The transformer and the video VAE are the two components whose structure dates
+ # the release; every such file is dated so a mixed folder is caught here, not at
+ # the strict load of whichever file sorted first.
+ stripped = {ltx2_layout.strip_transformer_prefix(k) for k in keys}
+ generations[weight_file.name] = _ltx2_generation_or_raise(mod, weight_file, stripped)
+
+ # The audio track is what distinguishes LTX-2 from every other video family: a folder without
+ # both VAEs is not an LTX-2 component source, whatever else it holds.
+ if ltx2_layout.ROLE_VIDEO_VAE not in components or ltx2_layout.ROLE_AUDIO_VAE not in components:
+ if ltx2_layout.ROLE_DIFFUSION_VIDEO_VAE in components:
+ raise NotAMatchError(
+ "folder holds no LTX-2 video VAE + audio VAE pair (its video VAE is the diffusion-decoder "
+ "variant, which this version does not use - install the conv video VAE)"
+ )
+ raise NotAMatchError("folder holds no LTX-2 video VAE + audio VAE pair")
+ if not generations:
+ raise NotAMatchError("cannot tell which LTX-2 generation the folder's files belong to")
+ if len(set(generations.values())) > 1:
+ raise InvalidMatchError(
+ "folder mixes LTX-2 generations: "
+ + ", ".join(f"{name} is {gen}" for name, gen in sorted(generations.items()))
+ )
+ generation = override_fields.pop("generation", None) or next(iter(generations.values()))
+ components = override_fields.pop("components", None) or components
+
+ transformer_file = components.get(ltx2_layout.ROLE_TRANSFORMER)
+ components_only = override_fields.pop("components_only", None)
+ if components_only is None:
+ components_only = transformer_file is None
+
+ variant = override_fields.pop("variant", None)
+ if variant is None:
+ variant = (
+ LTX2VariantType.Distilled
+ if transformer_file is not None and ltx2_layout.is_distilled_filename(transformer_file)
+ else LTX2VariantType.Dev
+ )
+
+ repo_variant = override_fields.pop("repo_variant", None) or cls._get_repo_variant_or_raise(mod)
+ return cls(
+ **override_fields,
+ variant=LTX2VariantType(variant),
+ generation=generation,
+ components=components,
+ components_only=components_only,
+ repo_variant=repo_variant,
+ )
+
+
+class Main_Checkpoint_LTX2_Config(Checkpoint_Config_Base, Main_Config_Base, Config_Base):
+ """An LTX-2 single-file transformer (safetensors) in the official key layout.
+
+ Covers the bf16, Comfy ``int8_tensorwise``(+convrot) and ``nvfp4`` releases; the quantization
+ scheme is read from the file's own markers by the loader, not recorded here. The file may hold
+ only the transformer (the 2.5 releases) or bundle other components beside it (earlier
+ generations) -- either way everything else comes from an installed LTX-2 component folder.
+
+ Dev and Distilled transformers are key-for-key identical, so the FILENAME is the variant
+ classifier and ``variant`` is the user-correctable override for renamed files. A misclassified
+ variant runs but samples with the wrong recipe (guided schedule vs fixed distilled sigmas).
+ """
+
+ base: Literal[BaseModelType.LTX2] = Field(default=BaseModelType.LTX2)
+ format: Literal[ModelFormat.Checkpoint] = Field(default=ModelFormat.Checkpoint)
+ variant: LTX2VariantType = Field()
+ generation: str = Field(description="The LTX-2 generation the transformer belongs to, e.g. '2.5'.")
+
+ @classmethod
+ def from_model_on_disk(cls, mod: ModelOnDisk, override_fields: dict[str, Any]) -> Self:
+ raise_if_not_file(mod)
+ raise_for_override_fields(cls, override_fields)
+
+ if mod.path.suffix.lower() != ".safetensors":
+ raise NotAMatchError(f"expected a .safetensors file, got {mod.path.suffix or '(no suffix)'}")
+
+ state_dict = mod.load_state_dict()
+ keys = {k for k in state_dict if isinstance(k, str)}
+ if ltx2_layout.ROLE_TRANSFORMER not in ltx2_layout.classify_roles(state_dict, mod.metadata()):
+ raise NotAMatchError("state dict does not look like an LTX-2 transformer")
+ if _has_ggml_tensors(state_dict):
+ raise NotAMatchError("GGUF-quantized LTX-2 checkpoints are not supported yet")
+
+ generation = override_fields.pop("generation", None) or _ltx2_generation_or_raise(
+ mod, mod.path, {ltx2_layout.strip_transformer_prefix(k) for k in keys}
+ )
+ variant = override_fields.pop("variant", None) or (
+ LTX2VariantType.Distilled if ltx2_layout.is_distilled_filename(mod.path.name) else LTX2VariantType.Dev
+ )
+ return cls(**override_fields, variant=LTX2VariantType(variant), generation=generation)
+
+
class Main_Checkpoint_Krea2_Config(Checkpoint_Config_Base, Main_Config_Base, Config_Base):
"""Model config for Krea-2 single-file checkpoint models (safetensors, etc)."""
diff --git a/invokeai/backend/model_manager/configs/text_llm.py b/invokeai/backend/model_manager/configs/text_llm.py
index 0e2e2c2caa..bb0a634976 100644
--- a/invokeai/backend/model_manager/configs/text_llm.py
+++ b/invokeai/backend/model_manager/configs/text_llm.py
@@ -7,6 +7,7 @@ from pydantic import Field
from typing_extensions import Any
from invokeai.backend.model_manager.configs.base import Config_Base, Diffusers_Config_Base
+from invokeai.backend.model_manager.configs.gemma4_encoder import is_ltx2_gemma4_encoder_folder
from invokeai.backend.model_manager.configs.identification_utils import (
NotAMatchError,
common_config_paths,
@@ -62,6 +63,14 @@ class TextLLM_Diffusers_Config(Diffusers_Config_Base, Config_Base):
"architecture 'Gemma2ForCausalLM' (2304-dim Gemma-2-2b) is handled by the PiD encoder config, not TextLLM"
)
+ # Likewise defer to the LTX-2 Gemma-4 encoder config -- and only where it would actually
+ # claim the folder (the LTX single-file layout), so stock sharded Gemma-4-12B stays a TextLLM.
+ if not explicitly_requested_text_llm and is_ltx2_gemma4_encoder_folder(mod.path):
+ raise NotAMatchError(
+ f"architecture '{class_name}' in the LTX-2 single-file layout is handled by the LTX-2 Gemma-4 "
+ "encoder config, not TextLLM"
+ )
+
# Verify tokenizer files exist to avoid runtime failures
tokenizer_files = {"tokenizer.json", "tokenizer.model", "tokenizer_config.json"}
if not any((mod.path / f).exists() for f in tokenizer_files):
diff --git a/invokeai/backend/model_manager/load/model_loaders/_single_file_guards.py b/invokeai/backend/model_manager/load/model_loaders/_single_file_guards.py
new file mode 100644
index 0000000000..7e98d4dd61
--- /dev/null
+++ b/invokeai/backend/model_manager/load/model_loaders/_single_file_guards.py
@@ -0,0 +1,63 @@
+"""Refusals a single-file loader applies before it spends anything on a checkpoint it cannot read.
+
+Shared by the loaders that accept ComfyUI's quantized single-file releases (MiniMax H3, LTX-2, ...):
+each names the formats it can consume and gets the same two gates, worded for its own files.
+"""
+
+from collections.abc import Collection, Mapping
+from pathlib import Path
+from typing import Any
+
+
+def reject_formats_declared_in_the_header(
+ model_path: Path, what: str, logger: Any, accepted_formats: Collection[str], supported_note: str
+) -> None:
+ """Refuse a quantization format the caller cannot read, from the header alone.
+
+ Before the tensor read, which is ~20 GiB for a transformer. Both header transports are read,
+ because which one a file uses depends on the tool that produced it, not on the format: a
+ per-tensor ``.comfy_quant`` marker, or an entry in ``_quantization_metadata``. FLUX.2's Comfy-Org
+ fp8 build uses only the second, and reading only the first let a file of that shape through to a
+ converter that died with a bare ``IndexError`` naming neither fp8 nor the format.
+
+ The two are read with different strictness on purpose. A per-tensor marker exists only to declare
+ a scheme, so one without a readable ``format`` is refused as unreadable. A header entry can carry
+ per-layer flags and nothing else -- ``full_precision_matrix_mult`` alone is a well-formed entry --
+ so one without a ``format`` declares nothing and is skipped; refusing it would turn away a valid
+ build for a hint this loader does not even read. An entry that is not a mapping at all is refused
+ as unreadable rather than left to raise ``AttributeError``.
+ """
+ from invokeai.backend.quantization.fp8_scaled import parse_quantization_metadata, read_safetensors_metadata
+ from invokeai.backend.quantization.int8_convrot import read_comfy_quant_markers
+
+ declared = [marker.get("format") for marker in read_comfy_quant_markers(model_path).values()]
+ for entry in parse_quantization_metadata(read_safetensors_metadata(model_path, logger)).values():
+ if not isinstance(entry, Mapping):
+ declared.append(None)
+ elif "format" in entry:
+ declared.append(entry["format"])
+ unsupported = sorted({str(fmt or "unreadable") for fmt in declared if fmt not in accepted_formats})
+ if unsupported:
+ raise ValueError(
+ f"Unsupported quantization format(s) {unsupported} in {what} {model_path.name}. {supported_note}"
+ )
+
+
+def reject_float8_weights(sd: Mapping[str, Any], what: str, model_path: Path, supported_note: str) -> None:
+ """Refuse float8 weights that nothing in the header declared.
+
+ The older ComfyUI scaled-fp8 shape declares itself nowhere -- fp8 codes and a ``weight_scale``
+ beside them, no marker, no header entry -- so the header gate cannot see it. Refused here, after
+ the read but before any converter, which is where it otherwise fails: in a qkv split on a
+ per-tensor scale, or at ``load_state_dict`` on an orphaned scale reported as an "unexpected key".
+ Keyed on the dtype rather than on a scale key, so a raw fp8 file with no scale is named too
+ instead of loading fp8 parameters that fail at the first matmul.
+ """
+ from invokeai.backend.quantization.fp8_scaled import FP8_WEIGHT_DTYPES
+
+ carried = sorted(key for key, value in sd.items() if getattr(value, "dtype", None) in FP8_WEIGHT_DTYPES)
+ if carried:
+ raise ValueError(
+ f"{what} {model_path.name} carries {len(carried)} float8 weight(s) (e.g. {', '.join(carried[:3])}). "
+ f"{supported_note}"
+ )
diff --git a/invokeai/backend/model_manager/load/model_loaders/ltx2.py b/invokeai/backend/model_manager/load/model_loaders/ltx2.py
new file mode 100644
index 0000000000..cb380ca898
--- /dev/null
+++ b/invokeai/backend/model_manager/load/model_loaders/ltx2.py
@@ -0,0 +1,541 @@
+"""Loader registrations for LTX-2 (Lightricks) audio-video generation models.
+
+Three records make a generation (see ``configs/main.py`` for the split):
+
+- ``Main`` / ``Checkpoint`` -- the 22B transformer as one official-layout single file: bf16, or Comfy
+ ``int8_tensorwise``(+convrot) / ``nvfp4`` with the layers named by a marker or in the header.
+ Quantized linears stay packed and dequantize per forward (``Int8ConvrotLinear`` / ``NVFP4Linear``);
+ bf16 files take the FP8-storage path when the device policy asks for it.
+- ``Main`` / ``Diffusers`` -- the component folder: video VAE, audio VAE, vocoder, text projection
+ and connectors, latent upsamplers, each an official-layout single file mapped onto its diffusers
+ class here. A folder that also holds a transformer file serves that too.
+- ``Gemma4Encoder`` / ``Gemma4Encoder`` -- the Lightricks-tuned Gemma-4-12B text tower with its
+ tokenizer, loaded into ``transformers.Gemma4TextModel`` (bf16 or int8-convrot).
+
+Every model class is the installed diffusers' / transformers' own; the pinned configs and key maps
+live in ``invokeai.backend.ltx2.component_configs`` and were verified shape-for-shape against the
+released 2.5 files.
+
+Cache accounting follows the discipline the loader-seam tests pin: ``get_size_fs`` sizes the file(s)
+a submodel is read from so ``_load_and_cache`` reserves the read before it happens, and every path
+reserves what a cast will produce *before* widening a tensor.
+"""
+
+import json
+from collections.abc import Callable
+from pathlib import Path
+from typing import Any, Optional
+
+import accelerate
+import torch
+
+from invokeai.backend.ltx2 import checkpoint_layout as layout
+from invokeai.backend.ltx2 import component_configs as cc
+from invokeai.backend.model_manager.configs.factory import AnyModelConfig
+from invokeai.backend.model_manager.configs.gemma4_encoder import Gemma4Encoder_Gemma4Encoder_LTX2_Config
+from invokeai.backend.model_manager.configs.main import Main_Checkpoint_LTX2_Config, Main_Diffusers_LTX2_Config
+from invokeai.backend.model_manager.load.load_default import ModelLoader, _model_declared_skip_patterns
+from invokeai.backend.model_manager.load.model_loader_registry import ModelLoaderRegistry
+from invokeai.backend.model_manager.load.model_loaders._single_file_guards import (
+ reject_float8_weights,
+ reject_formats_declared_in_the_header,
+)
+from invokeai.backend.model_manager.taxonomy import (
+ AnyModel,
+ BaseModelType,
+ ModelFormat,
+ ModelType,
+ SubModelType,
+)
+from invokeai.backend.quantization.fp8_scaled import (
+ cast_state_dict,
+ parse_quantization_metadata,
+ predict_cast_state_dict_size,
+ read_safetensors_metadata,
+ strip_layer_path_prefix,
+)
+from invokeai.backend.quantization.int8_convrot import (
+ INT8_TENSORWISE_FORMAT,
+ drop_unconsumed_quantization_sidecars,
+ extract_int8_convrot_markers,
+ install_int8_convrot_layers,
+ reject_unmarked_int8_weights,
+ resolve_quantized_module_paths,
+)
+from invokeai.backend.quantization.nvfp4 import (
+ NVFP4_FORMAT,
+ install_nvfp4_layers,
+ pop_nvfp4_layers,
+ predict_nvfp4_install_size,
+)
+from invokeai.backend.util.devices import TorchDevice
+from invokeai.backend.util.state_dict_loading import load_state_dict_ignoring_extras, reject_incomplete_load
+
+_TRANSFORMER_SUPPORTED_NOTE = (
+ "Only unquantized (bf16) LTX-2 transformer files, and Comfy 'int8_tensorwise' (int8-convrot) or 'nvfp4' "
+ "files whose layers are named by a marker or in the header, are supported."
+)
+_ENCODER_SUPPORTED_NOTE = (
+ "Only unquantized (bf16) and Comfy 'int8_tensorwise' (int8-convrot) LTX-2 Gemma-4 encoder files are supported."
+)
+_COMPONENT_SUPPORTED_NOTE = "LTX-2 component files (VAEs, vocoder, connectors, upsamplers) must be unquantized."
+
+_ROLE_LABELS = {
+ layout.ROLE_VIDEO_VAE: "video VAE",
+ layout.ROLE_AUDIO_VAE: "audio VAE",
+ layout.ROLE_VOCODER: "vocoder",
+ layout.ROLE_TEXT_PROJECTION: "text projection",
+ layout.ROLE_VIDEO_CONNECTOR: "video text connector",
+ layout.ROLE_AUDIO_CONNECTOR: "audio text connector",
+ layout.ROLE_SPATIAL_UPSAMPLER: "spatial latent upsampler",
+ layout.ROLE_TEMPORAL_UPSAMPLER: "temporal latent upsampler",
+ layout.ROLE_TRANSFORMER: "transformer",
+}
+
+# Which component files a submodel is read from; the connectors join three.
+_SUBMODEL_ROLES: dict[SubModelType, tuple[str, ...]] = {
+ SubModelType.Transformer: (layout.ROLE_TRANSFORMER,),
+ SubModelType.VAE: (layout.ROLE_VIDEO_VAE,),
+ SubModelType.AudioVAE: (layout.ROLE_AUDIO_VAE,),
+ SubModelType.Vocoder: (layout.ROLE_VOCODER,),
+ SubModelType.Connectors: (layout.ROLE_TEXT_PROJECTION, layout.ROLE_VIDEO_CONNECTOR, layout.ROLE_AUDIO_CONNECTOR),
+ SubModelType.LatentUpsampler: (layout.ROLE_SPATIAL_UPSAMPLER,),
+ SubModelType.TemporalLatentUpsampler: (layout.ROLE_TEMPORAL_UPSAMPLER,),
+}
+
+_CONNECTOR_KEY_PREFIXES = (
+ "video_embeddings_connector.",
+ "audio_embeddings_connector.",
+ "text_embedding_projection.",
+)
+
+
+def _component_path(config: Main_Diffusers_LTX2_Config, role: str) -> Path:
+ """The file a component folder holds for ``role``, or an actionable error naming what to install."""
+ name = config.components.get(role)
+ path = Path(config.path) / name if name is not None else None
+ if path is None or not path.is_file():
+ what = f"has no {_ROLE_LABELS.get(role, role)} file" if name is None else f"is missing its {name}"
+ raise ValueError(
+ f"This LTX-2 component folder {what}. Install the LTX-2.5 components (the starter model) or add the "
+ "missing file to the folder."
+ )
+ return path
+
+
+def _read_dense_component(
+ path: Path, what: str, logger: Any, key_filter: Callable[[str], bool] | None = None
+) -> dict[str, torch.Tensor]:
+ """Read an unquantized component file, refusing a quantized one by name before the tensor read.
+
+ With ``key_filter`` only the matching tensors are read (through the safetensors header), for a
+ component that shares its file with another -- the official transformer files bundle the two
+ connectors beside 38 GB of transformer weights.
+ """
+ from safetensors import safe_open
+ from safetensors.torch import load_file
+
+ reject_formats_declared_in_the_header(path, what, logger, frozenset(), _COMPONENT_SUPPORTED_NOTE)
+ if key_filter is None:
+ sd = load_file(path)
+ else:
+ with safe_open(path, framework="pt", device="cpu") as f:
+ sd = {key: f.get_tensor(key) for key in f.keys() if key_filter(key)}
+ reject_float8_weights(sd, what, path, _COMPONENT_SUPPORTED_NOTE)
+ # An int8 build of a component declares itself nowhere this loader reads (it accepts no
+ # quantized components at all); refuse it by name rather than at the strict load.
+ reject_unmarked_int8_weights(sd, {}, "LTX-2")
+ return sd
+
+
+def _assign_state_dict(model: torch.nn.Module, sd: dict[str, torch.Tensor], what: str) -> torch.nn.Module:
+ """Strict assignment onto a meta-built model; every tensor must land, and nothing may be left over."""
+ missing, unexpected = model.load_state_dict(sd, strict=False, assign=True)
+ if unexpected:
+ raise RuntimeError(f"Unexpected keys loading {what}: {sorted(unexpected)[:5]}...")
+ if missing:
+ raise RuntimeError(f"Missing keys loading {what}: {sorted(missing)[:5]}...")
+ return model
+
+
+class _LTX2ComponentLoading:
+ """The per-component loaders, shared by the folder loader and (for the transformer) the
+ single-file loader. Mixed into ``ModelLoader`` subclasses, so ``self._ram_cache`` / ``_logger`` exist."""
+
+ _ram_cache: Any
+ _logger: Any
+
+ def _reserve_for_cast(self, sd: dict[str, torch.Tensor], dtype: torch.dtype) -> None:
+ """Reserve what the cast to ``dtype`` will leave resident, before any tensor widens."""
+ self._ram_cache.make_room(predict_cast_state_dict_size(sd, dtype, keep_fp8=False))
+
+ def _build_dense(
+ self, factory: Callable[[], torch.nn.Module], sd: dict[str, torch.Tensor], what: str, dtype: torch.dtype
+ ) -> AnyModel:
+ self._reserve_for_cast(sd, dtype)
+ cast_state_dict(sd, dtype, keep_fp8=False)
+ with accelerate.init_empty_weights():
+ model = factory()
+ return _assign_state_dict(model, sd, what)
+
+ def _load_video_vae(self, path: Path) -> AnyModel:
+ from diffusers import AutoencoderKLLTX2Video
+
+ dtype = TorchDevice.choose_bfloat16_safe_dtype(TorchDevice.choose_torch_device())
+ sd = cc.convert_video_vae_keys(_read_dense_component(path, "LTX-2 video VAE", self._logger))
+ return self._build_dense(
+ lambda: AutoencoderKLLTX2Video(**cc.LTX2_5_VIDEO_VAE_CONFIG), sd, "LTX-2 video VAE", dtype
+ )
+
+ def _load_audio_vae(self, path: Path) -> AnyModel:
+ from diffusers import AutoencoderKLLTX2Audio
+
+ # Kept fp32 like the H3 audio VAE: it is small (~0.1 GB) and half-precision artifacts in
+ # decoded audio are audible.
+ sd = cc.convert_audio_vae_keys(_read_dense_component(path, "LTX-2 audio VAE", self._logger))
+ return self._build_dense(
+ lambda: AutoencoderKLLTX2Audio(**cc.LTX2_5_AUDIO_VAE_CONFIG), sd, "LTX-2 audio VAE", torch.float32
+ )
+
+ def _load_vocoder(self, path: Path) -> AnyModel:
+ from diffusers.pipelines.ltx2.vocoder import LTX2VocoderWithBWE
+
+ # fp32 for the same reason as the audio VAE. The anti-aliasing resampler filter is a
+ # non-persistent buffer the constructor computes; buffers are real even under the meta
+ # context, so the strict load below never looks for it.
+ sd = cc.convert_vocoder_keys(_read_dense_component(path, "LTX-2 vocoder", self._logger))
+ return self._build_dense(
+ lambda: LTX2VocoderWithBWE(**cc.LTX2_5_VOCODER_CONFIG), sd, "LTX-2 vocoder", torch.float32
+ )
+
+ def _load_connectors(self, config: Main_Diffusers_LTX2_Config) -> AnyModel:
+ from diffusers.pipelines.ltx2.connectors import LTX2TextConnectors
+
+ dtype = TorchDevice.choose_bfloat16_safe_dtype(TorchDevice.choose_torch_device())
+ sd: dict[str, torch.Tensor] = {}
+ for role in _SUBMODEL_ROLES[SubModelType.Connectors]:
+ path = _component_path(config, role)
+ raw = _read_dense_component(
+ path,
+ f"LTX-2 {_ROLE_LABELS[role]}",
+ self._logger,
+ key_filter=lambda key: layout.strip_transformer_prefix(key).startswith(_CONNECTOR_KEY_PREFIXES),
+ )
+ sd.update(cc.convert_connector_keys(raw))
+ return self._build_dense(
+ lambda: LTX2TextConnectors(**cc.LTX2_5_CONNECTORS_CONFIG), sd, "LTX-2 text connectors", dtype
+ )
+
+ def _load_upsampler(self, path: Path, temporal: bool) -> AnyModel:
+ from diffusers.pipelines.ltx2.latent_upsampler import LTX2LatentUpsamplerModel
+
+ dtype = TorchDevice.choose_bfloat16_safe_dtype(TorchDevice.choose_torch_device())
+ what = "LTX-2 temporal latent upsampler" if temporal else "LTX-2 spatial latent upsampler"
+ params = cc.LTX2_5_TEMPORAL_UPSAMPLER_CONFIG if temporal else cc.LTX2_5_SPATIAL_UPSAMPLER_CONFIG
+ sd = _read_dense_component(path, what, self._logger)
+ return self._build_dense(lambda: LTX2LatentUpsamplerModel(**params), sd, what, dtype)
+
+ def _load_transformer_from_file(self, path: Path, config: AnyModelConfig) -> AnyModel:
+ """The transformer from one official-layout file: bf16, int8-convrot or nvfp4.
+
+ Formats this loader cannot read are refused from the header before the tensor read; every
+ reservation is made while the state dict still holds its packed dtypes; nvfp4 layers are
+ taken out before either side-channel reader can pair their scales with the wrong weight.
+ """
+ from diffusers import LTX2VideoTransformer3DModel
+ from diffusers.loaders.single_file_utils import convert_ltx2_transformer_to_diffusers
+ from safetensors.torch import load_file
+
+ assert isinstance(self, ModelLoader)
+ model_dtype = TorchDevice.choose_bfloat16_safe_dtype(TorchDevice.choose_torch_device())
+ what = "LTX-2 transformer"
+
+ reject_formats_declared_in_the_header(
+ path, what, self._logger, {INT8_TENSORWISE_FORMAT, NVFP4_FORMAT}, _TRANSFORMER_SUPPORTED_NOTE
+ )
+ sd = load_file(path)
+ metadata = read_safetensors_metadata(path, self._logger)
+
+ # Bare names from here on (the prefix is optional in the official layout, and the header
+ # names quantized layers without it). Components a bundled release stores beside the
+ # transformer are not this model's: dropped by their official prefixes, before any accounting.
+ foreign: list[str] = []
+ for key in list(sd):
+ bare = layout.strip_transformer_prefix(key)
+ if bare.startswith(cc.TRANSFORMER_FOREIGN_PREFIXES):
+ foreign.append(key)
+ del sd[key]
+ elif bare != key:
+ sd[bare] = sd.pop(key)
+ if foreign:
+ self._logger.info(f"{what}: ignoring {len(foreign)} tensor(s) of bundled components (e.g. {foreign[0]}).")
+
+ # Official -> diffusers names, recorded for every key (weights, scales and the nvfp4 payloads
+ # about to be popped) so the quantization side channel follows its weights. The converter
+ # re-inserts renamed keys at the end of the dict, so positions cannot be paired; sentinels can.
+ renamed = convert_ltx2_transformer_to_diffusers({key: key for key in sd})
+ renamed, _ = cc.finish_transformer_keys(renamed)
+ key_map = {old: new for new, old in renamed.items()}
+
+ def diffusers_module_path(official_path: str) -> str:
+ return key_map.get(f"{official_path}.weight", f"{official_path}.weight")[: -len(".weight")]
+
+ # Comfy's nvfp4 builds name their layers in the header. Take them out before either
+ # side-channel reader pairs a scale with a weight, and before the undeclared-fp8 refusal:
+ # nvfp4's block scales are float8 tensors of their own.
+ header_layers = strip_layer_path_prefix(parse_quantization_metadata(metadata))
+ nvfp4_payloads = {
+ diffusers_module_path(official): payload
+ for official, payload in pop_nvfp4_layers(sd, header_layers=header_layers).items()
+ }
+ reject_float8_weights(sd, what, path, _TRANSFORMER_SUPPORTED_NOTE)
+
+ # ``int8_tensorwise`` has to be recognised before the key conversion: that conversion renames
+ # ``.weight`` by substring and carries a sibling ``.weight_scale`` along but not ``.comfy_quant``.
+ int8_markers = extract_int8_convrot_markers(sd)
+ reject_unmarked_int8_weights(sd, int8_markers, "LTX-2")
+ # In place: the dict handed in is the one the cache-room records are taken on.
+ for key in set(sd) - set(drop_unconsumed_quantization_sidecars(sd)):
+ del sd[key]
+ quantized = resolve_quantized_module_paths(int8_markers, key_map)
+ for key in list(sd):
+ sd[key_map[key]] = sd.pop(key)
+
+ # The keyframe absolute position embedding is a 2.5.1 addition that the nvfp4 release omits;
+ # its presence is a fact about the file, not the generation.
+ transformer_config = {
+ **cc.LTX2_5_TRANSFORMER_CONFIG,
+ "use_keyframes_abs_pos_embedding": "keyframes_abs_pos_embedding" in sd,
+ }
+ with accelerate.init_empty_weights():
+ model = LTX2VideoTransformer3DModel(**transformer_config)
+ skip_patterns = _model_declared_skip_patterns(model)
+ nvfp4_bytes = predict_nvfp4_install_size(model, nvfp4_payloads, model_dtype, skip_patterns)
+
+ if quantized:
+ quantized = install_int8_convrot_layers(
+ model,
+ sd,
+ quantized,
+ model_dtype,
+ architecture="LTX-2",
+ reserve=self._ram_cache.make_room,
+ skip_patterns=skip_patterns,
+ extra_reserved_bytes=nvfp4_bytes,
+ )
+ self._logger.info(
+ f"{what}: kept {len(quantized)} of {len(int8_markers)} layer(s) in int8 "
+ "(int8_tensorwise checkpoint, dequantized per forward)"
+ )
+ else:
+ self._ram_cache.make_room(
+ predict_cast_state_dict_size(sd, model_dtype, keep_fp8=False, model=model, skip_patterns=skip_patterns)
+ + nvfp4_bytes
+ )
+ cast_state_dict(sd, model_dtype, keep_fp8=False, model=model, skip_patterns=skip_patterns)
+
+ if nvfp4_payloads:
+ packed = install_nvfp4_layers(model, sd, nvfp4_payloads, model_dtype, skip_patterns)
+ self._logger.info(f"{what}: kept {packed} of {len(nvfp4_payloads)} nvfp4 layer(s) packed.")
+
+ load_state_dict_ignoring_extras(model, sd, source=f"{what} single file", assign=True, allow_missing=True)
+ reject_incomplete_load(model, what=f"{what} single file")
+ # ``assign=True`` aliases every param to its ``sd`` tensor; drop the dict's references before
+ # the FP8 cast or each original stays reachable while its fp8 copy is allocated.
+ sd.clear()
+
+ if not quantized and not nvfp4_payloads:
+ model = self._apply_fp8_layerwise_casting(model, config, SubModelType.Transformer)
+ return model
+
+
[email protected](base=BaseModelType.LTX2, type=ModelType.Main, format=ModelFormat.Diffusers)
+class LTX2FolderModel(_LTX2ComponentLoading, ModelLoader):
+ """Loader for an LTX-2 component folder (and its transformer, when the folder has one)."""
+
+ def get_size_fs(
+ self, config: AnyModelConfig, model_path: Path, submodel_type: Optional[SubModelType] = None
+ ) -> int:
+ """The file(s) the submodel is read from -- there is no ``<submodel>/`` subfolder to size."""
+ if not isinstance(config, Main_Diffusers_LTX2_Config) or submodel_type not in _SUBMODEL_ROLES:
+ return 0
+ files = {config.components.get(role) for role in _SUBMODEL_ROLES[submodel_type]} - {None}
+ return sum((model_path / name).stat().st_size for name in files if (model_path / name).is_file())
+
+ def _load_model(
+ self,
+ config: AnyModelConfig,
+ submodel_type: Optional[SubModelType] = None,
+ ) -> AnyModel:
+ if not isinstance(config, Main_Diffusers_LTX2_Config):
+ raise ValueError(f"Unexpected config type {type(config).__name__} for an LTX-2 folder loader.")
+ if submodel_type is None:
+ raise Exception("A submodel type must be provided when loading LTX-2 folders.")
+
+ match submodel_type:
+ case SubModelType.Transformer:
+ if layout.ROLE_TRANSFORMER not in config.components:
+ raise ValueError(
+ "This LTX-2 folder holds only the shared components - it is a components-only install. "
+ "In the LTX-2 Model Loader, select a single-file LTX-2 transformer (bf16 or int8-convrot) "
+ "to use with it."
+ )
+ return self._load_transformer_from_file(_component_path(config, layout.ROLE_TRANSFORMER), config)
+ case SubModelType.VAE:
+ return self._load_video_vae(_component_path(config, layout.ROLE_VIDEO_VAE))
+ case SubModelType.AudioVAE:
+ return self._load_audio_vae(_component_path(config, layout.ROLE_AUDIO_VAE))
+ case SubModelType.Vocoder:
+ return self._load_vocoder(_component_path(config, layout.ROLE_VOCODER))
+ case SubModelType.Connectors:
+ return self._load_connectors(config)
+ case SubModelType.LatentUpsampler:
+ return self._load_upsampler(_component_path(config, layout.ROLE_SPATIAL_UPSAMPLER), temporal=False)
+ case SubModelType.TemporalLatentUpsampler:
+ return self._load_upsampler(_component_path(config, layout.ROLE_TEMPORAL_UPSAMPLER), temporal=True)
+ case SubModelType.TextEncoder | SubModelType.Tokenizer:
+ raise ValueError(
+ "LTX-2 component folders carry no text encoder. The Gemma-4 encoder is its own model record; "
+ "select it in the LTX-2 Model Loader's text encoder field."
+ )
+ case _:
+ raise ValueError(f"Unsupported submodel type {submodel_type} for LTX-2 folders.")
+
+
[email protected](base=BaseModelType.LTX2, type=ModelType.Main, format=ModelFormat.Checkpoint)
+class LTX2CheckpointModel(_LTX2ComponentLoading, ModelLoader):
+ """Loader for LTX-2 single-file transformers (bf16, Comfy int8-convrot or header-named nvfp4)."""
+
+ def _load_model(
+ self,
+ config: AnyModelConfig,
+ submodel_type: Optional[SubModelType] = None,
+ ) -> AnyModel:
+ if not isinstance(config, Main_Checkpoint_LTX2_Config):
+ raise ValueError(f"Unexpected config type {type(config).__name__} for an LTX-2 checkpoint loader.")
+ if submodel_type is not SubModelType.Transformer:
+ raise ValueError(
+ "LTX-2 single-file checkpoints serve only the transformer. The VAEs, vocoder and connectors "
+ "come from an installed LTX-2 component folder and the text encoder from the Gemma-4 encoder "
+ f"record. Received: {submodel_type.value if submodel_type else 'None'}"
+ )
+ return self._load_from_singlefile(config)
+
+ def _load_from_singlefile(self, config: Main_Checkpoint_LTX2_Config) -> AnyModel:
+ return self._load_transformer_from_file(Path(config.path), config)
+
+
[email protected](base=BaseModelType.LTX2, type=ModelType.Gemma4Encoder, format=ModelFormat.Gemma4Encoder)
+class LTX2Gemma4EncoderModel(ModelLoader):
+ """Loader for the LTX-2.5 Gemma-4-12B text tower (bf16 or Comfy int8-convrot) and its tokenizer.
+
+ Only the text tower is built (``Gemma4TextModel``, verified key-for-key against the release): the
+ unified model's vision/audio embedders are never used, and the LM head is tied and never run.
+ Quantized files keep their int8 weights + per-channel scales resident (``Int8ConvrotLinear``).
+ """
+
+ def get_size_fs(
+ self, config: AnyModelConfig, model_path: Path, submodel_type: Optional[SubModelType] = None
+ ) -> int:
+ """Size the one weight file (the tokenizer is a few MB); the folder may nest it one level down."""
+ if not isinstance(config, Gemma4Encoder_Gemma4Encoder_LTX2_Config):
+ return 0
+ root = model_path / config.subfolder if config.subfolder else model_path
+ if submodel_type is SubModelType.TextEncoder:
+ weight = root / config.weight_file
+ return weight.stat().st_size if weight.is_file() else 0
+ return sum(p.stat().st_size for p in root.glob("tokenizer*") if p.is_file())
+
+ def _load_model(
+ self,
+ config: AnyModelConfig,
+ submodel_type: Optional[SubModelType] = None,
+ ) -> AnyModel:
+ if not isinstance(config, Gemma4Encoder_Gemma4Encoder_LTX2_Config):
+ raise ValueError(f"Unexpected config type {type(config).__name__} for an LTX-2 Gemma-4 loader.")
+ root = Path(config.path) / config.subfolder if config.subfolder else Path(config.path)
+ match submodel_type:
+ case SubModelType.Tokenizer:
+ from transformers import AutoTokenizer
+
+ return AutoTokenizer.from_pretrained(root, local_files_only=True)
+ case SubModelType.TextEncoder:
+ return self._load_text_encoder(root / config.weight_file, root / "config.json")
+ case _:
+ raise ValueError(
+ "The LTX-2 Gemma-4 encoder serves the text encoder and its tokenizer. "
+ f"Received: {submodel_type.value if submodel_type else 'None'}"
+ )
+
+ def _load_text_encoder(self, weight_path: Path, config_path: Path) -> AnyModel:
+ from safetensors.torch import load_file
+ from transformers import Gemma4TextConfig
+ from transformers.models.gemma4.modeling_gemma4 import Gemma4TextModel
+
+ what = "LTX-2 Gemma-4 encoder"
+ model_dtype = TorchDevice.choose_bfloat16_safe_dtype(TorchDevice.choose_torch_device())
+
+ reject_formats_declared_in_the_header(
+ weight_path, what, self._logger, {INT8_TENSORWISE_FORMAT}, _ENCODER_SUPPORTED_NOTE
+ )
+ sd = load_file(weight_path)
+ reject_float8_weights(sd, what, weight_path, _ENCODER_SUPPORTED_NOTE)
+
+ # The unified layout nests the tower under ``model.language_model`` beside vision/audio
+ # embedders and the tied head; Lightricks' with-proj files add the connector projections under
+ # ``hf_asset__``. None of that is the tower's. ``Gemma4TextModel`` names its own tensors
+ # without the ``model.`` prefix.
+ dropped = (
+ "hf_asset__",
+ "model.vision_tower.",
+ "model.audio_tower.",
+ "model.embed_vision.",
+ "model.embed_audio.",
+ "lm_head.",
+ )
+ for key in list(sd):
+ if key.startswith(dropped):
+ del sd[key]
+ continue
+ bare = key
+ for prefix in ("model.language_model.", "model."):
+ if bare.startswith(prefix):
+ bare = bare[len(prefix) :]
+ break
+ if bare != key:
+ sd[bare] = sd.pop(key)
+
+ int8_markers = extract_int8_convrot_markers(sd)
+ reject_unmarked_int8_weights(sd, int8_markers, "LTX-2 Gemma-4")
+ for key in set(sd) - set(drop_unconsumed_quantization_sidecars(sd)):
+ del sd[key]
+
+ config_dict = json.loads(config_path.read_text(encoding="utf-8"))
+ text_config = (
+ config_dict.get("text_config") if isinstance(config_dict.get("text_config"), dict) else config_dict
+ )
+ te_config = Gemma4TextConfig(
+ **{k: v for k, v in text_config.items() if k not in ("architectures", "model_type", "transformers_version")}
+ )
+ with accelerate.init_empty_weights():
+ model = Gemma4TextModel(te_config)
+
+ if int8_markers:
+ # The shared helper: foreign-scale refusal, reservation before the split, the dense cast
+ # and the module swap, in that order.
+ install_int8_convrot_layers(
+ model, sd, int8_markers, model_dtype, architecture="LTX-2 Gemma-4", reserve=self._ram_cache.make_room
+ )
+ else:
+ self._ram_cache.make_room(predict_cast_state_dict_size(sd, model_dtype, keep_fp8=False))
+ cast_state_dict(sd, model_dtype, keep_fp8=False)
+
+ missing, unexpected = model.load_state_dict(sd, strict=False, assign=True)
+ if unexpected:
+ raise RuntimeError(f"Unexpected keys loading {what}: {sorted(unexpected)[:5]}...")
+ # The rotary inverse-frequency buffers are computed by the constructor, not stored.
+ stray = [k for k in missing if not k.startswith("rotary_emb.")]
+ if stray:
+ raise RuntimeError(f"Missing keys loading {what}: {sorted(stray)[:5]}...")
+ sd.clear()
+ return model
diff --git a/invokeai/backend/model_manager/load/model_loaders/minimax_h3.py b/invokeai/backend/model_manager/load/model_loaders/minimax_h3.py
index 0c5cd3c7ae..85145784c9 100644
--- a/invokeai/backend/model_manager/load/model_loaders/minimax_h3.py
+++ b/invokeai/backend/model_manager/load/model_loaders/minimax_h3.py
@@ -22,7 +22,6 @@ The two ``MiniMaxH3Scheduler`` instances (video shift 12.0, audio shift 3.0) are
directly by the denoise invocation - they are stateless configs, not loaded weights.
"""
-from collections.abc import Mapping
from pathlib import Path
from typing import Any, Optional
@@ -35,6 +34,10 @@ from invokeai.backend.model_manager.configs.main import (
)
from invokeai.backend.model_manager.load.load_default import ModelLoader
from invokeai.backend.model_manager.load.model_loader_registry import ModelLoaderRegistry
+from invokeai.backend.model_manager.load.model_loaders._single_file_guards import (
+ reject_float8_weights,
+ reject_formats_declared_in_the_header,
+)
from invokeai.backend.model_manager.taxonomy import (
AnyModel,
BaseModelType,
@@ -45,59 +48,19 @@ from invokeai.backend.model_manager.taxonomy import (
from invokeai.backend.model_manager.util.qwen3_vl import normalize_qwen3vl_rope_config
from invokeai.backend.util.devices import TorchDevice
+_H3_SUPPORTED_NOTE = "Only unquantized and Comfy 'int8_tensorwise' (int8/int8-convrot) single files are supported."
+
def _reject_formats_declared_in_the_header(model_path: Path, what: str, logger: Any) -> None:
- """Refuse a quantization format this loader cannot read, from the header alone.
-
- Before the tensor read, which is ~20 GiB for the transformer and ~25 GiB for the encoder. Both
- header transports are read, because which one a file uses depends on the tool that produced it,
- not on the format: a per-tensor ``.comfy_quant`` marker, or an entry in ``_quantization_metadata``.
- FLUX.2's Comfy-Org fp8 build uses only the second, and reading only the first let a file of that
- shape through to the converter, which died in the fused-qkv split with a bare ``IndexError`` that
- named neither fp8 nor the format.
-
- The two are read with different strictness on purpose. A per-tensor marker exists only to declare
- a scheme, so one without a readable ``format`` is refused as unreadable, as it always was. A header
- entry can carry per-layer flags and nothing else -- ``full_precision_matrix_mult`` alone is a
- well-formed entry -- so one without a ``format`` declares nothing and is skipped; refusing it would
- turn away a valid int8 build for a hint this loader does not even read. An entry that is not a
- mapping at all is refused as unreadable rather than left to raise ``AttributeError``.
- """
- from invokeai.backend.quantization.fp8_scaled import parse_quantization_metadata, read_safetensors_metadata
- from invokeai.backend.quantization.int8_convrot import INT8_TENSORWISE_FORMAT, read_comfy_quant_markers
-
- declared = [marker.get("format") for marker in read_comfy_quant_markers(model_path).values()]
- for entry in parse_quantization_metadata(read_safetensors_metadata(model_path, logger)).values():
- if not isinstance(entry, Mapping):
- declared.append(None)
- elif "format" in entry:
- declared.append(entry["format"])
- unsupported = sorted({str(fmt or "unreadable") for fmt in declared if fmt != INT8_TENSORWISE_FORMAT})
- if unsupported:
- raise ValueError(
- f"Unsupported quantization format(s) {unsupported} in {what} {model_path.name}. "
- "Only unquantized and Comfy 'int8_tensorwise' (int8/int8-convrot) single files are supported."
- )
+ """H3's gate: only ``int8_tensorwise`` may be declared (see the shared guard for the rules)."""
+ from invokeai.backend.quantization.int8_convrot import INT8_TENSORWISE_FORMAT
+ reject_formats_declared_in_the_header(model_path, what, logger, {INT8_TENSORWISE_FORMAT}, _H3_SUPPORTED_NOTE)
-def _reject_float8_weights(sd: dict[str, Any], what: str, model_path: Path) -> None:
- """Refuse float8 weights that nothing in the header declared.
-
- The older ComfyUI scaled-fp8 shape declares itself nowhere -- fp8 codes and a ``weight_scale``
- beside them, no marker, no header entry -- so the header gate cannot see it. Refused here, after
- the read but before the converter, which is where it otherwise failed: in the qkv split on a
- per-tensor scale, or at ``load_state_dict`` on an orphaned scale reported as an "unexpected key".
- Keyed on the dtype rather than on a scale key, so a raw fp8 file with no scale is named too
- instead of loading fp8 parameters that fail at the first matmul.
- """
- from invokeai.backend.quantization.fp8_scaled import FP8_WEIGHT_DTYPES
- carried = sorted(key for key, value in sd.items() if getattr(value, "dtype", None) in FP8_WEIGHT_DTYPES)
- if carried:
- raise ValueError(
- f"{what} {model_path.name} carries {len(carried)} float8 weight(s) (e.g. {', '.join(carried[:3])}). "
- "Only unquantized and Comfy 'int8_tensorwise' (int8/int8-convrot) single files are supported."
- )
+def _reject_float8_weights(sd: dict[str, Any], what: str, model_path: Path) -> None:
+ """H3's undeclared-fp8 refusal (see the shared guard for why it exists)."""
+ reject_float8_weights(sd, what, model_path, _H3_SUPPORTED_NOTE)
def _raise_if_no_weight_shards(submodel_path: Path, submodel_label: str) -> None:
diff --git a/invokeai/backend/model_manager/starter_models/__init__.py b/invokeai/backend/model_manager/starter_models/__init__.py
index 693c5a6447..4fd50b2bf7 100644
--- a/invokeai/backend/model_manager/starter_models/__init__.py
+++ b/invokeai/backend/model_manager/starter_models/__init__.py
@@ -145,6 +145,14 @@ from invokeai.backend.model_manager.starter_models.krea_2 import (
krea2_turbo_gguf_q8_0,
krea2_turbo_nvfp4,
)
+from invokeai.backend.model_manager.starter_models.ltx_2 import (
+ ltx2_5_components,
+ ltx2_5_dev_transformer_bf16,
+ ltx2_5_dev_transformer_int8,
+ ltx2_5_distilled_transformer_int8,
+ ltx2_5_text_encoder_bf16,
+ ltx2_5_text_encoder_int8,
+)
from invokeai.backend.model_manager.starter_models.minimax_h3 import (
minimax_h3_components,
minimax_h3_int8_text_encoder,
@@ -458,6 +466,12 @@ STARTER_MODELS: list[StarterModel] = [
minimax_h3_turbo_lora,
minimax_h3_lightx2v_turbo_lora,
minimax_h3_lightx2v_ref2v_turbo_lora,
+ ltx2_5_dev_transformer_int8,
+ ltx2_5_distilled_transformer_int8,
+ ltx2_5_dev_transformer_bf16,
+ ltx2_5_text_encoder_int8,
+ ltx2_5_text_encoder_bf16,
+ ltx2_5_components,
gemini_flash_image,
gemini_pro_image_preview,
gemini_3_1_flash_image_preview,
@@ -647,6 +661,13 @@ minimax_h3_bundle: list[StarterModel] = [
minimax_h3_lightx2v_ref2v_turbo_lora,
]
+ltx2_bundle: list[StarterModel] = [
+ ltx2_5_components,
+ ltx2_5_text_encoder_int8,
+ ltx2_5_dev_transformer_int8,
+ ltx2_5_distilled_transformer_int8,
+]
+
STARTER_BUNDLES: dict[str, StarterModelBundle] = {
BaseModelType.StableDiffusion1: StarterModelBundle(name="Stable Diffusion 1.5", models=sd1_bundle),
BaseModelType.StableDiffusionXL: StarterModelBundle(name="SDXL", models=sdxl_bundle),
@@ -660,6 +681,7 @@ STARTER_BUNDLES: dict[str, StarterModelBundle] = {
"wan_t2v": StarterModelBundle(name="Wan 2.2 Text-to-Video", models=wan_t2v_bundle),
"wan_i2v": StarterModelBundle(name="Wan 2.2 Image-to-Video", models=wan_i2v_bundle),
BaseModelType.MiniMaxH3: StarterModelBundle(name="MiniMax H3", models=minimax_h3_bundle),
+ BaseModelType.LTX2: StarterModelBundle(name="LTX-2.5", models=ltx2_bundle),
BaseModelType.Ideogram4: StarterModelBundle(name="Ideogram 4", models=ideogram_bundle),
}
diff --git a/invokeai/backend/model_manager/starter_models/ltx_2.py b/invokeai/backend/model_manager/starter_models/ltx_2.py
new file mode 100644
index 0000000000..629608eda7
--- /dev/null
+++ b/invokeai/backend/model_manager/starter_models/ltx_2.py
@@ -0,0 +1,108 @@
+"""LTX-2.5 starter models.
+
+Sourced from the ``DeepBeepMeep/LTX-2`` mirror: an ungated, per-component repack of Lightricks'
+LTX-2.5 release (tensor values unchanged, connectors split out of the transformer files) that the
+installer can fetch without a Hugging Face login. The official ``Lightricks/LTX-2.5`` repo is
+license-gated and packs the connectors and text projection differently; only the mirror's split is
+a complete component source in this version.
+
+The mirror's nvfp4 transformer is deliberately not listed: its file names no quantized layer in a
+marker or header, which the nvfp4 reader requires to know the block-scale layout, so it is refused
+at load time.
+"""
+
+from invokeai.backend.model_manager.starter_models.types import StarterModel
+from invokeai.backend.model_manager.taxonomy import (
+ BaseModelType,
+ LTX2VariantType,
+ ModelFormat,
+ ModelType,
+)
+
+_LICENSE_NOTE = (
+ "NOTE: LTX-2.5 is distributed under the LTX-2.x Community License (free for entities under "
+ "$10M annual revenue; see https://huggingface.co/Lightricks/LTX-2.5)."
+)
+
+_MIRROR = "DeepBeepMeep/LTX-2"
+
+ltx2_5_components = StarterModel(
+ name="LTX-2.5 Components",
+ base=BaseModelType.LTX2,
+ source=(
+ f"{_MIRROR}::ltx-2.5-22b_video_vae_bf16.safetensors+ltx-2.5-22b_audio_vae_bf16.safetensors"
+ "+ltx-2.5-22b_vocoder_bf16.safetensors+ltx-2.5-22b_text_embedding_projection_bf16.safetensors"
+ "+ltx-2.5-22b_video_embeddings_connector_bf16.safetensors+ltx-2.5-22b_audio_embeddings_connector_bf16.safetensors"
+ "+ltx-2.5-spatial-upscaler-x2-1.0_bf16.safetensors+ltx-2.5-temporal-upscaler-x2-1.0_bf16.safetensors"
+ ),
+ description="LTX-2.5 shared components: video and audio VAEs, 48 kHz vocoder, text connectors and the "
+ f"x2 latent upsamplers (~9.5 GB). Used together with an LTX-2.5 transformer and the Gemma-4 text encoder. {_LICENSE_NOTE}",
+ type=ModelType.Main,
+ format=ModelFormat.Diffusers,
+)
+
+ltx2_5_text_encoder_int8 = StarterModel(
+ name="LTX-2.5 Text Encoder (Gemma-4 12B, int8)",
+ base=BaseModelType.LTX2,
+ source=(
+ f"{_MIRROR}::gemma4-12b-ltx-v1/config.json+gemma4-12b-ltx-v1/tokenizer.json"
+ "+gemma4-12b-ltx-v1/tokenizer_config.json+gemma4-12b-ltx-v1/chat_template.jinja"
+ "+gemma4-12b-ltx-v1/gemma4-12b-ltx-v1_int8_convrot.safetensors"
+ ),
+ description="Lightricks' LTX-tuned Gemma-4-12B text encoder with its tokenizer, int8 quantized (~13 GB). "
+ f"The text encoder every LTX-2.5 generation uses. {_LICENSE_NOTE}",
+ type=ModelType.Gemma4Encoder,
+ format=ModelFormat.Gemma4Encoder,
+)
+
+ltx2_5_text_encoder_bf16 = StarterModel(
+ name="LTX-2.5 Text Encoder (Gemma-4 12B, bf16)",
+ base=BaseModelType.LTX2,
+ source=(
+ f"{_MIRROR}::gemma4-12b-ltx-v1/config.json+gemma4-12b-ltx-v1/tokenizer.json"
+ "+gemma4-12b-ltx-v1/tokenizer_config.json+gemma4-12b-ltx-v1/chat_template.jinja"
+ "+gemma4-12b-ltx-v1/gemma4-12b-ltx-v1_bf16.safetensors"
+ ),
+ description="Lightricks' LTX-tuned Gemma-4-12B text encoder with its tokenizer, unquantized bf16 (~24 GB). "
+ f"The text encoder every LTX-2.5 generation uses. {_LICENSE_NOTE}",
+ type=ModelType.Gemma4Encoder,
+ format=ModelFormat.Gemma4Encoder,
+)
+
+ltx2_5_dev_transformer_int8 = StarterModel(
+ name="LTX-2.5 Dev Transformer (int8)",
+ base=BaseModelType.LTX2,
+ source=f"{_MIRROR}::ltx-2.5-22b-dev_diffusion_model_int8_convrot.safetensors",
+ description="LTX-2.5 22B guided ('dev') video+audio transformer, int8 quantized single file (~19.5 GB). "
+ f"Runs with the LTX-2.5 Components and the Gemma-4 text encoder. Total size with dependencies: ~42 GB. "
+ f"{_LICENSE_NOTE}",
+ type=ModelType.Main,
+ format=ModelFormat.Checkpoint,
+ variant=LTX2VariantType.Dev,
+ dependencies=[ltx2_5_components, ltx2_5_text_encoder_int8],
+)
+
+ltx2_5_distilled_transformer_int8 = StarterModel(
+ name="LTX-2.5 Distilled Transformer (int8)",
+ base=BaseModelType.LTX2,
+ source=f"{_MIRROR}::ltx-2.5-22b-distilled_diffusion_model_int8_convrot.safetensors",
+ description="LTX-2.5 22B step-distilled video+audio transformer (8 steps, no guidance), int8 quantized "
+ f"single file (~19.5 GB). Runs with the LTX-2.5 Components and the Gemma-4 text encoder. Total size with "
+ f"dependencies: ~42 GB. {_LICENSE_NOTE}",
+ type=ModelType.Main,
+ format=ModelFormat.Checkpoint,
+ variant=LTX2VariantType.Distilled,
+ dependencies=[ltx2_5_components, ltx2_5_text_encoder_int8],
+)
+
+ltx2_5_dev_transformer_bf16 = StarterModel(
+ name="LTX-2.5 Dev Transformer (bf16)",
+ base=BaseModelType.LTX2,
+ source=f"{_MIRROR}::ltx-2.5-22b-dev_diffusion_model_bf16.safetensors",
+ description="LTX-2.5 22B guided ('dev') video+audio transformer, unquantized bf16 single file (~38 GB; "
+ f"needs a 48 GB+ card or partial loading). Total size with dependencies: ~61 GB. {_LICENSE_NOTE}",
+ type=ModelType.Main,
+ format=ModelFormat.Checkpoint,
+ variant=LTX2VariantType.Dev,
+ dependencies=[ltx2_5_components, ltx2_5_text_encoder_int8],
+)
diff --git a/invokeai/backend/model_manager/taxonomy.py b/invokeai/backend/model_manager/taxonomy.py
index 416c2019fa..a8b73d2f4f 100644
--- a/invokeai/backend/model_manager/taxonomy.py
+++ b/invokeai/backend/model_manager/taxonomy.py
@@ -69,6 +69,9 @@ class BaseModelType(str, Enum):
MiniMaxH3 = "minimax-h3"
"""Indicates the model is associated with the MiniMax H3 (Hailuo 3.0) omni-modal architecture, which
generates video with jointly-denoised stereo audio."""
+ LTX2 = "ltx-2"
+ """Indicates the model is associated with the Lightricks LTX-2 family (LTX-2.5 in this version), a
+ dual-stream video+audio DiT conditioned by a Gemma text encoder through learned connectors."""
Unknown = "unknown"
"""Indicates the model's base architecture is unknown."""
@@ -94,6 +97,7 @@ class ModelType(str, Enum):
MistralEncoder = "mistral_encoder"
WanT5Encoder = "wan_t5_encoder"
Gemma2Encoder = "gemma2_encoder"
+ Gemma4Encoder = "gemma4_encoder"
SpandrelImageToImage = "spandrel_image_to_image"
SigLIP = "siglip"
FluxRedux = "flux_redux"
@@ -124,6 +128,10 @@ class SubModelType(str, Enum):
VAEDecoder = "vae_decoder"
VAEEncoder = "vae_encoder"
AudioVAE = "audio_vae"
+ Vocoder = "vocoder"
+ Connectors = "connectors"
+ LatentUpsampler = "latent_upsampler"
+ TemporalLatentUpsampler = "temporal_latent_upsampler"
Scheduler = "scheduler"
SafetyChecker = "safety_checker"
@@ -286,6 +294,21 @@ class MiniMaxH3VariantType(str, Enum):
weights; supports only the reference task."""
+class LTX2VariantType(str, Enum):
+ """LTX-2 transformer variants. Dev and Distilled are key-for-key identical checkpoints of the same
+ architecture; the variant decides the sampling recipe (guided ~40-step schedule vs the fixed
+ 8-sigma distilled schedule with CFG off), so it must travel with the model record.
+
+ Values carry the family prefix because variant values are globally unique across enums
+ (`FluxVariantType.Dev` already owns "dev")."""
+
+ Dev = "ltx2_dev"
+ """The guided model: CFG / STG / modality-isolation guidance over a shifted flow schedule."""
+
+ Distilled = "ltx2_distilled"
+ """The step-distilled model: fixed 8-sigma schedule, no guidance, no negative prompt."""
+
+
class MistralVariantType(str, Enum):
"""Mistral text encoder variants used by FLUX.2 [dev] and ERNIE-Image."""
@@ -350,6 +373,7 @@ class ModelFormat(str, Enum):
MistralEncoder = "mistral_encoder"
WanT5Encoder = "wan_t5_encoder"
Gemma2Encoder = "gemma2_encoder"
+ Gemma4Encoder = "gemma4_encoder"
BnbQuantizedLlmInt8b = "bnb_quantized_int8b"
BnbQuantizednf4b = "bnb_quantized_nf4b"
GGUFQuantized = "gguf_quantized"
@@ -423,6 +447,7 @@ AnyVariant: TypeAlias = Union[
Qwen3VLVariantType,
Krea2VariantType,
MiniMaxH3VariantType,
+ LTX2VariantType,
MistralVariantType,
PiDDecoderVariantType,
]
@@ -439,6 +464,7 @@ variant_type_adapter = TypeAdapter[
| Qwen3VLVariantType
| Krea2VariantType
| MiniMaxH3VariantType
+ | LTX2VariantType
| MistralVariantType
| PiDDecoderVariantType
](
@@ -454,6 +480,7 @@ variant_type_adapter = TypeAdapter[
| Qwen3VLVariantType
| Krea2VariantType
| MiniMaxH3VariantType
+ | LTX2VariantType
| MistralVariantType
| PiDDecoderVariantType
)
diff --git a/invokeai/backend/stable_diffusion/diffusion/conditioning_data.py b/invokeai/backend/stable_diffusion/diffusion/conditioning_data.py
index 552ab292c2..bbdfd186eb 100644
--- a/invokeai/backend/stable_diffusion/diffusion/conditioning_data.py
+++ b/invokeai/backend/stable_diffusion/diffusion/conditioning_data.py
@@ -224,6 +224,32 @@ class MiniMaxH3ConditioningInfo:
return self
+@dataclass
+class LTX2ConditioningInfo:
+ """LTX-2 text conditioning, already passed through the LTX-2 text connectors.
+
+ The Gemma-4 hidden states are stacked (all layers), normalised and projected per modality by the
+ connectors inside the text-encoder invocation, so the denoise node receives the two streams the
+ transformer's prompt cross-attention consumes and never touches the connectors itself.
+ """
+
+ video_embeds: torch.Tensor
+ """Video-branch prompt embeddings. Shape: (1, num_text_tokens, 4096)."""
+
+ audio_embeds: torch.Tensor
+ """Audio-branch prompt embeddings. Shape: (1, num_text_tokens, 2048)."""
+
+ attention_mask: torch.Tensor
+ """Binary token mask over the connector output (1 = attend). Shape: (1, num_text_tokens)."""
+
+ def to(self, device: torch.device | None = None, dtype: torch.dtype | None = None):
+ self.video_embeds = self.video_embeds.to(device=device, dtype=dtype)
+ self.audio_embeds = self.audio_embeds.to(device=device, dtype=dtype)
+ # The mask is structural; only the device moves.
+ self.attention_mask = self.attention_mask.to(device=device)
+ return self
+
+
@dataclass
class WanConditioningInfo:
"""Wan 2.2 text conditioning information from the UMT5-XXL encoder.
@@ -264,6 +290,7 @@ class ConditioningFieldData:
| List[AnimaConditioningInfo]
| List[WanConditioningInfo]
| List[MiniMaxH3ConditioningInfo]
+ | List[LTX2ConditioningInfo]
)
diff --git a/invokeai/frontend/web/openapi.json b/invokeai/frontend/web/openapi.json
index e201350b90..a51baa7f6e 100644
--- a/invokeai/frontend/web/openapi.json
+++ b/invokeai/frontend/web/openapi.json
@@ -1395,6 +1395,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -1437,6 +1440,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -1653,6 +1659,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -1835,6 +1844,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -1877,6 +1889,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -2093,6 +2108,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -2275,6 +2293,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -2317,6 +2338,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -2533,6 +2557,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -2760,6 +2787,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -2802,6 +2832,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -3018,6 +3051,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -3272,6 +3308,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -3314,6 +3353,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -3530,6 +3572,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -4638,6 +4683,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -4680,6 +4728,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -4896,6 +4947,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -17224,6 +17278,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -17266,6 +17323,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -17482,6 +17542,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -18056,6 +18119,7 @@
"krea-2",
"wan",
"minimax-h3",
+ "ltx-2",
"unknown"
],
"title": "BaseModelType",
@@ -25830,6 +25894,8 @@
"wan_extend_video",
"minimax_h3_t2v",
"minimax_h3_i2v",
+ "ltx2_t2v",
+ "ltx2_i2v",
"minimax_h3_lf2v",
"minimax_h3_flf2v",
"minimax_h3_extend_video",
@@ -38870,6 +38936,155 @@
"title": "Gemma2Encoder_Gemma2Encoder_Config",
"description": "Standalone Gemma-2 causal LM directory used as a text encoder by PiD.\n\nExpected directory layout (HuggingFace `from_pretrained`-compatible)::\n\n <model_root>/\n config.json # architectures: [\"Gemma2ForCausalLM\"]\n tokenizer.json\n tokenizer_config.json\n model-*.safetensors # or model.safetensors / *.bin"
},
+ "Gemma4Encoder_Gemma4Encoder_LTX2_Config": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "title": "Key",
+ "description": "A unique key for this model."
+ },
+ "hash": {
+ "type": "string",
+ "title": "Hash",
+ "description": "The hash of the model file(s)."
+ },
+ "path": {
+ "type": "string",
+ "title": "Path",
+ "description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
+ },
+ "file_size": {
+ "type": "integer",
+ "title": "File Size",
+ "description": "The size of the model in bytes."
+ },
+ "name": {
+ "type": "string",
+ "title": "Name",
+ "description": "Name of the model."
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description",
+ "description": "Model description"
+ },
+ "source": {
+ "type": "string",
+ "title": "Source",
+ "description": "The original source of the model (path, URL or repo_id)."
+ },
+ "source_type": {
+ "$ref": "#/components/schemas/ModelSourceType",
+ "description": "The type of source"
+ },
+ "source_api_response": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Source Api Response",
+ "description": "The original API response from the source, as stringified JSON."
+ },
+ "source_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Source Url",
+ "description": "Optional URL for the model (e.g. download page or model page)."
+ },
+ "cover_image": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Cover Image",
+ "description": "Url for image to preview model"
+ },
+ "base": {
+ "type": "string",
+ "const": "ltx-2",
+ "title": "Base",
+ "default": "ltx-2"
+ },
+ "type": {
+ "type": "string",
+ "const": "gemma4_encoder",
+ "title": "Type",
+ "default": "gemma4_encoder"
+ },
+ "format": {
+ "type": "string",
+ "const": "gemma4_encoder",
+ "title": "Format",
+ "default": "gemma4_encoder"
+ },
+ "subfolder": {
+ "type": "string",
+ "title": "Subfolder",
+ "description": "Directory inside the model folder that holds config, tokenizer and weights ('' = the root).",
+ "default": ""
+ },
+ "weight_file": {
+ "type": "string",
+ "title": "Weight File",
+ "description": "The weight file inside `subfolder` the encoder loads from."
+ },
+ "cpu_only": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Cpu Only",
+ "description": "Whether this model should run on CPU only"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "hash",
+ "path",
+ "file_size",
+ "name",
+ "description",
+ "source",
+ "source_type",
+ "source_api_response",
+ "source_url",
+ "cover_image",
+ "base",
+ "type",
+ "format",
+ "subfolder",
+ "weight_file",
+ "cpu_only"
+ ],
+ "title": "Gemma4Encoder_Gemma4Encoder_LTX2_Config",
+ "description": "The LTX-2.5 Gemma-4-12B text encoder as a folder (config, tokenizer, one weight file)."
+ },
"GeneratePasswordResponse": {
"properties": {
"password": {
@@ -57500,6 +57715,12 @@
"title": "LLMTaskProgressEvent",
"type": "object"
},
+ "LTX2VariantType": {
+ "type": "string",
+ "enum": ["ltx2_dev", "ltx2_distilled"],
+ "title": "LTX2VariantType",
+ "description": "LTX-2 transformer variants. Dev and Distilled are key-for-key identical checkpoints of the same\narchitecture; the variant decides the sampling recipe (guided ~40-step schedule vs the fixed\n8-sigma distilled schedule with CFG off), so it must travel with the model record.\n\nValues carry the family prefix because variant values are globally unique across enums\n(`FluxVariantType.Dev` already owns \"dev\")."
+ },
"LaMaInfillInvocation": {
"category": "inpaint",
"class": "invocation",
@@ -63663,7 +63884,7 @@
"title": "Main_Checkpoint_Krea2_Config",
"description": "Model config for Krea-2 single-file checkpoint models (safetensors, etc)."
},
- "Main_Checkpoint_MiniMaxH3_Config": {
+ "Main_Checkpoint_LTX2_Config": {
"properties": {
"key": {
"type": "string",
@@ -63794,9 +64015,9 @@
},
"base": {
"type": "string",
- "const": "minimax-h3",
+ "const": "ltx-2",
"title": "Base",
- "default": "minimax-h3"
+ "default": "ltx-2"
},
"format": {
"type": "string",
@@ -63805,12 +64026,12 @@
"default": "checkpoint"
},
"variant": {
- "$ref": "#/components/schemas/MiniMaxH3VariantType"
+ "$ref": "#/components/schemas/LTX2VariantType"
},
- "pruned": {
- "type": "boolean",
- "title": "Pruned",
- "description": "Whether this is an AdaLN-pruned ('adaln curves') checkpoint."
+ "generation": {
+ "type": "string",
+ "title": "Generation",
+ "description": "The LTX-2 generation the transformer belongs to, e.g. '2.5'."
}
},
"type": "object",
@@ -63833,12 +64054,12 @@
"base",
"format",
"variant",
- "pruned"
+ "generation"
],
- "title": "Main_Checkpoint_MiniMaxH3_Config",
- "description": "Model config for MiniMax H3 single-file transformer checkpoints (safetensors).\n\nCovers MiniMax's single-file FL2VA transformer repacks (Comfy-Org and mirrors): bf16 or\nComfy ``int8_tensorwise``(+convrot) quantized, full or AdaLN-pruned (\"adaln curves\"). The\nfile holds ONLY the transformer - the text encoder, VAEs, tokenizer and processor must come\nfrom an installed H3 diffusers-layout folder.\n\nThe FL2VA and Ref2VA task transformers are key-for-key (and, except the non-pruned\nint8_convrot repacks, byte-size) indistinguishable, so the FILENAME is the variant\nclassifier and ``variant`` is the user-correctable override for renamed files (e.g.\nre-uploads). A misclassified variant loads and runs but produces degraded output - FL2VA\nexpects no reference conditioning rows, Ref2VA expects them - which is why the override\nexists rather than any attempt at content sniffing."
+ "title": "Main_Checkpoint_LTX2_Config",
+ "description": "An LTX-2 single-file transformer (safetensors) in the official key layout.\n\nCovers the bf16, Comfy ``int8_tensorwise``(+convrot) and ``nvfp4`` releases; the quantization\nscheme is read from the file's own markers by the loader, not recorded here. The file may hold\nonly the transformer (the 2.5 releases) or bundle other components beside it (earlier\ngenerations) -- either way everything else comes from an installed LTX-2 component folder.\n\nDev and Distilled transformers are key-for-key identical, so the FILENAME is the variant\nclassifier and ``variant`` is the user-correctable override for renamed files. A misclassified\nvariant runs but samples with the wrong recipe (guided schedule vs fixed distilled sigmas)."
},
- "Main_Checkpoint_QwenImage_Config": {
+ "Main_Checkpoint_MiniMaxH3_Config": {
"properties": {
"key": {
"type": "string",
@@ -63969,9 +64190,9 @@
},
"base": {
"type": "string",
- "const": "qwen-image",
+ "const": "minimax-h3",
"title": "Base",
- "default": "qwen-image"
+ "default": "minimax-h3"
},
"format": {
"type": "string",
@@ -63980,14 +64201,12 @@
"default": "checkpoint"
},
"variant": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/QwenImageVariantType"
- },
- {
- "type": "null"
- }
- ]
+ "$ref": "#/components/schemas/MiniMaxH3VariantType"
+ },
+ "pruned": {
+ "type": "boolean",
+ "title": "Pruned",
+ "description": "Whether this is an AdaLN-pruned ('adaln curves') checkpoint."
}
},
"type": "object",
@@ -64009,12 +64228,13 @@
"config_path",
"base",
"format",
- "variant"
+ "variant",
+ "pruned"
],
- "title": "Main_Checkpoint_QwenImage_Config",
- "description": "Model config for Qwen Image single-file checkpoint models (safetensors, etc).\n\nCovers raw bf16/fp16 checkpoints and ComfyUI-style fp8_scaled and nvfp4 checkpoints.\nThe loader keeps scaled fp8 weights when fp8 compute is available or the\n`default_settings.fp8_storage` toggle is on (which also re-casts the rest to fp8),\nand dequantizes them to bf16 at load time otherwise."
+ "title": "Main_Checkpoint_MiniMaxH3_Config",
+ "description": "Model config for MiniMax H3 single-file transformer checkpoints (safetensors).\n\nCovers MiniMax's single-file FL2VA transformer repacks (Comfy-Org and mirrors): bf16 or\nComfy ``int8_tensorwise``(+convrot) quantized, full or AdaLN-pruned (\"adaln curves\"). The\nfile holds ONLY the transformer - the text encoder, VAEs, tokenizer and processor must come\nfrom an installed H3 diffusers-layout folder.\n\nThe FL2VA and Ref2VA task transformers are key-for-key (and, except the non-pruned\nint8_convrot repacks, byte-size) indistinguishable, so the FILENAME is the variant\nclassifier and ``variant`` is the user-correctable override for renamed files (e.g.\nre-uploads). A misclassified variant loads and runs but produces degraded output - FL2VA\nexpects no reference conditioning rows, Ref2VA expects them - which is why the override\nexists rather than any attempt at content sniffing."
},
- "Main_Checkpoint_SD1_Config": {
+ "Main_Checkpoint_QwenImage_Config": {
"properties": {
"key": {
"type": "string",
@@ -64143,23 +64363,27 @@
"title": "Config Path",
"description": "Path to the config for this model, if any."
},
+ "base": {
+ "type": "string",
+ "const": "qwen-image",
+ "title": "Base",
+ "default": "qwen-image"
+ },
"format": {
"type": "string",
"const": "checkpoint",
"title": "Format",
"default": "checkpoint"
},
- "prediction_type": {
- "$ref": "#/components/schemas/SchedulerPredictionType"
- },
"variant": {
- "$ref": "#/components/schemas/ModelVariantType"
- },
- "base": {
- "type": "string",
- "const": "sd-1",
- "title": "Base",
- "default": "sd-1"
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/QwenImageVariantType"
+ },
+ {
+ "type": "null"
+ }
+ ]
}
},
"type": "object",
@@ -64179,14 +64403,14 @@
"trigger_phrases",
"default_settings",
"config_path",
+ "base",
"format",
- "prediction_type",
- "variant",
- "base"
+ "variant"
],
- "title": "Main_Checkpoint_SD1_Config"
+ "title": "Main_Checkpoint_QwenImage_Config",
+ "description": "Model config for Qwen Image single-file checkpoint models (safetensors, etc).\n\nCovers raw bf16/fp16 checkpoints and ComfyUI-style fp8_scaled and nvfp4 checkpoints.\nThe loader keeps scaled fp8 weights when fp8 compute is available or the\n`default_settings.fp8_storage` toggle is on (which also re-casts the rest to fp8),\nand dequantizes them to bf16 at load time otherwise."
},
- "Main_Checkpoint_SD2_Config": {
+ "Main_Checkpoint_SD1_Config": {
"properties": {
"key": {
"type": "string",
@@ -64329,9 +64553,181 @@
},
"base": {
"type": "string",
- "const": "sd-2",
+ "const": "sd-1",
"title": "Base",
- "default": "sd-2"
+ "default": "sd-1"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "hash",
+ "path",
+ "file_size",
+ "name",
+ "description",
+ "source",
+ "source_type",
+ "source_api_response",
+ "source_url",
+ "cover_image",
+ "type",
+ "trigger_phrases",
+ "default_settings",
+ "config_path",
+ "format",
+ "prediction_type",
+ "variant",
+ "base"
+ ],
+ "title": "Main_Checkpoint_SD1_Config"
+ },
+ "Main_Checkpoint_SD2_Config": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "title": "Key",
+ "description": "A unique key for this model."
+ },
+ "hash": {
+ "type": "string",
+ "title": "Hash",
+ "description": "The hash of the model file(s)."
+ },
+ "path": {
+ "type": "string",
+ "title": "Path",
+ "description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
+ },
+ "file_size": {
+ "type": "integer",
+ "title": "File Size",
+ "description": "The size of the model in bytes."
+ },
+ "name": {
+ "type": "string",
+ "title": "Name",
+ "description": "Name of the model."
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description",
+ "description": "Model description"
+ },
+ "source": {
+ "type": "string",
+ "title": "Source",
+ "description": "The original source of the model (path, URL or repo_id)."
+ },
+ "source_type": {
+ "$ref": "#/components/schemas/ModelSourceType",
+ "description": "The type of source"
+ },
+ "source_api_response": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Source Api Response",
+ "description": "The original API response from the source, as stringified JSON."
+ },
+ "source_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Source Url",
+ "description": "Optional URL for the model (e.g. download page or model page)."
+ },
+ "cover_image": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Cover Image",
+ "description": "Url for image to preview model"
+ },
+ "type": {
+ "type": "string",
+ "const": "main",
+ "title": "Type",
+ "default": "main"
+ },
+ "trigger_phrases": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "uniqueItems": true
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Trigger Phrases",
+ "description": "Set of trigger phrases for this model"
+ },
+ "default_settings": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/MainModelDefaultSettings"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Default settings for this model"
+ },
+ "config_path": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Config Path",
+ "description": "Path to the config for this model, if any."
+ },
+ "format": {
+ "type": "string",
+ "const": "checkpoint",
+ "title": "Format",
+ "default": "checkpoint"
+ },
+ "prediction_type": {
+ "$ref": "#/components/schemas/SchedulerPredictionType"
+ },
+ "variant": {
+ "$ref": "#/components/schemas/ModelVariantType"
+ },
+ "base": {
+ "type": "string",
+ "const": "sd-2",
+ "title": "Base",
+ "default": "sd-2"
}
},
"type": "object",
@@ -66001,6 +66397,189 @@
"title": "Main_Diffusers_Krea2_Config",
"description": "Model config for Krea-2 diffusers models (Krea-2-Turbo)."
},
+ "Main_Diffusers_LTX2_Config": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "title": "Key",
+ "description": "A unique key for this model."
+ },
+ "hash": {
+ "type": "string",
+ "title": "Hash",
+ "description": "The hash of the model file(s)."
+ },
+ "path": {
+ "type": "string",
+ "title": "Path",
+ "description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
+ },
+ "file_size": {
+ "type": "integer",
+ "title": "File Size",
+ "description": "The size of the model in bytes."
+ },
+ "name": {
+ "type": "string",
+ "title": "Name",
+ "description": "Name of the model."
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description",
+ "description": "Model description"
+ },
+ "source": {
+ "type": "string",
+ "title": "Source",
+ "description": "The original source of the model (path, URL or repo_id)."
+ },
+ "source_type": {
+ "$ref": "#/components/schemas/ModelSourceType",
+ "description": "The type of source"
+ },
+ "source_api_response": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Source Api Response",
+ "description": "The original API response from the source, as stringified JSON."
+ },
+ "source_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Source Url",
+ "description": "Optional URL for the model (e.g. download page or model page)."
+ },
+ "cover_image": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Cover Image",
+ "description": "Url for image to preview model"
+ },
+ "type": {
+ "type": "string",
+ "const": "main",
+ "title": "Type",
+ "default": "main"
+ },
+ "trigger_phrases": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "uniqueItems": true
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Trigger Phrases",
+ "description": "Set of trigger phrases for this model"
+ },
+ "default_settings": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/MainModelDefaultSettings"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Default settings for this model"
+ },
+ "format": {
+ "type": "string",
+ "const": "diffusers",
+ "title": "Format",
+ "default": "diffusers"
+ },
+ "repo_variant": {
+ "$ref": "#/components/schemas/ModelRepoVariant",
+ "default": ""
+ },
+ "base": {
+ "type": "string",
+ "const": "ltx-2",
+ "title": "Base",
+ "default": "ltx-2"
+ },
+ "variant": {
+ "$ref": "#/components/schemas/LTX2VariantType"
+ },
+ "generation": {
+ "type": "string",
+ "title": "Generation",
+ "description": "The LTX-2 generation the folder's files belong to, e.g. '2.5'."
+ },
+ "components": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object",
+ "title": "Components",
+ "description": "Component role -> weight file name inside the folder."
+ },
+ "components_only": {
+ "type": "boolean",
+ "title": "Components Only",
+ "description": "Whether the folder holds only the shared components (VAEs, vocoder, connectors, upsamplers) without a transformer - the transformer must then be supplied as a single-file selection at generation time.",
+ "default": false
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "hash",
+ "path",
+ "file_size",
+ "name",
+ "description",
+ "source",
+ "source_type",
+ "source_api_response",
+ "source_url",
+ "cover_image",
+ "type",
+ "trigger_phrases",
+ "default_settings",
+ "format",
+ "repo_variant",
+ "base",
+ "variant",
+ "generation",
+ "components",
+ "components_only"
+ ],
+ "title": "Main_Diffusers_LTX2_Config",
+ "description": "An LTX-2 folder of per-component single files in the official key layout.\n\nThis is how LTX-2.5 is distributed (``Lightricks/LTX-2.5`` and the ``DeepBeepMeep/LTX-2`` mirror):\none safetensors per component rather than a diffusers ``model_index.json`` tree. The folder is\nthe *component source* of a generation -- video VAE, audio VAE, vocoder, text projection, the two\ntext connectors and the latent upsamplers -- while the 22B transformer normally comes from a\nsingle-file record selected in the model loader (bf16, int8-convrot or nvfp4). A folder that\nalso holds a transformer file is a full install.\n\n``components`` maps each role (see ``invokeai.backend.ltx2.checkpoint_layout``) to the file in the\nfolder that carries it, so the loader never re-classifies at generation time."
+ },
"Main_Diffusers_MiniMaxH3_Config": {
"properties": {
"key": {
@@ -75920,6 +76499,7 @@
"mistral_encoder",
"wan_t5_encoder",
"gemma2_encoder",
+ "gemma4_encoder",
"bnb_quantized_int8b",
"bnb_quantized_nf4b",
"gguf_quantized",
@@ -76209,6 +76789,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -76251,6 +76834,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -76467,6 +77053,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -76895,6 +77484,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -76937,6 +77529,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -77153,6 +77748,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -77466,6 +78064,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -77508,6 +78109,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -77724,6 +78328,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -77893,6 +78500,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -77935,6 +78545,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -78151,6 +78764,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -78578,6 +79194,9 @@
{
"$ref": "#/components/schemas/MiniMaxH3VariantType"
},
+ {
+ "$ref": "#/components/schemas/LTX2VariantType"
+ },
{
"$ref": "#/components/schemas/MistralVariantType"
},
@@ -78727,6 +79346,7 @@
"mistral_encoder",
"wan_t5_encoder",
"gemma2_encoder",
+ "gemma4_encoder",
"spandrel_image_to_image",
"siglip",
"flux_redux",
@@ -78796,6 +79416,9 @@
{
"$ref": "#/components/schemas/Main_Diffusers_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Diffusers_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
},
@@ -78838,6 +79461,9 @@
{
"$ref": "#/components/schemas/Main_Checkpoint_MiniMaxH3_Config"
},
+ {
+ "$ref": "#/components/schemas/Main_Checkpoint_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
},
@@ -79054,6 +79680,9 @@
{
"$ref": "#/components/schemas/Gemma2Encoder_Gemma2Encoder_Config"
},
+ {
+ "$ref": "#/components/schemas/Gemma4Encoder_Gemma4Encoder_LTX2_Config"
+ },
{
"$ref": "#/components/schemas/Gemma2Encoder_GGUF_Config"
},
@@ -91401,6 +92030,9 @@
{
"$ref": "#/components/schemas/MiniMaxH3VariantType"
},
+ {
+ "$ref": "#/components/schemas/LTX2VariantType"
+ },
{
"$ref": "#/components/schemas/MistralVariantType"
},
@@ -91582,6 +92214,9 @@
{
"$ref": "#/components/schemas/MiniMaxH3VariantType"
},
+ {
+ "$ref": "#/components/schemas/LTX2VariantType"
+ },
{
"$ref": "#/components/schemas/MistralVariantType"
},
@@ -92790,6 +93425,10 @@
"vae_decoder",
"vae_encoder",
"audio_vae",
+ "vocoder",
+ "connectors",
+ "latent_upsampler",
+ "temporal_latent_upsampler",
"scheduler",
"safety_checker"
],
@@ -92843,6 +93482,9 @@
{
"$ref": "#/components/schemas/MiniMaxH3VariantType"
},
+ {
+ "$ref": "#/components/schemas/LTX2VariantType"
+ },
{
"$ref": "#/components/schemas/MistralVariantType"
},
diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts
index dba84b8414..5c8faa3c21 100644
--- a/invokeai/frontend/web/src/services/api/schema.ts
+++ b/invokeai/frontend/web/src/services/api/schema.ts
@@ -5032,7 +5032,7 @@ export type components = {
*/
type: "anima_text_encoder";
};
- AnyModelConfig: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
+ AnyModelConfig: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
/**
* AppVersion
* @description App Version Response
@@ -5303,7 +5303,7 @@ export type components = {
* fallback/null value `BaseModelType.Any` for these models, instead of making the model base optional.
* @enum {string}
*/
- BaseModelType: "any" | "sd-1" | "sd-2" | "sd-3" | "sdxl" | "sdxl-refiner" | "flux" | "flux2" | "cogview4" | "z-image" | "ernie-image" | "ideogram-4" | "external" | "qwen-image" | "anima" | "krea-2" | "wan" | "minimax-h3" | "unknown";
+ BaseModelType: "any" | "sd-1" | "sd-2" | "sd-3" | "sdxl" | "sdxl-refiner" | "flux" | "flux2" | "cogview4" | "z-image" | "ernie-image" | "ideogram-4" | "external" | "qwen-image" | "anima" | "krea-2" | "wan" | "minimax-h3" | "ltx-2" | "unknown";
/** Batch */
Batch: {
/**
@@ -9606,7 +9606,7 @@ export type components = {
* @description The generation mode that output this image
* @default null
*/
- generation_mode?: ("txt2img" | "img2img" | "inpaint" | "outpaint" | "sdxl_txt2img" | "sdxl_img2img" | "sdxl_inpaint" | "sdxl_outpaint" | "flux_txt2img" | "flux_img2img" | "flux_inpaint" | "flux_outpaint" | "flux2_txt2img" | "flux2_img2img" | "flux2_inpaint" | "flux2_outpaint" | "sd3_txt2img" | "sd3_img2img" | "sd3_inpaint" | "sd3_outpaint" | "cogview4_txt2img" | "cogview4_img2img" | "cogview4_inpaint" | "cogview4_outpaint" | "z_image_txt2img" | "z_image_img2img" | "z_image_inpaint" | "z_image_outpaint" | "ernie_image_txt2img" | "ideogram4_txt2img" | "qwen_image_txt2img" | "qwen_image_img2img" | "qwen_image_inpaint" | "qwen_image_outpaint" | "anima_txt2img" | "anima_img2img" | "anima_inpaint" | "anima_outpaint" | "krea2_txt2img" | "krea2_img2img" | "krea2_inpaint" | "krea2_outpaint" | "wan_txt2img" | "wan_img2img" | "wan_inpaint" | "wan_outpaint" | "wan_t2v" | "wan_i2v" | "wan_interpolate" | "wan_extend_video" | "minimax_h3_t2v" | "minimax_h3_i2v" | "minimax_h3_lf2v" | "minimax_h3_flf2v" | "minimax_h3_extend_video" | "minimax_h3_ref2v" | "minimax_h3_txt2img") | null;
+ generation_mode?: ("txt2img" | "img2img" | "inpaint" | "outpaint" | "sdxl_txt2img" | "sdxl_img2img" | "sdxl_inpaint" | "sdxl_outpaint" | "flux_txt2img" | "flux_img2img" | "flux_inpaint" | "flux_outpaint" | "flux2_txt2img" | "flux2_img2img" | "flux2_inpaint" | "flux2_outpaint" | "sd3_txt2img" | "sd3_img2img" | "sd3_inpaint" | "sd3_outpaint" | "cogview4_txt2img" | "cogview4_img2img" | "cogview4_inpaint" | "cogview4_outpaint" | "z_image_txt2img" | "z_image_img2img" | "z_image_inpaint" | "z_image_outpaint" | "ernie_image_txt2img" | "ideogram4_txt2img" | "qwen_image_txt2img" | "qwen_image_img2img" | "qwen_image_inpaint" | "qwen_image_outpaint" | "anima_txt2img" | "anima_img2img" | "anima_inpaint" | "anima_outpaint" | "krea2_txt2img" | "krea2_img2img" | "krea2_inpaint" | "krea2_outpaint" | "wan_txt2img" | "wan_img2img" | "wan_inpaint" | "wan_outpaint" | "wan_t2v" | "wan_i2v" | "wan_interpolate" | "wan_extend_video" | "minimax_h3_t2v" | "minimax_h3_i2v" | "ltx2_t2v" | "ltx2_i2v" | "minimax_h3_lf2v" | "minimax_h3_flf2v" | "minimax_h3_extend_video" | "minimax_h3_ref2v" | "minimax_h3_txt2img") | null;
/**
* Positive Prompt
* @description The positive prompt parameter
@@ -16045,6 +16045,98 @@ export type components = {
*/
cpu_only: boolean | null;
};
+ /**
+ * Gemma4Encoder_Gemma4Encoder_LTX2_Config
+ * @description The LTX-2.5 Gemma-4-12B text encoder as a folder (config, tokenizer, one weight file).
+ */
+ Gemma4Encoder_Gemma4Encoder_LTX2_Config: {
+ /**
+ * Key
+ * @description A unique key for this model.
+ */
+ key: string;
+ /**
+ * Hash
+ * @description The hash of the model file(s).
+ */
+ hash: string;
+ /**
+ * Path
+ * @description Path to the model on the filesystem. Relative paths are relative to the Invoke root directory.
+ */
+ path: string;
+ /**
+ * File Size
+ * @description The size of the model in bytes.
+ */
+ file_size: number;
+ /**
+ * Name
+ * @description Name of the model.
+ */
+ name: string;
+ /**
+ * Description
+ * @description Model description
+ */
+ description: string | null;
+ /**
+ * Source
+ * @description The original source of the model (path, URL or repo_id).
+ */
+ source: string;
+ /** @description The type of source */
+ source_type: components["schemas"]["ModelSourceType"];
+ /**
+ * Source Api Response
+ * @description The original API response from the source, as stringified JSON.
+ */
+ source_api_response: string | null;
+ /**
+ * Source Url
+ * @description Optional URL for the model (e.g. download page or model page).
+ */
+ source_url: string | null;
+ /**
+ * Cover Image
+ * @description Url for image to preview model
+ */
+ cover_image: string | null;
+ /**
+ * Base
+ * @default ltx-2
+ * @constant
+ */
+ base: "ltx-2";
+ /**
+ * Type
+ * @default gemma4_encoder
+ * @constant
+ */
+ type: "gemma4_encoder";
+ /**
+ * Format
+ * @default gemma4_encoder
+ * @constant
+ */
+ format: "gemma4_encoder";
+ /**
+ * Subfolder
+ * @description Directory inside the model folder that holds config, tokenizer and weights ('' = the root).
+ * @default
+ */
+ subfolder: string;
+ /**
+ * Weight File
+ * @description The weight file inside `subfolder` the encoder loads from.
+ */
+ weight_file: string;
+ /**
+ * Cpu Only
+ * @description Whether this model should run on CPU only
+ */
+ cpu_only: boolean | null;
+ };
/**
* GeneratePasswordResponse
* @description Response containing a generated password.
@@ -22847,6 +22939,17 @@ export type components = {
*/
total_tokens: number | null;
};
+ /**
+ * LTX2VariantType
+ * @description LTX-2 transformer variants. Dev and Distilled are key-for-key identical checkpoints of the same
+ * architecture; the variant decides the sampling recipe (guided ~40-step schedule vs the fixed
+ * 8-sigma distilled schedule with CFG off), so it must travel with the model record.
+ *
+ * Values carry the family prefix because variant values are globally unique across enums
+ * (`FluxVariantType.Dev` already owns "dev").
+ * @enum {string}
+ */
+ LTX2VariantType: "ltx2_dev" | "ltx2_distilled";
/**
* LaMa Infill
* @description Infills transparent areas of an image using the LaMa model
@@ -26094,6 +26197,109 @@ export type components = {
format: "checkpoint";
variant: components["schemas"]["Krea2VariantType"];
};
+ /**
+ * Main_Checkpoint_LTX2_Config
+ * @description An LTX-2 single-file transformer (safetensors) in the official key layout.
+ *
+ * Covers the bf16, Comfy ``int8_tensorwise``(+convrot) and ``nvfp4`` releases; the quantization
+ * scheme is read from the file's own markers by the loader, not recorded here. The file may hold
+ * only the transformer (the 2.5 releases) or bundle other components beside it (earlier
+ * generations) -- either way everything else comes from an installed LTX-2 component folder.
+ *
+ * Dev and Distilled transformers are key-for-key identical, so the FILENAME is the variant
+ * classifier and ``variant`` is the user-correctable override for renamed files. A misclassified
+ * variant runs but samples with the wrong recipe (guided schedule vs fixed distilled sigmas).
+ */
+ Main_Checkpoint_LTX2_Config: {
+ /**
+ * Key
+ * @description A unique key for this model.
+ */
+ key: string;
+ /**
+ * Hash
+ * @description The hash of the model file(s).
+ */
+ hash: string;
+ /**
+ * Path
+ * @description Path to the model on the filesystem. Relative paths are relative to the Invoke root directory.
+ */
+ path: string;
+ /**
+ * File Size
+ * @description The size of the model in bytes.
+ */
+ file_size: number;
+ /**
+ * Name
+ * @description Name of the model.
+ */
+ name: string;
+ /**
+ * Description
+ * @description Model description
+ */
+ description: string | null;
+ /**
+ * Source
+ * @description The original source of the model (path, URL or repo_id).
+ */
+ source: string;
+ /** @description The type of source */
+ source_type: components["schemas"]["ModelSourceType"];
+ /**
+ * Source Api Response
+ * @description The original API response from the source, as stringified JSON.
+ */
+ source_api_response: string | null;
+ /**
+ * Source Url
+ * @description Optional URL for the model (e.g. download page or model page).
+ */
+ source_url: string | null;
+ /**
+ * Cover Image
+ * @description Url for image to preview model
+ */
+ cover_image: string | null;
+ /**
+ * Type
+ * @default main
+ * @constant
+ */
+ type: "main";
+ /**
+ * Trigger Phrases
+ * @description Set of trigger phrases for this model
+ */
+ trigger_phrases: string[] | null;
+ /** @description Default settings for this model */
+ default_settings: components["schemas"]["MainModelDefaultSettings"] | null;
+ /**
+ * Config Path
+ * @description Path to the config for this model, if any.
+ */
+ config_path: string | null;
+ /**
+ * Base
+ * @default ltx-2
+ * @constant
+ */
+ base: "ltx-2";
+ /**
+ * Format
+ * @default checkpoint
+ * @constant
+ */
+ format: "checkpoint";
+ variant: components["schemas"]["LTX2VariantType"];
+ /**
+ * Generation
+ * @description The LTX-2 generation the transformer belongs to, e.g. '2.5'.
+ */
+ generation: string;
+ };
/**
* Main_Checkpoint_MiniMaxH3_Config
* @description Model config for MiniMax H3 single-file transformer checkpoints (safetensors).
@@ -27352,6 +27558,120 @@ export type components = {
base: "krea-2";
variant: components["schemas"]["Krea2VariantType"];
};
+ /**
+ * Main_Diffusers_LTX2_Config
+ * @description An LTX-2 folder of per-component single files in the official key layout.
+ *
+ * This is how LTX-2.5 is distributed (``Lightricks/LTX-2.5`` and the ``DeepBeepMeep/LTX-2`` mirror):
+ * one safetensors per component rather than a diffusers ``model_index.json`` tree. The folder is
+ * the *component source* of a generation -- video VAE, audio VAE, vocoder, text projection, the two
+ * text connectors and the latent upsamplers -- while the 22B transformer normally comes from a
+ * single-file record selected in the model loader (bf16, int8-convrot or nvfp4). A folder that
+ * also holds a transformer file is a full install.
+ *
+ * ``components`` maps each role (see ``invokeai.backend.ltx2.checkpoint_layout``) to the file in the
+ * folder that carries it, so the loader never re-classifies at generation time.
+ */
+ Main_Diffusers_LTX2_Config: {
+ /**
+ * Key
+ * @description A unique key for this model.
+ */
+ key: string;
+ /**
+ * Hash
+ * @description The hash of the model file(s).
+ */
+ hash: string;
+ /**
+ * Path
+ * @description Path to the model on the filesystem. Relative paths are relative to the Invoke root directory.
+ */
+ path: string;
+ /**
+ * File Size
+ * @description The size of the model in bytes.
+ */
+ file_size: number;
+ /**
+ * Name
+ * @description Name of the model.
+ */
+ name: string;
+ /**
+ * Description
+ * @description Model description
+ */
+ description: string | null;
+ /**
+ * Source
+ * @description The original source of the model (path, URL or repo_id).
+ */
+ source: string;
+ /** @description The type of source */
+ source_type: components["schemas"]["ModelSourceType"];
+ /**
+ * Source Api Response
+ * @description The original API response from the source, as stringified JSON.
+ */
+ source_api_response: string | null;
+ /**
+ * Source Url
+ * @description Optional URL for the model (e.g. download page or model page).
+ */
+ source_url: string | null;
+ /**
+ * Cover Image
+ * @description Url for image to preview model
+ */
+ cover_image: string | null;
+ /**
+ * Type
+ * @default main
+ * @constant
+ */
+ type: "main";
+ /**
+ * Trigger Phrases
+ * @description Set of trigger phrases for this model
+ */
+ trigger_phrases: string[] | null;
+ /** @description Default settings for this model */
+ default_settings: components["schemas"]["MainModelDefaultSettings"] | null;
+ /**
+ * Format
+ * @default diffusers
+ * @constant
+ */
+ format: "diffusers";
+ /** @default */
+ repo_variant: components["schemas"]["ModelRepoVariant"];
+ /**
+ * Base
+ * @default ltx-2
+ * @constant
+ */
+ base: "ltx-2";
+ variant: components["schemas"]["LTX2VariantType"];
+ /**
+ * Generation
+ * @description The LTX-2 generation the folder's files belong to, e.g. '2.5'.
+ */
+ generation: string;
+ /**
+ * Components
+ * @description Component role -> weight file name inside the folder.
+ */
+ components: {
+ [key: string]: string;
+ };
+ /**
+ * Components Only
+ * @description Whether the folder holds only the shared components (VAEs, vocoder, connectors, upsamplers) without a transformer - the transformer must then be supplied as a single-file selection at generation time.
+ * @default false
+ */
+ components_only: boolean;
+ };
/**
* Main_Diffusers_MiniMaxH3_Config
* @description Model config for MiniMax H3 (Hailuo 3.0) diffusers-format models.
@@ -32538,7 +32858,7 @@ export type components = {
* @description Storage format of model.
* @enum {string}
*/
- ModelFormat: "omi" | "diffusers" | "checkpoint" | "lycoris" | "onnx" | "olive" | "embedding_file" | "embedding_folder" | "invokeai" | "t5_encoder" | "qwen3_encoder" | "qwen_vl_encoder" | "qwen3_vl_encoder" | "mistral_encoder" | "wan_t5_encoder" | "gemma2_encoder" | "bnb_quantized_int8b" | "bnb_quantized_nf4b" | "gguf_quantized" | "external_api" | "sdnq_quantized" | "unknown";
+ ModelFormat: "omi" | "diffusers" | "checkpoint" | "lycoris" | "onnx" | "olive" | "embedding_file" | "embedding_folder" | "invokeai" | "t5_encoder" | "qwen3_encoder" | "qwen_vl_encoder" | "qwen3_vl_encoder" | "mistral_encoder" | "wan_t5_encoder" | "gemma2_encoder" | "gemma4_encoder" | "bnb_quantized_int8b" | "bnb_quantized_nf4b" | "gguf_quantized" | "external_api" | "sdnq_quantized" | "unknown";
/** ModelIdentifierField */
ModelIdentifierField: {
/**
@@ -32675,7 +32995,7 @@ export type components = {
* Config
* @description The installed model's config
*/
- config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
+ config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
};
/**
* ModelInstallDownloadProgressEvent
@@ -32841,7 +33161,7 @@ export type components = {
* Config Out
* @description After successful installation, this will hold the configuration object.
*/
- config_out?: (components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"]) | null;
+ config_out?: (components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"]) | null;
/**
* Inplace
* @description Leave model in its current location; otherwise install under models directory
@@ -32927,7 +33247,7 @@ export type components = {
* Config
* @description The model's config
*/
- config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
+ config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
/**
* @description The submodel type, if any
* @default null
@@ -32954,7 +33274,7 @@ export type components = {
* Config
* @description The model's config
*/
- config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
+ config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
/**
* @description The submodel type, if any
* @default null
@@ -33086,7 +33406,7 @@ export type components = {
* Variant
* @description The variant of the model.
*/
- variant?: components["schemas"]["ModelVariantType"] | components["schemas"]["ClipVariantType"] | components["schemas"]["FluxVariantType"] | components["schemas"]["Flux2VariantType"] | components["schemas"]["ZImageVariantType"] | components["schemas"]["QwenImageVariantType"] | components["schemas"]["WanVariantType"] | components["schemas"]["WanLoRAVariantType"] | components["schemas"]["Qwen3VariantType"] | components["schemas"]["Qwen3VLVariantType"] | components["schemas"]["Krea2VariantType"] | components["schemas"]["MiniMaxH3VariantType"] | components["schemas"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;
+ variant?: components["schemas"]["ModelVariantType"] | components["schemas"]["ClipVariantType"] | components["schemas"]["FluxVariantType"] | components["schemas"]["Flux2VariantType"] | components["schemas"]["ZImageVariantType"] | components["schemas"]["QwenImageVariantType"] | components["schemas"]["WanVariantType"] | components["schemas"]["WanLoRAVariantType"] | components["schemas"]["Qwen3VariantType"] | components["schemas"]["Qwen3VLVariantType"] | components["schemas"]["Krea2VariantType"] | components["schemas"]["MiniMaxH3VariantType"] | components["schemas"]["LTX2VariantType"] | components["schemas"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;
/** @description The prediction type of the model. */
prediction_type?: components["schemas"]["SchedulerPredictionType"] | null;
/**
@@ -33168,7 +33488,7 @@ export type components = {
* @description Model type.
* @enum {string}
*/
- ModelType: "onnx" | "main" | "vae" | "lora" | "control_lora" | "controlnet" | "embedding" | "ip_adapter" | "clip_vision" | "clip_embed" | "t2i_adapter" | "t5_encoder" | "qwen3_encoder" | "qwen_vl_encoder" | "qwen3_vl_encoder" | "mistral_encoder" | "wan_t5_encoder" | "gemma2_encoder" | "spandrel_image_to_image" | "siglip" | "flux_redux" | "llava_onevision" | "prompt_enhancer" | "text_llm" | "external_image_generator" | "pid_decoder" | "unknown";
+ ModelType: "onnx" | "main" | "vae" | "lora" | "control_lora" | "controlnet" | "embedding" | "ip_adapter" | "clip_vision" | "clip_embed" | "t2i_adapter" | "t5_encoder" | "qwen3_encoder" | "qwen_vl_encoder" | "qwen3_vl_encoder" | "mistral_encoder" | "wan_t5_encoder" | "gemma2_encoder" | "gemma4_encoder" | "spandrel_image_to_image" | "siglip" | "flux_redux" | "llava_onevision" | "prompt_enhancer" | "text_llm" | "external_image_generator" | "pid_decoder" | "unknown";
/**
* ModelVariantType
* @description Variant type.
@@ -33181,7 +33501,7 @@ export type components = {
*/
ModelsList: {
/** Models */
- models: (components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"])[];
+ models: (components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"])[];
};
/**
* Multiply Integers
@@ -39801,7 +40121,7 @@ export type components = {
type: components["schemas"]["ModelType"];
format?: components["schemas"]["ModelFormat"] | null;
/** Variant */
- variant?: components["schemas"]["ModelVariantType"] | components["schemas"]["ClipVariantType"] | components["schemas"]["FluxVariantType"] | components["schemas"]["Flux2VariantType"] | components["schemas"]["ZImageVariantType"] | components["schemas"]["QwenImageVariantType"] | components["schemas"]["WanVariantType"] | components["schemas"]["WanLoRAVariantType"] | components["schemas"]["Qwen3VariantType"] | components["schemas"]["Qwen3VLVariantType"] | components["schemas"]["Krea2VariantType"] | components["schemas"]["MiniMaxH3VariantType"] | components["schemas"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;
+ variant?: components["schemas"]["ModelVariantType"] | components["schemas"]["ClipVariantType"] | components["schemas"]["FluxVariantType"] | components["schemas"]["Flux2VariantType"] | components["schemas"]["ZImageVariantType"] | components["schemas"]["QwenImageVariantType"] | components["schemas"]["WanVariantType"] | components["schemas"]["WanLoRAVariantType"] | components["schemas"]["Qwen3VariantType"] | components["schemas"]["Qwen3VLVariantType"] | components["schemas"]["Krea2VariantType"] | components["schemas"]["MiniMaxH3VariantType"] | components["schemas"]["LTX2VariantType"] | components["schemas"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;
/**
* Is Installed
* @default false
@@ -39846,7 +40166,7 @@ export type components = {
type: components["schemas"]["ModelType"];
format?: components["schemas"]["ModelFormat"] | null;
/** Variant */
- variant?: components["schemas"]["ModelVariantType"] | components["schemas"]["ClipVariantType"] | components["schemas"]["FluxVariantType"] | components["schemas"]["Flux2VariantType"] | components["schemas"]["ZImageVariantType"] | components["schemas"]["QwenImageVariantType"] | components["schemas"]["WanVariantType"] | components["schemas"]["WanLoRAVariantType"] | components["schemas"]["Qwen3VariantType"] | components["schemas"]["Qwen3VLVariantType"] | components["schemas"]["Krea2VariantType"] | components["schemas"]["MiniMaxH3VariantType"] | components["schemas"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;
+ variant?: components["schemas"]["ModelVariantType"] | components["schemas"]["ClipVariantType"] | components["schemas"]["FluxVariantType"] | components["schemas"]["Flux2VariantType"] | components["schemas"]["ZImageVariantType"] | components["schemas"]["QwenImageVariantType"] | components["schemas"]["WanVariantType"] | components["schemas"]["WanLoRAVariantType"] | components["schemas"]["Qwen3VariantType"] | components["schemas"]["Qwen3VLVariantType"] | components["schemas"]["Krea2VariantType"] | components["schemas"]["MiniMaxH3VariantType"] | components["schemas"]["LTX2VariantType"] | components["schemas"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;
/**
* Is Installed
* @default false
@@ -40533,14 +40853,14 @@ export type components = {
* @description Submodel type.
* @enum {string}
*/
- SubModelType: "unet" | "transformer" | "transformer_2" | "text_encoder" | "text_encoder_2" | "text_encoder_3" | "tokenizer" | "tokenizer_2" | "tokenizer_3" | "processor" | "pe" | "pe_tokenizer" | "vae" | "vae_decoder" | "vae_encoder" | "audio_vae" | "scheduler" | "safety_checker";
+ SubModelType: "unet" | "transformer" | "transformer_2" | "text_encoder" | "text_encoder_2" | "text_encoder_3" | "tokenizer" | "tokenizer_2" | "tokenizer_3" | "processor" | "pe" | "pe_tokenizer" | "vae" | "vae_decoder" | "vae_encoder" | "audio_vae" | "vocoder" | "connectors" | "latent_upsampler" | "temporal_latent_upsampler" | "scheduler" | "safety_checker";
/** SubmodelDefinition */
SubmodelDefinition: {
/** Path Or Prefix */
path_or_prefix: string;
model_type: components["schemas"]["ModelType"];
/** Variant */
- variant?: components["schemas"]["ModelVariantType"] | components["schemas"]["ClipVariantType"] | components["schemas"]["FluxVariantType"] | components["schemas"]["Flux2VariantType"] | components["schemas"]["ZImageVariantType"] | components["schemas"]["QwenImageVariantType"] | components["schemas"]["WanVariantType"] | components["schemas"]["WanLoRAVariantType"] | components["schemas"]["Qwen3VariantType"] | components["schemas"]["Qwen3VLVariantType"] | components["schemas"]["Krea2VariantType"] | components["schemas"]["MiniMaxH3VariantType"] | components["schemas"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;
+ variant?: components["schemas"]["ModelVariantType"] | components["schemas"]["ClipVariantType"] | components["schemas"]["FluxVariantType"] | components["schemas"]["Flux2VariantType"] | components["schemas"]["ZImageVariantType"] | components["schemas"]["QwenImageVariantType"] | components["schemas"]["WanVariantType"] | components["schemas"]["WanLoRAVariantType"] | components["schemas"]["Qwen3VariantType"] | components["schemas"]["Qwen3VLVariantType"] | components["schemas"]["Krea2VariantType"] | components["schemas"]["MiniMaxH3VariantType"] | components["schemas"]["LTX2VariantType"] | components["schemas"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;
};
/**
* Subtract Integers
@@ -48082,7 +48402,7 @@ export interface operations {
[name: string]: unknown;
};
content: {
- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
};
};
/** @description Validation Error */
@@ -48114,7 +48434,7 @@ export interface operations {
[name: string]: unknown;
};
content: {
- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
};
};
/** @description Validation Error */
@@ -48166,7 +48486,7 @@ export interface operations {
* "upcast_attention": false
* }
*/
- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
};
};
/** @description Bad request */
@@ -48280,7 +48600,7 @@ export interface operations {
* "upcast_attention": false
* }
*/
- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
};
};
/** @description Bad request */
@@ -48353,7 +48673,7 @@ export interface operations {
* "upcast_attention": false
* }
*/
- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
};
};
/** @description Bad request */
@@ -49112,7 +49432,7 @@ export interface operations {
* "upcast_attention": false
* }
*/
- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_QwenImage_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["T2IAdapter_Diffusers_SD1_Config"] | components["schemas"]["T2IAdapter_Diffusers_SDXL_Config"] | components["schemas"]["Spandrel_Checkpoint_Config"] | components["schemas"]["CLIPEmbed_Diffusers_G_Config"] | components["schemas"]["CLIPEmbed_Diffusers_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];
};
};
/** @description Bad request */
diff --git a/invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json b/invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json
index 9e619a7eff..8168a08c74 100644
--- a/invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json
+++ b/invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json
@@ -592,6 +592,88 @@
]
}
},
+ {
+ "base": "ltx-2",
+ "variant": null,
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "cfg-gated"
+ },
+ "dimension_grid": 32,
+ "guidance_label": "CFG",
+ "guidance_min": 0.0,
+ "guidance_max": null,
+ "scheduler_set": null,
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": null,
+ "steps": 40,
+ "cfg_scale": 3.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1280,
+ "height": 704,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "ltx-2",
+ "variant": "ltx2_distilled",
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "cfg-gated"
+ },
+ "dimension_grid": 32,
+ "guidance_label": "CFG",
+ "guidance_min": 0.0,
+ "guidance_max": null,
+ "scheduler_set": null,
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": null,
+ "steps": 8,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1280,
+ "height": 704,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
{
"base": "minimax-h3",
"variant": null,
diff --git a/invokeai/invocation_api/__init__.py b/invokeai/invocation_api/__init__.py
index ba98ea9d4f..6a31569860 100644
--- a/invokeai/invocation_api/__init__.py
+++ b/invokeai/invocation_api/__init__.py
@@ -143,6 +143,7 @@ from invokeai.backend.stable_diffusion.diffusion.conditioning_data import (
FLUXConditioningInfo,
Ideogram4ConditioningInfo,
Krea2ConditioningInfo,
+ LTX2ConditioningInfo,
MiniMaxH3ConditioningInfo,
QwenImageConditioningInfo,
SD3ConditioningInfo,
@@ -242,6 +243,7 @@ __all__ = [
"FLUXConditioningInfo",
"Ideogram4ConditioningInfo",
"Krea2ConditioningInfo",
+ "LTX2ConditioningInfo",
"MiniMaxH3ConditioningInfo",
"QwenImageConditioningInfo",
"SD3ConditioningInfo",
diff --git a/tests/app/invocations/test_ideal_size.py b/tests/app/invocations/test_ideal_size.py
index f6b82ab979..f702473124 100644
--- a/tests/app/invocations/test_ideal_size.py
+++ b/tests/app/invocations/test_ideal_size.py
@@ -53,6 +53,9 @@ IDEAL_SIZE_AT_NODE_DEFAULTS: dict[BaseModelType, tuple[int, int]] = {
BaseModelType.Flux2: (1360, 768),
BaseModelType.Ideogram4: (1360, 768),
BaseModelType.Krea2: (1360, 768),
+ # Declared 1280x704 (non-square, like H3): 901120 px at 1.7778 -> height sqrt(506880) = 711.95
+ # -> 711 -> 704 on the 32 grid; width 1265.7 -> 1265 -> 1248.
+ BaseModelType.LTX2: (1248, 704),
# The one architecture whose declared default is not square (1344x768). Squaring its width
# asked for 1.75x the area it was trained on and returned (1792, 992); taking both
# dimensions as an area keeps it at its own scale. Every other row is unchanged by that,
diff --git a/tests/app/services/model_install/test_combined_subfolder_name.py b/tests/app/services/model_install/test_combined_subfolder_name.py
new file mode 100644
index 0000000000..23ce8b456e
--- /dev/null
+++ b/tests/app/services/model_install/test_combined_subfolder_name.py
@@ -0,0 +1,27 @@
+"""The folder name an explicit-file Hugging Face source installs into stays a legal path component."""
+
+from invokeai.app.services.model_install.model_install_default import _combined_subfolder_name
+
+LTX2_COMPONENT_STEMS = [
+ "ltx-2.5-22b_video_vae_bf16",
+ "ltx-2.5-22b_audio_vae_bf16",
+ "ltx-2.5-22b_vocoder_bf16",
+ "ltx-2.5-22b_text_embedding_projection_bf16",
+ "ltx-2.5-22b_video_embeddings_connector_bf16",
+ "ltx-2.5-22b_audio_embeddings_connector_bf16",
+ "ltx-2.5-spatial-upscaler-x2-1.0_bf16",
+ "ltx-2.5-temporal-upscaler-x2-1.0_bf16",
+]
+
+
+def test_short_lists_keep_the_full_joined_name() -> None:
+ assert (
+ _combined_subfolder_name(["tokenizer", "processor", "vae", "audio_vae"]) == "tokenizer_processor_vae_audio_vae"
+ )
+
+
+def test_a_long_list_is_cut_to_a_path_component_that_still_says_what_it_is() -> None:
+ name = _combined_subfolder_name(LTX2_COMPONENT_STEMS)
+ assert len(name) < 120, "eight full stems would exceed the 255-byte component limit once prefixed"
+ assert name.startswith("ltx-2.5-22b_video_vae_bf16_ltx-2.5-22b_audio_vae_bf16")
+ assert name.endswith("_and_5_more")
diff --git a/tests/backend/architectures/test_conditioning.py b/tests/backend/architectures/test_conditioning.py
index f99245712b..afbc712063 100644
--- a/tests/backend/architectures/test_conditioning.py
+++ b/tests/backend/architectures/test_conditioning.py
@@ -35,10 +35,10 @@ def test_the_shared_types_are_shared_by_identity() -> None:
assert facet is not None and facet.info is info, base.value
-def test_thirteen_types_serve_sixteen_architectures() -> None:
+def test_fourteen_types_serve_seventeen_architectures() -> None:
"""Pins the sharing itself. A fourteenth type means a new architecture stopped sharing."""
- assert len(conditioning_infos()) == 13
- assert len(generative_bases()) == 16
+ assert len(conditioning_infos()) == 14
+ assert len(generative_bases()) == 17
def test_the_list_is_deterministic() -> None:
@@ -120,7 +120,7 @@ def test_the_assembled_list_holds_every_conditioning_class_exactly_once() -> Non
assert safe_globals[0] is ConditioningFieldData
assert set(safe_globals[1:]) == set(conditioning_infos())
- assert len(safe_globals) == 14
+ assert len(safe_globals) == 15
assert len(set(safe_globals)) == len(safe_globals), "a class appears twice"
diff --git a/tests/backend/architectures/test_default_settings.py b/tests/backend/architectures/test_default_settings.py
index 9aea4de63a..08efaa133e 100644
--- a/tests/backend/architectures/test_default_settings.py
+++ b/tests/backend/architectures/test_default_settings.py
@@ -17,6 +17,7 @@ from invokeai.backend.model_manager.taxonomy import (
Flux2VariantType,
FluxVariantType,
Krea2VariantType,
+ LTX2VariantType,
WanVariantType,
ZImageVariantType,
)
@@ -242,6 +243,14 @@ DEFAULT_SETTINGS_MATRIX: list[tuple[str, BaseModelType, AnyVariant | None, str |
{"scheduler": "euler", "steps": 40, "cfg_scale": 4.0, **_SQUARE_1024},
),
("minimax-h3", BaseModelType.MiniMaxH3, None, None, {"steps": 50, "cfg_scale": 1.0, "width": 1344, "height": 768}),
+ ("ltx-2", BaseModelType.LTX2, None, None, {"steps": 40, "cfg_scale": 3.0, "width": 1280, "height": 704}),
+ (
+ "ltx-2-distilled",
+ BaseModelType.LTX2,
+ LTX2VariantType.Distilled,
+ None,
+ {"steps": 8, "cfg_scale": 1.0, "width": 1280, "height": 704},
+ ),
("anima", BaseModelType.Anima, None, None, {"scheduler": "euler", "steps": 35, "cfg_scale": 4.5, **_SQUARE_1024}),
]
diff --git a/tests/backend/architectures/test_features.py b/tests/backend/architectures/test_features.py
index 3ab0ea20f9..c547113260 100644
--- a/tests/backend/architectures/test_features.py
+++ b/tests/backend/architectures/test_features.py
@@ -125,7 +125,7 @@ def test_the_negative_prompt_policy_follows_the_guidance_model() -> None:
by_usage.setdefault(facet.negative_prompt.usage, set()).add(base.value)
assert by_usage["never"] == {"flux", "flux2", "ideogram-4", "minimax-h3"}
- assert by_usage["cfg-gated"] == {"anima", "krea-2", "qwen-image", "z-image", "ernie-image"}
+ assert by_usage["cfg-gated"] == {"anima", "krea-2", "qwen-image", "z-image", "ernie-image", "ltx-2"}
# Nothing declares a visible box it never uses, or an invisible one it does.
for base in generative_bases():
facet = get(base, FeaturesFacet)
diff --git a/tests/backend/architectures/test_guidance_range.py b/tests/backend/architectures/test_guidance_range.py
index 64c40e4827..a275a1163f 100644
--- a/tests/backend/architectures/test_guidance_range.py
+++ b/tests/backend/architectures/test_guidance_range.py
@@ -61,6 +61,9 @@ NO_GUIDANCE_SLIDER = frozenset(
BaseModelType.MiniMaxH3,
# A second pass over someone else's latents rather than a model you generate with.
BaseModelType.StableDiffusionXLRefiner,
+ # Its denoise node (and the guidance field the slider would reach) lands with the LTX-2
+ # generation nodes; the model-manager foundation declares no range until then.
+ BaseModelType.LTX2,
}
)
diff --git a/tests/backend/architectures/test_latent_space.py b/tests/backend/architectures/test_latent_space.py
index c8f3ac9707..315cb39333 100644
--- a/tests/backend/architectures/test_latent_space.py
+++ b/tests/backend/architectures/test_latent_space.py
@@ -16,6 +16,7 @@ from invokeai.backend.architectures.facets.latent_space import (
COGVIEW4_16,
FLUX2_32,
FLUX_16,
+ LTX2_128,
MINIMAX_H3_24,
SD3_16,
SD15_4,
@@ -63,6 +64,7 @@ DECLARED_LATENT_SPACES: dict[BaseModelType, tuple[LatentSpace, ...]] = {
# Ideogram 4 a row at all.
BaseModelType.Ideogram4: (FLUX2_32,),
BaseModelType.Krea2: (WAN21_16,),
+ BaseModelType.LTX2: (LTX2_128,),
BaseModelType.MiniMaxH3: (MINIMAX_H3_24,),
BaseModelType.QwenImage: (WAN21_16,),
BaseModelType.StableDiffusion1: (SD15_4,),
@@ -115,6 +117,8 @@ PINNED_PREVIEW_PIXELS: list[tuple[LatentSpace, float, tuple[int, int, int], tupl
(MINIMAX_H3_24, 0.25, (173, 180, 97), (142, 145, 127)),
# colsums (-0.5209, -0.1927, 0.9241), bias (0.0317, -0.0878, -0.1388)
(WAN22_48, 1.0, (65, 91, 227), (131, 116, 109)),
+ # colsums (-0.0698, -0.0317, 0.0266), bias (-0.2223, -0.2864, -0.2917)
+ (LTX2_128, 0.25, (96, 89, 91), (99, 90, 90)),
]
diff --git a/tests/backend/ltx2/__init__.py b/tests/backend/ltx2/__init__.py
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/backend/ltx2/test_ltx2_real_files.py b/tests/backend/ltx2/test_ltx2_real_files.py
new file mode 100644
index 0000000000..9c143c4a88
--- /dev/null
+++ b/tests/backend/ltx2/test_ltx2_real_files.py
@@ -0,0 +1,155 @@
+"""The LTX-2.5 loaders over the released files (slow lane: needs the weights on disk).
+
+Every component's pinned config and key map were derived from the released files' headers; this is
+the check that the real tensors land in the real diffusers modules and that the Gemma-4 text tower
+built by ``Gemma4TextModel`` runs. Skipped unless the ``DeepBeepMeep/LTX-2`` snapshot is in the
+Hugging Face cache (``INVOKEAI_LTX2_SNAPSHOT`` overrides the path).
+"""
+
+import os
+from pathlib import Path
+from types import SimpleNamespace
+
+import pytest
+import torch
+
+from invokeai.backend.ltx2 import checkpoint_layout as layout
+from invokeai.backend.model_manager.configs.gemma4_encoder import Gemma4Encoder_Gemma4Encoder_LTX2_Config
+from invokeai.backend.model_manager.configs.main import Main_Checkpoint_LTX2_Config, Main_Diffusers_LTX2_Config
+from invokeai.backend.model_manager.load.model_loaders.ltx2 import (
+ LTX2CheckpointModel,
+ LTX2FolderModel,
+ LTX2Gemma4EncoderModel,
+)
+from invokeai.backend.model_manager.taxonomy import LTX2VariantType, SubModelType
+from invokeai.backend.util.devices import TorchDevice
+
+pytestmark = pytest.mark.slow
+
+
+def _snapshot() -> Path | None:
+ override = os.environ.get("INVOKEAI_LTX2_SNAPSHOT")
+ if override:
+ return Path(override)
+ hub = (
+ Path(os.environ.get("HF_HOME", Path.home() / ".cache" / "huggingface")) / "hub" / "models--DeepBeepMeep--LTX-2"
+ )
+ snapshots = sorted((hub / "snapshots").glob("*")) if hub.exists() else []
+ return snapshots[-1] if snapshots else None
+
+
+SNAPSHOT = _snapshot()
+COMPONENTS = {
+ layout.ROLE_VIDEO_VAE: "ltx-2.5-22b_video_vae_bf16.safetensors",
+ layout.ROLE_AUDIO_VAE: "ltx-2.5-22b_audio_vae_bf16.safetensors",
+ layout.ROLE_VOCODER: "ltx-2.5-22b_vocoder_bf16.safetensors",
+ layout.ROLE_TEXT_PROJECTION: "ltx-2.5-22b_text_embedding_projection_bf16.safetensors",
+ layout.ROLE_VIDEO_CONNECTOR: "ltx-2.5-22b_video_embeddings_connector_bf16.safetensors",
+ layout.ROLE_AUDIO_CONNECTOR: "ltx-2.5-22b_audio_embeddings_connector_bf16.safetensors",
+ layout.ROLE_SPATIAL_UPSAMPLER: "ltx-2.5-spatial-upscaler-x2-1.0_bf16.safetensors",
+ layout.ROLE_TEMPORAL_UPSAMPLER: "ltx-2.5-temporal-upscaler-x2-1.0_bf16.safetensors",
+}
+requires_weights = pytest.mark.skipif(
+ SNAPSHOT is None or not all((SNAPSHOT / name).exists() for name in COMPONENTS.values()),
+ reason="the LTX-2.5 release files are not in the Hugging Face cache",
+)
+
+
+def _loader(cls):
+ loader = object.__new__(cls)
+ loader._ram_cache = SimpleNamespace(make_room=lambda _n: None)
+ loader._logger = SimpleNamespace(info=lambda *_a, **_k: None, warning=lambda *_a, **_k: None)
+ loader._torch_device = torch.device("cpu")
+ loader._apply_fp8_layerwise_casting = lambda model, _c, _s: model
+ return loader
+
+
+def _no_meta(model: torch.nn.Module) -> None:
+ assert not any(p.is_meta for p in model.parameters()) and not any(b.is_meta for b in model.buffers())
+
+
+@requires_weights
+ ("submodel", "expected_class"),
+ [
+ (SubModelType.VAE, "AutoencoderKLLTX2Video"),
+ (SubModelType.AudioVAE, "AutoencoderKLLTX2Audio"),
+ (SubModelType.Vocoder, "LTX2VocoderWithBWE"),
+ (SubModelType.Connectors, "LTX2TextConnectors"),
+ (SubModelType.LatentUpsampler, "LTX2LatentUpsamplerModel"),
+ (SubModelType.TemporalLatentUpsampler, "LTX2LatentUpsamplerModel"),
+ ],
+)
+def test_every_released_component_lands_in_its_diffusers_module(submodel, expected_class) -> None:
+ config = Main_Diffusers_LTX2_Config.model_construct(
+ path=str(SNAPSHOT), components=dict(COMPONENTS), components_only=True, variant=LTX2VariantType.Dev
+ )
+ model = _loader(LTX2FolderModel)._load_model(config, submodel)
+ assert type(model).__name__ == expected_class
+ _no_meta(model)
+
+
+@requires_weights
+def test_the_int8_transformer_builds_with_its_layers_packed() -> None:
+ path = SNAPSHOT / "ltx-2.5-22b-dev_diffusion_model_int8_convrot.safetensors"
+ if not path.exists():
+ pytest.skip("int8 dev transformer not downloaded")
+ from invokeai.backend.quantization.int8_convrot import Int8ConvrotLinear
+
+ config = Main_Checkpoint_LTX2_Config.model_construct(
+ path=str(path), variant=LTX2VariantType.Dev, generation="2.5", fp8_storage=None
+ )
+ model = _loader(LTX2CheckpointModel)._load_model(config, SubModelType.Transformer)
+ _no_meta(model)
+ assert isinstance(model.transformer_blocks[0].attn1.to_q, Int8ConvrotLinear)
+ assert model.config.use_keyframes_abs_pos_embedding is True
+ assert len(model.transformer_blocks) == 48
+
+
+@requires_weights
+def test_the_gemma4_tower_runs_and_yields_all_forty_nine_hidden_states() -> None:
+ root = SNAPSHOT / "gemma4-12b-ltx-v1"
+ weight = "gemma4-12b-ltx-v1_int8_convrot.safetensors"
+ if not (root / weight).exists():
+ pytest.skip("int8 Gemma-4 encoder not downloaded")
+ device = TorchDevice.choose_torch_device()
+ if device.type == "cpu":
+ pytest.skip("needs an accelerator for a 12B forward")
+ config = Gemma4Encoder_Gemma4Encoder_LTX2_Config.model_construct(path=str(root), subfolder="", weight_file=weight)
+ loader = _loader(LTX2Gemma4EncoderModel)
+ tokenizer = loader._load_model(config, SubModelType.Tokenizer)
+ model = loader._load_model(config, SubModelType.TextEncoder)
+ _no_meta(model)
+
+ model.to(device)
+ tokenizer.padding_side = "left"
+ batch = tokenizer(
+ ["A cat on a windowsill, purring."], padding="max_length", max_length=64, truncation=True, return_tensors="pt"
+ )
+ with torch.inference_mode():
+ out = model(
+ input_ids=batch.input_ids.to(device),
+ attention_mask=batch.attention_mask.to(device),
+ output_hidden_states=True,
+ )
+ assert len(out.hidden_states) == 49
+ stacked = torch.stack(out.hidden_states, dim=-1)
+ assert stacked.shape == (1, 64, 3840, 49)
+ assert torch.isfinite(stacked).all()
+ # The tower is doing work: the last layer is not a rescaled copy of the embedding output.
+ assert not torch.allclose(out.hidden_states[-1].float(), out.hidden_states[0].float(), atol=1.0)
+
+
+@requires_weights
+def test_the_mirror_s_nvfp4_transformer_is_refused_for_naming_no_layer() -> None:
+ """WanGP's nvfp4 repack carries no marker and no header entry for its 1176 packed layers, so the
+ block-scale layout cannot be known; the nvfp4 reader refuses it by name. Pinned so a future
+ release that does name its layers is noticed here, not by a user."""
+ path = SNAPSHOT / "ltx-2.5-22b-distilled_diffusion_model_nvfp4.safetensors"
+ if not path.exists():
+ pytest.skip("nvfp4 distilled transformer not downloaded")
+ config = Main_Checkpoint_LTX2_Config.model_construct(
+ path=str(path), variant=LTX2VariantType.Distilled, generation="2.5", fp8_storage=None
+ )
+ with pytest.raises(ValueError, match="nvfp4"):
+ _loader(LTX2CheckpointModel)._load_model(config, SubModelType.Transformer)
diff --git a/tests/backend/model_manager/load/test_ltx2_loader.py b/tests/backend/model_manager/load/test_ltx2_loader.py
new file mode 100644
index 0000000000..da06d8456d
--- /dev/null
+++ b/tests/backend/model_manager/load/test_ltx2_loader.py
@@ -0,0 +1,501 @@
+"""The LTX-2 loaders over toy checkpoints in the official key layout.
+
+The transformer tests build the real ``LTX2VideoTransformer3DModel`` at toy size, write its weights
+out under the *official* names (the inverse of the renames the loader applies) and hand that to the
+loader: what is pinned is the whole conversion chain landing every tensor, the packed formats staying
+packed under renamed paths too, and cache room being reserved before any weight widens -- the
+contract the loader-seam driver records as ``order`` (reservations made before each observed step)
+and ``dtypes_at_make_room`` (the working dict's dtypes when room was first made).
+"""
+
+import json
+from pathlib import Path
+from types import SimpleNamespace
+
+import pytest
+import safetensors.torch
+import torch
+
+from invokeai.backend.ltx2 import component_configs as cc
+from invokeai.backend.model_manager.configs.gemma4_encoder import Gemma4Encoder_Gemma4Encoder_LTX2_Config
+from invokeai.backend.model_manager.configs.main import Main_Checkpoint_LTX2_Config, Main_Diffusers_LTX2_Config
+from invokeai.backend.model_manager.load.model_loaders import ltx2
+from invokeai.backend.model_manager.load.model_loaders.ltx2 import (
+ LTX2CheckpointModel,
+ LTX2FolderModel,
+ LTX2Gemma4EncoderModel,
+)
+from invokeai.backend.model_manager.taxonomy import LTX2VariantType, SubModelType
+from invokeai.backend.quantization.int8_convrot import Int8ConvrotLinear
+from invokeai.backend.quantization.nvfp4 import NVFP4Linear
+from tests.fixtures.loader_seams import Seam, prepare
+from tests.fixtures.quantized_payloads import comfy_quant_marker, nvfp4_signed_tensors
+
+COMPUTE_DTYPE = torch.bfloat16
+
+# A one-block transformer with a 128-wide video stream (so an nvfp4 layer's 128-row tiles fit) and
+# a 32-wide audio stream.
+TINY_TRANSFORMER = {
+ **cc.LTX2_5_TRANSFORMER_CONFIG,
+ "in_channels": 4,
+ "out_channels": 4,
+ "num_attention_heads": 2,
+ "attention_head_dim": 64,
+ "cross_attention_dim": 32,
+ "audio_in_channels": 4,
+ "audio_out_channels": 4,
+ "audio_num_attention_heads": 2,
+ "audio_attention_head_dim": 16,
+ "audio_cross_attention_dim": 16,
+ "num_layers": 1,
+ "caption_channels": 8,
+}
+
+# diffusers attribute path -> official checkpoint spelling; ordered so a longer name is rewritten
+# before the shorter name it contains. Written independently of the loader's tables: the test is
+# that the loader's forward conversion lands every one of these back on the model.
+_TO_OFFICIAL = (
+ ("audio_time_embed.", "audio_adaln_single."),
+ ("time_embed.", "adaln_single."),
+ ("av_cross_attn_video_scale_shift", "av_ca_video_scale_shift_adaln_single"),
+ ("av_cross_attn_video_a2v_gate", "av_ca_a2v_gate_adaln_single"),
+ ("av_cross_attn_audio_scale_shift", "av_ca_audio_scale_shift_adaln_single"),
+ ("av_cross_attn_audio_v2a_gate", "av_ca_v2a_gate_adaln_single"),
+ ("video_a2v_cross_attn_scale_shift_table", "scale_shift_table_a2v_ca_video"),
+ ("audio_a2v_cross_attn_scale_shift_table", "scale_shift_table_a2v_ca_audio"),
+ ("audio_proj_in", "audio_patchify_proj"),
+ ("proj_in", "patchify_proj"),
+ ("norm_q", "q_norm"),
+ ("norm_k", "k_norm"),
+ ("audio_prompt_adaln.", "audio_prompt_adaln_single."),
+ ("prompt_adaln.", "prompt_adaln_single."),
+)
+_EXCLUSIVE = {"audio_time_embed.", "audio_proj_in", "audio_prompt_adaln."}
+
+
+def _official_name(diffusers_name: str, prefix: str = "model.diffusion_model.") -> str:
+ name = diffusers_name
+ for new, old in _TO_OFFICIAL:
+ if new in name:
+ name = name.replace(new, old, 1)
+ if new in _EXCLUSIVE:
+ break
+ return prefix + name
+
+
+def _tiny_transformer_checkpoint(
+ *, keyframe_embedding: bool = True, prefix: str = "model.diffusion_model."
+) -> dict[str, torch.Tensor]:
+ from diffusers import LTX2VideoTransformer3DModel
+
+ torch.manual_seed(0)
+ model = LTX2VideoTransformer3DModel(**{**TINY_TRANSFORMER, "use_keyframes_abs_pos_embedding": keyframe_embedding})
+ return {_official_name(k, prefix): v.detach().clone() for k, v in model.state_dict().items()}
+
+
+def _tiny_geometry(monkeypatch: pytest.MonkeyPatch) -> None:
+ monkeypatch.setattr(cc, "LTX2_5_TRANSFORMER_CONFIG", TINY_TRANSFORMER)
+
+
+def _transformer_seam() -> Seam:
+ return Seam(
+ loader=LTX2CheckpointModel,
+ module=ltx2,
+ load_file_host=safetensors.torch,
+ compute_dtype=COMPUTE_DTYPE,
+ patches_device=True,
+ )
+
+
+def _checkpoint_config(
+ tmp_path: Path,
+ sd: dict[str, torch.Tensor],
+ name: str = "ltx-2.5-22b-dev_diffusion_model.safetensors",
+ metadata: dict[str, str] | None = None,
+):
+ """The config for a checkpoint written to disk for real: the header readers open the path
+ themselves, so a served state dict alone would leave them reading an empty file."""
+ path = tmp_path / name
+ safetensors.torch.save_file(sd, path, metadata=metadata)
+ return Main_Checkpoint_LTX2_Config.model_construct(
+ path=str(path), variant=LTX2VariantType.Dev, generation="2.5", fp8_storage=None
+ )
+
+
+OBSERVED = ("cast_state_dict", "install_int8_convrot_layers", "install_nvfp4_layers")
+
+# Layers whose official and diffusers spellings differ: what the side channel has to follow.
+INT8_LAYER = "proj_in" # official: patchify_proj
+NVFP4_LAYER = "time_embed.emb.timestep_embedder.linear_1" # official: adaln_single.…
+
+
+def _int8_checkpoint() -> tuple[dict[str, torch.Tensor], torch.Tensor]:
+ sd = _tiny_transformer_checkpoint()
+ key = _official_name(f"{INT8_LAYER}.weight")
+ dense = sd[key]
+ scale = dense.abs().amax(dim=1, keepdim=True) / 127.0
+ sd[key] = torch.round(dense / scale).clamp(-127, 127).to(torch.int8)
+ sd[_official_name(f"{INT8_LAYER}.weight_scale")] = scale.float()
+ sd[_official_name(f"{INT8_LAYER}.comfy_quant")] = comfy_quant_marker(
+ {"format": "int8_tensorwise", "convrot": False}
+ )
+ return sd, dense
+
+
+def _room_was_made_before(run, step: str) -> bool:
+ return any(name == step and rooms > 0 for name, rooms in run.order)
+
+
+def test_a_dense_bf16_file_loads_every_tensor_reserving_before_the_cast(monkeypatch, tmp_path) -> None:
+ sd = _tiny_transformer_checkpoint()
+ run = prepare(
+ _transformer_seam(), monkeypatch, state_dict=sd, metadata={}, geometry=_tiny_geometry, observe=OBSERVED
+ )
+ model = run.load(_checkpoint_config(tmp_path, sd))
+
+ assert not any(p.is_meta for p in model.parameters())
+ assert {p.dtype for p in model.parameters()} == {COMPUTE_DTYPE}
+ assert model.config.use_keyframes_abs_pos_embedding is True
+ assert run.casting_calls == 1, "a dense file is what the FP8 Storage policy applies to"
+ assert _room_was_made_before(run, "cast_state_dict")
+ # The working dict still held the on-disk dtype when room was made: reserved for what will
+ # exist, not for what was already made.
+ assert set(run.dtypes_at_make_room.values()) == {torch.float32}
+
+
+def test_an_int8_convrot_layer_stays_packed_under_its_renamed_path(monkeypatch, tmp_path) -> None:
+ sd, dense = _int8_checkpoint()
+ run = prepare(
+ _transformer_seam(), monkeypatch, state_dict=sd, metadata={}, geometry=_tiny_geometry, observe=OBSERVED
+ )
+ model = run.load(_checkpoint_config(tmp_path, sd))
+
+ layer = model.get_submodule(INT8_LAYER)
+ assert isinstance(layer, Int8ConvrotLinear)
+ assert layer.weight.dtype == torch.int8
+ torch.testing.assert_close(
+ layer._dequantized_weight(torch.device("cpu"), torch.float32), dense, atol=0.05, rtol=0.05
+ )
+ assert run.casting_calls == 0, "packed formats are never re-encoded by the FP8 Storage pass"
+ # The shared int8 helper makes the reservation itself, before its own split and cast: what is
+ # observable from outside is that the working dict still held the int8 codes when it did.
+ assert run.reserved and torch.int8 in run.dtypes_at_make_room.values()
+
+
+def test_a_header_named_nvfp4_layer_stays_packed_under_its_renamed_path(monkeypatch, tmp_path) -> None:
+ sd = _tiny_transformer_checkpoint()
+ official = _official_name(f"{NVFP4_LAYER}.weight")
+ shape = tuple(sd.pop(official).shape)
+ assert shape[0] % 128 == 0 and shape[1] % 64 == 0, "the toy layer must fit nvfp4's tiles"
+ module_path = official[len("model.diffusion_model.") : -len(".weight")]
+ tensors, expected = nvfp4_signed_tensors(module_path, torch.randint(0, 2, shape, dtype=torch.bool))
+ sd.update({f"model.diffusion_model.{k}": v for k, v in tensors.items()})
+ metadata = {"_quantization_metadata": json.dumps({"layers": {module_path: {"format": "nvfp4"}}})}
+ run = prepare(
+ _transformer_seam(), monkeypatch, state_dict=sd, metadata=metadata, geometry=_tiny_geometry, observe=OBSERVED
+ )
+ model = run.load(_checkpoint_config(tmp_path, sd, metadata=metadata))
+
+ layer = model.get_submodule(NVFP4_LAYER)
+ assert isinstance(layer, NVFP4Linear)
+ torch.testing.assert_close(
+ layer._dequantized_weight(torch.device("cpu"), torch.float32), expected.float(), atol=0.0, rtol=0.0
+ )
+ assert not any(p.is_meta for p in model.parameters())
+ assert _room_was_made_before(run, "install_nvfp4_layers")
+
+
+def test_a_file_without_the_keyframe_embedding_builds_the_model_without_it(monkeypatch, tmp_path) -> None:
+ sd = _tiny_transformer_checkpoint(keyframe_embedding=False)
+ run = prepare(_transformer_seam(), monkeypatch, state_dict=sd, metadata={}, geometry=_tiny_geometry)
+ model = run.load(_checkpoint_config(tmp_path, sd))
+ assert model.config.use_keyframes_abs_pos_embedding is False
+ assert getattr(model, "keyframes_abs_pos_embedding", None) is None
+
+
+def test_a_bare_key_file_loads_the_same_as_a_prefixed_one(monkeypatch, tmp_path) -> None:
+ """Identification accepts both spellings, so the loader has to as well."""
+ sd = _tiny_transformer_checkpoint(prefix="")
+ run = prepare(_transformer_seam(), monkeypatch, state_dict=sd, metadata={}, geometry=_tiny_geometry)
+ model = run.load(_checkpoint_config(tmp_path, sd))
+ assert not any(p.is_meta for p in model.parameters())
+
+
+def test_bundled_component_tensors_are_ignored_not_refused(monkeypatch, tmp_path) -> None:
+ sd = _tiny_transformer_checkpoint()
+ sd["vae.encoder.conv_in.conv.weight"] = torch.zeros(4, 4)
+ sd["model.diffusion_model.video_embeddings_connector.learnable_registers"] = torch.zeros(4, 4)
+ run = prepare(_transformer_seam(), monkeypatch, state_dict=sd, metadata={}, geometry=_tiny_geometry)
+ model = run.load(_checkpoint_config(tmp_path, sd))
+ assert not any(p.is_meta for p in model.parameters())
+ assert any("ignoring 2 tensor" in str(call) for call in run.loader._logger.info.call_args_list)
+
+
+def test_a_header_declared_unsupported_format_is_refused_before_the_tensor_read(monkeypatch, tmp_path) -> None:
+ sd = _tiny_transformer_checkpoint()
+ header = {"_quantization_metadata": json.dumps({"layers": {"x": {"format": "fp8_scaled"}}})}
+ config = _checkpoint_config(tmp_path, sd, metadata=header)
+ run = prepare(_transformer_seam(), monkeypatch, state_dict=sd, metadata=header, geometry=_tiny_geometry)
+ monkeypatch.setattr(safetensors.torch, "load_file", lambda _p: pytest.fail("the tensors were read"))
+ with pytest.raises(ValueError, match="fp8_scaled"):
+ run.load(config)
+ assert run.reserved == []
+
+
+def test_undeclared_float8_weights_are_refused_by_name(monkeypatch, tmp_path) -> None:
+ sd = _tiny_transformer_checkpoint()
+ key = _official_name("transformer_blocks.0.attn1.to_v.weight")
+ sd[key] = sd[key].to(torch.float8_e4m3fn)
+ run = prepare(_transformer_seam(), monkeypatch, state_dict=sd, metadata={}, geometry=_tiny_geometry)
+ with pytest.raises(ValueError, match="float8"):
+ run.load(_checkpoint_config(tmp_path, sd))
+ assert run.reserved == []
+
+
+# --- component folder ----------------------------------------------------------------------------
+
+
+def _folder_loader(reserved: list[int] | None = None) -> LTX2FolderModel:
+ loader = object.__new__(LTX2FolderModel)
+ loader._ram_cache = SimpleNamespace(make_room=(reserved.append if reserved is not None else lambda _n: None))
+ loader._logger = SimpleNamespace(info=lambda *_a, **_k: None)
+ loader._torch_device = torch.device("cpu")
+ return loader
+
+
+def _cpu(monkeypatch) -> None:
+ monkeypatch.setattr(ltx2.TorchDevice, "choose_torch_device", staticmethod(lambda: torch.device("cpu")))
+ monkeypatch.setattr(ltx2.TorchDevice, "choose_bfloat16_safe_dtype", staticmethod(lambda _d: torch.float32))
+
+
+def test_a_components_only_folder_refuses_the_transformer_with_the_next_step(tmp_path) -> None:
+ config = Main_Diffusers_LTX2_Config.model_construct(
+ path=str(tmp_path),
+ components={"video_vae": "v.safetensors", "audio_vae": "a.safetensors"},
+ components_only=True,
+ )
+ with pytest.raises(ValueError, match="components-only"):
+ _folder_loader()._load_model(config, SubModelType.Transformer)
+
+
+def test_a_missing_component_names_what_to_install(tmp_path) -> None:
+ config = Main_Diffusers_LTX2_Config.model_construct(path=str(tmp_path), components={"video_vae": "v.safetensors"})
+ with pytest.raises(ValueError, match="vocoder"):
+ _folder_loader()._load_model(config, SubModelType.Vocoder)
+
+
+def test_a_component_file_deleted_after_install_is_named_not_tracebacked(tmp_path) -> None:
+ config = Main_Diffusers_LTX2_Config.model_construct(path=str(tmp_path), components={"vocoder": "gone.safetensors"})
+ with pytest.raises(ValueError, match="gone.safetensors"):
+ _folder_loader()._load_model(config, SubModelType.Vocoder)
+
+
+def test_the_text_encoder_is_not_the_folder_s_to_serve(tmp_path) -> None:
+ config = Main_Diffusers_LTX2_Config.model_construct(path=str(tmp_path), components={})
+ with pytest.raises(ValueError, match="Gemma-4"):
+ _folder_loader()._load_model(config, SubModelType.TextEncoder)
+
+
+ ("tensors", "match"),
+ [
+ ({"encoder.conv_in.conv.weight": torch.zeros(2, 2, dtype=torch.float8_e4m3fn)}, "float8"),
+ (
+ {
+ "encoder.conv_in.conv.weight": torch.zeros(2, 2, dtype=torch.int8),
+ "encoder.conv_in.conv.weight_scale": torch.ones(2, 1),
+ },
+ "int8",
+ ),
+ ],
+)
+def test_a_quantized_component_file_is_refused_before_any_room_is_made(monkeypatch, tmp_path, tensors, match) -> None:
+ safetensors.torch.save_file(tensors, tmp_path / "v.safetensors")
+ config = Main_Diffusers_LTX2_Config.model_construct(path=str(tmp_path), components={"video_vae": "v.safetensors"})
+ _cpu(monkeypatch)
+ reserved: list[int] = []
+ with pytest.raises(ValueError, match=match):
+ _folder_loader(reserved)._load_model(config, SubModelType.VAE)
+ assert reserved == []
+
+
+def test_the_folder_sizes_the_files_a_submodel_is_read_from(tmp_path) -> None:
+ """`_load_and_cache` reserves `get_size_fs` before the read; a folder has no `<submodel>/` dir
+ to size, so the read would otherwise land on an unreserved cache."""
+ for name, size in (
+ ("p.safetensors", 100),
+ ("vc.safetensors", 200),
+ ("ac.safetensors", 300),
+ ("v.safetensors", 1000),
+ ):
+ (tmp_path / name).write_bytes(b"\0" * size)
+ config = Main_Diffusers_LTX2_Config.model_construct(
+ path=str(tmp_path),
+ components={
+ "text_projection": "p.safetensors",
+ "video_connector": "vc.safetensors",
+ "audio_connector": "ac.safetensors",
+ "video_vae": "v.safetensors",
+ },
+ )
+ loader = _folder_loader()
+ assert loader.get_size_fs(config, tmp_path, SubModelType.Connectors) == 600
+ assert loader.get_size_fs(config, tmp_path, SubModelType.VAE) == 1000
+ assert loader.get_size_fs(config, tmp_path, SubModelType.Vocoder) == 0
+
+
+def test_the_connectors_are_read_out_of_a_bundled_transformer_file_by_key(monkeypatch, tmp_path) -> None:
+ """The official transformer files carry the two connectors beside the transformer; only the
+ connector tensors are read, and the strict connector load never sees the rest."""
+ from diffusers.pipelines.ltx2.connectors import LTX2TextConnectors
+
+ tiny = {
+ **cc.LTX2_5_CONNECTORS_CONFIG,
+ "caption_channels": 4,
+ "text_proj_in_factor": 2,
+ "video_connector_num_attention_heads": 2,
+ "video_connector_attention_head_dim": 4,
+ "video_connector_num_layers": 1,
+ "video_connector_num_learnable_registers": 2,
+ "audio_connector_num_attention_heads": 2,
+ "audio_connector_attention_head_dim": 2,
+ "audio_connector_num_layers": 1,
+ "audio_connector_num_learnable_registers": 2,
+ "video_hidden_dim": 8,
+ "audio_hidden_dim": 4,
+ }
+ monkeypatch.setattr(cc, "LTX2_5_CONNECTORS_CONFIG", tiny)
+ torch.manual_seed(0)
+ reference = LTX2TextConnectors(**tiny)
+ official: dict[str, torch.Tensor] = {}
+ for key, value in reference.state_dict().items():
+ if key.startswith("video_text_proj_in."):
+ official["text_embedding_projection.video_aggregate_embed." + key[len("video_text_proj_in.") :]] = value
+ elif key.startswith("audio_text_proj_in."):
+ official["text_embedding_projection.audio_aggregate_embed." + key[len("audio_text_proj_in.") :]] = value
+ else:
+ branch, rest = key.split(".", 1)
+ rest = (
+ rest.replace("transformer_blocks.", "transformer_1d_blocks.")
+ .replace("norm_q", "q_norm")
+ .replace("norm_k", "k_norm")
+ )
+ official[f"model.diffusion_model.{branch.replace('_connector', '_embeddings_connector')}.{rest}"] = value
+ bundle = {**official, "model.diffusion_model.transformer_blocks.0.attn1.to_q.weight": torch.zeros(4, 4)}
+ safetensors.torch.save_file(bundle, tmp_path / "bundle.safetensors")
+ config = Main_Diffusers_LTX2_Config.model_construct(
+ path=str(tmp_path),
+ components={
+ "text_projection": "bundle.safetensors",
+ "video_connector": "bundle.safetensors",
+ "audio_connector": "bundle.safetensors",
+ },
+ )
+ _cpu(monkeypatch)
+ model = _folder_loader()._load_model(config, SubModelType.Connectors)
+ torch.testing.assert_close(model.video_connector.learnable_registers, reference.video_connector.learnable_registers)
+
+
+# --- Gemma-4 text tower --------------------------------------------------------------------------
+
+
+def _tiny_gemma4_config():
+ from transformers import Gemma4TextConfig
+
+ return Gemma4TextConfig(
+ hidden_size=32,
+ num_hidden_layers=2,
+ num_attention_heads=2,
+ num_key_value_heads=1,
+ head_dim=16,
+ intermediate_size=64,
+ vocab_size=128,
+ layer_types=["sliding_attention", "full_attention"],
+ sliding_window=8,
+ hidden_size_per_layer_input=0,
+ vocab_size_per_layer_input=128,
+ tie_word_embeddings=True,
+ )
+
+
[email protected](params=["model.", "model.language_model."])
+def gemma_folder(request, tmp_path: Path) -> SimpleNamespace:
+ """The tower under either of the two prefixes the releases use, beside the tensors that are not
+ the tower's (a vision tower, the tied head, a with-proj projection) and one int8 layer."""
+ from transformers.models.gemma4.modeling_gemma4 import Gemma4TextModel
+
+ torch.manual_seed(0)
+ config = _tiny_gemma4_config()
+ model = Gemma4TextModel(config)
+ config_dict = {
+ **config.to_dict(),
+ "architectures": ["Gemma4UnifiedForCausalLM"],
+ "model_type": "gemma4_unified_text",
+ }
+ (tmp_path / "config.json").write_text(json.dumps(config_dict))
+ prefix = request.param
+ sd = {f"{prefix}{k}": v.detach().clone() for k, v in model.state_dict().items()}
+ key = f"{prefix}layers.0.mlp.down_proj.weight"
+ dense = sd[key]
+ scale = dense.abs().amax(dim=1, keepdim=True) / 127.0
+ sd[key] = torch.round(dense / scale).clamp(-127, 127).to(torch.int8)
+ sd[f"{prefix}layers.0.mlp.down_proj.weight_scale"] = scale.float()
+ sd[f"{prefix}layers.0.mlp.down_proj.comfy_quant"] = comfy_quant_marker(
+ {"format": "int8_tensorwise", "convrot": False}
+ )
+ sd["hf_asset__video_aggregate_embed.weight"] = torch.zeros(4, 4)
+ sd["model.vision_tower.patch_embedding.weight"] = torch.zeros(4, 4)
+ sd["lm_head.weight"] = torch.zeros(128, 32)
+ safetensors.torch.save_file(sd, tmp_path / "te.safetensors")
+ return SimpleNamespace(root=tmp_path, reference=model)
+
+
+def test_the_text_tower_loads_from_the_file_with_its_int8_layer_packed(monkeypatch, gemma_folder) -> None:
+ _cpu(monkeypatch)
+ loader = object.__new__(LTX2Gemma4EncoderModel)
+ reserved: list[int] = []
+ loader._ram_cache = SimpleNamespace(make_room=reserved.append)
+ loader._logger = SimpleNamespace(info=lambda *_a, **_k: None)
+ config = Gemma4Encoder_Gemma4Encoder_LTX2_Config.model_construct(
+ path=str(gemma_folder.root), subfolder="", weight_file="te.safetensors"
+ )
+
+ model = loader._load_model(config, SubModelType.TextEncoder)
+
+ assert isinstance(model.layers[0].mlp.down_proj, Int8ConvrotLinear)
+ assert not any(p.is_meta for p in model.parameters())
+ assert reserved, "cache room is reserved for the tower"
+ ids = torch.tensor([[2, 5, 9, 1]])
+ with torch.no_grad():
+ out = model(input_ids=ids, output_hidden_states=True)
+ ref = gemma_folder.reference(input_ids=ids, output_hidden_states=True)
+ assert len(out.hidden_states) == 3, "every layer's hidden state, plus the embedding output"
+ torch.testing.assert_close(out.hidden_states[-1], ref.hidden_states[-1], atol=0.2, rtol=0.05)
+
+
+def test_the_tokenizer_comes_from_the_same_folder(monkeypatch, tmp_path) -> None:
+ calls: list[Path] = []
+ import transformers
+
+ monkeypatch.setattr(
+ transformers, "AutoTokenizer", SimpleNamespace(from_pretrained=lambda p, **_k: calls.append(p) or "tok")
+ )
+ loader = object.__new__(LTX2Gemma4EncoderModel)
+ config = Gemma4Encoder_Gemma4Encoder_LTX2_Config.model_construct(
+ path=str(tmp_path), subfolder="gemma4-12b-ltx-v1", weight_file="te.safetensors"
+ )
+ assert loader._load_model(config, SubModelType.Tokenizer) == "tok"
+ assert calls == [tmp_path / "gemma4-12b-ltx-v1"]
+
+
+def test_the_encoder_sizes_its_weight_file_one_directory_down(tmp_path) -> None:
+ nested = tmp_path / "gemma4-12b-ltx-v1"
+ nested.mkdir()
+ (nested / "te.safetensors").write_bytes(b"\0" * 5000)
+ (nested / "tokenizer.json").write_bytes(b"\0" * 40)
+ config = Gemma4Encoder_Gemma4Encoder_LTX2_Config.model_construct(
+ path=str(tmp_path), subfolder="gemma4-12b-ltx-v1", weight_file="te.safetensors"
+ )
+ loader = object.__new__(LTX2Gemma4EncoderModel)
+ assert loader.get_size_fs(config, tmp_path, SubModelType.TextEncoder) == 5000
+ assert loader.get_size_fs(config, tmp_path, SubModelType.Tokenizer) == 40
diff --git a/tests/backend/model_manager/load/test_single_file_guards.py b/tests/backend/model_manager/load/test_single_file_guards.py
new file mode 100644
index 0000000000..99abd286d9
--- /dev/null
+++ b/tests/backend/model_manager/load/test_single_file_guards.py
@@ -0,0 +1,69 @@
+"""The header gate shared by the single-file loaders: what a checkpoint may declare, and how strictly
+each of the two header transports is read."""
+
+import json
+from pathlib import Path
+
+import pytest
+import torch
+from safetensors.torch import save_file
+
+from invokeai.backend.model_manager.load.model_loaders._single_file_guards import (
+ reject_float8_weights,
+ reject_formats_declared_in_the_header,
+)
+from tests.fixtures.quantized_payloads import comfy_quant_marker
+
+ACCEPTED = frozenset({"int8_tensorwise"})
+NOTE = "Only int8 files are supported."
+
+
+def _write(path: Path, tensors: dict[str, torch.Tensor], header: dict[str, str] | None = None) -> Path:
+ save_file(tensors, path, metadata=header)
+ return path
+
+
+def test_an_accepted_format_declared_either_way_passes(tmp_path: Path) -> None:
+ path = _write(
+ tmp_path / "ok.safetensors",
+ {"a.weight": torch.zeros(2, 2), "a.comfy_quant": comfy_quant_marker({"format": "int8_tensorwise"})},
+ {"_quantization_metadata": json.dumps({"layers": {"b": {"format": "int8_tensorwise"}}})},
+ )
+ reject_formats_declared_in_the_header(path, "checkpoint", None, ACCEPTED, NOTE)
+
+
+def test_a_header_entry_without_a_format_declares_nothing(tmp_path: Path) -> None:
+ """Per-layer flags alone (`full_precision_matrix_mult`) are a well-formed entry that names no
+ scheme; refusing it would turn away real int8 builds."""
+ path = _write(
+ tmp_path / "flags.safetensors",
+ {"a.weight": torch.zeros(2, 2)},
+ {"_quantization_metadata": json.dumps({"layers": {"a": {"full_precision_matrix_mult": True}}})},
+ )
+ reject_formats_declared_in_the_header(path, "checkpoint", None, ACCEPTED, NOTE)
+
+
+def test_a_foreign_format_in_the_header_is_refused_by_name(tmp_path: Path) -> None:
+ path = _write(
+ tmp_path / "fp8.safetensors",
+ {"a.weight": torch.zeros(2, 2)},
+ {"_quantization_metadata": json.dumps({"layers": {"a": {"format": "fp8_scaled"}}})},
+ )
+ with pytest.raises(ValueError, match="fp8_scaled"):
+ reject_formats_declared_in_the_header(path, "checkpoint", None, ACCEPTED, NOTE)
+
+
+def test_a_marker_without_a_format_is_refused_as_unreadable(tmp_path: Path) -> None:
+ """A per-tensor marker exists only to declare a scheme, so one that names none is unreadable."""
+ path = _write(
+ tmp_path / "marker.safetensors",
+ {"a.weight": torch.zeros(2, 2), "a.comfy_quant": comfy_quant_marker({"convrot": True})},
+ )
+ with pytest.raises(ValueError, match="unreadable"):
+ reject_formats_declared_in_the_header(path, "checkpoint", None, ACCEPTED, NOTE)
+
+
+def test_undeclared_float8_tensors_are_refused_after_the_read(tmp_path: Path) -> None:
+ sd = {"a.weight": torch.zeros(2, 2, dtype=torch.float8_e4m3fn), "a.weight_scale": torch.ones(2, 1)}
+ with pytest.raises(ValueError, match="float8"):
+ reject_float8_weights(sd, "checkpoint", tmp_path / "x.safetensors", NOTE)
diff --git a/tests/backend/model_manager/test_ltx2_identification.py b/tests/backend/model_manager/test_ltx2_identification.py
new file mode 100644
index 0000000000..caeb2b703b
--- /dev/null
+++ b/tests/backend/model_manager/test_ltx2_identification.py
@@ -0,0 +1,576 @@
+"""How LTX-2 releases are recognised on disk: the per-file role classifier, the folder and
+single-file configs, the Gemma-4 encoder folder, and the key maps onto the diffusers classes.
+
+The files here are real (tiny) safetensors written to a temp directory and probed through
+``ModelOnDisk`` / the config factory, so what is tested is the same header-only read the installer
+does -- including that no other config claims these folders first.
+"""
+
+import json
+from pathlib import Path
+
+import pytest
+import torch
+from safetensors.torch import save_file
+
+from invokeai.backend.ltx2 import checkpoint_layout as layout
+from invokeai.backend.ltx2 import component_configs as cc
+from invokeai.backend.model_manager.configs.factory import ModelConfigFactory
+from invokeai.backend.model_manager.configs.gemma4_encoder import Gemma4Encoder_Gemma4Encoder_LTX2_Config
+from invokeai.backend.model_manager.configs.identification_utils import InvalidMatchError, NotAMatchError
+from invokeai.backend.model_manager.configs.main import Main_Checkpoint_LTX2_Config, Main_Diffusers_LTX2_Config
+from invokeai.backend.model_manager.model_on_disk import ModelOnDisk
+from invokeai.backend.model_manager.taxonomy import BaseModelType, LTX2VariantType, ModelFormat, ModelType
+
+T = "model.diffusion_model."
+
+
+def _probe(path: Path, overrides: dict | None = None):
+ """Classify through the factory, which supplies the record fields (key, hash, name, ...) that a
+ config's ``from_model_on_disk`` expects in its override dict."""
+ return ModelConfigFactory.from_model_on_disk(ModelOnDisk(path), overrides or {}, allow_unknown=False)
+
+
+def _rejection(path: Path, config_class: type) -> Exception:
+ detail = _probe(path).details[config_class.__name__]
+ assert isinstance(detail, Exception), f"{config_class.__name__} matched: {detail}"
+ return detail
+
+
+def _transformer_tensors(*, video_ff_bias: bool = False, keyframe: bool = True) -> dict[str, torch.Tensor]:
+ sd = {
+ f"{T}{layout.TRANSFORMER_FINGERPRINT_KEY}": torch.zeros(2, 2),
+ f"{T}transformer_blocks.0.ff.net.0.proj.weight": torch.zeros(2, 2),
+ f"{T}transformer_blocks.0.audio_ff.net.2.bias": torch.zeros(2),
+ f"{T}transformer_blocks.0.attn1.to_q.weight": torch.zeros(2, 2),
+ }
+ if video_ff_bias:
+ sd[f"{T}transformer_blocks.0.ff.net.2.bias"] = torch.zeros(2)
+ if keyframe:
+ sd[f"{T}keyframes_abs_pos_embedding"] = torch.zeros(1, 2)
+ return sd
+
+
+COMPONENT_TENSORS: dict[str, dict[str, torch.Tensor]] = {
+ "ltx-2.5-22b_video_vae_bf16.safetensors": {
+ "encoder.conv_in.conv.weight": torch.zeros(2, 2, 3, 3, 3),
+ "decoder.up_blocks.0.res_blocks.0.conv1.conv.weight": torch.zeros(2, 2, 3, 3, 3),
+ "decoder.up_blocks.8.res_blocks.0.conv1.conv.weight": torch.zeros(2, 2, 3, 3, 3),
+ "per_channel_statistics.mean-of-means": torch.zeros(2),
+ },
+ "ltx-2.5-22b_audio_vae_bf16.safetensors": {"audio_vae.encoder.conv_in.weight": torch.zeros(2, 2, 3, 3)},
+ "ltx-2.5-22b_vocoder_bf16.safetensors": {"vocoder.vocoder.conv_pre.weight": torch.zeros(2, 2, 3)},
+ "ltx-2.5-22b_text_embedding_projection_bf16.safetensors": {
+ "text_embedding_projection.video_aggregate_embed.weight": torch.zeros(2, 2)
+ },
+ "ltx-2.5-22b_video_embeddings_connector_bf16.safetensors": {
+ f"{T}video_embeddings_connector.learnable_registers": torch.zeros(2, 2)
+ },
+ "ltx-2.5-22b_audio_embeddings_connector_bf16.safetensors": {
+ f"{T}audio_embeddings_connector.learnable_registers": torch.zeros(2, 2)
+ },
+ "ltx-2.5-spatial-upscaler-x2-1.0_bf16.safetensors": {
+ "initial_conv.weight": torch.zeros(2, 2, 3, 3, 3),
+ "res_blocks.0.conv1.weight": torch.zeros(2, 2, 3, 3, 3),
+ "final_conv.weight": torch.zeros(2, 2, 3, 3, 3),
+ "upsampler.0.weight": torch.zeros(8, 2, 3, 3),
+ },
+ "ltx-2.5-temporal-upscaler-x2-1.0_bf16.safetensors": {
+ "initial_conv.weight": torch.zeros(2, 2, 3, 3, 3),
+ "res_blocks.0.conv1.weight": torch.zeros(2, 2, 3, 3, 3),
+ "final_conv.weight": torch.zeros(2, 2, 3, 3, 3),
+ "upsampler.0.weight": torch.zeros(4, 2, 3, 3, 3),
+ },
+}
+
+EXPECTED_ROLES = {
+ "ltx-2.5-22b_video_vae_bf16.safetensors": layout.ROLE_VIDEO_VAE,
+ "ltx-2.5-22b_audio_vae_bf16.safetensors": layout.ROLE_AUDIO_VAE,
+ "ltx-2.5-22b_vocoder_bf16.safetensors": layout.ROLE_VOCODER,
+ "ltx-2.5-22b_text_embedding_projection_bf16.safetensors": layout.ROLE_TEXT_PROJECTION,
+ "ltx-2.5-22b_video_embeddings_connector_bf16.safetensors": layout.ROLE_VIDEO_CONNECTOR,
+ "ltx-2.5-22b_audio_embeddings_connector_bf16.safetensors": layout.ROLE_AUDIO_CONNECTOR,
+ "ltx-2.5-spatial-upscaler-x2-1.0_bf16.safetensors": layout.ROLE_SPATIAL_UPSAMPLER,
+ "ltx-2.5-temporal-upscaler-x2-1.0_bf16.safetensors": layout.ROLE_TEMPORAL_UPSAMPLER,
+}
+
+
+def _write_components(folder: Path, names=EXPECTED_ROLES, metadata: dict[str, str] | None = None) -> None:
+ folder.mkdir(exist_ok=True)
+ for name in names:
+ save_file(COMPONENT_TENSORS[name], folder / name, metadata=metadata)
+
+
+# --- the classifier ------------------------------------------------------------------------------
+
+
[email protected]("name", sorted(EXPECTED_ROLES))
+def test_each_official_component_file_is_classified_by_its_keys_alone(name: str) -> None:
+ assert layout.classify_roles(COMPONENT_TENSORS[name]) == {EXPECTED_ROLES[name]}
+
+
+def test_the_header_flags_decide_an_upsampler_when_present() -> None:
+ spatial_keys = COMPONENT_TENSORS["ltx-2.5-spatial-upscaler-x2-1.0_bf16.safetensors"]
+ header = {"config": json.dumps({"_class_name": "LatentUpsampler", "temporal_upsample": True})}
+ assert layout.classify_roles(spatial_keys, header) == {layout.ROLE_TEMPORAL_UPSAMPLER}
+
+
+def test_a_transformer_is_recognised_with_or_without_its_prefix_and_a_bundle_carries_every_role() -> None:
+ assert layout.classify_roles(_transformer_tensors()) == {layout.ROLE_TRANSFORMER}
+ assert layout.classify_roles({k[len(T) :]: v for k, v in _transformer_tensors().items()}) == {
+ layout.ROLE_TRANSFORMER
+ }
+ bundle = {
+ **_transformer_tensors(),
+ **{f"vae.{k}": v for k, v in COMPONENT_TENSORS["ltx-2.5-22b_video_vae_bf16.safetensors"].items()},
+ }
+ assert layout.classify_roles(bundle) == {layout.ROLE_TRANSFORMER, layout.ROLE_VIDEO_VAE}
+
+
+def test_a_diffusion_decoder_vae_is_not_mistaken_for_the_conv_vae() -> None:
+ keys = {"encoder.conv_in.conv.weight": 0, "decoder.diff_blocks.0.x": 0}
+ assert layout.classify_roles(keys) == {layout.ROLE_DIFFUSION_VIDEO_VAE}
+
+
+def test_unrelated_files_yield_no_role() -> None:
+ assert layout.classify_roles({"double_blocks.0.img_attn.qkv.weight": 0}) == set()
+
+
+def test_versions_reduce_to_a_generation() -> None:
+ assert layout.generation_from_version("2.5.0") == "2.5"
+ assert layout.generation_from_version("2.3") == "2.3"
+ assert layout.generation_from_version("dev") is None
+ assert layout.generation_from_version(None) is None
+
+
+# --- folder config -------------------------------------------------------------------------------
+
+
+def test_a_component_folder_records_every_role_and_is_components_only(tmp_path: Path) -> None:
+ _write_components(tmp_path)
+ config = _probe(tmp_path).config
+ assert isinstance(config, Main_Diffusers_LTX2_Config)
+ assert config.components == {role: name for name, role in EXPECTED_ROLES.items()}
+ assert config.components_only is True
+ assert config.variant is LTX2VariantType.Dev
+ assert config.generation == "2.5"
+
+
+def test_a_folder_with_a_distilled_transformer_is_a_full_install_of_that_variant(tmp_path: Path) -> None:
+ _write_components(tmp_path)
+ save_file(_transformer_tensors(), tmp_path / "ltx-2.5-22b-distilled_diffusion_model_bf16.safetensors")
+ config = _probe(tmp_path).config
+ assert isinstance(config, Main_Diffusers_LTX2_Config)
+ assert config.components_only is False
+ assert config.variant is LTX2VariantType.Distilled
+ assert config.components[layout.ROLE_TRANSFORMER] == "ltx-2.5-22b-distilled_diffusion_model_bf16.safetensors"
+
+
+def test_the_factory_hands_a_component_folder_to_the_ltx2_config_and_nothing_else(tmp_path: Path) -> None:
+ _write_components(tmp_path)
+ result = _probe(tmp_path)
+ assert isinstance(result.config, Main_Diffusers_LTX2_Config)
+ assert result.config.base is BaseModelType.LTX2 and result.config.format is ModelFormat.Diffusers
+ assert sum(not isinstance(d, Exception) for d in result.details.values()) == 1, "no other config claims it"
+
+
+def test_a_folder_without_both_vaes_is_not_an_ltx2_component_source(tmp_path: Path) -> None:
+ _write_components(tmp_path, names=[n for n in EXPECTED_ROLES if "audio_vae" not in n])
+ rejection = _rejection(tmp_path, Main_Diffusers_LTX2_Config)
+ assert isinstance(rejection, NotAMatchError) and "video VAE + audio VAE" in str(rejection)
+
+
+def test_a_diffusers_layout_folder_is_left_unclaimed(tmp_path: Path) -> None:
+ _write_components(tmp_path)
+ (tmp_path / "model_index.json").write_text("{}")
+ rejection = _rejection(tmp_path, Main_Diffusers_LTX2_Config)
+ assert isinstance(rejection, NotAMatchError) and "diffusers-layout" in str(rejection)
+
+
+def test_an_earlier_generation_s_vae_is_refused_by_name(tmp_path: Path) -> None:
+ old_vae = dict(COMPONENT_TENSORS["ltx-2.5-22b_video_vae_bf16.safetensors"])
+ old_vae.pop("decoder.up_blocks.8.res_blocks.0.conv1.conv.weight")
+ _write_components(tmp_path, names=[n for n in EXPECTED_ROLES if "video_vae" not in n])
+ save_file(old_vae, tmp_path / "ltx-2.3-22b_vae.safetensors")
+ rejection = _rejection(tmp_path, Main_Diffusers_LTX2_Config)
+ assert "cannot tell which LTX-2 generation" in str(rejection)
+
+
+def test_the_header_version_is_read_when_the_file_carries_one(tmp_path: Path) -> None:
+ _write_components(
+ tmp_path, names=[n for n in EXPECTED_ROLES if "video_vae" not in n], metadata={"model_version": "2.3.0"}
+ )
+ save_file(
+ COMPONENT_TENSORS["ltx-2.5-22b_video_vae_bf16.safetensors"],
+ tmp_path / "vae.safetensors",
+ metadata={"model_version": "2.3.0"},
+ )
+ rejection = _rejection(tmp_path, Main_Diffusers_LTX2_Config)
+ assert isinstance(rejection, InvalidMatchError)
+ assert "LTX-2.3" in str(rejection) and "only LTX-2.5" in str(rejection)
+
+
+# --- single-file transformer config ---------------------------------------------------------------
+
+
+ ("name", "variant"),
+ [
+ ("ltx-2.5-22b-dev_diffusion_model_int8_convrot.safetensors", LTX2VariantType.Dev),
+ ("ltx-2.5-22b-distilled_diffusion_model_nvfp4.safetensors", LTX2VariantType.Distilled),
+ ],
+)
+def test_a_transformer_file_is_dated_by_its_structure_and_named_by_its_filename(tmp_path, name, variant) -> None:
+ save_file(_transformer_tensors(keyframe=False), tmp_path / name)
+ result = _probe(tmp_path / name)
+ assert isinstance(result.config, Main_Checkpoint_LTX2_Config)
+ assert result.config.variant is variant
+ assert result.config.generation == "2.5"
+ assert result.config.type is ModelType.Main
+
+
+def test_the_variant_override_wins_over_the_filename(tmp_path) -> None:
+ path = tmp_path / "renamed.safetensors"
+ save_file(_transformer_tensors(), path)
+ config = _probe(path, {"variant": "ltx2_distilled"}).config
+ assert isinstance(config, Main_Checkpoint_LTX2_Config)
+ assert config.variant is LTX2VariantType.Distilled
+
+
+def test_a_transformer_with_video_feed_forward_biases_is_an_earlier_generation(tmp_path) -> None:
+ path = tmp_path / "ltx-2.3-22b-dev.safetensors"
+ save_file(_transformer_tensors(video_ff_bias=True), path)
+ rejection = _rejection(path, Main_Checkpoint_LTX2_Config)
+ assert "cannot tell which LTX-2 generation" in str(rejection)
+
+
+# --- Gemma-4 encoder folder ---------------------------------------------------------------------
+
+
+def _gemma4_config(hidden_size: int = 3840, num_layers: int = 48) -> dict:
+ return {
+ "architectures": ["Gemma4UnifiedForCausalLM"],
+ "model_type": "gemma4_unified_text",
+ "hidden_size": hidden_size,
+ "num_hidden_layers": num_layers,
+ }
+
+
+def _write_gemma4(folder: Path, weight_names: list[str], config: dict | None = None) -> None:
+ folder.mkdir(parents=True, exist_ok=True)
+ (folder / "config.json").write_text(json.dumps(config or _gemma4_config()))
+ (folder / "tokenizer.json").write_text("{}")
+ for name in weight_names:
+ save_file({"model.layers.0.self_attn.q_proj.weight": torch.zeros(2, 2)}, folder / name)
+
+
+def test_a_root_level_gemma4_folder_is_the_encoder_not_a_generic_text_llm(tmp_path: Path) -> None:
+ _write_gemma4(tmp_path, ["gemma4-12b-ltx-v1_int8_convrot.safetensors"])
+ result = _probe(tmp_path)
+ assert isinstance(result.config, Gemma4Encoder_Gemma4Encoder_LTX2_Config)
+ assert result.config.subfolder == ""
+ assert result.config.weight_file == "gemma4-12b-ltx-v1_int8_convrot.safetensors"
+
+
+def test_files_one_directory_down_are_found_and_the_bf16_weight_is_preferred(tmp_path: Path) -> None:
+ _write_gemma4(
+ tmp_path / "gemma4-12b-ltx-v1",
+ ["gemma4-12b-ltx-v1_int8_convrot.safetensors", "gemma4-12b-ltx-v1_bf16.safetensors"],
+ )
+ config = _probe(tmp_path).config
+ assert isinstance(config, Gemma4Encoder_Gemma4Encoder_LTX2_Config)
+ assert config.subfolder == "gemma4-12b-ltx-v1"
+ assert config.weight_file == "gemma4-12b-ltx-v1_bf16.safetensors"
+
+
+def test_a_gemma4_of_another_size_cannot_feed_the_connectors(tmp_path: Path) -> None:
+ _write_gemma4(tmp_path, ["te.safetensors"], config=_gemma4_config(hidden_size=2560, num_layers=32))
+ rejection = _rejection(tmp_path, Gemma4Encoder_Gemma4Encoder_LTX2_Config)
+ assert "hidden_size 3840" in str(rejection)
+
+
+# --- key maps onto the diffusers classes --------------------------------------------------------
+
+
+def test_the_video_vae_map_extends_diffusers_by_the_fourth_decoder_stage() -> None:
+ converted = cc.convert_video_vae_keys(
+ {
+ "vae.decoder.up_blocks.7.conv.conv.weight": 1,
+ "decoder.up_blocks.8.res_blocks.3.conv2.conv.bias": 2,
+ "encoder.down_blocks.8.res_blocks.0.norm1.weight": 3,
+ "per_channel_statistics.std-of-means": 4,
+ "per_channel_statistics.channel": 5,
+ }
+ )
+ assert converted == {
+ "decoder.up_blocks.3.upsamplers.0.conv.conv.weight": 1,
+ "decoder.up_blocks.3.resnets.3.conv2.conv.bias": 2,
+ "encoder.mid_block.resnets.0.norm1.weight": 3,
+ "latents_std": 4,
+ }
+
+
+def test_the_connector_map_joins_three_files_and_drops_what_is_not_a_connector() -> None:
+ converted = cc.convert_connector_keys(
+ {
+ f"{T}video_embeddings_connector.transformer_1d_blocks.2.attn1.q_norm.weight": 1,
+ f"{T}audio_embeddings_connector.learnable_registers": 2,
+ "text_embedding_projection.audio_aggregate_embed.bias": 3,
+ f"{T}transformer_blocks.0.attn1.to_q.weight": 5,
+ }
+ )
+ assert converted == {
+ "video_connector.transformer_blocks.2.attn1.norm_q.weight": 1,
+ "audio_connector.learnable_registers": 2,
+ "audio_text_proj_in.bias": 3,
+ }
+
+
+def test_the_vocoder_map_reaches_both_generators() -> None:
+ converted = cc.convert_vocoder_keys(
+ {
+ "vocoder.vocoder.conv_pre.weight": 1,
+ "vocoder.bwe_generator.resblocks.1.acts1.0.downsample.lowpass.filter": 2,
+ "vocoder.vocoder.ups.3.bias": 3,
+ "vocoder.mel_stft.mel_basis": 4,
+ }
+ )
+ assert converted == {
+ "vocoder.conv_in.weight": 1,
+ "bwe_generator.resnets.1.acts1.0.downsample.filter": 2,
+ "vocoder.upsamplers.3.bias": 3,
+ "mel_stft.mel_basis": 4,
+ }
+
+
+def test_the_transformer_finish_renames_only_the_prompt_adaln_heads() -> None:
+ sd, key_map = cc.finish_transformer_keys(
+ {
+ "prompt_adaln_single.linear.weight": 1,
+ "audio_prompt_adaln_single.linear.bias": 2,
+ "time_embed.linear.weight": 3,
+ }
+ )
+ assert sd == {"prompt_adaln.linear.weight": 1, "audio_prompt_adaln.linear.bias": 2, "time_embed.linear.weight": 3}
+ assert key_map == {
+ "prompt_adaln_single.linear.weight": "prompt_adaln.linear.weight",
+ "audio_prompt_adaln_single.linear.bias": "audio_prompt_adaln.linear.bias",
+ }
+
+
+# --- folder contracts the loader relies on -------------------------------------------------------
+
+
+def test_a_duplicated_role_is_resolved_to_the_first_sorted_file(tmp_path: Path) -> None:
+ _write_components(tmp_path)
+ save_file(
+ COMPONENT_TENSORS["ltx-2.5-22b_video_vae_bf16.safetensors"], tmp_path / "aaa-second-video-vae.safetensors"
+ )
+ config = _probe(tmp_path).config
+ assert isinstance(config, Main_Diffusers_LTX2_Config)
+ assert config.components[layout.ROLE_VIDEO_VAE] == "aaa-second-video-vae.safetensors"
+
+
+def _direct(path: Path, overrides: dict):
+ """Fields the factory only forwards for a fixed set of keys reach a config through a direct call
+ (the record editor's path); the common fields still come from the factory."""
+ mod = ModelOnDisk(path)
+ return Main_Diffusers_LTX2_Config.from_model_on_disk(
+ mod, {**ModelConfigFactory.build_common_fields(mod), **overrides}
+ )
+
+
+def test_the_components_only_override_wins(tmp_path: Path) -> None:
+ _write_components(tmp_path)
+ assert _direct(tmp_path, {"components_only": False}).components_only is False
+
+
+def test_generation_and_components_overrides_are_honoured_rather_than_duplicated(tmp_path: Path) -> None:
+ _write_components(tmp_path)
+ config = _direct(tmp_path, {"generation": "2.5", "components": {"video_vae": "custom.safetensors"}})
+ assert config.generation == "2.5"
+ assert config.components == {"video_vae": "custom.safetensors"}
+
+
+def test_a_folder_with_an_older_transformer_beside_2_5_components_is_refused_naming_it(tmp_path: Path) -> None:
+ """Every dating file is checked at identification, so the odd file is named here rather than at
+ the strict load of whichever transformer sorted first; and refused as invalid so the folder is
+ not registered as an unknown model."""
+ _write_components(tmp_path)
+ save_file(
+ _transformer_tensors(video_ff_bias=True),
+ tmp_path / "zz-ltx-2.3-22b-dev.safetensors",
+ metadata={"model_version": "2.3.0"},
+ )
+ result = _probe(tmp_path)
+ assert result.config is None
+ rejection = result.details[Main_Diffusers_LTX2_Config.__name__]
+ assert isinstance(rejection, InvalidMatchError)
+ assert "zz-ltx-2.3-22b-dev.safetensors is an LTX-2.3 file" in str(rejection)
+
+
+def test_the_header_version_outranks_the_structure(tmp_path: Path) -> None:
+ path = tmp_path / "ltx-2.5-22b-dev.safetensors"
+ save_file(_transformer_tensors(), path, metadata={"model_version": "2.3.0"})
+ result = _probe(path)
+ assert result.config is None, "an invalid match is final: nothing is registered"
+ assert isinstance(result.details[Main_Checkpoint_LTX2_Config.__name__], InvalidMatchError)
+
+
+def test_a_folder_whose_only_video_vae_is_the_diffusion_decoder_says_so(tmp_path: Path) -> None:
+ _write_components(tmp_path, names=[n for n in EXPECTED_ROLES if "video_vae" not in n])
+ save_file(
+ {"encoder.conv_in.conv.weight": torch.zeros(2, 2, 3, 3, 3), "decoder.diff_blocks.0.x": torch.zeros(2)},
+ tmp_path / "diffusion_vae.safetensors",
+ )
+ rejection = _rejection(tmp_path, Main_Diffusers_LTX2_Config)
+ assert "diffusion-decoder" in str(rejection)
+
+
+# --- the text-LLM boundary -----------------------------------------------------------------------
+
+
+def _write_sharded_gemma4(folder: Path) -> None:
+ folder.mkdir(parents=True, exist_ok=True)
+ (folder / "config.json").write_text(json.dumps({**_gemma4_config(), "architectures": ["Gemma4ForCausalLM"]}))
+ (folder / "tokenizer.json").write_text("{}")
+ (folder / "model.safetensors.index.json").write_text("{}")
+ for i in (1, 2):
+ save_file({f"model.layers.{i}.x": torch.zeros(2)}, folder / f"model-0000{i}-of-00002.safetensors")
+
+
+def test_a_stock_sharded_gemma4_stays_a_generic_text_llm(tmp_path: Path) -> None:
+ """Google's Gemma-4-12B is the same width and depth; only the LTX single-file layout is the encoder."""
+ from invokeai.backend.model_manager.configs.text_llm import TextLLM_Diffusers_Config
+
+ _write_sharded_gemma4(tmp_path)
+ result = _probe(tmp_path)
+ assert isinstance(result.config, TextLLM_Diffusers_Config)
+ assert "sharded" in str(result.details[Gemma4Encoder_Gemma4Encoder_LTX2_Config.__name__])
+
+
+def test_an_explicit_text_llm_override_keeps_the_ltx_folder_a_text_llm(tmp_path: Path) -> None:
+ from invokeai.backend.model_manager.configs.text_llm import TextLLM_Diffusers_Config
+
+ _write_gemma4(tmp_path, ["gemma4-12b-ltx-v1_int8_convrot.safetensors"])
+ result = _probe(tmp_path, {"type": "text_llm"})
+ assert isinstance(result.config, TextLLM_Diffusers_Config)
+
+
+# --- the key maps against the real diffusers modules --------------------------------------------
+
+
+def _model_keys(model: torch.nn.Module) -> set[str]:
+ return {n for n, _ in model.named_parameters()} | {n for n, _ in model.named_buffers()}
+
+
+def test_the_video_vae_map_is_a_bijection_onto_the_real_decoder_and_encoder() -> None:
+ """A tiny VAE with the 2.5 block structure, its keys spelled the official way (flat block
+ indices, ``res_blocks``, ``per_channel_statistics``) and converted back."""
+ from accelerate import init_empty_weights
+ from diffusers import AutoencoderKLLTX2Video
+
+ tiny = {
+ **cc.LTX2_5_VIDEO_VAE_CONFIG,
+ "latent_channels": 4,
+ "block_out_channels": (8, 16, 32, 32),
+ "layers_per_block": (1, 1, 1, 1, 1),
+ "decoder_block_out_channels": (8, 16, 16, 32),
+ "decoder_layers_per_block": (1, 1, 1, 1, 1),
+ }
+ with init_empty_weights():
+ model = AutoencoderKLLTX2Video(**tiny)
+ # diffusers nested path -> official flat index, typed out from the official layout.
+ flat = {
+ "encoder.down_blocks.0.downsamplers.0": "encoder.down_blocks.1",
+ "encoder.down_blocks.1.downsamplers.0": "encoder.down_blocks.3",
+ "encoder.down_blocks.2.downsamplers.0": "encoder.down_blocks.5",
+ "encoder.down_blocks.3.downsamplers.0": "encoder.down_blocks.7",
+ "encoder.down_blocks.0": "encoder.down_blocks.0",
+ "encoder.down_blocks.1": "encoder.down_blocks.2",
+ "encoder.down_blocks.2": "encoder.down_blocks.4",
+ "encoder.down_blocks.3": "encoder.down_blocks.6",
+ "encoder.mid_block": "encoder.down_blocks.8",
+ "decoder.up_blocks.0.upsamplers.0": "decoder.up_blocks.1",
+ "decoder.up_blocks.1.upsamplers.0": "decoder.up_blocks.3",
+ "decoder.up_blocks.2.upsamplers.0": "decoder.up_blocks.5",
+ "decoder.up_blocks.3.upsamplers.0": "decoder.up_blocks.7",
+ "decoder.up_blocks.0": "decoder.up_blocks.2",
+ "decoder.up_blocks.1": "decoder.up_blocks.4",
+ "decoder.up_blocks.2": "decoder.up_blocks.6",
+ "decoder.up_blocks.3": "decoder.up_blocks.8",
+ "decoder.mid_block": "decoder.up_blocks.0",
+ "latents_mean": "per_channel_statistics.mean-of-means",
+ "latents_std": "per_channel_statistics.std-of-means",
+ }
+ official: dict[str, int] = {}
+ for key in _model_keys(model):
+ name = key
+ for new, old in sorted(flat.items(), key=lambda kv: -len(kv[0])):
+ if name == new or name.startswith(new + "."):
+ name = old + name[len(new) :]
+ break
+ official[name.replace(".resnets.", ".res_blocks.")] = 0
+ official["per_channel_statistics.channel"] = 0
+ assert set(cc.convert_video_vae_keys(official)) == _model_keys(model)
+
+
+def test_the_connector_map_is_a_bijection_onto_the_real_connectors() -> None:
+ from accelerate import init_empty_weights
+ from diffusers.pipelines.ltx2.connectors import LTX2TextConnectors
+
+ tiny = {
+ **cc.LTX2_5_CONNECTORS_CONFIG,
+ "caption_channels": 4,
+ "text_proj_in_factor": 2,
+ "video_connector_num_attention_heads": 2,
+ "video_connector_attention_head_dim": 4,
+ "video_connector_num_layers": 2,
+ "video_connector_num_learnable_registers": 2,
+ "audio_connector_num_attention_heads": 2,
+ "audio_connector_attention_head_dim": 2,
+ "audio_connector_num_layers": 2,
+ "audio_connector_num_learnable_registers": 2,
+ "video_hidden_dim": 8,
+ "audio_hidden_dim": 4,
+ }
+ with init_empty_weights():
+ model = LTX2TextConnectors(**tiny)
+ official: dict[str, int] = {}
+ for key in _model_keys(model):
+ if key.startswith("video_text_proj_in."):
+ official["text_embedding_projection.video_aggregate_embed." + key[len("video_text_proj_in.") :]] = 0
+ elif key.startswith("audio_text_proj_in."):
+ official["text_embedding_projection.audio_aggregate_embed." + key[len("audio_text_proj_in.") :]] = 0
+ else:
+ branch, rest = key.split(".", 1)
+ rest = (
+ rest.replace("transformer_blocks.", "transformer_1d_blocks.")
+ .replace("norm_q", "q_norm")
+ .replace("norm_k", "k_norm")
+ )
+ official[f"{T}{branch.replace('_connector', '_embeddings_connector')}.{rest}"] = 0
+ assert set(cc.convert_connector_keys(official)) == _model_keys(model)
+
+
+def test_the_vocoder_map_is_a_bijection_onto_the_real_vocoder() -> None:
+ from accelerate import init_empty_weights
+ from diffusers.pipelines.ltx2.vocoder import LTX2VocoderWithBWE
+
+ with init_empty_weights():
+ model = LTX2VocoderWithBWE(in_channels=4, hidden_channels=8, bwe_in_channels=4, bwe_hidden_channels=8)
+ stored = _model_keys(model) - {"resampler.filter"}
+ official: dict[str, int] = {}
+ for key in stored:
+ name = key
+ for new, old in (
+ (".conv_in.", ".conv_pre."),
+ (".conv_out.", ".conv_post."),
+ (".act_out.", ".act_post."),
+ (".upsamplers.", ".ups."),
+ (".resnets.", ".resblocks."),
+ (".downsample.filter", ".downsample.lowpass.filter"),
+ ):
+ name = ("." + name).replace(new, old)[1:]
+ official["vocoder." + name] = 0
+ assert set(cc.convert_vocoder_keys(official)) == stored
diff --git a/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/__test_metadata__.json b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/__test_metadata__.json
new file mode 100644
index 0000000000..2be1bb5ac5
--- /dev/null
+++ b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/__test_metadata__.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fb65ab362e6551ec2d2a168d8b1065c8425940805a406b7f5784764344c42f90
+size 654
diff --git a/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/chat_template.jinja b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/chat_template.jinja
new file mode 100644
index 0000000000..c7c08acefb
--- /dev/null
+++ b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/chat_template.jinja
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ae53464bf3be25802b3a5b37def7fd89667067d7577049b3b2d74c4d8de4c6d4
+size 18683
diff --git a/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/config.json b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/config.json
new file mode 100644
index 0000000000..cabd3f020b
--- /dev/null
+++ b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/config.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:82ec29063791629eac6a023c662f4edc2a811e479343ae79f21b8453357caeb0
+size 2498
diff --git a/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/gemma4-12b-ltx-v1_int8_convrot.safetensors b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/gemma4-12b-ltx-v1_int8_convrot.safetensors
new file mode 100644
index 0000000000..cfca395888
--- /dev/null
+++ b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/gemma4-12b-ltx-v1_int8_convrot.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3b064774b04a9c710c46578e7301e132649b25bd69814db425ab5b353ffdecd3
+size 189839
diff --git a/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/tokenizer.json b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/tokenizer.json
new file mode 100644
index 0000000000..bff640c8b8
--- /dev/null
+++ b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/tokenizer.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:029809ff8663052aa4055393233b184c9295f926906aafd38e9a2300fb3035c9
+size 61
diff --git a/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/tokenizer_config.json b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/tokenizer_config.json
new file mode 100644
index 0000000000..27c3acd719
--- /dev/null
+++ b/tests/model_identification/stripped_models/14c47150-5a6f-4049-8ca0-65fbdf3c5101/tokenizer_config.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:794a39f8330ce05020774c70c091225bc5f031b9cacf41fc20e52eb54b4b52d8
+size 3736
diff --git a/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/__test_metadata__.json b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/__test_metadata__.json
new file mode 100644
index 0000000000..1e34dc6c13
--- /dev/null
+++ b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/__test_metadata__.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bbfceaa5f0db471a7fa3292e142168453c7bf5798b8acdedf83fc3129401dd54
+size 1423
diff --git a/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_audio_embeddings_connector_bf16.safetensors b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_audio_embeddings_connector_bf16.safetensors
new file mode 100644
index 0000000000..08d7f9877e
--- /dev/null
+++ b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_audio_embeddings_connector_bf16.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:53302139399d351701c7748e06fa480daed037c5b4ea4bead81b6655075b6a28
+size 25343
diff --git a/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_audio_vae_bf16.safetensors b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_audio_vae_bf16.safetensors
new file mode 100644
index 0000000000..8f2cb1ae4b
--- /dev/null
+++ b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_audio_vae_bf16.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9e6f7e0f04dca6d44a69a871e87eefd03412deac89482c2ff4a664a4e43a7e49
+size 16381
diff --git a/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_text_embedding_projection_bf16.safetensors b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_text_embedding_projection_bf16.safetensors
new file mode 100644
index 0000000000..3b5420c9b9
--- /dev/null
+++ b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_text_embedding_projection_bf16.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0191e1947883bd299f9030b6445606652d2d519bdcddd79d5e779b7e641d1bf3
+size 684
diff --git a/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_video_embeddings_connector_bf16.safetensors b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_video_embeddings_connector_bf16.safetensors
new file mode 100644
index 0000000000..513803b061
--- /dev/null
+++ b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_video_embeddings_connector_bf16.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f9075ec2096f124af1214bfca9e29477b94d76c323f42a7a75ed7d555dce0345
+size 25367
diff --git a/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_video_vae_bf16.safetensors b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_video_vae_bf16.safetensors
new file mode 100644
index 0000000000..69f2a71b8e
--- /dev/null
+++ b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_video_vae_bf16.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d8db735fed54ecc809c5bba3a63b5eb07a4af55cfdba648345b5cddeb960de23
+size 28165
diff --git a/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_vocoder_bf16.safetensors b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_vocoder_bf16.safetensors
new file mode 100644
index 0000000000..ee64fa1343
--- /dev/null
+++ b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-22b_vocoder_bf16.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c6e4fd9b5334386ede2fee9971c6c0a95fa53cea8a97287d2fbddfd59a40afdc
+size 193567
diff --git a/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-spatial-upscaler-x2-1.0_bf16.safetensors b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-spatial-upscaler-x2-1.0_bf16.safetensors
new file mode 100644
index 0000000000..b7a23fe457
--- /dev/null
+++ b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-spatial-upscaler-x2-1.0_bf16.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6548482be0659a5b17ff7121517452c8102069c9339654e2af07791c5680a7fc
+size 10095
diff --git a/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-temporal-upscaler-x2-1.0_bf16.safetensors b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-temporal-upscaler-x2-1.0_bf16.safetensors
new file mode 100644
index 0000000000..f463e60b0e
--- /dev/null
+++ b/tests/model_identification/stripped_models/9aadcbbe-e038-46bc-8157-191a66231afa/ltx-2.5-temporal-upscaler-x2-1.0_bf16.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8c59d29bf2077f9d8b44c807477e02dc46d7ff380e6783ce19aa345e8cfb5914
+size 10018
diff --git a/tests/model_identification/stripped_models/9d6e0e6c-ccc5-491c-a7f2-8199b39832c3/__test_metadata__.json b/tests/model_identification/stripped_models/9d6e0e6c-ccc5-491c-a7f2-8199b39832c3/__test_metadata__.json
new file mode 100644
index 0000000000..3b2586a8c5
--- /dev/null
+++ b/tests/model_identification/stripped_models/9d6e0e6c-ccc5-491c-a7f2-8199b39832c3/__test_metadata__.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d2694def5e476e758b1c53a1b491532dab040b72500ad0f548181fc4f06ecea8
+size 537
diff --git a/tests/model_identification/stripped_models/9d6e0e6c-ccc5-491c-a7f2-8199b39832c3/ltx-2.5-22b-dev_diffusion_model_int8_convrot.safetensors b/tests/model_identification/stripped_models/9d6e0e6c-ccc5-491c-a7f2-8199b39832c3/ltx-2.5-22b-dev_diffusion_model_int8_convrot.safetensors
new file mode 100644
index 0000000000..fa961572bd
--- /dev/null
+++ b/tests/model_identification/stripped_models/9d6e0e6c-ccc5-491c-a7f2-8199b39832c3/ltx-2.5-22b-dev_diffusion_model_int8_convrot.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f87c9866d2762b944d06c5017b3b12a1bf7fda80bbe5263bd84e698a13780818
+size 1177234
diff --git a/tests/model_identification/stripped_models/a6e2c468-104d-42d6-9499-816d7c0a0860/__test_metadata__.json b/tests/model_identification/stripped_models/a6e2c468-104d-42d6-9499-816d7c0a0860/__test_metadata__.json
new file mode 100644
index 0000000000..af87c33365
--- /dev/null
+++ b/tests/model_identification/stripped_models/a6e2c468-104d-42d6-9499-816d7c0a0860/__test_metadata__.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3a93c9a8487138cf0f7991fd4e0dd7d35a591762fb06776968dc8c6e4994c621
+size 637
diff --git a/tests/model_identification/stripped_models/a6e2c468-104d-42d6-9499-816d7c0a0860/ltx-2.5-22b-distilled_diffusion_model_nvfp4.safetensors b/tests/model_identification/stripped_models/a6e2c468-104d-42d6-9499-816d7c0a0860/ltx-2.5-22b-distilled_diffusion_model_nvfp4.safetensors
new file mode 100644
index 0000000000..440b611297
--- /dev/null
+++ b/tests/model_identification/stripped_models/a6e2c468-104d-42d6-9499-816d7c0a0860/ltx-2.5-22b-distilled_diffusion_model_nvfp4.safetensors
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:621aeebfafdb600a7502b62df5eecfc7105c12c96efb51c38f921fcff4f4e8fe
+size 1302178