Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
feat(ideogram-4): support single-file transformers
Alexander Eichhorncdc04605fd72
diff --git a/docs/src/content/docs/concepts/models.mdx b/docs/src/content/docs/concepts/models.mdxindex ada15da80e..0565be0543 100644--- a/docs/src/content/docs/concepts/models.mdx+++ b/docs/src/content/docs/concepts/models.mdx@@ -57,12 +57,27 @@ Ideogram 4 is an open-weight text-to-image model with a distinctive **structured### Installing Ideogram 4-The weights are gated on HuggingFace under a **non-commercial license**. Open the model page, accept the terms, and make sure your HuggingFace token is [set up in the config file] before installing. Two builds are available:+The weights are gated on HuggingFace under a **non-commercial license**. Open the model page, accept the terms, and make sure your HuggingFace token is [set up in the config file] before installing. Two bundled builds are available:- [`ideogram-ai/ideogram-4-nf4`](https://huggingface.co/ideogram-ai/ideogram-4-nf4) — nf4 quantized, **CUDA only**, fits in 24 GB VRAM. Recommended for NVIDIA GPUs.- [`ideogram-ai/ideogram-4-fp8`](https://huggingface.co/ideogram-ai/ideogram-4-fp8) — fp8 quantized, runs on **any device**, with higher memory use.-Paste either repo ID into the Model Manager's HuggingFace / URL field to install.+Paste either repo ID into the Model Manager's HuggingFace / URL field to install. Each folder carries everything Ideogram 4 needs.++#### Single files++Comfy-Org's [`Comfy-Org/Ideogram-4`](https://huggingface.co/Comfy-Org/Ideogram-4) repackage is ungated (the same non-commercial license still applies) and ships the parts separately. Ideogram 4 runs **two** transformers — a conditional branch and an unconditional one, both active at every step — so a single-file install is four models, and the **Ideogram 4 (single file)** starter installs all four together:++- `diffusion_models/ideogram4_fp8_scaled.safetensors` — the conditional branch, selected as the model+- `diffusion_models/ideogram4_unconditional_fp8_scaled.safetensors` — the unconditional branch+- `text_encoders/qwen3vl_8b_fp8_scaled.safetensors` — the Qwen3-VL **8B** encoder (not the 4B one Krea-2 uses)+- `vae/flux2-vae.safetensors` — the 32-channel VAE, shared with FLUX.2, which is why it installs under the FLUX.2 base++Pick the unconditional branch, the encoder and the VAE in the **Components** section next to the model. The `int8_convrot` and `nvfp4` repackages in that repo are **not** supported yet and are refused at install.++:::note[Memory]+Both branches stay resident, so the fp8 pair needs roughly twice one file's size. Without `fp8_compute` the scaled fp8 weights are expanded to bf16 on load — about 35 GB for the pair — so on 24 GB cards the bundled nf4 build remains the smaller option.+:::### Prompting Ideogram 4diff --git a/invokeai/app/invocations/ideogram4/ideogram4_denoise.py b/invokeai/app/invocations/ideogram4/ideogram4_denoise.pyindex c501b41a9f..5f10658033 100644--- a/invokeai/app/invocations/ideogram4/ideogram4_denoise.py+++ b/invokeai/app/invocations/ideogram4/ideogram4_denoise.py@@ -1,3 +1,4 @@+from contextlib import ExitStackfrom typing import Literal, Optionalimport torch@@ -15,8 +16,9 @@ from invokeai.app.services.shared.invocation_context import InvocationContextfrom invokeai.backend.architectures import resolve_latent_spacefrom invokeai.backend.ideogram4 import run_ideogram4_denoisefrom invokeai.backend.ideogram4.latent_norm import get_latent_norm+from invokeai.backend.ideogram4.modeling_ideogram4 import Ideogram4Transformerfrom invokeai.backend.ideogram4.sampler_configs import PRESETS-from invokeai.backend.ideogram4.sampling_utils import unpatchify_and_denormalize+from invokeai.backend.ideogram4.sampling_utils import PIXELS_PER_IMAGE_TOKEN, unpatchify_and_denormalizefrom invokeai.backend.ideogram4.transformer_pair import Ideogram4TransformerPairfrom invokeai.backend.model_manager.taxonomy import BaseModelTypefrom invokeai.backend.stable_diffusion.diffusion.conditioning_data import Ideogram4ConditioningInfo@@ -58,7 +60,7 @@ def _effective_guidance_schedule(title="Denoise - Ideogram 4",tags=["image", "ideogram4"],category="latents",- version="1.0.0",+ version="1.1.0",classification=Classification.Prototype,)class Ideogram4DenoiseInvocation(BaseInvocation):@@ -67,6 +69,13 @@ class Ideogram4DenoiseInvocation(BaseInvocation):transformer: TransformerField = InputField(description=FieldDescriptions.transformer, input=Input.Connection, title="Transformer")+ unconditional_transformer: Optional[TransformerField] = InputField(+ default=None,+ description="The unconditional branch when it is a separate single-file model. Leave "+ "unconnected for a diffusers pipeline, whose Transformer submodel carries both branches.",+ input=Input.Connection,+ title="Transformer (Unconditional)",+ )positive_conditioning: Ideogram4ConditioningField = InputField(description=FieldDescriptions.positive_cond, input=Input.Connection)@@ -155,12 +164,13 @@ class Ideogram4DenoiseInvocation(BaseInvocation):else:context.util.signal_progress("Running Ideogram 4 denoising", step / total)- transformer_info = context.models.load(self.transformer.transformer)- with transformer_info.model_on_device() as (_, transformers):- assert isinstance(transformers, Ideogram4TransformerPair)+ with ExitStack() as stack:+ conditional, unconditional = self._load_branches(+ context, stack, self._estimate_working_memory(int(llm_features.shape[0]))+ )packed = run_ideogram4_denoise(- conditional_transformer=transformers.conditional,- unconditional_transformer=transformers.unconditional,+ conditional_transformer=conditional,+ unconditional_transformer=unconditional,llm_features=llm_features,height=self.height,width=self.width,@@ -176,3 +186,80 @@ class Ideogram4DenoiseInvocation(BaseInvocation):packed = packed.detach().to("cpu")name = context.tensors.save(tensor=packed)return LatentsOutput.build(latents_name=name, latents=packed, seed=None)++ def _estimate_working_memory(self, num_text_tokens: int) -> int:+ """Activation headroom to reserve, in bytes, so the cache does not fill VRAM with weights.++ Without a reservation the cache loads both branches up to the last free byte, and the+ activations then evict the very weights being used: on a 24 GB card the single-file fp8+ pair (17.5 GB resident) spent minutes per step at 94 W, i.e. copying rather than computing.++ Two contributions, both linear in the sequence length:++ * the transformer's own activations (residual stream at 4608 plus one block's attention and+ SwiGLU intermediates) — Krea-2's estimator measures 0.5 MB/token for a comparable MMDiT and+ this model is the same order;+ * Ideogram's conditioning buffers, which are unusually large: `llm_features` is 53248 wide,+ and the loop materializes one buffer over the full packed sequence plus a second over the+ image tokens alone (2 x 53248 x 2 bytes ~ 0.2 MB/token).++ The fixed base covers what does not scale with resolution (fp8 weight-cast transients, the+ VAE-free denormalisation buffers, allocator slack).++ Deliberately not clamped, and the consequence is worth stating. Ideogram 4 is the only+ architecture here that keeps *two* transformers resident, so on a 24 GB card with the fp8+ pair (~17.5 GB) the headroom runs out somewhere above 1300px: past that the cache cannot+ satisfy the reservation, the second branch loses residency and streams. That is not the+ estimate being wrong -- the memory genuinely is not there -- and reserving less would only+ exchange a slow generation for an out-of-memory error. The fix for large images is smaller+ weights (the int8 and nvfp4 builds), not a smaller number here.+ """+ image_tokens = (self.height // PIXELS_PER_IMAGE_TOKEN) * (self.width // PIXELS_PER_IMAGE_TOKEN)+ per_token_bytes = 3 * 1024**2 // 4 # 0.75 MiB+ base_bytes = 3 * 1024**3 // 2 # 1.5 GiB+ return (image_tokens + num_text_tokens) * per_token_bytes + base_bytes++ def _load_branches(+ self, context: InvocationContext, stack: ExitStack, working_mem_bytes: int+ ) -> tuple[Ideogram4Transformer, Ideogram4Transformer]:+ """Put both transformer branches on the device and keep them there for the whole loop.++ A diffusers pipeline yields both in one cache entity (`Ideogram4TransformerPair`); single+ files are two models and are locked simultaneously, because every step runs both and+ releasing one between steps would make the cache stream it back for the next.++ Both are given the same `working_mem_bytes`: each `model_on_device` decides how much of its+ own model fits, and a reservation passed to only the first would be spent by the second.+ """+ primary = stack.enter_context(+ context.models.load(self.transformer.transformer).model_on_device(working_mem_bytes=working_mem_bytes)+ )[1]++ if self.unconditional_transformer is None:+ if not isinstance(primary, Ideogram4TransformerPair):+ raise ValueError(+ "This Ideogram 4 transformer holds only one branch, so 'Transformer (Unconditional)' "+ "must be connected as well. The Ideogram 4 model loader emits it when the model is a "+ "single-file checkpoint."+ )+ return primary.conditional, primary.unconditional++ if isinstance(primary, Ideogram4TransformerPair):+ raise ValueError(+ "'Transformer' already carries both Ideogram 4 branches, so 'Transformer (Unconditional)' "+ "must not be connected. Disconnect it, or select a single-file checkpoint as the model."+ )+ unconditional = stack.enter_context(+ context.models.load(self.unconditional_transformer.transformer).model_on_device(+ working_mem_bytes=working_mem_bytes+ )+ )[1]+ # A real check, not an assert: a hand-built graph can wire any transformer here, and under+ # `python -O` an assert would vanish and leave the mismatch to surface inside the loop.+ for role, branch in (("Transformer", primary), ("Transformer (Unconditional)", unconditional)):+ if not isinstance(branch, Ideogram4Transformer):+ raise ValueError(+ f"'{role}' is a {type(branch).__name__}, not an Ideogram 4 transformer. Both inputs "+ "must come from the Ideogram 4 model loader."+ )+ return primary, unconditionaldiff --git a/invokeai/app/invocations/ideogram4/ideogram4_model_loader.py b/invokeai/app/invocations/ideogram4/ideogram4_model_loader.pyindex 4592721408..cc72ebf2f2 100644--- a/invokeai/app/invocations/ideogram4/ideogram4_model_loader.py+++ b/invokeai/app/invocations/ideogram4/ideogram4_model_loader.py@@ -1,3 +1,5 @@+from typing import Any, Optional+from invokeai.app.invocations.baseinvocation import (BaseInvocation,BaseInvocationOutput,@@ -13,7 +15,15 @@ from invokeai.app.invocations.model import (VAEField,)from invokeai.app.services.shared.invocation_context import InvocationContext-from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelType, SubModelType+from invokeai.backend.architectures import accepted_vae_bases, accepts_vae+from invokeai.backend.model_manager.qwen3_vl_labels import variant_label as _variant_label+from invokeai.backend.model_manager.taxonomy import (+ BaseModelType,+ ModelFormat,+ ModelType,+ Qwen3VLVariantType,+ SubModelType,+)@invocation_output("ideogram4_model_loader_output")@@ -21,6 +31,12 @@ class Ideogram4ModelLoaderOutput(BaseInvocationOutput):"""Ideogram 4 model loader output."""transformer: TransformerField = OutputField(description=FieldDescriptions.transformer, title="Transformer")+ unconditional_transformer: TransformerField | None = OutputField(+ default=None,+ description="The unconditional branch, when it is a separate single-file model. None for a "+ "diffusers pipeline, which carries both branches in one submodel.",+ title="Transformer (Unconditional)",+ )qwen3_encoder: Qwen3EncoderField = OutputField(description=FieldDescriptions.qwen3_encoder, title="Qwen3-VL Encoder")@@ -32,33 +48,183 @@ class Ideogram4ModelLoaderOutput(BaseInvocationOutput):title="Main Model - Ideogram 4",tags=["model", "ideogram4"],category="model",- version="1.0.0",+ version="1.1.0",classification=Classification.Prototype,)class Ideogram4ModelLoaderInvocation(BaseInvocation):"""Loads an Ideogram 4 model, outputting its submodels.- Ideogram 4 is distributed as a single bundled diffusers folder, so the transformer- (both branches), the Qwen3-VL text encoder + tokenizer, and the VAE are all loaded- from the one selected model.+ Two on-disk layouts are supported:++ * A diffusers pipeline bundles everything - both transformer branches, the Qwen3-VL encoder+ + tokenizer, and the VAE - and needs nothing else selected.+ * Comfy-Org's single files hold ONE branch each, so the conditional file goes in `Model`, the+ unconditional one in `Transformer (Unconditional)`, and the Qwen3-VL 8B encoder and the+ 32-channel VAE are selected here as well.++ Both branches run at every denoising step, so the pair is not optional."""model: ModelIdentifierField = InputField(- description="The Ideogram 4 model to load.",+ description="The Ideogram 4 model to load. A diffusers pipeline provides every submodel; a "+ "single-file checkpoint is the conditional transformer alone and needs the components below.",input=Input.Direct,ui_model_base=BaseModelType.Ideogram4,ui_model_type=ModelType.Main,title="Model",)+ unconditional_model: Optional[ModelIdentifierField] = InputField(+ default=None,+ description="The unconditional branch as a single-file checkpoint. Required when Model is a "+ "single file; ignored for a diffusers pipeline, which bundles both branches.",+ input=Input.Direct,+ ui_model_base=BaseModelType.Ideogram4,+ ui_model_type=ModelType.Main,+ ui_model_format=ModelFormat.Checkpoint,+ title="Transformer (Unconditional)",+ )++ qwen3_vl_encoder_model: Optional[ModelIdentifierField] = InputField(+ default=None,+ description="Standalone Qwen3-VL 8B encoder. Required when Model is a single-file checkpoint; "+ "otherwise an override for the encoder bundled in the diffusers pipeline.",+ input=Input.Direct,+ # Base `any` excludes MiniMax H3's truncated Qwen3-VL-32B, which shares this model type and+ # could otherwise be picked here only to be refused on the way in.+ ui_model_base=BaseModelType.Any,+ ui_model_type=ModelType.Qwen3VLEncoder,+ title="Qwen3-VL Encoder",+ )++ vae_model: Optional[ModelIdentifierField] = InputField(+ default=None,+ description="Standalone VAE (the 32-channel one Ideogram 4 shares with FLUX.2). Required when "+ "Model is a single-file checkpoint; otherwise an override for the bundled VAE.",+ input=Input.Direct,+ ui_model_base=accepted_vae_bases(BaseModelType.Ideogram4),+ ui_model_type=ModelType.VAE,+ title="VAE",+ )+def invoke(self, context: InvocationContext) -> Ideogram4ModelLoaderOutput:- transformer = self.model.model_copy(update={"submodel_type": SubModelType.Transformer})- text_encoder = self.model.model_copy(update={"submodel_type": SubModelType.TextEncoder})- tokenizer = self.model.model_copy(update={"submodel_type": SubModelType.Tokenizer})- vae = self.model.model_copy(update={"submodel_type": SubModelType.VAE})+ main_config = context.models.get_config(self.model)+ if main_config.base is not BaseModelType.Ideogram4 or main_config.type is not ModelType.Main:+ raise ValueError(+ f"Model '{main_config.name}' is not an Ideogram 4 main model. Select an Ideogram 4 transformer."+ )+ is_single_file = main_config.format is ModelFormat.Checkpoint++ unconditional_transformer: TransformerField | None = None+ if is_single_file:+ self._raise_for_wrong_branch(main_config, expected="conditional", slot="Model")+ unconditional_transformer = TransformerField(transformer=self._resolve_unconditional(context), loras=[])+ elif self.unconditional_model is not None:+ # The field's own docs promise this input is ignored for a bundled pipeline - e.g. a+ # leftover wire from a single-file session.+ context.logger.warning(+ "'Transformer (Unconditional)' is ignored for a diffusers Ideogram 4 pipeline, which "+ "carries both branches."+ )++ tokenizer, text_encoder = self._resolve_encoder(context, required=is_single_file)+ vae = self._resolve_vae(context, required=is_single_file)return Ideogram4ModelLoaderOutput(- transformer=TransformerField(transformer=transformer, loras=[]),+ transformer=TransformerField(+ transformer=self.model.model_copy(update={"submodel_type": SubModelType.Transformer}), loras=[]+ ),+ unconditional_transformer=unconditional_transformer,qwen3_encoder=Qwen3EncoderField(tokenizer=tokenizer, text_encoder=text_encoder),vae=VAEField(vae=vae),)++ def _resolve_unconditional(self, context: InvocationContext) -> ModelIdentifierField:+ if self.unconditional_model is None:+ raise ValueError(+ "A single-file Ideogram 4 transformer is one of two branches, so "+ "'Transformer (Unconditional)' must be selected as well. Install "+ "'ideogram4_unconditional_*.safetensors' from the same release, or select the diffusers "+ "pipeline, which carries both."+ )+ if self.unconditional_model.key == self.model.key:+ raise ValueError(+ "The same model is wired to both 'Model' and 'Transformer (Unconditional)'. Ideogram 4 "+ "guides one branch against the other, so two different files are required."+ )+ config = context.models.get_config(self.unconditional_model)+ if config.base is not BaseModelType.Ideogram4 or config.type is not ModelType.Main:+ raise ValueError(f"'{config.name}' is not an Ideogram 4 main model and cannot be the unconditional branch.")+ if config.format is not ModelFormat.Checkpoint:+ raise ValueError(+ f"'Transformer (Unconditional)' must be a single-file Ideogram 4 checkpoint. '{config.name}' "+ f"is in {config.format.value} format, which bundles both branches already."+ )+ self._raise_for_wrong_branch(config, expected="unconditional", slot="Transformer (Unconditional)")+ return self.unconditional_model.model_copy(update={"submodel_type": SubModelType.Transformer})++ @staticmethod+ def _raise_for_wrong_branch(config: Any, *, expected: str, slot: str) -> None:+ """Reject a swapped pair.++ The branch is read from the file's own `model_type` metadata, so unlike Wan's+ filename-derived expert tags it is not a guess and the wiring does not get to override it:+ the two branches are otherwise identical, and swapping them produces coherent images that+ are simply not the ones the prompt asked for - with nothing in the log to say so.+ """+ branch = getattr(config, "branch", None)+ if branch != expected:+ raise ValueError(+ f"'{config.name}' is the {branch} branch of Ideogram 4 and cannot be used as '{slot}', "+ f"which needs the {expected} one. If the two are wired the wrong way round, swap them. "+ "A file whose metadata was stripped is classified by its name, so if this one was "+ f"renamed, rename it to contain '{expected}' (or not) and re-install it."+ )++ def _resolve_encoder(+ self, context: InvocationContext, *, required: bool+ ) -> tuple[ModelIdentifierField, ModelIdentifierField]:+ if self.qwen3_vl_encoder_model is None:+ if required:+ raise ValueError(+ "A single-file Ideogram 4 transformer carries no text encoder. Select the standalone "+ "Qwen3-VL 8B encoder on this node, or use the diffusers pipeline, which bundles one."+ )+ return (+ self.model.model_copy(update={"submodel_type": SubModelType.Tokenizer}),+ self.model.model_copy(update={"submodel_type": SubModelType.TextEncoder}),+ )++ config = context.models.get_config(self.qwen3_vl_encoder_model)+ if config.type is not ModelType.Qwen3VLEncoder:+ raise ValueError(f"'{config.name}' is not a Qwen3-VL encoder.")+ # Both Qwen3-VL encoders install under the same type, and Krea-2's is the 4B. Ideogram 4+ # taps 13 layers of the 8B for a 53248-wide feature vector; the 4B would produce 33280 and+ # fail as a shape mismatch inside the first denoising step.+ variant = getattr(config, "variant", None)+ if variant is not Qwen3VLVariantType.Qwen3VL_8B:+ raise ValueError(+ f"'{config.name}' is the Qwen3-VL {_variant_label(variant)} encoder. Ideogram 4 conditions "+ "on the 8B one (hidden size 4096)."+ )+ return (+ self.qwen3_vl_encoder_model.model_copy(update={"submodel_type": SubModelType.Tokenizer}),+ self.qwen3_vl_encoder_model.model_copy(update={"submodel_type": SubModelType.TextEncoder}),+ )++ def _resolve_vae(self, context: InvocationContext, *, required: bool) -> ModelIdentifierField:+ if self.vae_model is None:+ if required:+ raise ValueError(+ "A single-file Ideogram 4 transformer carries no VAE. Select the standalone 32-channel "+ "VAE on this node, or use the diffusers pipeline, which bundles one."+ )+ return self.model.model_copy(update={"submodel_type": SubModelType.VAE})++ config = context.models.get_config(self.vae_model)+ if config.type is not ModelType.VAE or not accepts_vae(+ BaseModelType.Ideogram4, config.base, getattr(config, "latent_channels", None)+ ):+ accepted = " or ".join(base.value for base in accepted_vae_bases(BaseModelType.Ideogram4))+ raise ValueError(f"VAE '{config.name}' is not compatible with Ideogram 4. Select a VAE of base {accepted}.")+ return self.vae_model.model_copy(update={"submodel_type": SubModelType.VAE})diff --git a/invokeai/app/invocations/krea2/krea2_model_loader.py b/invokeai/app/invocations/krea2/krea2_model_loader.pyindex 38130eed1d..d7f898e8a0 100644--- a/invokeai/app/invocations/krea2/krea2_model_loader.py+++ b/invokeai/app/invocations/krea2/krea2_model_loader.py@@ -16,7 +16,14 @@ from invokeai.app.invocations.model import ()from invokeai.app.services.shared.invocation_context import InvocationContextfrom invokeai.backend.architectures import accepted_vae_bases, accepts_vae-from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType, SubModelType+from invokeai.backend.model_manager.qwen3_vl_labels import variant_label as _variant_label+from invokeai.backend.model_manager.taxonomy import (+ BaseModelType,+ ModelFormat,+ ModelType,+ Qwen3VLVariantType,+ SubModelType,+)@invocation_output("krea2_model_loader_output")@@ -103,6 +110,16 @@ class Krea2ModelLoaderInvocation(BaseInvocation):encoder_config = context.models.get_config(self.qwen3_vl_encoder_model)if encoder_config.type is not ModelType.Qwen3VLEncoder:raise ValueError(f"Encoder '{encoder_config.name}' is not a Qwen3-VL encoder compatible with Krea-2.")+ # Two Qwen3-VL encoders install under this type and they are not interchangeable: Krea-2+ # conditions on the 4B, Ideogram 4 on the 8B. Without this check the 8B loads (~10 GB)+ # and then fails on a 4096-against-2560 shape error naming a tensor, which says nothing+ # about what the user picked.+ encoder_variant = getattr(encoder_config, "variant", None)+ if encoder_variant is not Qwen3VLVariantType.Qwen3VL_4B:+ raise ValueError(+ f"'{encoder_config.name}' is the Qwen3-VL {_variant_label(encoder_variant)} encoder. "+ "Krea-2 conditions on the 4B one (hidden size 2560)."+ )tokenizer = self.qwen3_vl_encoder_model.model_copy(update={"submodel_type": SubModelType.Tokenizer})text_encoder = self.qwen3_vl_encoder_model.model_copy(update={"submodel_type": SubModelType.TextEncoder})else:diff --git a/invokeai/app/invocations/vae/ideogram4_latents_to_image.py b/invokeai/app/invocations/vae/ideogram4_latents_to_image.pyindex 085f2c48e7..f2e72d6e94 100644--- a/invokeai/app/invocations/vae/ideogram4_latents_to_image.py+++ b/invokeai/app/invocations/vae/ideogram4_latents_to_image.py@@ -1,4 +1,5 @@import torch+from diffusers import AutoencoderKLFlux2from einops import rearrangefrom PIL import Image@@ -18,6 +19,26 @@ from invokeai.backend.ideogram4.autoencoder import AutoEncoderfrom invokeai.backend.ideogram4.latent_norm import get_latent_normfrom invokeai.backend.ideogram4.sampling_utils import unpatchify_and_denormalizefrom invokeai.backend.util.devices import TorchDevice+from invokeai.backend.util.vae_working_memory import estimate_vae_working_memory_flux2+++def _decode(vae: object, z: torch.Tensor) -> torch.Tensor:+ """Decode a (1, 32, H/8, W/8) latent with either shape the VAE reaches this node in.++ A diffusers pipeline bundles the autoencoder in the vendored BFL layout; a standalone install+ of the same weights (the file Comfy-Org ships next to the single-file transformers) is the+ diffusers `AutoencoderKLFlux2`. Both compute the same thing — `AutoEncoder.decoder` runs the+ `post_quant_conv` that `AutoencoderKLFlux2.decode` applies before its own decoder — so this+ only picks the entry point.+ """+ if isinstance(vae, AutoEncoder):+ return vae.decoder(z)+ if isinstance(vae, AutoencoderKLFlux2):+ return vae.decode(z, return_dict=False)[0]+ raise ValueError(+ f"Expected a 32-channel Ideogram 4 / FLUX.2 VAE, got {type(vae).__name__}. Select the VAE that "+ "ships with the model."+ )@invocation(@@ -38,20 +59,33 @@ class Ideogram4LatentsToImageInvocation(BaseInvocation, WithMetadata, WithBoard)def invoke(self, context: InvocationContext) -> ImageOutput:# Packed latents from denoise: (1, 128, grid_h, grid_w).latents = context.tensors.load(self.latents.latents_name)- device = TorchDevice.choose_torch_device()vae_info = context.models.load(self.vae.vae)+ # The VAE's intended device, not the globally chosen one: a VAE record may be marked+ # `cpu_only`, and inferring the device from current parameter residency would follow a+ # partially offloaded model onto the CPU (see #9373).+ device = vae_info.compute_devicelatent_shift, latent_scale = get_latent_norm()- with vae_info.model_on_device() as (_, vae):- assert isinstance(vae, AutoEncoder), f"Expected Ideogram 4 AutoEncoder, got {type(vae).__name__}."+ # Denormalize + unpatchify to a standard (1, 32, H/8, W/8) latent. The shift/scale are+ # Ideogram's own statistics over the packed latent space, not the VAE's `bn` — that stage+ # belongs to FLUX.2's pipeline and Ideogram's does not run it. Done before the model is+ # locked so the estimate below sees the latent the decoder will actually be handed; the+ # packed one is half as wide per side and would under-reserve fourfold.+ z = unpatchify_and_denormalize(latents.float().to(device), latent_shift.to(device), latent_scale.to(device))++ # This is the 32-channel autoencoder FLUX.2 decodes with, at the same resolutions: ~4.3 GB+ # of activations at 1024px, far above what the cache reserves by default. It matters more+ # here than anywhere else, because both Ideogram transformers may still be resident.+ estimated_working_memory = estimate_vae_working_memory_flux2(+ operation="decode", image_tensor=z, vae=vae_info.model, device=device+ )++ with vae_info.model_on_device(working_mem_bytes=estimated_working_memory) as (_, vae):context.util.signal_progress("Running VAE")vae_dtype = next(vae.parameters()).dtype-- # Denormalize + unpatchify to a standard (1, 32, H/8, W/8) latent.- z = unpatchify_and_denormalize(latents.float().to(device), latent_shift.to(device), latent_scale.to(device))TorchDevice.empty_cache()- decoded = vae.decoder(z.to(vae_dtype))+ decoded = _decode(vae, z.to(vae_dtype))img = decoded.float().clamp(-1.0, 1.0)img = rearrange(img[0], "c h w -> h w c")diff --git a/invokeai/app/services/model_records/model_records_base.py b/invokeai/app/services/model_records/model_records_base.pyindex 57118fbd0d..5bf2a40c62 100644--- a/invokeai/app/services/model_records/model_records_base.py+++ b/invokeai/app/services/model_records/model_records_base.py@@ -35,6 +35,7 @@ from invokeai.backend.model_manager.taxonomy import (ModelVariantType,PiDDecoderVariantType,Qwen3VariantType,+ Qwen3VLVariantType,QwenImageVariantType,SchedulerPredictionType,WanLoRAVariantType,@@ -143,6 +144,7 @@ class ModelRecordChanges(BaseModelExcludeNull):| WanVariantType| WanLoRAVariantType| Qwen3VariantType+ | Qwen3VLVariantType| Krea2VariantType| MiniMaxH3VariantType| MistralVariantTypediff --git a/invokeai/app/services/shared/sqlite_migrator/migrations/migration_2026_09_16_add_qwen3_vl_encoder_variant.py b/invokeai/app/services/shared/sqlite_migrator/migrations/migration_2026_09_16_add_qwen3_vl_encoder_variant.pynew file mode 100644index 0000000000..5debd69e4d--- /dev/null+++ b/invokeai/app/services/shared/sqlite_migrator/migrations/migration_2026_09_16_add_qwen3_vl_encoder_variant.py@@ -0,0 +1,64 @@+"""Record the variant on Qwen3-VL encoders installed before there was more than one.++`Qwen3VLEncoder_*_Config.variant` became a required field when Ideogram 4's Qwen3-VL 8B encoder+joined Krea-2's 4B: the two install under the same model type and the loader picks the HuggingFace+architecture from this field. Records written before that carry no `variant` at all, and a stored+config that fails to validate is *skipped* on read (`ModelRecordServiceSQL._select_models`) — the+encoder would silently vanish from the model list rather than fail loudly.++Every such record is a 4B, because that is the only shape the config accepted until now -- with one+exception that must be left alone: MiniMax H3's truncated Qwen3-VL-**32B** shares this model type+under its own base and config class, which has no `variant` field at all. Stamping it would write an+untrue size into its stored JSON, harmless only until that class grows a variant of its own.++Mirrors `migration_25`, which did the same for the text-only Qwen3 encoders.+"""++import json+import sqlite3+from logging import Logger+from typing import Any++from invokeai.app.services.shared.sqlite_migrator.sqlite_migrator_common import Migration+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelType, Qwen3VLVariantType+++class AddQwen3VLEncoderVariantCallback:+ def __init__(self, logger: Logger) -> None:+ self._logger = logger++ def __call__(self, cursor: sqlite3.Cursor) -> None:+ cursor.execute("SELECT id, config FROM models;")+ rows = cursor.fetchall()++ migrated = 0+ for model_id, config_json in rows:+ try:+ config: dict[str, Any] = json.loads(config_json)+ except json.JSONDecodeError as e:+ self._logger.error("Invalid config JSON for model %s: %s", model_id, e)+ raise++ # `base` is what separates the two classes sharing this type: the encoders that gained+ # the field are base-agnostic components, MiniMax H3's is pinned to its own base.+ if (+ config.get("type") != ModelType.Qwen3VLEncoder.value+ or config.get("base") != BaseModelType.Any.value+ or "variant" in config+ ):+ continue++ config["variant"] = Qwen3VLVariantType.Qwen3VL_4B.value+ cursor.execute("UPDATE models SET config = ? WHERE id = ?;", (json.dumps(config), model_id))+ migrated += 1++ if migrated:+ self._logger.info(f"Recorded the 4B variant on {migrated} Qwen3-VL encoder config(s)")+++def build_migration(logger: Logger) -> Migration:+ return Migration(+ id="2026_09_16_add_qwen3_vl_encoder_variant",+ depends_on="2026_09_12_add_video_embeddings",+ callback=AddQwen3VLEncoderVariantCallback(logger=logger),+ )diff --git a/invokeai/backend/architectures/defs/ideogram_4.py b/invokeai/backend/architectures/defs/ideogram_4.pyindex 2059401240..dee497926a 100644--- a/invokeai/backend/architectures/defs/ideogram_4.py+++ b/invokeai/backend/architectures/defs/ideogram_4.py@@ -5,6 +5,7 @@ from invokeai.backend.architectures.facets.default_settings import DefaultSettinfrom invokeai.backend.architectures.facets.features import FeaturesFacet, NegativePromptfrom invokeai.backend.architectures.facets.latent_space import FLUX2_32, LatentSpaceFacetfrom invokeai.backend.architectures.facets.modality import ModalityFacet+from invokeai.backend.architectures.facets.vae import VaeCompatibility, VaeFacetfrom invokeai.backend.architectures.registry import registerfrom invokeai.backend.model_manager.configs.default_settings import MainModelDefaultSettingsfrom invokeai.backend.model_manager.taxonomy import BaseModelType@@ -26,6 +27,18 @@ register(DefaultSettingsFacet({None: MainModelDefaultSettings(scheduler="euler", steps=48, cfg_scale=1.0, width=1024, height=1024)}),+ VaeFacet(+ frozenset(+ {+ # Ideogram 4 decodes with the same 32-channel autoencoder as FLUX.2, and Comfy-Org+ # ships that exact file (`vae/flux2-vae.safetensors`) next to the single-file+ # transformers. It is the only entry because no VAE config class produces+ # `ideogram-4`: the released file identifies as a FLUX.2 VAE, and a record forced to+ # this base by hand would find no loader at all.+ VaeCompatibility(BaseModelType.Flux2),+ }+ )+ ),# Text-to-image only.ModalityFacet(frozenset({"txt2img"}), metadata_slug="ideogram4"),FeaturesFacet(diff --git a/invokeai/backend/ideogram4/denoise.py b/invokeai/backend/ideogram4/denoise.pyindex 2f98559571..ef73f913b9 100644--- a/invokeai/backend/ideogram4/denoise.py+++ b/invokeai/backend/ideogram4/denoise.py@@ -12,7 +12,7 @@ from typing import Callable, Optional, Sequenceimport torch-from invokeai.backend.ideogram4.modeling_ideogram4 import Ideogram4Transformer+from invokeai.backend.ideogram4.modeling_ideogram4 import Ideogram4Transformer, compute_dtype_offrom invokeai.backend.ideogram4.sampling_utils import (LATENT_DIM,build_denoise_inputs,@@ -26,6 +26,11 @@ from invokeai.backend.ideogram4.scheduler import get_schedule_for_resolution, maStepCallback = Callable[[int, int, torch.Tensor], None]+def _compute_dtype(transformer: Ideogram4Transformer) -> torch.dtype:+ """The dtype `transformer` computes in — the model's own rule, not a second copy of it."""+ return compute_dtype_of(transformer.input_proj)++@torch.no_grad()def run_ideogram4_denoise(*,@@ -72,17 +77,26 @@ def run_ideogram4_denoise(else:gw_per_step = torch.full((num_steps,), float(guidance_scale), dtype=torch.float32, device=device)+ # Both conditioning buffers are built in the dtype the transformer computes in, not in the+ # float32 the encoder stored. They are 53248 wide -- at 1024px that is ~900 MB each in float32,+ # and `forward` casts them to this dtype anyway, so keeping them float32 here only buys a second+ # full-size copy inside every step. The rule is the model's own (see `Ideogram4Transformer`),+ # because a quantized build's weight dtype is not the dtype it computes in.+ conditioning_dtype = _compute_dtype(conditional_transformer)+# Conditional branch: text features followed by zeros for the image tokens.llm_features_full = torch.zeros(- 1, num_text_tokens + num_image_tokens, llm_dim, dtype=llm_features.dtype, device=device+ 1, num_text_tokens + num_image_tokens, llm_dim, dtype=conditioning_dtype, device=device)- llm_features_full[0, :num_text_tokens] = llm_features.to(device)+ llm_features_full[0, :num_text_tokens] = llm_features.to(device=device, dtype=conditioning_dtype)# Unconditional (negative) branch is image-only with zeroed conditioning.neg_position_ids = inputs["position_ids"][:, num_text_tokens:]neg_segment_ids = inputs["segment_ids"][:, num_text_tokens:]neg_indicator = inputs["indicator"][:, num_text_tokens:]- neg_llm_features = torch.zeros(1, num_image_tokens, llm_dim, dtype=llm_features.dtype, device=device)+ neg_llm_features = torch.zeros(+ 1, num_image_tokens, llm_dim, dtype=_compute_dtype(unconditional_transformer), device=device+ )generator = torch.Generator(device=device)if seed is not None:diff --git a/invokeai/backend/ideogram4/modeling_ideogram4.py b/invokeai/backend/ideogram4/modeling_ideogram4.pyindex 6ab11c659c..49ef8fd2c4 100644--- a/invokeai/backend/ideogram4/modeling_ideogram4.py+++ b/invokeai/backend/ideogram4/modeling_ideogram4.py@@ -223,6 +223,17 @@ def _sinusoidal_embedding(t: torch.Tensor, dim: int, scale: float = 1e4) -> torcreturn emb+def compute_dtype_of(linear: nn.Module) -> torch.dtype:+ """The dtype a (possibly quantized) Linear computes in.++ `weight.dtype` alone is wrong for every quantized build: nf4 stores uint8, fp8 storage stores+ float8, and torch has arithmetic kernels for neither. Each carries the real compute dtype on the+ module, so that is read first. Used by the two forwards that cast their *inputs* to it and by+ the denoise loop, which sizes its conditioning buffers the same way.+ """+ return getattr(linear, "compute_dtype", None) or linear.weight.dtype++class Ideogram4EmbedScalar(nn.Module):def __init__(self, dim: int, input_range: tuple[float, float]) -> None:super().__init__()@@ -237,7 +248,7 @@ class Ideogram4EmbedScalar(nn.Module):x = x.to(torch.float32)scaled = 1e4 * (x - self.range_min) / (self.range_max - self.range_min)emb = _sinusoidal_embedding(scaled, self.dim)- emb = emb.to(getattr(self.mlp_in, "compute_dtype", None) or self.mlp_in.weight.dtype)+ emb = emb.to(compute_dtype_of(self.mlp_in))emb = F.silu(self.mlp_in(emb))return self.mlp_out(emb)@@ -257,6 +268,14 @@ class Ideogram4FinalLayer(nn.Module):class Ideogram4Transformer(nn.Module):"""Ideogram 4 flow-matching transformer."""+ # Read by `_model_declared_skip_patterns` on both fp8 paths (kept-quantized and layerwise+ # storage), the same way diffusers models declare theirs. `forward` and+ # `Ideogram4EmbedScalar.forward` derive the dtype they cast their *inputs* to from these two+ # Linears' weights; an fp8 weight there turns every activation into float8, which torch has no+ # arithmetic kernels for. Both are tiny (0.6M and 0.5M parameters against 8.9B), so excluding+ # them costs nothing measurable.+ _skip_layerwise_casting_patterns = ["input_proj", "t_embedding"]+def __init__(self, config: Ideogram4Config) -> None:super().__init__()self.config = config@@ -327,7 +346,7 @@ class Ideogram4Transformer(nn.Module):batch_size, seq_len, in_channels = x.shapeassert in_channels == self.config.in_channels- param_dtype = getattr(self.input_proj, "compute_dtype", None) or self.input_proj.weight.dtype+ param_dtype = compute_dtype_of(self.input_proj)x = x.to(param_dtype)t = t.to(param_dtype)llm_features = llm_features.to(param_dtype)diff --git a/invokeai/backend/model_manager/configs/factory.py b/invokeai/backend/model_manager/configs/factory.pyindex 677b86bdc5..b0ceccb2ef 100644--- a/invokeai/backend/model_manager/configs/factory.py+++ b/invokeai/backend/model_manager/configs/factory.py@@ -74,6 +74,7 @@ from invokeai.backend.model_manager.configs.main import (Main_Checkpoint_Anima_Config,Main_Checkpoint_Flux2_Config,Main_Checkpoint_FLUX_Config,+ Main_Checkpoint_Ideogram4_Config,Main_Checkpoint_Krea2_Config,Main_Checkpoint_MiniMaxH3_Config,Main_Checkpoint_QwenImage_Config,@@ -304,6 +305,7 @@ AnyModelConfig = Annotated[Annotated[Main_Checkpoint_QwenImage_Config, Main_Checkpoint_QwenImage_Config.get_tag()],Annotated[Main_Checkpoint_Wan_Config, Main_Checkpoint_Wan_Config.get_tag()],Annotated[Main_Checkpoint_ZImage_Config, Main_Checkpoint_ZImage_Config.get_tag()],+ Annotated[Main_Checkpoint_Ideogram4_Config, Main_Checkpoint_Ideogram4_Config.get_tag()],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()],diff --git a/invokeai/backend/model_manager/configs/main.py b/invokeai/backend/model_manager/configs/main.pyindex 5e1b6c157f..a2358ecc7b 100644--- a/invokeai/backend/model_manager/configs/main.py+++ b/invokeai/backend/model_manager/configs/main.py@@ -3,6 +3,7 @@ from abc import ABCfrom pathlib import Pathfrom typing import Any, Literal, Self+import torchfrom pydantic import BaseModel, Fieldfrom invokeai.backend.model_manager.configs.base import (@@ -27,6 +28,7 @@ from invokeai.backend.model_manager.configs.flux2_variant import (flux2_variant_from_hidden_size,)from invokeai.backend.model_manager.configs.identification_utils import (+ InvalidMatchError,NotAMatchError,common_config_paths,get_config_dict_or_raise,@@ -1413,6 +1415,138 @@ class Main_Diffusers_Ideogram4_Config(Diffusers_Config_Base, Main_Config_Base, C)+# Comfy-Org ships the two Ideogram 4 branches as separate single files whose tensors are+# key-for-key and shape-for-shape identical. Which branch a file holds is recorded only in its+# safetensors metadata, and the pair is not interchangeable: swapping them turns the guided+# branch into the unguided one and vice versa, which produces images with no visible error.+_IDEOGRAM4_METADATA_KEY = "model_type"+_IDEOGRAM4_BRANCH_BY_METADATA = {+ "ideogram4_cond": "conditional",+ "ideogram4_uncond": "unconditional",+}++Ideogram4Branch = Literal["conditional", "unconditional"]+++def _has_ideogram4_keys(state_dict: dict[str | int, Any]) -> bool:+ """Fingerprint for Ideogram 4 single-file transformers.++ ``embed_image_indicator`` is the token-type embedding for Ideogram's packed ``[text][image]``+ sequence and no other architecture probed here carries it; the two projections pin the layer+ layout the loader builds (``input_proj`` is the 128-channel patch input, ``adaln_proj`` the+ 512-wide AdaLN conditioning trunk).+ """+ return all(+ key in state_dict+ for key in (+ "embed_image_indicator.weight",+ "input_proj.weight",+ "adaln_proj.weight",+ "final_layer.linear.weight",+ )+ )+++def _ideogram4_branch_from_filename(filename: str) -> Ideogram4Branch:+ """Fallback for files whose metadata was stripped by a re-upload or a repack tool.++ Only the unconditional file is named for its branch, so anything else is read as the conditional+ branch — the same default direction as the released naming. Both spellings are accepted: the+ filename says "unconditional" and the metadata this stands in for says "uncond", and a repack+ that drops the metadata is exactly the kind of tool that would name the file after it.+ """+ lowered = filename.lower()+ return "unconditional" if "unconditional" in lowered or "uncond" in lowered else "conditional"+++class Main_Checkpoint_Ideogram4_Config(Checkpoint_Config_Base, Main_Config_Base, Config_Base):+ """Model config for Ideogram 4 single-file transformer checkpoints (safetensors).++ One file holds ONE of the two dual-branch transformers. The Qwen3-VL 8B text encoder and the+ FLUX.2 VAE are separate models, selected on the loader node; the diffusers pipeline folder+ (``Main_Diffusers_Ideogram4_Config``) is the variant that bundles everything.++ Quantization: plain bf16/fp16 and ComfyUI "scaled fp8" load. The ``int8_convrot`` and ``nvfp4``+ repacks of the same files are recognised and rejected with `InvalidMatchError`, which keeps them+ out of the database entirely -- `NotAMatchError` would let them fall through to `Unknown_Config`+ and register a 9 GiB file that nothing can ever load.+ """++ base: Literal[BaseModelType.Ideogram4] = Field(default=BaseModelType.Ideogram4)+ format: Literal[ModelFormat.Checkpoint] = Field(default=ModelFormat.Checkpoint)+ branch: Ideogram4Branch = Field(+ description="Which of Ideogram 4's two transformer branches this file holds. Read from the "+ "file's `model_type` metadata, with the filename as the fallback for stripped re-uploads."+ )++ @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)++ state_dict = mod.load_state_dict()+ if not _has_ideogram4_keys(state_dict):+ raise NotAMatchError("state dict does not look like an Ideogram 4 transformer")++ if _has_ggml_tensors(state_dict):+ raise NotAMatchError("GGUF-quantized Ideogram 4 checkpoints are not supported yet")++ cls._raise_for_unsupported_quantization(state_dict)++ branch = override_fields.pop("branch", None) or cls._branch_or_raise(mod)++ return cls(**override_fields, branch=branch)++ @classmethod+ def _branch_or_raise(cls, mod: ModelOnDisk) -> Ideogram4Branch:+ """The branch, from the file's own declaration where it has one.++ A declaration this does not recognise is refused rather than ignored. Falling back to the+ filename there would quietly classify a future release (an `ideogram4_5_cond`, an edit+ build) as one of *these* two branches, and the loader node trusts the recorded branch+ precisely because it came from the file — which is how a wrong model would end up guiding+ against a right one with nothing in the log.+ """+ declared = mod.metadata().get(_IDEOGRAM4_METADATA_KEY)+ if not declared:+ return _ideogram4_branch_from_filename(mod.path.name)+ branch = _IDEOGRAM4_BRANCH_BY_METADATA.get(declared)+ if branch is None:+ raise InvalidMatchError(+ f"this file declares model_type '{declared}', which is not one of Ideogram 4's two "+ f"transformer branches ({', '.join(sorted(_IDEOGRAM4_BRANCH_BY_METADATA))}). It is most "+ "likely a newer or different Ideogram model that this version cannot run."+ )+ return branch++ @classmethod+ def _raise_for_unsupported_quantization(cls, state_dict: dict[str | int, Any]) -> None:+ """Refuse the quantization schemes this loader cannot yet build.++ `InvalidMatchError`, not `NotAMatchError`: the file *is* an Ideogram 4 transformer, so the+ right outcome is a refusal the installer shows, not a fall-through to `Unknown_Config` that+ registers it as a model nothing can load.++ Neither scheme is visible in one fixed tensor: the int8_convrot repack leaves the input+ projection bf16 and quantizes the block linears, and nvfp4 packs two codes per byte, so a+ uint8 weight is indistinguishable from the `comfy_quant` markers every repack carries --+ including the supported fp8 one. The per-tensor `weight_scale_2` is what only nvfp4 writes,+ and int8 is a dtype nothing else here uses.+ """+ if any(isinstance(key, str) and key.endswith(".weight_scale_2") for key in state_dict):+ raise InvalidMatchError(+ "this is an nvfp4-quantized Ideogram 4 transformer, which is not supported yet. "+ "Install the fp8_scaled build instead (ideogram4_fp8_scaled.safetensors)."+ )++ if any(getattr(value, "dtype", None) is torch.int8 for value in state_dict.values()):+ raise InvalidMatchError(+ "this is an int8-quantized Ideogram 4 transformer, which is not supported yet. "+ "Install the fp8_scaled build instead (ideogram4_fp8_scaled.safetensors)."+ )++class Main_Diffusers_Krea2_Config(Diffusers_Config_Base, Main_Config_Base, Config_Base):"""Model config for Krea-2 diffusers models (Krea-2-Turbo)."""diff --git a/invokeai/backend/model_manager/configs/qwen3_vl_encoder.py b/invokeai/backend/model_manager/configs/qwen3_vl_encoder.pyindex e6f9ff6cc0..e8f4d75a57 100644--- a/invokeai/backend/model_manager/configs/qwen3_vl_encoder.py+++ b/invokeai/backend/model_manager/configs/qwen3_vl_encoder.py@@ -13,27 +13,38 @@ from invokeai.backend.model_manager.configs.identification_utils import (raise_if_not_file,)from invokeai.backend.model_manager.model_on_disk import ModelOnDisk-from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType, Qwen3VLVariantType-_KREA2_QWEN3_VL_HIDDEN_SIZE = 2560-_KREA2_QWEN3_VL_NUM_HIDDEN_LAYERS = 36+# The two Qwen3-VL encoders v7 can build, by language-model width. Both have 36 layers, so the+# width alone identifies the variant. Anything else -- including MiniMax H3's truncated+# Qwen3-VL-32B, which has its own config class -- is not one of these and must not install as one:+# the loader builds the architecture from a HuggingFace config chosen by this variant, and a+# mismatch surfaces as a shape error thousands of tensors into the load.+_QWEN3_VL_VARIANT_BY_HIDDEN_SIZE = {+ 2560: Qwen3VLVariantType.Qwen3VL_4B,+ 4096: Qwen3VLVariantType.Qwen3VL_8B,+}+_QWEN3_VL_NUM_HIDDEN_LAYERS = 36-def _validate_krea2_qwen3_vl_config(config_path: Path) -> None:+def _variant_from_hidden_size(hidden_size: Any) -> Qwen3VLVariantType:+ variant = _QWEN3_VL_VARIANT_BY_HIDDEN_SIZE.get(hidden_size) if isinstance(hidden_size, int) else None+ if variant is None:+ supported = ", ".join(str(size) for size in sorted(_QWEN3_VL_VARIANT_BY_HIDDEN_SIZE))+ raise NotAMatchError(f"unsupported Qwen3-VL hidden size {hidden_size} (supported: {supported})")+ return variant+++def _variant_from_config(config_path: Path) -> Qwen3VLVariantType:config = get_config_dict_or_raise(config_path)text_config = config.get("text_config", config)if not isinstance(text_config, dict):raise NotAMatchError("Qwen3-VL text_config must be an object")- hidden_size = text_config.get("hidden_size")+ variant = _variant_from_hidden_size(text_config.get("hidden_size"))num_hidden_layers = text_config.get("num_hidden_layers")- if hidden_size != _KREA2_QWEN3_VL_HIDDEN_SIZE:- raise NotAMatchError(- f"Krea-2 requires the Qwen3-VL 4B hidden size {_KREA2_QWEN3_VL_HIDDEN_SIZE}, got {hidden_size}"- )- if num_hidden_layers != _KREA2_QWEN3_VL_NUM_HIDDEN_LAYERS:- raise NotAMatchError(- f"Krea-2 requires {_KREA2_QWEN3_VL_NUM_HIDDEN_LAYERS} Qwen3-VL layers, got {num_hidden_layers}"- )+ if num_hidden_layers != _QWEN3_VL_NUM_HIDDEN_LAYERS:+ raise NotAMatchError(f"expected {_QWEN3_VL_NUM_HIDDEN_LAYERS} Qwen3-VL layers, got {num_hidden_layers}")+ return variantdef _has_complete_pretrained_weights(weights_path: Path) -> bool:@@ -65,7 +76,7 @@ def _has_complete_pretrained_weights(weights_path: Path) -> bool:return False-def _validate_krea2_qwen3_vl_checkpoint_shape(state_dict: dict[str | int, Any]) -> None:+def _variant_from_checkpoint_shape(state_dict: dict[str | int, Any]) -> Qwen3VLVariantType:embed_keys = ("model.embed_tokens.weight","model.language_model.embed_tokens.weight",@@ -74,28 +85,30 @@ def _validate_krea2_qwen3_vl_checkpoint_shape(state_dict: dict[str | int, Any]))embed = next((state_dict[key] for key in embed_keys if key in state_dict), None)shape = getattr(embed, "shape", ())- if len(shape) < 2 or shape[1] != _KREA2_QWEN3_VL_HIDDEN_SIZE:- hidden_size = shape[1] if len(shape) >= 2 else None+ variant = _variant_from_hidden_size(shape[1] if len(shape) >= 2 else None)+ if not any(isinstance(key, str) and f".layers.{_QWEN3_VL_NUM_HIDDEN_LAYERS - 1}." in key for key in state_dict):raise NotAMatchError(- f"Krea-2 requires a Qwen3-VL 4B checkpoint with hidden size "- f"{_KREA2_QWEN3_VL_HIDDEN_SIZE}, got {hidden_size}"+ f"a Qwen3-VL encoder checkpoint must contain language-model layer {_QWEN3_VL_NUM_HIDDEN_LAYERS - 1}")- if not any(isinstance(key, str) and ".layers.35." in key for key in state_dict):- raise NotAMatchError("Krea-2 requires a Qwen3-VL 4B checkpoint containing language-model layer 35")+ return variantclass Qwen3VLEncoder_Qwen3VLEncoder_Config(Config_Base):"""Configuration for standalone Qwen3-VL text encoder models (diffusers-like directory format).- Used by Krea-2, whose text conditioning comes from a Qwen3-VL model (``Qwen3VLModel``). The model- weights are expected either in a ``text_encoder`` subfolder of the model directory or directly at the- root (standalone download). This is distinct from the text-only ``Qwen3Encoder`` (Z-Image / FLUX.2- Klein) and the Qwen2.5-VL ``QwenVLEncoder`` (Qwen Image).+ Used by Krea-2 (4B) and Ideogram 4 (8B), whose text conditioning comes from a Qwen3-VL model+ (``Qwen3VLModel``). The model weights are expected either in a ``text_encoder`` subfolder of the+ model directory or directly at the root (standalone download). This is distinct from the text-only+ ``Qwen3Encoder`` (Z-Image / FLUX.2 Klein) and the Qwen2.5-VL ``QwenVLEncoder`` (Qwen Image)."""base: Literal[BaseModelType.Any] = Field(default=BaseModelType.Any)type: Literal[ModelType.Qwen3VLEncoder] = Field(default=ModelType.Qwen3VLEncoder)format: Literal[ModelFormat.Qwen3VLEncoder] = Field(default=ModelFormat.Qwen3VLEncoder)+ variant: Qwen3VLVariantType = Field(+ description="Which Qwen3-VL encoder this is. The consuming architecture is fixed: Krea-2 needs "+ "the 4B, Ideogram 4 the 8B, and the two are not interchangeable."+ )cpu_only: bool | None = Field(default=None, description="Whether this model should run on CPU only")@classmethod@@ -132,7 +145,7 @@ class Qwen3VLEncoder_Qwen3VLEncoder_Config(Config_Base):"Qwen3VLForConditionalGeneration",},)- _validate_krea2_qwen3_vl_config(expected_config_path)+ variant = override_fields.pop("variant", None) or _variant_from_config(expected_config_path)if config_path_nested.exists():weights_path = mod.path / "text_encoder"@@ -150,7 +163,7 @@ class Qwen3VLEncoder_Qwen3VLEncoder_Config(Config_Base):if not has_tokenizer:raise NotAMatchError("standalone Qwen3-VL encoder directory does not contain tokenizer files")- return cls(**override_fields)+ return cls(**override_fields, variant=variant)def _is_qwen3_vl_encoder_state_dict(state_dict: dict[str | int, Any]) -> bool:@@ -166,16 +179,22 @@ def _is_qwen3_vl_encoder_state_dict(state_dict: dict[str | int, Any]) -> bool:class Qwen3VLEncoder_Checkpoint_Config(Checkpoint_Config_Base, Config_Base):- """Configuration for a single-file Qwen3-VL text encoder checkpoint (e.g. ComfyUI ``qwen3vl_4b_*``).+ """Configuration for a single-file Qwen3-VL text encoder checkpoint (ComfyUI ``qwen3vl_4b_*`` /+ ``qwen3vl_8b_*``).Distinguished from the text-only ``Qwen3Encoder`` checkpoint (Z-Image) by the presence of the- Qwen3-VL visual tower. The tokenizer is not bundled in single-file checkpoints and is pulled from- HuggingFace (``Qwen/Qwen3-VL-4B-Instruct``) by the loader.+ Qwen3-VL visual tower. Neither the config nor the tokenizer is bundled in a single-file+ checkpoint; both are pulled from HuggingFace by the loader, from the repo the recorded variant+ names."""base: Literal[BaseModelType.Any] = Field(default=BaseModelType.Any)type: Literal[ModelType.Qwen3VLEncoder] = Field(default=ModelType.Qwen3VLEncoder)format: Literal[ModelFormat.Checkpoint] = Field(default=ModelFormat.Checkpoint)+ variant: Qwen3VLVariantType = Field(+ description="Which Qwen3-VL encoder this is. The consuming architecture is fixed: Krea-2 needs "+ "the 4B, Ideogram 4 the 8B, and the two are not interchangeable."+ )cpu_only: bool | None = Field(default=None, description="Whether this model should run on CPU only")@classmethod@@ -190,9 +209,9 @@ class Qwen3VLEncoder_Checkpoint_Config(Checkpoint_Config_Base, Config_Base):state_dict = mod.load_state_dict()if not _is_qwen3_vl_encoder_state_dict(state_dict):raise NotAMatchError("state dict does not look like a single-file Qwen3-VL encoder")- _validate_krea2_qwen3_vl_checkpoint_shape(state_dict)+ variant = override_fields.pop("variant", None) or _variant_from_checkpoint_shape(state_dict)- return cls(**override_fields)+ return cls(**override_fields, variant=variant)_MINIMAX_H3_TE_METADATA_KEY = "minimax_h3_te"@@ -209,8 +228,8 @@ class Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config(Checkpoint_Config_Base, Config_bf16/int8-convrot repacks quantize only the 50 language layers (vision tower stays bf16).Identified primarily by the explicit ``minimax_h3_te`` safetensors metadata; a structural- fallback covers metadata-stripped re-uploads. Krea-2's ``Qwen3VLEncoder_Checkpoint_Config``- is locked to the 4B shape (hidden 2560), so neither config can claim the other's files.+ fallback covers metadata-stripped re-uploads. ``Qwen3VLEncoder_Checkpoint_Config`` accepts only+ the two widths it can build (2560 and 4096), so neither config can claim the other's files.The nvfp4 repacks share this layout and are accepted here, but the loader rejects theirquantization format early (header-only check) with a clear error - mirroring how the H3diff --git a/invokeai/backend/model_manager/load/model_loaders/ideogram4.py b/invokeai/backend/model_manager/load/model_loaders/ideogram4.pyindex 24fffa99ff..2eebfaafdd 100644--- a/invokeai/backend/model_manager/load/model_loaders/ideogram4.py+++ b/invokeai/backend/model_manager/load/model_loaders/ideogram4.py@@ -21,8 +21,11 @@ import torchfrom safetensors.torch import load_filefrom invokeai.backend.model_manager.configs.factory import AnyModelConfig-from invokeai.backend.model_manager.configs.main import Main_Diffusers_Ideogram4_Config-from invokeai.backend.model_manager.load.load_default import ModelLoader+from invokeai.backend.model_manager.configs.main import (+ Main_Checkpoint_Ideogram4_Config,+ Main_Diffusers_Ideogram4_Config,+)+from invokeai.backend.model_manager.load.load_default import ModelLoader, _model_declared_skip_patternsfrom invokeai.backend.model_manager.load.model_loader_registry import ModelLoaderRegistryfrom invokeai.backend.model_manager.taxonomy import (AnyModel,@@ -31,6 +34,20 @@ from invokeai.backend.model_manager.taxonomy import (ModelType,SubModelType,)+from invokeai.backend.quantization.fp8_scaled import (+ attach_fp8_scales,+ cast_state_dict,+ dequantize_fp8_scaled,+ extract_comfy_quant_hints,+ extract_fp8_scaled_layers,+ full_precision_hints_respected,+ parse_quantization_metadata,+ predict_cast_state_dict_size,+ read_safetensors_metadata,+ should_keep_fp8_weights,+ split_fp8_scaled_layers,+ warn_on_unattached_scales,+)from invokeai.backend.util.devices import TorchDevicefrom invokeai.backend.util.state_dict_loading import load_state_dict_ignoring_extras, log_unexpected_keys@@ -229,3 +246,122 @@ class Ideogram4DiffusersModel(ModelLoader):load_state_dict_ignoring_extras(ae, sd, source="Ideogram 4 VAE")ae.eval()return ae.to(model_dtype)++[email protected](base=BaseModelType.Ideogram4, type=ModelType.Main, format=ModelFormat.Checkpoint)+class Ideogram4CheckpointModel(ModelLoader):+ """Loads ONE branch of Ideogram 4's dual-branch transformer from a single file.++ Comfy-Org publishes the conditional and unconditional transformers as separate files+ (``ideogram4_*.safetensors`` / ``ideogram4_unconditional_*.safetensors``) whose keys are+ exactly this repository's ``Ideogram4Transformer`` state dict — no conversion. Each installs+ as its own model and the loader node pairs them, which is why this returns a bare transformer+ where the diffusers loader returns an ``Ideogram4TransformerPair``.++ Handles plain bf16/fp16 and ComfyUI "scaled fp8" (fp8 weight + per-tensor ``.weight_scale``,+ plus ``.comfy_quant`` markers). The fp8 weights are kept quantized when the device can run the+ fp8 matmul and folded into the compute dtype otherwise -- the same trade every other+ single-file loader here makes, and the reason a 8.6 GiB file needs ~17 GiB resident without+ ``fp8_compute``.+ """++ def _load_model(+ self,+ config: AnyModelConfig,+ submodel_type: Optional[SubModelType] = None,+ ) -> AnyModel:+ if not isinstance(config, Main_Checkpoint_Ideogram4_Config):+ raise ValueError(f"Expected Main_Checkpoint_Ideogram4_Config, got {type(config).__name__}.")++ if submodel_type is not SubModelType.Transformer:+ raise ValueError(+ "A single-file Ideogram 4 checkpoint holds only a transformer; "+ f"'{submodel_type.value if submodel_type else 'None'}' is not in it. Select a standalone "+ "Qwen3-VL encoder and VAE on the model loader node, or install the diffusers pipeline."+ )++ from invokeai.backend.ideogram4.modeling_ideogram4 import Ideogram4Config, Ideogram4Transformer++ model_path = Path(config.path)+ target_device = TorchDevice.choose_torch_device()+ model_dtype = TorchDevice.choose_bfloat16_safe_dtype(target_device)++ sd: dict[str, torch.Tensor] = load_file(model_path)++ # Per-layer `.comfy_quant` markers are popped out of `sd` here; the header carries the same+ # flags on some repacks and wins where both are present. Read before anything consumes the+ # weights: `extract_fp8_scaled_layers` drops what is left of the side channel.+ layer_hints = {+ **extract_comfy_quant_hints(sd),+ **parse_quantization_metadata(read_safetensors_metadata(model_path, self._logger)),+ }++ fp8_layers = extract_fp8_scaled_layers(sd, layer_hints=layer_hints)+ keep_fp8 = should_keep_fp8_weights(target_device)+ if fp8_layers and not keep_fp8:+ # Fold the scales in. Staying quantized without the fp8 matmul would halve VRAM but+ # dequantize on every forward, so both are tied to the same setting.+ dequantize_fp8_scaled(sd, fp8_layers, model_dtype)+ fp8_layers = {}++ with accelerate.init_empty_weights():+ model: torch.nn.Module = Ideogram4Transformer(Ideogram4Config())++ # `input_proj` and `t_embedding` must not stay fp8 -- the model derives its activation dtype+ # from their weights (see `Ideogram4Transformer._skip_layerwise_casting_patterns`).+ skip_patterns = _model_declared_skip_patterns(model)++ # Reserve before the split: it dequantizes the layers it cannot keep through float32, and a+ # reservation made afterwards lets that transient peak land on an unreserved cache.+ self._ram_cache.make_room(+ predict_cast_state_dict_size(+ sd,+ model_dtype,+ keep_fp8=keep_fp8,+ model=model,+ skip_patterns=skip_patterns,+ scaled_layers=fp8_layers,+ )+ )+ fp8_layers = split_fp8_scaled_layers(sd, fp8_layers, model_dtype, model=model, skip_patterns=skip_patterns)+ kept = cast_state_dict(sd, model_dtype, keep_fp8=keep_fp8, model=model, skip_patterns=skip_patterns)++ # Strict: the released files are key-for-key this model, so a missing or extra key means a+ # different checkpoint, not a benign naming difference.+ model.load_state_dict(sd, strict=True, assign=True)+ # `assign=True` aliases every parameter to its `sd` tensor; dropping the dict's references+ # keeps the originals from staying reachable beside any fp8 copy made below.+ sd.clear()++ if kept and not fp8_layers:+ self._logger.info(+ f"Ideogram 4: kept {kept} raw fp8 weight(s) quantized (no weight_scale in the checkpoint); "+ "they will run on the fp8 tensor cores with unit scaling."+ )++ if fp8_layers:+ attached = attach_fp8_scales(model, fp8_layers)+ self._logger.info(+ f"Ideogram 4: kept {attached} layer(s) in fp8 (scaled fp8 checkpoint, fp8_compute enabled)"+ )+ warn_on_unattached_scales(self._logger, "Ideogram 4", attached, fp8_layers)+ marked = sum(1 for layer in fp8_layers.values() if layer.full_precision_matmul)+ if marked:+ if full_precision_hints_respected():+ self._logger.info(+ f"Ideogram 4: {marked} of {len(fp8_layers)} layer(s) are marked "+ "full_precision_matrix_mult and will dequantize per forward. Set "+ "fp8_compute_full_precision_hints=false to run them on the fp8 tensor cores "+ "instead (faster, but overrides the checkpoint producer's instruction)."+ )+ else:+ self._logger.info(+ f"Ideogram 4: ignoring the full_precision_matrix_mult marker on {marked} layer(s) "+ "(fp8_compute_full_precision_hints=false)."+ )+ # The layerwise-casting path exists to *produce* fp8 weights from full-precision ones.+ # These already are fp8, and its hooks would restore the compute dtype without applying+ # `weight_scale` — a silently wrong weight — while also disabling the matmul.+ return model++ return self._apply_fp8_layerwise_casting(model, config, SubModelType.Transformer)diff --git a/invokeai/backend/model_manager/load/model_loaders/krea2.py b/invokeai/backend/model_manager/load/model_loaders/krea2.pyindex 051a41d9af..0ee23b7765 100644--- a/invokeai/backend/model_manager/load/model_loaders/krea2.py+++ b/invokeai/backend/model_manager/load/model_loaders/krea2.py@@ -26,6 +26,7 @@ from invokeai.backend.model_manager.taxonomy import (BaseModelType,ModelFormat,ModelType,+ Qwen3VLVariantType,SubModelType,)from invokeai.backend.model_manager.util.qwen3_vl import normalize_qwen3vl_rope_config@@ -734,16 +735,36 @@ def _reject_incomplete_load(model: Any, *, what: str) -> None:reject_incomplete_load(model, what=what)+def _tokenizer_can_encode(tokenizer: Any) -> bool:+ """Whether a tokenizer loaded from the HuggingFace cache is actually usable.++ Not paranoia: when the cache holds the repo's `config.json` but none of its tokenizer files --+ which is exactly the state `_load_text_encoder` leaves behind on a first run, because it fetches+ the config first -- `AutoTokenizer.from_pretrained(..., local_files_only=True)` does not raise.+ It returns a `Qwen2Tokenizer` with a one-token vocabulary and no chat template, which encodes+ every prompt to an empty sequence. The generation then runs on no conditioning at all, and+ nothing in the log says so. Probing the round trip is what tells the two apart.+ """+ try:+ return bool(tokenizer("probe", add_special_tokens=False)["input_ids"])+ except Exception:+ return False++@ModelLoaderRegistry.register(base=BaseModelType.Any, type=ModelType.Qwen3VLEncoder, format=ModelFormat.Checkpoint)class Qwen3VLEncoderCheckpointLoader(ModelLoader):"""Loads a single-file Qwen3-VL encoder checkpoint (e.g. ComfyUI ``qwen3vl_4b_bf16`` / ``_fp8_scaled``).The checkpoint bundles the language model + visual tower but no config/tokenizer; those are pulled- from HuggingFace (``Qwen/Qwen3-VL-4B-Instruct``) with offline-cache fallback. ComfyUI 'scaled fp8'+ from HuggingFace with offline-cache fallback, from the repo the config's recorded variant names --+ the file itself says nothing about which Qwen3-VL it is beyond its shapes. ComfyUI 'scaled fp8'weights are dequantized to the compute dtype on load."""- DEFAULT_HF_REPO = "Qwen/Qwen3-VL-4B-Instruct"+ HF_REPO_BY_VARIANT = {+ Qwen3VLVariantType.Qwen3VL_4B: "Qwen/Qwen3-VL-4B-Instruct",+ Qwen3VLVariantType.Qwen3VL_8B: "Qwen/Qwen3-VL-8B-Instruct",+ }def _load_model(self,@@ -755,7 +776,7 @@ class Qwen3VLEncoderCheckpointLoader(ModelLoader):match submodel_type:case SubModelType.Tokenizer:- return self._load_tokenizer()+ return self._load_tokenizer(config)case SubModelType.TextEncoder:return self._load_text_encoder(config)@@ -764,19 +785,27 @@ class Qwen3VLEncoderCheckpointLoader(ModelLoader):f"Received: {submodel_type.value if submodel_type else 'None'}")- def _load_tokenizer(self) -> AnyModel:+ def _hf_repo(self, config: Qwen3VLEncoder_Checkpoint_Config) -> str:+ return self.HF_REPO_BY_VARIANT[config.variant]++ def _load_tokenizer(self, config: Qwen3VLEncoder_Checkpoint_Config) -> AnyModel:+ repo = self._hf_repo(config)# A partial offline cache (e.g. config present but vocab/merges missing) raises something other# than OSError (e.g. TypeError) deep in the slow-tokenizer path, so catch broadly and re-fetch.try:- return AutoTokenizer.from_pretrained(self.DEFAULT_HF_REPO, local_files_only=True, extra_special_tokens={})+ tokenizer = AutoTokenizer.from_pretrained(repo, local_files_only=True, extra_special_tokens={})except Exception:- return AutoTokenizer.from_pretrained(self.DEFAULT_HF_REPO, extra_special_tokens={})+ tokenizer = None+ if tokenizer is not None and _tokenizer_can_encode(tokenizer):+ return tokenizer+ return AutoTokenizer.from_pretrained(repo, extra_special_tokens={})- def _load_hf_config(self) -> Any:+ def _load_hf_config(self, config: Qwen3VLEncoder_Checkpoint_Config) -> Any:+ repo = self._hf_repo(config)try:- te_config = AutoConfig.from_pretrained(self.DEFAULT_HF_REPO, local_files_only=True)+ te_config = AutoConfig.from_pretrained(repo, local_files_only=True)except Exception:- te_config = AutoConfig.from_pretrained(self.DEFAULT_HF_REPO)+ te_config = AutoConfig.from_pretrained(repo)return _normalize_qwen3vl_rope_config(te_config)def _load_text_encoder(self, config: Qwen3VLEncoder_Checkpoint_Config) -> AnyModel:@@ -843,7 +872,7 @@ class Qwen3VLEncoderCheckpointLoader(ModelLoader):dequantize_fp8_scaled(sd, fp8_layers, model_dtype)fp8_layers = {}- te_config = self._load_hf_config()+ te_config = self._load_hf_config(config)with accelerate.init_empty_weights():model = Qwen3VLModel._from_config(te_config)diff --git a/invokeai/backend/model_manager/qwen3_vl_labels.py b/invokeai/backend/model_manager/qwen3_vl_labels.pynew file mode 100644index 0000000000..6cfa7eaecf--- /dev/null+++ b/invokeai/backend/model_manager/qwen3_vl_labels.py@@ -0,0 +1,21 @@+"""How a Qwen3-VL encoder variant is named to a user.++Two architectures condition on Qwen3-VL and neither can use the other's size, so both loader nodes+refuse the wrong one by name. The refusal is only useful if the name is one the user recognises+from the picker -- and a third config class (MiniMax H3's truncated Qwen3-VL-32B) shares the model+type while carrying no variant at all, so `None` has to render as something better than "None".+"""++from invokeai.backend.model_manager.taxonomy import Qwen3VLVariantType++_LABELS = {+ Qwen3VLVariantType.Qwen3VL_4B: "4B",+ Qwen3VLVariantType.Qwen3VL_8B: "8B",+}+++def variant_label(variant: object) -> str:+ """A human name for a recorded Qwen3-VL variant, or a description of its absence."""+ if isinstance(variant, Qwen3VLVariantType):+ return _LABELS[variant]+ return "of an unrecorded size" if variant is None else str(getattr(variant, "value", variant))diff --git a/invokeai/backend/model_manager/starter_models/__init__.py b/invokeai/backend/model_manager/starter_models/__init__.pyindex a6f17efe61..866e2d83cc 100644--- a/invokeai/backend/model_manager/starter_models/__init__.py+++ b/invokeai/backend/model_manager/starter_models/__init__.py@@ -122,6 +122,9 @@ from invokeai.backend.model_manager.starter_models.flux2 import (from invokeai.backend.model_manager.starter_models.ideogram_4 import (ideogram_4_fp8,ideogram_4_nf4,+ ideogram_4_qwen3_vl_encoder_8b,+ ideogram_4_single_file,+ ideogram_4_unconditional_single_file,)from invokeai.backend.model_manager.starter_models.krea_2 import (krea2_raw,@@ -263,6 +266,9 @@ STARTER_MODELS: list[StarterModel] = [sd35_large,ideogram_4_nf4,ideogram_4_fp8,+ ideogram_4_single_file,+ ideogram_4_unconditional_single_file,+ ideogram_4_qwen3_vl_encoder_8b,cyberrealistic_sd1,rev_animated_sd1,dreamshaper_8_sd1,diff --git a/invokeai/backend/model_manager/starter_models/ideogram_4.py b/invokeai/backend/model_manager/starter_models/ideogram_4.pyindex 152a0bfe2a..919ba320ee 100644--- a/invokeai/backend/model_manager/starter_models/ideogram_4.py+++ b/invokeai/backend/model_manager/starter_models/ideogram_4.py@@ -1,8 +1,10 @@"""Ideogram 4 starter models."""+from invokeai.backend.model_manager.starter_models.flux2 import flux2_vaefrom invokeai.backend.model_manager.starter_models.types import StarterModelfrom invokeai.backend.model_manager.taxonomy import (BaseModelType,+ ModelFormat,ModelType,)@@ -28,3 +30,39 @@ ideogram_4_fp8 = StarterModel("memory use). Non-commercial license — accept it on HuggingFace first. ~26GB",type=ModelType.Main,)++# Comfy-Org's single-file release. Each file is ONE of the two branches, both of which run at every+# step, so the conditional transformer pulls the unconditional one in as a dependency along with the+# encoder and the VAE. The repo is ungated, unlike the diffusers pipelines above, but the same+# non-commercial license applies.+ideogram_4_unconditional_single_file = StarterModel(+ name="Ideogram 4 Unconditional (single file)",+ base=BaseModelType.Ideogram4,+ source="https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/diffusion_models/ideogram4_unconditional_fp8_scaled.safetensors",+ description="The unconditional branch of Ideogram 4, in ComfyUI scaled fp8. Useless on its own — "+ "Ideogram 4 guides its conditional branch against this one. ~8.6GB",+ type=ModelType.Main,+ format=ModelFormat.Checkpoint,+)++ideogram_4_qwen3_vl_encoder_8b = StarterModel(+ name="Qwen3-VL 8B Encoder (Ideogram 4)",+ base=BaseModelType.Any,+ source="https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/text_encoders/qwen3vl_8b_fp8_scaled.safetensors",+ description="Qwen3-VL 8B text encoder for Ideogram 4, in ComfyUI scaled fp8. Distinct from the 4B "+ "encoder Krea-2 uses; Ideogram 4 taps 13 of its layers and the two are not interchangeable. ~9.9GB",+ type=ModelType.Qwen3VLEncoder,+ format=ModelFormat.Checkpoint,+)++ideogram_4_single_file = StarterModel(+ name="Ideogram 4 (single file)",+ base=BaseModelType.Ideogram4,+ source="https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/diffusion_models/ideogram4_fp8_scaled.safetensors",+ description="Comfy-Org single-file Ideogram 4 in ComfyUI scaled fp8. Installs the unconditional "+ "branch, the Qwen3-VL 8B encoder and the shared 32-channel VAE with it; both transformer branches "+ "stay resident during generation. Non-commercial license. ~27GB total",+ type=ModelType.Main,+ format=ModelFormat.Checkpoint,+ dependencies=[ideogram_4_unconditional_single_file, ideogram_4_qwen3_vl_encoder_8b, flux2_vae],+)diff --git a/invokeai/backend/model_manager/taxonomy.py b/invokeai/backend/model_manager/taxonomy.pyindex 22ce899c86..4ab1d8ba33 100644--- a/invokeai/backend/model_manager/taxonomy.py+++ b/invokeai/backend/model_manager/taxonomy.py@@ -257,6 +257,22 @@ class Qwen3VariantType(str, Enum):"""Qwen3 0.6B text encoder (hidden_size=1024). Used by Anima."""+class Qwen3VLVariantType(str, Enum):+ """Qwen3-VL (vision-language) text encoder variants, by language-model width.++ Separate from `Qwen3VariantType`: those are the text-only Qwen3 encoders (Z-Image, FLUX.2+ Klein). The VL models carry a visual tower and are not interchangeable with them, and the two+ families do not even share widths at the same parameter count.+ """++ Qwen3VL_4B = "qwen3_vl_4b"+ """Qwen3-VL 4B (hidden_size=2560, 36 layers). The encoder Krea-2 conditions on."""++ Qwen3VL_8B = "qwen3_vl_8b"+ """Qwen3-VL 8B (hidden_size=4096, 36 layers). The encoder Ideogram 4 conditions on, tapping 13+ of its layers for a 53248-wide feature vector."""++class MiniMaxH3VariantType(str, Enum):"""MiniMax H3 model variants (task-specific transformer checkpoints sharing every other component)."""@@ -385,6 +401,7 @@ AnyVariant: TypeAlias = Union[WanVariantType,WanLoRAVariantType,Qwen3VariantType,+ Qwen3VLVariantType,Krea2VariantType,MiniMaxH3VariantType,MistralVariantType,@@ -400,6 +417,7 @@ variant_type_adapter = TypeAdapter[| WanVariantType| WanLoRAVariantType| Qwen3VariantType+ | Qwen3VLVariantType| Krea2VariantType| MiniMaxH3VariantType| MistralVariantType@@ -414,6 +432,7 @@ variant_type_adapter = TypeAdapter[| WanVariantType| WanLoRAVariantType| Qwen3VariantType+ | Qwen3VLVariantType| Krea2VariantType| MiniMaxH3VariantType| MistralVariantTypediff --git a/invokeai/frontend/web/openapi.json b/invokeai/frontend/web/openapi.jsonindex 7d60d4ed94..540f65f6b1 100644--- a/invokeai/frontend/web/openapi.json+++ b/invokeai/frontend/web/openapi.json@@ -1422,6 +1422,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -1856,6 +1859,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -2290,6 +2296,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -2769,6 +2778,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -3275,6 +3287,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -4635,6 +4650,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -17215,6 +17233,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -42608,6 +42629,23 @@"orig_required": true,"title": "Transformer"},+ "unconditional_transformer": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/TransformerField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The unconditional branch when it is a separate single-file model. Leave unconnected for a diffusers pipeline, whose Transformer submodel carries both branches.",+ "field_kind": "input",+ "input": "connection",+ "orig_default": null,+ "orig_required": false,+ "title": "Transformer (Unconditional)"+ },"positive_conditioning": {"anyOf": [{@@ -42735,7 +42773,7 @@"tags": ["image", "ideogram4"],"title": "Denoise - Ideogram 4","type": "object",- "version": "1.0.0",+ "version": "1.1.0","output": {"$ref": "#/components/schemas/LatentsOutput"}@@ -42854,7 +42892,7 @@"category": "model","class": "invocation","classification": "prototype",- "description": "Loads an Ideogram 4 model, outputting its submodels.\n\nIdeogram 4 is distributed as a single bundled diffusers folder, so the transformer\n(both branches), the Qwen3-VL text encoder + tokenizer, and the VAE are all loaded\nfrom the one selected model.",+ "description": "Loads an Ideogram 4 model, outputting its submodels.\n\nTwo on-disk layouts are supported:\n\n* A diffusers pipeline bundles everything - both transformer branches, the Qwen3-VL encoder\n + tokenizer, and the VAE - and needs nothing else selected.\n* Comfy-Org's single files hold ONE branch each, so the conditional file goes in `Model`, the\n unconditional one in `Transformer (Unconditional)`, and the Qwen3-VL 8B encoder and the\n 32-channel VAE are selected here as well.\n\nBoth branches run at every denoising step, so the pair is not optional.","node_pack": "invokeai","properties": {"id": {@@ -42883,7 +42921,7 @@},"model": {"$ref": "#/components/schemas/ModelIdentifierField",- "description": "The Ideogram 4 model to load.",+ "description": "The Ideogram 4 model to load. A diffusers pipeline provides every submodel; a single-file checkpoint is the conditional transformer alone and needs the components below.","field_kind": "input","input": "direct","orig_required": true,@@ -42891,6 +42929,64 @@"ui_model_base": ["ideogram-4"],"ui_model_type": ["main"]},+ "unconditional_model": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ModelIdentifierField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The unconditional branch as a single-file checkpoint. Required when Model is a single file; ignored for a diffusers pipeline, which bundles both branches.",+ "field_kind": "input",+ "input": "direct",+ "orig_default": null,+ "orig_required": false,+ "title": "Transformer (Unconditional)",+ "ui_model_base": ["ideogram-4"],+ "ui_model_format": ["checkpoint"],+ "ui_model_type": ["main"]+ },+ "qwen3_vl_encoder_model": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ModelIdentifierField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Standalone Qwen3-VL 8B encoder. Required when Model is a single-file checkpoint; otherwise an override for the encoder bundled in the diffusers pipeline.",+ "field_kind": "input",+ "input": "direct",+ "orig_default": null,+ "orig_required": false,+ "title": "Qwen3-VL Encoder",+ "ui_model_base": ["any"],+ "ui_model_type": ["qwen3_vl_encoder"]+ },+ "vae_model": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ModelIdentifierField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Standalone VAE (the 32-channel one Ideogram 4 shares with FLUX.2). Required when Model is a single-file checkpoint; otherwise an override for the bundled VAE.",+ "field_kind": "input",+ "input": "direct",+ "orig_default": null,+ "orig_required": false,+ "title": "VAE",+ "ui_model_base": ["flux2"],+ "ui_model_type": ["vae"]+ },"type": {"const": "ideogram4_model_loader","default": "ideogram4_model_loader",@@ -42903,7 +42999,7 @@"tags": ["model", "ideogram4"],"title": "Main Model - Ideogram 4","type": "object",- "version": "1.0.0",+ "version": "1.1.0","output": {"$ref": "#/components/schemas/Ideogram4ModelLoaderOutput"}@@ -42919,6 +43015,21 @@"title": "Transformer","ui_hidden": false},+ "unconditional_transformer": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/TransformerField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The unconditional branch, when it is a separate single-file model. None for a diffusers pipeline, which carries both branches in one submodel.",+ "field_kind": "output",+ "title": "Transformer (Unconditional)",+ "ui_hidden": false+ },"qwen3_encoder": {"$ref": "#/components/schemas/Qwen3EncoderField","description": "Qwen3 tokenizer and text encoder",@@ -42941,7 +43052,7 @@"type": "string"}},- "required": ["output_meta", "transformer", "qwen3_encoder", "vae", "type", "type"],+ "required": ["output_meta", "transformer", "unconditional_transformer", "qwen3_encoder", "vae", "type", "type"],"title": "Ideogram4ModelLoaderOutput","type": "object"},@@ -62963,6 +63074,178 @@"title": "Main_Checkpoint_Flux2_Config","description": "Model config for FLUX.2 checkpoint models (e.g. Klein)."},+ "Main_Checkpoint_Ideogram4_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."+ },+ "base": {+ "type": "string",+ "const": "ideogram-4",+ "title": "Base",+ "default": "ideogram-4"+ },+ "format": {+ "type": "string",+ "const": "checkpoint",+ "title": "Format",+ "default": "checkpoint"+ },+ "branch": {+ "type": "string",+ "enum": ["conditional", "unconditional"],+ "title": "Branch",+ "description": "Which of Ideogram 4's two transformer branches this file holds. Read from the file's `model_type` metadata, with the filename as the fallback for stripped re-uploads."+ }+ },+ "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",+ "base",+ "format",+ "branch"+ ],+ "title": "Main_Checkpoint_Ideogram4_Config",+ "description": "Model config for Ideogram 4 single-file transformer checkpoints (safetensors).\n\nOne file holds ONE of the two dual-branch transformers. The Qwen3-VL 8B text encoder and the\nFLUX.2 VAE are separate models, selected on the loader node; the diffusers pipeline folder\n(``Main_Diffusers_Ideogram4_Config``) is the variant that bundles everything.\n\nQuantization: plain bf16/fp16 and ComfyUI \"scaled fp8\" load. The ``int8_convrot`` and ``nvfp4``\nrepacks of the same files are recognised and rejected with `InvalidMatchError`, which keeps them\nout of the database entirely -- `NotAMatchError` would let them fall through to `Unknown_Config`\nand register a 9 GiB file that nothing can ever load."+ },"Main_Checkpoint_Krea2_Config": {"properties": {"key": {@@ -75527,6 +75810,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -76207,6 +76493,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -76772,6 +77061,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -77193,6 +77485,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -77836,6 +78131,9 @@{"$ref": "#/components/schemas/Qwen3VariantType"},+ {+ "$ref": "#/components/schemas/Qwen3VLVariantType"+ },{"$ref": "#/components/schemas/Krea2VariantType"},@@ -78087,6 +78385,9 @@{"$ref": "#/components/schemas/Main_Checkpoint_ZImage_Config"},+ {+ "$ref": "#/components/schemas/Main_Checkpoint_Ideogram4_Config"+ },{"$ref": "#/components/schemas/Main_Checkpoint_Krea2_Config"},@@ -82928,6 +83229,10 @@"title": "Format","default": "checkpoint"},+ "variant": {+ "$ref": "#/components/schemas/Qwen3VLVariantType",+ "description": "Which Qwen3-VL encoder this is. The consuming architecture is fixed: Krea-2 needs the 4B, Ideogram 4 the 8B, and the two are not interchangeable."+ },"cpu_only": {"anyOf": [{@@ -82958,10 +83263,11 @@"base","type","format",+ "variant","cpu_only"],"title": "Qwen3VLEncoder_Checkpoint_Config",- "description": "Configuration for a single-file Qwen3-VL text encoder checkpoint (e.g. ComfyUI ``qwen3vl_4b_*``).\n\nDistinguished from the text-only ``Qwen3Encoder`` checkpoint (Z-Image) by the presence of the\nQwen3-VL visual tower. The tokenizer is not bundled in single-file checkpoints and is pulled from\nHuggingFace (``Qwen/Qwen3-VL-4B-Instruct``) by the loader."+ "description": "Configuration for a single-file Qwen3-VL text encoder checkpoint (ComfyUI ``qwen3vl_4b_*`` /\n``qwen3vl_8b_*``).\n\nDistinguished from the text-only ``Qwen3Encoder`` checkpoint (Z-Image) by the presence of the\nQwen3-VL visual tower. Neither the config nor the tokenizer is bundled in a single-file\ncheckpoint; both are pulled from HuggingFace by the loader, from the repo the recorded variant\nnames."},"Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config": {"properties": {@@ -83097,7 +83403,7 @@"format"],"title": "Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config",- "description": "Configuration for MiniMax H3's truncated Qwen3-VL-32B conditioning encoder single files\n(Comfy-Org ``qwen3vl_32b_minimax_h3_*.safetensors`` and mirrors).\n\nThese are NOT complete Qwen3-VL-32B checkpoints: the language stack is truncated to the 50\nlayers H3 conditions on (the file's ``minimax_h3_te`` metadata records the contract:\n\"unnormalized_hidden_after_layer_50\"), the final norm and LM head are omitted, and the\nbf16/int8-convrot repacks quantize only the 50 language layers (vision tower stays bf16).\n\nIdentified primarily by the explicit ``minimax_h3_te`` safetensors metadata; a structural\nfallback covers metadata-stripped re-uploads. Krea-2's ``Qwen3VLEncoder_Checkpoint_Config``\nis locked to the 4B shape (hidden 2560), so neither config can claim the other's files.\n\nThe nvfp4 repacks share this layout and are accepted here, but the loader rejects their\nquantization format early (header-only check) with a clear error - mirroring how the H3\ntransformer checkpoint config treats fp8_scaled files."+ "description": "Configuration for MiniMax H3's truncated Qwen3-VL-32B conditioning encoder single files\n(Comfy-Org ``qwen3vl_32b_minimax_h3_*.safetensors`` and mirrors).\n\nThese are NOT complete Qwen3-VL-32B checkpoints: the language stack is truncated to the 50\nlayers H3 conditions on (the file's ``minimax_h3_te`` metadata records the contract:\n\"unnormalized_hidden_after_layer_50\"), the final norm and LM head are omitted, and the\nbf16/int8-convrot repacks quantize only the 50 language layers (vision tower stays bf16).\n\nIdentified primarily by the explicit ``minimax_h3_te`` safetensors metadata; a structural\nfallback covers metadata-stripped re-uploads. ``Qwen3VLEncoder_Checkpoint_Config`` accepts only\nthe two widths it can build (2560 and 4096), so neither config can claim the other's files.\n\nThe nvfp4 repacks share this layout and are accepted here, but the loader rejects their\nquantization format early (header-only check) with a clear error - mirroring how the H3\ntransformer checkpoint config treats fp8_scaled files."},"Qwen3VLEncoder_Qwen3VLEncoder_Config": {"properties": {@@ -83201,6 +83507,10 @@"title": "Format","default": "qwen3_vl_encoder"},+ "variant": {+ "$ref": "#/components/schemas/Qwen3VLVariantType",+ "description": "Which Qwen3-VL encoder this is. The consuming architecture is fixed: Krea-2 needs the 4B, Ideogram 4 the 8B, and the two are not interchangeable."+ },"cpu_only": {"anyOf": [{@@ -83230,10 +83540,17 @@"base","type","format",+ "variant","cpu_only"],"title": "Qwen3VLEncoder_Qwen3VLEncoder_Config",- "description": "Configuration for standalone Qwen3-VL text encoder models (diffusers-like directory format).\n\nUsed by Krea-2, whose text conditioning comes from a Qwen3-VL model (``Qwen3VLModel``). The model\nweights are expected either in a ``text_encoder`` subfolder of the model directory or directly at the\nroot (standalone download). This is distinct from the text-only ``Qwen3Encoder`` (Z-Image / FLUX.2\nKlein) and the Qwen2.5-VL ``QwenVLEncoder`` (Qwen Image)."+ "description": "Configuration for standalone Qwen3-VL text encoder models (diffusers-like directory format).\n\nUsed by Krea-2 (4B) and Ideogram 4 (8B), whose text conditioning comes from a Qwen3-VL model\n(``Qwen3VLModel``). The model weights are expected either in a ``text_encoder`` subfolder of the\nmodel directory or directly at the root (standalone download). This is distinct from the text-only\n``Qwen3Encoder`` (Z-Image / FLUX.2 Klein) and the Qwen2.5-VL ``QwenVLEncoder`` (Qwen Image)."+ },+ "Qwen3VLVariantType": {+ "type": "string",+ "enum": ["qwen3_vl_4b", "qwen3_vl_8b"],+ "title": "Qwen3VLVariantType",+ "description": "Qwen3-VL (vision-language) text encoder variants, by language-model width.\n\nSeparate from `Qwen3VariantType`: those are the text-only Qwen3 encoders (Z-Image, FLUX.2\nKlein). The VL models carry a visual tower and are not interchangeable with them, and the two\nfamilies do not even share widths at the same parameter count."},"Qwen3VariantType": {"type": "string",@@ -90634,6 +90951,9 @@{"$ref": "#/components/schemas/Qwen3VariantType"},+ {+ "$ref": "#/components/schemas/Qwen3VLVariantType"+ },{"$ref": "#/components/schemas/Krea2VariantType"},@@ -90812,6 +91132,9 @@{"$ref": "#/components/schemas/Qwen3VariantType"},+ {+ "$ref": "#/components/schemas/Qwen3VLVariantType"+ },{"$ref": "#/components/schemas/Krea2VariantType"},@@ -92070,6 +92393,9 @@{"$ref": "#/components/schemas/Qwen3VariantType"},+ {+ "$ref": "#/components/schemas/Qwen3VLVariantType"+ },{"$ref": "#/components/schemas/Krea2VariantType"},diff --git a/invokeai/frontend/web/src/features/modelManagerV2/models.ts b/invokeai/frontend/web/src/features/modelManagerV2/models.tsindex 4f20ea8562..b0fde8795f 100644--- a/invokeai/frontend/web/src/features/modelManagerV2/models.ts+++ b/invokeai/frontend/web/src/features/modelManagerV2/models.ts@@ -315,6 +315,8 @@ export const MODEL_VARIANT_TO_LONG_NAME: Record<AnyModelVariant, string> = {qwen3_4b: 'Qwen3 4B',qwen3_8b: 'Qwen3 8B',qwen3_06b: 'Qwen3 0.6B',+ qwen3_vl_4b: 'Qwen3-VL 4B (Krea-2)',+ qwen3_vl_8b: 'Qwen3-VL 8B (Ideogram 4)',cow_mistral3_small: 'cow-mistral3-small (FLUX.2)',mistral3_24b: 'Mistral Small 3 (24B, FLUX.2)',res2k_sr4x: 'PiD 2K (4x SR)',diff --git a/invokeai/frontend/web/src/features/nodes/types/common.ts b/invokeai/frontend/web/src/features/nodes/types/common.tsindex cfef7f72d2..ecaf70efbe 100644--- a/invokeai/frontend/web/src/features/nodes/types/common.ts+++ b/invokeai/frontend/web/src/features/nodes/types/common.ts@@ -206,6 +206,8 @@ const zWanVariantType = z.enum(['t2v_a14b', 'i2v_a14b', 'ti2v_5b']);* targets. A14B = inner_dim 5120 (both T2V and I2V), 5B = inner_dim 3072. */const zWanLoRAVariantType = z.enum(['a14b', '5b']);export const zQwen3VariantType = z.enum(['qwen3_4b', 'qwen3_8b', 'qwen3_06b']);+/** Qwen3-VL (vision-language) encoders: Krea-2 takes the 4B, Ideogram 4 the 8B. */+const zQwen3VLVariantType = z.enum(['qwen3_vl_4b', 'qwen3_vl_8b']);const zMiniMaxH3VariantType = z.enum(['fl2va', 'ref2va']);const zMistralVariantType = z.enum(['cow_mistral3_small', 'mistral3_24b']);const zPiDDecoderVariantType = z.enum(['res2k_sr4x', 'res2kto4k_sr4x']);@@ -220,6 +222,7 @@ export const zAnyModelVariant = z.union([zWanVariantType,zWanLoRAVariantType,zQwen3VariantType,+ zQwen3VLVariantType,zMiniMaxH3VariantType,zMistralVariantType,zPiDDecoderVariantType,diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.tsindex d78f592c02..bf43116d7f 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_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_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_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"];/*** AppVersion* @description App Version Response@@ -17409,6 +17409,12 @@ export type components = {* @default null*/transformer?: components["schemas"]["TransformerField"] | null;+ /**+ * Transformer (Unconditional)+ * @description The unconditional branch when it is a separate single-file model. Leave unconnected for a diffusers pipeline, whose Transformer submodel carries both branches.+ * @default null+ */+ unconditional_transformer?: components["schemas"]["TransformerField"] | null;/*** @description Positive conditioning tensor* @default null@@ -17517,9 +17523,15 @@ export type components = {* Main Model - Ideogram 4* @description Loads an Ideogram 4 model, outputting its submodels.*- * Ideogram 4 is distributed as a single bundled diffusers folder, so the transformer- * (both branches), the Qwen3-VL text encoder + tokenizer, and the VAE are all loaded- * from the one selected model.+ * Two on-disk layouts are supported:+ *+ * * A diffusers pipeline bundles everything - both transformer branches, the Qwen3-VL encoder+ * + tokenizer, and the VAE - and needs nothing else selected.+ * * Comfy-Org's single files hold ONE branch each, so the conditional file goes in `Model`, the+ * unconditional one in `Transformer (Unconditional)`, and the Qwen3-VL 8B encoder and the+ * 32-channel VAE are selected here as well.+ *+ * Both branches run at every denoising step, so the pair is not optional.*/Ideogram4ModelLoaderInvocation: {/**@@ -17541,9 +17553,27 @@ export type components = {use_cache?: boolean;/*** Model- * @description The Ideogram 4 model to load.+ * @description The Ideogram 4 model to load. A diffusers pipeline provides every submodel; a single-file checkpoint is the conditional transformer alone and needs the components below.*/model: components["schemas"]["ModelIdentifierField"];+ /**+ * Transformer (Unconditional)+ * @description The unconditional branch as a single-file checkpoint. Required when Model is a single file; ignored for a diffusers pipeline, which bundles both branches.+ * @default null+ */+ unconditional_model?: components["schemas"]["ModelIdentifierField"] | null;+ /**+ * Qwen3-VL Encoder+ * @description Standalone Qwen3-VL 8B encoder. Required when Model is a single-file checkpoint; otherwise an override for the encoder bundled in the diffusers pipeline.+ * @default null+ */+ qwen3_vl_encoder_model?: components["schemas"]["ModelIdentifierField"] | null;+ /**+ * VAE+ * @description Standalone VAE (the 32-channel one Ideogram 4 shares with FLUX.2). Required when Model is a single-file checkpoint; otherwise an override for the bundled VAE.+ * @default null+ */+ vae_model?: components["schemas"]["ModelIdentifierField"] | null;/*** type* @default ideogram4_model_loader@@ -17561,6 +17591,12 @@ export type components = {* @description Transformer*/transformer: components["schemas"]["TransformerField"];+ /**+ * Transformer (Unconditional)+ * @description The unconditional branch, when it is a separate single-file model. None for a diffusers pipeline, which carries both branches in one submodel.+ * @default null+ */+ unconditional_transformer: components["schemas"]["TransformerField"] | null;/*** Qwen3-VL Encoder* @description Qwen3 tokenizer and text encoder@@ -25761,6 +25797,109 @@ export type components = {base: "flux2";variant: components["schemas"]["Flux2VariantType"];};+ /**+ * Main_Checkpoint_Ideogram4_Config+ * @description Model config for Ideogram 4 single-file transformer checkpoints (safetensors).+ *+ * One file holds ONE of the two dual-branch transformers. The Qwen3-VL 8B text encoder and the+ * FLUX.2 VAE are separate models, selected on the loader node; the diffusers pipeline folder+ * (``Main_Diffusers_Ideogram4_Config``) is the variant that bundles everything.+ *+ * Quantization: plain bf16/fp16 and ComfyUI "scaled fp8" load. The ``int8_convrot`` and ``nvfp4``+ * repacks of the same files are recognised and rejected with `InvalidMatchError`, which keeps them+ * out of the database entirely -- `NotAMatchError` would let them fall through to `Unknown_Config`+ * and register a 9 GiB file that nothing can ever load.+ */+ Main_Checkpoint_Ideogram4_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 ideogram-4+ * @constant+ */+ base: "ideogram-4";+ /**+ * Format+ * @default checkpoint+ * @constant+ */+ format: "checkpoint";+ /**+ * Branch+ * @description Which of Ideogram 4's two transformer branches this file holds. Read from the file's `model_type` metadata, with the filename as the fallback for stripped re-uploads.+ * @enum {string}+ */+ branch: "conditional" | "unconditional";+ };/*** Main_Checkpoint_Krea2_Config* @description Model config for Krea-2 single-file checkpoint models (safetensors, etc).@@ -32314,7 +32453,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_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_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_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"];};/*** ModelInstallDownloadProgressEvent@@ -32480,7 +32619,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_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_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_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;/*** Inplace* @description Leave model in its current location; otherwise install under models directory@@ -32566,7 +32705,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_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_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_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"];/*** @description The submodel type, if any* @default null@@ -32593,7 +32732,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_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_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_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"];/*** @description The submodel type, if any* @default null@@ -32725,7 +32864,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"]["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"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;/** @description The prediction type of the model. */prediction_type?: components["schemas"]["SchedulerPredictionType"] | null;/**@@ -32820,7 +32959,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_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_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_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"])[];};/*** Multiply Integers@@ -35396,11 +35535,13 @@ export type components = {};/*** Qwen3VLEncoder_Checkpoint_Config- * @description Configuration for a single-file Qwen3-VL text encoder checkpoint (e.g. ComfyUI ``qwen3vl_4b_*``).+ * @description Configuration for a single-file Qwen3-VL text encoder checkpoint (ComfyUI ``qwen3vl_4b_*`` /+ * ``qwen3vl_8b_*``).** Distinguished from the text-only ``Qwen3Encoder`` checkpoint (Z-Image) by the presence of the- * Qwen3-VL visual tower. The tokenizer is not bundled in single-file checkpoints and is pulled from- * HuggingFace (``Qwen/Qwen3-VL-4B-Instruct``) by the loader.+ * Qwen3-VL visual tower. Neither the config nor the tokenizer is bundled in a single-file+ * checkpoint; both are pulled from HuggingFace by the loader, from the repo the recorded variant+ * names.*/Qwen3VLEncoder_Checkpoint_Config: {/**@@ -35478,6 +35619,8 @@ export type components = {* @constant*/format: "checkpoint";+ /** @description Which Qwen3-VL encoder this is. The consuming architecture is fixed: Krea-2 needs the 4B, Ideogram 4 the 8B, and the two are not interchangeable. */+ variant: components["schemas"]["Qwen3VLVariantType"];/*** Cpu Only* @description Whether this model should run on CPU only@@ -35495,8 +35638,8 @@ export type components = {* bf16/int8-convrot repacks quantize only the 50 language layers (vision tower stays bf16).** Identified primarily by the explicit ``minimax_h3_te`` safetensors metadata; a structural- * fallback covers metadata-stripped re-uploads. Krea-2's ``Qwen3VLEncoder_Checkpoint_Config``- * is locked to the 4B shape (hidden 2560), so neither config can claim the other's files.+ * fallback covers metadata-stripped re-uploads. ``Qwen3VLEncoder_Checkpoint_Config`` accepts only+ * the two widths it can build (2560 and 4096), so neither config can claim the other's files.** The nvfp4 repacks share this layout and are accepted here, but the loader rejects their* quantization format early (header-only check) with a clear error - mirroring how the H3@@ -35583,10 +35726,10 @@ export type components = {* Qwen3VLEncoder_Qwen3VLEncoder_Config* @description Configuration for standalone Qwen3-VL text encoder models (diffusers-like directory format).*- * Used by Krea-2, whose text conditioning comes from a Qwen3-VL model (``Qwen3VLModel``). The model- * weights are expected either in a ``text_encoder`` subfolder of the model directory or directly at the- * root (standalone download). This is distinct from the text-only ``Qwen3Encoder`` (Z-Image / FLUX.2- * Klein) and the Qwen2.5-VL ``QwenVLEncoder`` (Qwen Image).+ * Used by Krea-2 (4B) and Ideogram 4 (8B), whose text conditioning comes from a Qwen3-VL model+ * (``Qwen3VLModel``). The model weights are expected either in a ``text_encoder`` subfolder of the+ * model directory or directly at the root (standalone download). This is distinct from the text-only+ * ``Qwen3Encoder`` (Z-Image / FLUX.2 Klein) and the Qwen2.5-VL ``QwenVLEncoder`` (Qwen Image).*/Qwen3VLEncoder_Qwen3VLEncoder_Config: {/**@@ -35659,12 +35802,24 @@ export type components = {* @constant*/format: "qwen3_vl_encoder";+ /** @description Which Qwen3-VL encoder this is. The consuming architecture is fixed: Krea-2 needs the 4B, Ideogram 4 the 8B, and the two are not interchangeable. */+ variant: components["schemas"]["Qwen3VLVariantType"];/*** Cpu Only* @description Whether this model should run on CPU only*/cpu_only: boolean | null;};+ /**+ * Qwen3VLVariantType+ * @description Qwen3-VL (vision-language) text encoder variants, by language-model width.+ *+ * Separate from `Qwen3VariantType`: those are the text-only Qwen3 encoders (Z-Image, FLUX.2+ * Klein). The VL models carry a visual tower and are not interchangeable with them, and the two+ * families do not even share widths at the same parameter count.+ * @enum {string}+ */+ Qwen3VLVariantType: "qwen3_vl_4b" | "qwen3_vl_8b";/*** Qwen3VariantType* @description Qwen3 text encoder variants based on model size.@@ -39424,7 +39579,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"]["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"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;/*** Is Installed* @default false@@ -39469,7 +39624,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"]["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"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;/*** Is Installed* @default false@@ -40163,7 +40318,7 @@ export type components = {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"]["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"]["MistralVariantType"] | components["schemas"]["PiDDecoderVariantType"] | null;};/*** Subtract Integers@@ -47705,7 +47860,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_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_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_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"];};};/** @description Validation Error */@@ -47737,7 +47892,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_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_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_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"];};};/** @description Validation Error */@@ -47789,7 +47944,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_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_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_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"];};};/** @description Bad request */@@ -47903,7 +48058,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_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_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_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"];};};/** @description Bad request */@@ -47976,7 +48131,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_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_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_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"];};};/** @description Bad request */@@ -48735,7 +48890,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_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_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_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"];};};/** @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.jsonindex a9be598108..3c0efe71f4 100644--- a/invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json+++ b/invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json@@ -472,7 +472,14 @@"cpu_only": null,"fp8_storage": null},- "vae": null+ "vae": {+ "accepted": [+ {+ "base": "flux2",+ "latent_channels": null+ }+ ]+ }},{"base": "krea-2",diff --git a/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.json b/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.jsonindex 42ef8d8eb5..3a0a0e2f22 100644--- a/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.json+++ b/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.json@@ -188,7 +188,11 @@"ideogram-4": {"componentsFilled": {"diffusers": [],- "standalone-components": []+ "standalone-components": [+ "ideogram4UnconditionalModel",+ "qwen3VLEncoderModel",+ "vae"+ ]},"nodeTypes": ["core_metadata",@@ -550,6 +554,7 @@"ideogram4_sampler_preset": ["V4_QUALITY_48"],+ "ideogram4_unconditional_model": [],"is_intermediate": [true],@@ -1013,7 +1018,8 @@"inputs": ["positive_conditioning","seed",- "transformer"+ "transformer",+ "unconditional_transformer"],"literalInputs": {"height": [@@ -1059,13 +1065,17 @@true],"model": [],+ "qwen3_vl_encoder_model": [],+ "unconditional_model": [],"use_cache": [true- ]+ ],+ "vae_model": []},"outputs": ["qwen3_encoder","transformer",+ "unconditional_transformer","vae"]},diff --git a/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.test.ts b/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.test.tsindex 0e943f9d3b..53b081b3cb 100644--- a/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.test.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.test.ts@@ -31,6 +31,7 @@ import {getPromptPolicy,getSettingsWithModelDefaults,isReferenceImageSupported,+ isGenerateModelSelectable,isSupportedGenerateModel,} from './baseGenerationPolicies';import { SUPPORTED_GENERATE_BASES } from './supportedBases';@@ -271,6 +272,59 @@ describe('architecture policy, read from the backend capability table', () => {// `type === 'external_image_generator'`, not by having an architecture row.expect(isSupportedGenerateModel(createModel('external'))).toBe(false);});++ // Read the way the architecture suite reads sources; `node:fs` is not typed for this project.+ const SOURCES = import.meta.glob(+ [+ '../../../workbench/palette/paletteProviders.ts',+ '../ui/GenerateWidgetView.tsx',+ '../ui/GenerateModelCard.tsx',+ './resolveGenerateWidgetValues.ts',+ ],+ { eager: true, import: 'default', query: '?raw' }+ ) as Record<string, string>;++ describe('isGenerateModelSelectable', () => {+ const unconditional = createModel('ideogram-4', { branch: 'unconditional', format: 'checkpoint' });+ const conditional = createModel('ideogram-4', { branch: 'conditional', format: 'checkpoint' });++ it('keeps a model that cannot run on its own out of every picker', () => {+ // Ideogram 4's unconditional branch is the thing the conditional one is guided against. It is+ // a `main` model on a generatable base, so the loose predicate accepts it and the user can+ // assemble a complete-looking selection that the backend refuses at enqueue.+ expect(isSupportedGenerateModel(unconditional)).toBe(true);+ expect(isGenerateModelSelectable(unconditional)).toBe(false);++ expect(isGenerateModelSelectable(conditional)).toBe(true);+ expect(isGenerateModelSelectable(createModel('ideogram-4', { format: 'diffusers' }))).toBe(true);+ // Wan's low-noise expert is deliberately still selectable: without it the high-noise expert+ // runs the whole schedule and still produces a video.+ expect(isGenerateModelSelectable(createModel('wan', { variant: 'a14b' }))).toBe(true);+ });++ it('is what every path that offers or picks a model filters with', () => {+ // The exclusion is only worth anything where models are *chosen*. `GenerateModelCard` had it+ // and the palette, the widget fallback and the default resolver did not, so the same dead end+ // stayed reachable — the resolver worst of all, since the user never picks that model.+ //+ // Asserted on the call, not on the identifier: an earlier version of this test looked for the+ // name anywhere in the file and passed with the filter reverted, because the import line+ // still mentioned it. The default resolver additionally has a behavioural test of its own.+ const callSites = {+ '../../../workbench/palette/paletteProviders.ts': '.filter(isGenerateModelSelectable)',+ './resolveGenerateWidgetValues.ts': 'models.filter(isGenerateModelSelectable)',+ '../ui/GenerateWidgetView.tsx': 'models.filter(isGenerateModelSelectable)',+ '../ui/GenerateModelCard.tsx': 'isGenerateModelSelectable(model)',+ };++ for (const [path, call] of Object.entries(callSites)) {+ const source = SOURCES[path];++ expect(source, `${path} is not in the source glob`).toBeTypeOf('string');+ expect(source, `${path} must select models with isGenerateModelSelectable`).toContain(call);+ }+ });+ });});describe('component policies', () => {@@ -1060,6 +1114,7 @@ describe('Krea-2, Ideogram 4 and Wan policies', () => {key: 'qwen3-vl',name: 'Qwen3-VL',type: 'qwen3_vl_encoder',+ variant: 'qwen3_vl_4b',};const wanVae: VaeModelConfig = { base: 'wan', key: 'wan-vae', latent_channels: 16, name: 'Wan VAE', type: 'vae' };const wanT5Encoder: ComponentModelConfig = { base: 'any', key: 'wan-t5', name: 'Wan T5', type: 'wan_t5_encoder' };@@ -1082,7 +1137,9 @@ describe('Krea-2, Ideogram 4 and Wan policies', () => {// `steps` is ge=2 (the node keeps a polish step and a main step) and `mu` is ge=-4/le=4 -- the// mu control used to offer 0..10, so more than half its track was rejected at enqueue and the// whole negative half was unreachable.- const model = createModel('ideogram-4');+ // Diffusers: this is about the numeric ranges, and a single-file main would also report its+ // unfilled component slots.+ const model = createModel('ideogram-4', { format: 'diffusers' });expect(getGenerationValidationReasons(model, createSettings(model, { ideogram4Steps: 1 }))).toContain('Ideogram 4 steps must be between 2 and 100.'diff --git a/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.ts b/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.tsindex 064aab6f32..92ccc39081 100644--- a/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.ts@@ -37,6 +37,9 @@ import {isFlux2DiffusersSourceForModel,isFlux2MistralEncoder,isFlux2Qwen3EncoderForModel,+ isIdeogram4Qwen3VlEncoder,+ isIdeogram4UnconditionalBranch,+ isKrea2Qwen3VlEncoder,isNonAnimaQwen3Encoder,isSelfContainedSDNQFlux1Pipeline,isSelfContainedSDNQPipeline,@@ -461,7 +464,24 @@ export const isSupportedGenerateModel = <T extends { base: string; type: string(model.type === 'main' && isSupportedGenerateBase(model.base)) ||(model.type === 'external_image_generator' && model.base === 'external');-export const isGenerateModelSelectable = <T extends ModelConfig>(model: T): boolean => isSupportedGenerateModel(model);+/**+ * Whether a model can be picked as *the* model to generate with.+ *+ * Narrower than `isSupportedGenerateModel`, which answers whether Generate understands the base at+ * all: Ideogram 4's unconditional branch is a `main` model of a supported base and can never run on+ * its own -- it is the thing the conditional branch is guided against, and it fills a component+ * slot. Offering it in the main picker would let a user assemble a complete-looking selection that+ * the backend refuses at enqueue. (Wan's low-noise expert is deliberately not excluded here: it is+ * a second expert of a model that still generates without it.)+ *+ * Every path that *offers or picks* a model uses this one: the picker, the command palette, and the+ * resolver that chooses a default when a project has no usable stored model -- that last one being+ * the worst place to land on an unrunnable model, since the user never chose it. Paths that merely+ * *look up* a model already selected (recall, save, the presets popover) keep using+ * `isSupportedGenerateModel`; narrowing those would make an already-chosen model unrenderable.+ */+export const isGenerateModelSelectable = <T extends ModelConfig>(model: T): model is T & GenerateModelConfig =>+ isSupportedGenerateModel(model) && !isIdeogram4UnconditionalBranch(model);/** Pure prompt-history recall patch shared by keyboard and palette entry points. */export const getPromptHistoryRecallPatch = ({@@ -568,6 +588,7 @@ export const getDefaultGenerateSettings = (model?: GenerateModelConfig): GeneratqwenVLEncoderModel: null,qwen3VLEncoderModel: null,wanT5EncoderModel: null,+ ideogram4UnconditionalModel: null,wanLowNoiseModel: null,wanGuidanceScaleLowNoise: null,ideogram4SamplerPreset: DEFAULT_IDEOGRAM4_SAMPLER_PRESET,@@ -636,6 +657,7 @@ export type GenerateComponentValueKey =| 'qwen3VLEncoderModel'| 'wanT5EncoderModel'| 'wanLowNoiseModel'+ | 'ideogram4UnconditionalModel'| 'componentSourceModel'| 'pidDecoderModel'| 'gemma2EncoderModel'@@ -730,14 +752,14 @@ const qwenVlEncoderSlot = (helpText: string): ComponentSlotPolicy =>filter: (candidate) => candidate.type === 'qwen_vl_encoder',});-const qwen3VlEncoderSlot = (helpText: string): ComponentSlotPolicy =>+const qwen3VlEncoderSlot = (helpText: string, filter: GenerateComponentFilter): ComponentSlotPolicy =>slot({key: 'qwen3VLEncoderModel',label: 'Qwen3-VL Encoder',modelTypes: TYPE_QWEN3_VL,valueKind: 'component',helpText,- filter: (candidate) => candidate.type === 'qwen3_vl_encoder',+ filter,});/**@@ -800,6 +822,20 @@ const wanLowNoiseSlot = (helpText: string): ComponentSlotPolicy =>filter: (candidate) => candidate.type === 'main' && candidate.base === 'wan',});+/**+ * Ideogram 4's second transformer. Unlike Wan's low-noise expert this is not optional where it+ * applies: both branches run at every step, so a single-file main cannot generate without it.+ */+const ideogram4UnconditionalSlot = (helpText: string): ComponentSlotPolicy =>+ slot({+ key: 'ideogram4UnconditionalModel',+ label: 'Transformer (Unconditional)',+ modelTypes: TYPE_MAIN,+ valueKind: 'main',+ helpText,+ filter: isIdeogram4UnconditionalBranch,+ });+const qwen3EncoderSlot = (helpText: string, filter?: GenerateComponentFilter): ComponentSlotPolicy =>slot({key: 'qwen3EncoderModel',@@ -1064,11 +1100,42 @@ const getBaseComponentSectionPolicy = (missingMessage: 'Generate needs a VAE for non-Diffusers Krea-2 models.',},{- ...qwen3VlEncoderSlot('Required for non-Diffusers Krea-2 models.'),+ ...qwen3VlEncoderSlot('Required for non-Diffusers Krea-2 models.', isKrea2Qwen3VlEncoder),required: (ctx) => ctx.model.format !== 'diffusers',missingMessage: 'Generate needs a Qwen3-VL Encoder for non-Diffusers Krea-2 models.',},]);+ case 'ideogram-4':+ // Comfy-Org's single files hold one transformer branch each, so a checkpoint main needs the+ // other branch, the Qwen3-VL 8B encoder and the VAE. A diffusers pipeline bundles all three.+ return createPolicy(model.format !== 'diffusers', [+ {+ ...ideogram4UnconditionalSlot(+ 'The second transformer branch. Required for single-file Ideogram 4 models, which hold ' ++ 'only the conditional branch.'+ ),+ required: (ctx) => ctx.model.format !== 'diffusers',+ missingMessage: 'Generate needs the unconditional transformer for single-file Ideogram 4 models.',+ },+ {+ ...qwen3VlEncoderSlot(+ 'Ideogram 4 conditions on the Qwen3-VL 8B encoder, not the 4B one Krea-2 uses. Required ' ++ 'for non-Diffusers Ideogram 4 models.',+ isIdeogram4Qwen3VlEncoder+ ),+ required: (ctx) => ctx.model.format !== 'diffusers',+ missingMessage: 'Generate needs a Qwen3-VL 8B Encoder for non-Diffusers Ideogram 4 models.',+ },+ {+ ...vaeSlot(+ 'Ideogram 4 decodes with the 32-channel FLUX.2 VAE, which is the base it installs under. ' ++ 'Required for non-Diffusers Ideogram 4 models.',+ isAcceptedVae+ ),+ required: (ctx) => ctx.model.format !== 'diffusers',+ missingMessage: 'Generate needs a VAE for non-Diffusers Ideogram 4 models.',+ },+ ]);case 'wan':// A GGUF Wan main carries only the transformer; the VAE and UMT5-XXL encoder must come// from standalone models or a Diffusers component source.@@ -1151,6 +1218,7 @@ const getComponentPolicyContext = (model: GenerateModelConfig, settings: Generatqwen3VLEncoderModel: settings.qwen3VLEncoderModel,wanT5EncoderModel: settings.wanT5EncoderModel,wanLowNoiseModel: settings.wanLowNoiseModel,+ ideogram4UnconditionalModel: settings.ideogram4UnconditionalModel,t5EncoderModel: settings.t5EncoderModel,pidDecoderModel: settings.pidDecoderModel,gemma2EncoderModel: settings.gemma2EncoderModel,@@ -1168,6 +1236,7 @@ const COMPONENT_SETTING_LABELS: Record<GenerateComponentValueKey, string> = {qwen3VLEncoderModel: 'Qwen3-VL Encoder',wanT5EncoderModel: 'Wan T5 Encoder',wanLowNoiseModel: 'Low-noise expert',+ ideogram4UnconditionalModel: 'Transformer (Unconditional)',t5EncoderModel: 'T5 Encoder',pidDecoderModel: 'PiD Decoder',gemma2EncoderModel: 'Gemma-2 Encoder',diff --git a/invokeai/frontend/webv2/src/features/generation/core/componentCompatibility.ts b/invokeai/frontend/webv2/src/features/generation/core/componentCompatibility.tsindex 19ba42b397..93491e1008 100644--- a/invokeai/frontend/webv2/src/features/generation/core/componentCompatibility.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/componentCompatibility.ts@@ -4,6 +4,8 @@ import { getArchitectureCapabilityRow } from './architectureCapabilities';export type GenerateComponentCandidate = {base: string;+ /** Which Ideogram 4 transformer branch a single file holds. Only `ideogram-4` mains carry it. */+ branch?: unknown;format?: string;key?: string;/** VAE latent width. Only `wan` ships more than one, and its two are different decoders. */@@ -75,6 +77,27 @@ export const isAnimaQwen3Encoder: GenerateComponentFilter = (model) =>export const isNonAnimaQwen3Encoder: GenerateComponentFilter = (model) =>model.type === 'qwen3_encoder' && model.variant !== 'qwen3_06b';+/**+ * The two Qwen3-VL encoders install under one model type and are not interchangeable: Krea-2 needs+ * the 4B (hidden 2560), Ideogram 4 the 8B, whose 13 tapped layers make a 53248-wide feature vector.+ * Offering the wrong one produces a shape mismatch inside the first denoising step.+ */+export const isKrea2Qwen3VlEncoder: GenerateComponentFilter = (model) =>+ model.type === 'qwen3_vl_encoder' && model.variant === 'qwen3_vl_4b';++export const isIdeogram4Qwen3VlEncoder: GenerateComponentFilter = (model) =>+ model.type === 'qwen3_vl_encoder' && model.variant === 'qwen3_vl_8b';++/**+ * Ideogram 4's unconditional branch. Only a single file can be one: a diffusers pipeline holds both+ * branches, and the conditional file is the one selected as the main model.+ */+export const isIdeogram4UnconditionalBranch: GenerateComponentFilter = (model) =>+ model.type === 'main' &&+ model.base === 'ideogram-4' &&+ model.format === 'checkpoint' &&+ model.branch === 'unconditional';+export const isFlux2MistralEncoder: GenerateComponentFilter = (model) => model.type === 'mistral_encoder';export const isFlux2Qwen3EncoderForModel = (selectedModel: GenerateModelConfig): GenerateComponentFilter => {diff --git a/invokeai/frontend/webv2/src/features/generation/core/graph.test.ts b/invokeai/frontend/webv2/src/features/generation/core/graph.test.tsindex 58adc473d8..d084068ec5 100644--- a/invokeai/frontend/webv2/src/features/generation/core/graph.test.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/graph.test.ts@@ -772,6 +772,30 @@ describe('Krea-2, Ideogram 4 and Wan graphs', () => {name: 'Ideogram 4',type: 'main',};+ const ideogram4Conditional: MainModelConfig = {+ base: 'ideogram-4',+ branch: 'conditional',+ format: 'checkpoint',+ key: 'ideogram4-cond',+ name: 'Ideogram 4 (single file)',+ type: 'main',+ };+ const ideogram4Unconditional: MainModelConfig = {+ base: 'ideogram-4',+ branch: 'unconditional',+ format: 'checkpoint',+ key: 'ideogram4-uncond',+ name: 'Ideogram 4 Unconditional (single file)',+ type: 'main',+ };+ const ideogram4Vae: VaeModelConfig = { base: 'flux2', key: 'flux2-vae', name: 'FLUX.2 VAE', type: 'vae' };+ const qwen3Vl8bEncoder: ComponentModelConfig = {+ base: 'any',+ key: 'qwen3-vl-8b',+ name: 'Qwen3-VL 8B',+ type: 'qwen3_vl_encoder',+ variant: 'qwen3_vl_8b',+ };const wanDiffusers: MainModelConfig = {base: 'wan',format: 'diffusers',@@ -786,6 +810,7 @@ describe('Krea-2, Ideogram 4 and Wan graphs', () => {key: 'qwen3-vl',name: 'Qwen3-VL',type: 'qwen3_vl_encoder',+ variant: 'qwen3_vl_4b',};const wanLowNoise: MainModelConfig = {base: 'wan',@@ -916,6 +941,49 @@ describe('Krea-2, Ideogram 4 and Wan graphs', () => {});});+ it('wires both Ideogram 4 branches and its standalone components for a single-file transformer', () => {+ // Every step runs both branches, so a single-file main that reached denoise without the second+ // one would fail at the node -- the loader emits it and the builder must connect it.+ const graph = compile(ideogram4Conditional, {+ ideogram4UnconditionalModel: ideogram4Unconditional,+ qwen3VLEncoderModel: qwen3Vl8bEncoder,+ vae: ideogram4Vae,+ });++ expect(graph.nodes.model_loader).toMatchObject({+ qwen3_vl_encoder_model: qwen3Vl8bEncoder,+ unconditional_model: ideogram4Unconditional,+ vae_model: ideogram4Vae,+ });+ expect(getEdge(graph, 'denoise_latents', 'unconditional_transformer')?.source).toMatchObject({+ field: 'unconditional_transformer',+ node_id: 'model_loader',+ });+ // Two files made the image; recording one of them would not identify what ran.+ expect(getNodeByType(graph, 'core_metadata')).toMatchObject({+ ideogram4_unconditional_model: ideogram4Unconditional,+ qwen3_vl_encoder: qwen3Vl8bEncoder,+ });+ });++ it('drops a component selection that does not suit the Ideogram 4 model about to run', () => {+ // Component settings survive a main-model switch and an optional slot is never validated, so a+ // Krea-2 4B encoder left over from an earlier session used to be forwarded as an override and+ // then rejected by the loader node — breaking a bundled pipeline that needs no components.+ const graph = compile(ideogram4Model, { qwen3VLEncoderModel: qwen3VlEncoder });++ expect(graph.nodes.model_loader?.qwen3_vl_encoder_model).toBeUndefined();+ });++ it('leaves the Ideogram 4 unconditional input unconnected for a diffusers pipeline', () => {+ // That pipeline's Transformer submodel is both branches; connecting a second one is an error+ // on the node, not a no-op.+ const graph = compile(ideogram4Model);++ expect(getEdge(graph, 'denoise_latents', 'unconditional_transformer')).toBeUndefined();+ expect(graph.nodes.model_loader?.unconditional_model).toBeUndefined();+ });+it('forwards the Ideogram 4 color palette to the caption builder', () => {const graph = compile(ideogram4Model, { ideogram4ColorPalette: ['teal', 'ochre'] });diff --git a/invokeai/frontend/webv2/src/features/generation/core/graph.ts b/invokeai/frontend/webv2/src/features/generation/core/graph.tsindex 09c12d8ca0..93de9ff74d 100644--- a/invokeai/frontend/webv2/src/features/generation/core/graph.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/graph.ts@@ -33,9 +33,12 @@ import {isBundledMainForBase,isFlux2MistralEncoder,isFlux2Qwen3EncoderForModel,+ isIdeogram4Qwen3VlEncoder,+ isKrea2Qwen3VlEncoder,isNonAnimaQwen3Encoder,isSelfContainedSDNQFlux1Pipeline,isVaeCompatibleWithGenerateModel,+ type GenerateComponentFilter,} from './componentCompatibility';import {addEdge,@@ -59,6 +62,19 @@ const getCompatibleComponentSource = (const getCompatibleVae = (settings: GenerateSettings, model: MainModelConfig) =>settings.vae && isVaeCompatibleWithGenerateModel(model, settings.vae) ? settings.vae : null;+/**+ * A component selection is only sent when it suits the model that is about to run.+ *+ * Component settings survive a main-model switch, and an optional slot is not validated at all+ * (`validateSlots` returns early for one), so a selection made for another architecture would+ * otherwise be forwarded as an override and rejected by the loader node — turning a bundled+ * pipeline that needs no components into a failed enqueue.+ */+const getCompatibleComponent = (+ component: ComponentModelConfig | null,+ filter: GenerateComponentFilter+): ComponentModelConfig | null => (component && filter(component) ? component : null);+const toImageField = (image: GenerateReferenceImageAsset) => ({image_name: getEffectiveReferenceImage(image).image_name,});@@ -1188,7 +1204,7 @@ const buildKrea2Graph = (// carries them, and the loader extracts them when these are omitted.const isDiffusers = model.format === 'diffusers';const vaeModel = getCompatibleVae(settings, model);- const qwen3VlEncoderModel = settings.qwen3VLEncoderModel;+ const qwen3VlEncoderModel = getCompatibleComponent(settings.qwen3VLEncoderModel, isKrea2Qwen3VlEncoder);if (!isDiffusers) {requireComponent(vaeModel, 'Krea-2 VAE');@@ -1270,10 +1286,30 @@ const buildIdeogram4Graph = (outputIsIntermediate: boolean,projectSettings: GenerationProjectSettings): BackendGraphContract => {+ // A single-file Ideogram 4 main is one of two transformer branches and carries neither encoder+ // nor VAE, so all three are selected as components. A diffusers pipeline bundles them.+ const isDiffusers = model.format === 'diffusers';+ const unconditionalModel = settings.ideogram4UnconditionalModel;+ const qwen3VlEncoderModel = getCompatibleComponent(settings.qwen3VLEncoderModel, isIdeogram4Qwen3VlEncoder);+ const vaeModel = getCompatibleVae(settings, model);++ if (!isDiffusers) {+ requireComponent(unconditionalModel, 'Ideogram 4 unconditional transformer');+ requireComponent(qwen3VlEncoderModel, 'Qwen3-VL Encoder');+ requireComponent(vaeModel, 'Ideogram 4 VAE');+ }+const graph: BackendGraphContract = { edges: [], id: createId('ideogram4_graph'), nodes: {} };// Ideogram 4 is positive-only: there is no negative conditioning input on its denoise node.const { positivePrompt, seed } = addPromptAndSeedNodes(graph);- const modelLoader = addNode(graph, { id: 'model_loader', model, type: 'ideogram4_model_loader' });+ const modelLoader = addNode(graph, {+ id: 'model_loader',+ model,+ qwen3_vl_encoder_model: qwen3VlEncoderModel ?? undefined,+ type: 'ideogram4_model_loader',+ unconditional_model: isDiffusers ? undefined : (unconditionalModel ?? undefined),+ vae_model: vaeModel ?? undefined,+ });// The caption builder turns the prompt (plus optional colour terms) into Ideogram's own// caption format before encoding.const captionBuilder = addNode(graph, {@@ -1297,6 +1333,11 @@ const buildIdeogram4Graph = (const output = addImageOutputNode(graph, 'ideogram4_l2i', outputIsIntermediate);addEdge(graph, modelLoader, 'transformer', denoise, 'transformer');+ if (!isDiffusers) {+ // Only a single-file main emits a second branch; connecting it for a bundled pipeline is an+ // error on the node, because that pipeline's Transformer submodel already holds both.+ addEdge(graph, modelLoader, 'unconditional_transformer', denoise, 'unconditional_transformer');+ }addEdge(graph, modelLoader, 'qwen3_encoder', posCond, 'qwen3_encoder');addEdge(graph, modelLoader, 'vae', output, 'vae');addEdge(graph, positivePrompt, 'value', captionBuilder, 'prompt');@@ -1310,6 +1351,11 @@ const buildIdeogram4Graph = (ideogram4_mu: settings.ideogram4Mu ?? undefined,ideogram4_sampler_preset: settings.ideogram4SamplerPreset,ideogram4_steps: settings.ideogram4Steps ?? undefined,+ // Two files made this image, so recording only the main model would not identify what ran —+ // the same reason `minimax_h3_transformer_model` exists.+ ideogram4_unconditional_model: isDiffusers ? undefined : (unconditionalModel ?? undefined),+ qwen3_vl_encoder: qwen3VlEncoderModel ?? undefined,+ vae: vaeModel ?? undefined,});return graph;diff --git a/invokeai/frontend/webv2/src/features/generation/core/graphCoverage.test.ts b/invokeai/frontend/webv2/src/features/generation/core/graphCoverage.test.tsindex 46f9de3931..b61ee3b338 100644--- a/invokeai/frontend/webv2/src/features/generation/core/graphCoverage.test.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/graphCoverage.test.ts@@ -69,6 +69,12 @@ const DEFAULT_SHAPES: readonly ModelShape[] = [* `SUPPORTED_GENERATE_BASES` below, so a renamed or removed base cannot leave a stale entry here.*/const SHAPE_OVERRIDES: Partial<Record<SupportedGenerateBase, readonly ModelShape[]>> = {+ // Ideogram 4 has no GGUF build: its standalone shape is Comfy-Org's single-file checkpoint, and+ // the main model is always the conditional branch -- the other one fills a component slot.+ 'ideogram-4': [+ { label: 'diffusers', overrides: { format: 'diffusers' } },+ { label: 'standalone-components', overrides: { branch: 'conditional', format: 'checkpoint' } },+ ],// The two FLUX.2 lines take different encoders: [dev] wants Mistral, Klein wants a Qwen3 whose// variant is pinned to the Klein size by KLEIN_TO_QWEN3_VARIANT.flux2: [@@ -99,7 +105,11 @@ const CANDIDATE_VARIANTS = ['dev','klein_4b','klein_9b',+ 'qwen3_vl_4b',+ 'qwen3_vl_8b',] as const;+/** Ideogram 4's two transformer branches; every other main leaves the field unset. */+const CANDIDATE_BRANCHES = [undefined, 'conditional', 'unconditional'] as const;/** VAE widths. A served row can constrain the width as well as the base -- Wan ships 16 and 48. */const CANDIDATE_LATENT_CHANNELS = [undefined, 16, 48] as const;@@ -110,17 +120,22 @@ const candidatesForSlot = (slot: ComponentSlotPolicy): ModelIdentifierConfig[] =for (const base of CANDIDATE_BASES) {for (const variant of CANDIDATE_VARIANTS) {for (const latentChannels of type === 'vae' ? CANDIDATE_LATENT_CHANNELS : [undefined]) {- candidates.push({- base,- // A component source is a main model, and only a bundled one can stand in for the slots- // it satisfies — `isDiffusersMainForBase` and `isBundledMainForBase` both demand it.- format: slot.valueKind === 'main' ? 'diffusers' : undefined,- key: `${base}-${type}-${variant ?? 'novariant'}${latentChannels ? `-${latentChannels}` : ''}`,- name: `${base} ${type} ${variant ?? ''}`.trim(),- type,- variant: variant ?? null,- ...(latentChannels ? { latent_channels: latentChannels } : {}),- });+ for (const branch of type === 'main' ? CANDIDATE_BRANCHES : [undefined]) {+ candidates.push({+ base,+ // A component source is a main model, and only a bundled one can stand in for the+ // slots it satisfies — `isDiffusersMainForBase` and `isBundledMainForBase` both+ // demand it. A branch, on the other hand, only exists on a single file, and its+ // slot's filter says so, so the two main-model slots need different formats.+ format: slot.valueKind === 'main' ? (branch ? 'checkpoint' : 'diffusers') : undefined,+ key: `${base}-${type}-${variant ?? 'novariant'}${latentChannels ? `-${latentChannels}` : ''}${branch ? `-${branch}` : ''}`,+ name: `${base} ${type} ${variant ?? ''} ${branch ?? ''}`.trim(),+ type,+ variant: variant ?? null,+ ...(branch ? { branch } : {}),+ ...(latentChannels ? { latent_channels: latentChannels } : {}),+ });+ }}}}diff --git a/invokeai/frontend/webv2/src/features/generation/core/resolveGenerateWidgetValues.test.ts b/invokeai/frontend/webv2/src/features/generation/core/resolveGenerateWidgetValues.test.tsindex bacfff6cd5..215bad3d31 100644--- a/invokeai/frontend/webv2/src/features/generation/core/resolveGenerateWidgetValues.test.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/resolveGenerateWidgetValues.test.ts@@ -50,6 +50,28 @@ describe('resolveGenerateWidgetValues', () => {).toBeNull();});+ it('never defaults to a model that cannot run on its own', () => {+ // Ideogram 4's unconditional branch is a `main` model on a generatable base, so it sorts into+ // the catalog like any other. Landing on it here is the worst version of that: the user never+ // picked it, and the component section it opens with can only ever be filled with itself.+ const unconditional = createModel('ideogram4-uncond', {+ base: 'ideogram-4',+ branch: 'unconditional',+ format: 'checkpoint',+ });+ const conditional = createModel('ideogram4-cond', {+ base: 'ideogram-4',+ branch: 'conditional',+ format: 'checkpoint',+ });++ const result = resolveGenerateWidgetValues({ models: [unconditional, conditional], storedValues: {} });++ expect(result?.values.model.key).toBe('ideogram4-cond');+ // And with nothing else installed there is no default to fall back to at all.+ expect(resolveGenerateWidgetValues({ models: [unconditional], storedValues: {} })).toBeNull();+ });+it('creates canonical defaults for the first supported model', () => {const unsupported = { base: 'sdxl', key: 'control', name: 'ControlNet', type: 'controlnet' };const first = createModel('first');diff --git a/invokeai/frontend/webv2/src/features/generation/core/resolveGenerateWidgetValues.ts b/invokeai/frontend/webv2/src/features/generation/core/resolveGenerateWidgetValues.tsindex 08e67b2584..fe0e2e8ec4 100644--- a/invokeai/frontend/webv2/src/features/generation/core/resolveGenerateWidgetValues.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/resolveGenerateWidgetValues.ts@@ -9,7 +9,7 @@ import {getAutoFlux2ComponentSourceModel,getDefaultGenerateSettings,isArchitectureDescribed,- isSupportedGenerateModel,+ isGenerateModelSelectable,} from './baseGenerationPolicies';import { syncPromptTemplateWithCatalog } from './promptTemplates';import {@@ -81,7 +81,7 @@ export const resolveGenerateWidgetValues = ({// grid, optimal size, steps and scheduler, and this resolver's patch is persisted. Selecting a// base the served table omits would write `FALLBACK_GENERATION_CONFIG` into the project file --// the same reason the whole resolver waits for the table in the first place.- const supportedModels = models.filter(isSupportedGenerateModel).filter(isArchitectureDescribed);+ const supportedModels = models.filter(isGenerateModelSelectable).filter(isArchitectureDescribed);if (supportedModels.length === 0) {return null;diff --git a/invokeai/frontend/webv2/src/features/generation/core/settings.ts b/invokeai/frontend/webv2/src/features/generation/core/settings.tsindex 6f6c9ad784..a1a32646c9 100644--- a/invokeai/frontend/webv2/src/features/generation/core/settings.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/settings.ts@@ -486,6 +486,7 @@ export const cloneGenerateWidgetValues = (qwen3VLEncoderModel: values.qwen3VLEncoderModel ? { ...values.qwen3VLEncoderModel } : null,wanT5EncoderModel: values.wanT5EncoderModel ? { ...values.wanT5EncoderModel } : null,wanLowNoiseModel: values.wanLowNoiseModel ? { ...values.wanLowNoiseModel } : null,+ ideogram4UnconditionalModel: values.ideogram4UnconditionalModel ? { ...values.ideogram4UnconditionalModel } : null,ideogram4ColorPalette: [...values.ideogram4ColorPalette],referenceImages: cloneReferenceImages(values.referenceImages),t5EncoderModel: values.t5EncoderModel ? { ...values.t5EncoderModel } : null,@@ -787,6 +788,7 @@ export const normalizeGenerateSettings = (values: unknown): GenerateSettings | nqwen3VLEncoderModel: getModelIdentifierOrNull(values.qwen3VLEncoderModel),wanT5EncoderModel: getModelIdentifierOrNull(values.wanT5EncoderModel),wanLowNoiseModel: getMainModelOrNull(values.wanLowNoiseModel),+ ideogram4UnconditionalModel: getMainModelOrNull(values.ideogram4UnconditionalModel),componentSourceModel: getMainModelOrNull(values.componentSourceModel),wanGuidanceScaleLowNoise: getOptionalNumber(values.wanGuidanceScaleLowNoise),ideogram4SamplerPreset: isIdeogram4SamplerPreset(values.ideogram4SamplerPreset)diff --git a/invokeai/frontend/webv2/src/features/generation/core/types.ts b/invokeai/frontend/webv2/src/features/generation/core/types.tsindex a9e5c80178..23bbfc5bac 100644--- a/invokeai/frontend/webv2/src/features/generation/core/types.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/types.ts@@ -224,6 +224,11 @@ export interface GenerateSettings {* high-noise expert runs the whole schedule, which still produces an image at lower quality.*/wanLowNoiseModel: MainModelConfig | null;+ /**+ * Ideogram 4's unconditional transformer branch. Required with a single-file main, which holds+ * only the conditional branch; null for a diffusers pipeline, which bundles both.+ */+ ideogram4UnconditionalModel: MainModelConfig | null;/** Optional Diffusers main model used as a component source for split/quantized model families. */componentSourceModel: MainModelConfig | null;/** Guidance for the low-noise half of a Wan A14B schedule; null reuses `cfgScale`. */diff --git a/invokeai/frontend/webv2/src/features/generation/settings.ts b/invokeai/frontend/webv2/src/features/generation/settings.tsindex cfd82781cb..defd2c6e68 100644--- a/invokeai/frontend/webv2/src/features/generation/settings.ts+++ b/invokeai/frontend/webv2/src/features/generation/settings.ts@@ -49,6 +49,7 @@ export {getPromptHistoryRecallPatch,getSettingsWithModelDefaults,isArchitectureDescribed,+ isGenerateModelSelectable,isKnownScheduler,isReferenceImageSupported,isSupportedGenerateModel,diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsxindex 463b9c4e14..ac05164395 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx@@ -38,6 +38,7 @@ const getComponentPolicyContext = (model: GenerateModelConfig, settings: Generatqwen3VLEncoderModel: settings.qwen3VLEncoderModel,wanT5EncoderModel: settings.wanT5EncoderModel,wanLowNoiseModel: settings.wanLowNoiseModel,+ ideogram4UnconditionalModel: settings.ideogram4UnconditionalModel,t5EncoderModel: settings.t5EncoderModel,pidDecoderModel: settings.pidDecoderModel,gemma2EncoderModel: settings.gemma2EncoderModel,diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsxindex d0916011fc..c5603bb987 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsx@@ -2,7 +2,7 @@ import type { GenerationModelCatalogItem as ModelConfig } from '@features/generaimport type { GenerateModelConfig, GenerateSettings, LoraModelConfig } from '@features/generation/core/types';import { Box, HStack, Spinner, Stack, Text } from '@chakra-ui/react';-import { getDefaultGenerateSettings, isSupportedGenerateModel } from '@features/generation/core/baseGenerationPolicies';+import { getDefaultGenerateSettings, isGenerateModelSelectable } from '@features/generation/core/baseGenerationPolicies';import { isLoraModelConfig, normalizeGenerateSettings } from '@features/generation/core/settings';import {ensureArchitectureCapabilitiesLoaded,@@ -31,7 +31,7 @@ export const GenerateWidgetView = () => {const models = ui.models.catalog;const status = ui.models.status;- const supportedModels = useMemo<GenerateModelConfig[]>(() => models.filter(isSupportedGenerateModel), [models]);+ const supportedModels = useMemo<GenerateModelConfig[]>(() => models.filter(isGenerateModelSelectable), [models]);const loraModels = useMemo(() => models.filter((model): model is ModelConfig & LoraModelConfig => isLoraModelConfig(model)),[models]diff --git a/invokeai/frontend/webv2/src/features/models/core/taxonomy.test.ts b/invokeai/frontend/webv2/src/features/models/core/taxonomy.test.tsindex e9d7cb247d..b8ff9d2025 100644--- a/invokeai/frontend/webv2/src/features/models/core/taxonomy.test.ts+++ b/invokeai/frontend/webv2/src/features/models/core/taxonomy.test.ts@@ -62,6 +62,16 @@ describe('variant options', () => {expect(getVariantOptionsFor('flux2', 'qwen3_encoder')).toEqual(['qwen3_4b', 'qwen3_8b', 'qwen3_06b']);});+ it('offers both Qwen3-VL sizes, because the field is required on the config', () => {+ // With no entry the edit form renders "None" plus the current value, and saving "None" sends+ // `variant: null` into a required field — a 500 on a choice the form itself offered.+ expect(getVariantOptionsFor('any', 'qwen3_vl_encoder')).toEqual(['qwen3_vl_4b', 'qwen3_vl_8b']);+ expect(getModelVariantLabel('qwen3_vl_8b')).toBe('Qwen3-VL 8B (Ideogram 4)');+ // MiniMax H3's Qwen3-VL-32B shares the type under its own base and has no variant field, so+ // offering the two sizes there would offer a save that can only fail.+ expect(getVariantOptionsFor('minimax-h3', 'qwen3_vl_encoder')).toEqual([]);+ });+it('returns empty for pairs with no variant concept, enabling free text', () => {expect(getVariantOptionsFor('sdxl', 'vae')).toEqual([]);expect(getVariantOptionsFor('unknown', 'main')).toEqual([]);diff --git a/invokeai/frontend/webv2/src/features/models/core/taxonomy.ts b/invokeai/frontend/webv2/src/features/models/core/taxonomy.tsindex bc973fb01f..6d6b6e2a04 100644--- a/invokeai/frontend/webv2/src/features/models/core/taxonomy.ts+++ b/invokeai/frontend/webv2/src/features/models/core/taxonomy.ts@@ -138,6 +138,8 @@ export const MODEL_VARIANT_LABELS: Record<string, string> = {qwen3_06b: 'Qwen3 0.6B',qwen3_4b: 'Qwen3 4B',qwen3_8b: 'Qwen3 8B',+ qwen3_vl_4b: 'Qwen3-VL 4B (Krea-2)',+ qwen3_vl_8b: 'Qwen3-VL 8B (Ideogram 4)',ref2va: 'MiniMax H3 Ref2VA',res2k_sr4x: 'PiD 2K (4x SR)',res2kto4k_sr4x: 'PiD 4K (4x SR Upscale)',@@ -171,6 +173,10 @@ const VARIANTS_BY_TYPE: Record<string, readonly string[]> = {mistral_encoder: ['cow_mistral3_small', 'mistral3_24b'],pid_decoder: ['res2k_sr4x', 'res2kto4k_sr4x'],qwen3_encoder: ['qwen3_4b', 'qwen3_8b', 'qwen3_06b'],+ // Required on the config, so the edit form must offer both: without an entry here it would show+ // only "None" plus the current value, and saving "None" fails validation on the way into the+ // database.+ qwen3_vl_encoder: ['qwen3_vl_4b', 'qwen3_vl_8b'],};/**@@ -186,6 +192,13 @@ export const getVariantOptionsFor = (base: string, type: string): readonly strinreturn base === 'wan' ? ['a14b', '5b'] : [];}+ if (type === 'qwen3_vl_encoder') {+ // MiniMax H3's truncated Qwen3-VL-32B shares this model type under its own base and its config+ // has no `variant` field at all, so offering the two sizes there would be offering a save that+ // can only fail. The encoders that carry the field are base-agnostic components.+ return base === 'any' ? (VARIANTS_BY_TYPE[type] ?? []) : [];+ }+return VARIANTS_BY_TYPE[type] ?? [];};diff --git a/invokeai/frontend/webv2/src/workbench/canvas-operations/importGalleryImages.test.ts b/invokeai/frontend/webv2/src/workbench/canvas-operations/importGalleryImages.test.tsindex 6479f19b72..b8c7f985a3 100644--- a/invokeai/frontend/webv2/src/workbench/canvas-operations/importGalleryImages.test.ts+++ b/invokeai/frontend/webv2/src/workbench/canvas-operations/importGalleryImages.test.ts@@ -108,6 +108,7 @@ const setModel = (project: Project, base: GenerateWidgetValues['model']['base'])qwen3VLEncoderModel: null,wanT5EncoderModel: null,wanLowNoiseModel: null,+ ideogram4UnconditionalModel: null,wanGuidanceScaleLowNoise: null,ideogram4SamplerPreset: 'V4_QUALITY_48',ideogram4Steps: null,diff --git a/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.test.ts b/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.test.tsindex a0f7e6abc1..2af58acd3c 100644--- a/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.test.ts+++ b/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.test.ts@@ -87,6 +87,7 @@ const createValues = (overrides: Partial<GenerateWidgetValues> = {}): GenerateWiqwen3VLEncoderModel: null,wanT5EncoderModel: null,wanLowNoiseModel: null,+ ideogram4UnconditionalModel: null,wanGuidanceScaleLowNoise: null,ideogram4SamplerPreset: 'V4_QUALITY_48',ideogram4Steps: null,diff --git a/invokeai/frontend/webv2/src/workbench/palette/paletteProviders.ts b/invokeai/frontend/webv2/src/workbench/palette/paletteProviders.tsindex ed0300e84a..2b0c78731a 100644--- a/invokeai/frontend/webv2/src/workbench/palette/paletteProviders.ts+++ b/invokeai/frontend/webv2/src/workbench/palette/paletteProviders.ts@@ -8,7 +8,7 @@ import { getGalleryBoardLabel, type GalleryBoard, type GalleryImage } from '@feaimport { ALL_READABLE_BOARDS_ID, listPaletteImages } from '@features/gallery/paletteSearch';import { galleryBoardsOptions } from '@features/gallery/queries';import { focusPositivePrompt } from '@features/generation/react';-import { isSupportedGenerateModel } from '@features/generation/settings';+import { isGenerateModelSelectable } from '@features/generation/settings';import { ensureModelsLoaded, getModelBaseLabel, getModelsSnapshot } from '@features/models';import { extractGenerationMeta, getResultImageName } from '@features/queue/contracts';import { listLibraryWorkflows } from '@features/workflow/paletteSearch';@@ -201,7 +201,7 @@ export const createModelsProvider = ({const matchesQuery = createTermsMatcher(query.text);return models- .filter(isSupportedGenerateModel)+ .filter(isGenerateModelSelectable).filter((model) => matchesQuery(`${model.name} ${model.base}`)).map<PaletteEntry>((model) => ({group: 'Models',diff --git a/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts b/invokeai/frontend/webv2/src/workbench/workbenchState.test.tsindex c421f158a4..d9ad7f96bb 100644--- a/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts+++ b/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts@@ -236,6 +236,7 @@ const createGenerateValues = (overrides: Partial<GenerateWidgetValues> = {}): Geqwen3VLEncoderModel: null,wanT5EncoderModel: null,wanLowNoiseModel: null,+ ideogram4UnconditionalModel: null,wanGuidanceScaleLowNoise: null,ideogram4SamplerPreset: 'V4_QUALITY_48',ideogram4Steps: null,diff --git a/tests/app/invocations/test_ideogram4_denoise_branches.py b/tests/app/invocations/test_ideogram4_denoise_branches.pynew file mode 100644index 0000000000..da8c995431--- /dev/null+++ b/tests/app/invocations/test_ideogram4_denoise_branches.py@@ -0,0 +1,210 @@+"""How `Ideogram4DenoiseInvocation` resolves its two transformer branches.++Ideogram 4 guides one branch against the other and runs both at every step. A diffusers pipeline+delivers them as one cache entity; Comfy-Org's single files are two models, and both must be locked+for the whole loop -- releasing one between steps would make the cache stream it back for the next.+The mismatches are rejected rather than tolerated: either one would otherwise surface deep in the+loop, as a missing attribute or as a branch guiding against itself.+"""++from contextlib import ExitStack, contextmanager+from types import SimpleNamespace++import pytest+import torch++from invokeai.app.invocations.fields import Ideogram4ConditioningField+from invokeai.app.invocations.ideogram4.ideogram4_denoise import Ideogram4DenoiseInvocation+from invokeai.app.invocations.model import ModelIdentifierField, TransformerField+from invokeai.backend.ideogram4.modeling_ideogram4 import Ideogram4Config, Ideogram4Transformer+from invokeai.backend.ideogram4.transformer_pair import Ideogram4TransformerPair+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelType+from invokeai.backend.stable_diffusion.diffusion.conditioning_data import (+ ConditioningFieldData,+ Ideogram4ConditioningInfo,+)++TINY = Ideogram4Config(+ emb_dim=64,+ num_layers=1,+ num_heads=2,+ intermediate_size=128,+ adanln_dim=16,+ in_channels=8,+ llm_features_dim=32,+ mrope_section=(4, 2, 2),+)+++def _field(key: str) -> TransformerField:+ return TransformerField(+ transformer=ModelIdentifierField(+ key=key, hash=f"hash-{key}", name=key, base=BaseModelType.Ideogram4, type=ModelType.Main+ ),+ loras=[],+ )+++class _LoadedModel:+ """The slice of `LoadedModel` this method uses, plus a record of how it was entered and left."""++ def __init__(self, model: torch.nn.Module, calls: list[tuple[str, int]], released: list[str], key: str) -> None:+ self._model = model+ self._calls = calls+ self._released = released+ self._key = key++ @contextmanager+ def model_on_device(self, working_mem_bytes: int = 0):+ self._calls.append((self._key, working_mem_bytes))+ try:+ yield (None, self._model)+ finally:+ self._released.append(self._key)+++def _context(+ models: dict[str, torch.nn.Module], released: list[str], calls: list[tuple[str, int]] | None = None+) -> SimpleNamespace:+ recorded = calls if calls is not None else []+ return SimpleNamespace(+ models=SimpleNamespace(+ load=lambda identifier: _LoadedModel(models[identifier.key], recorded, released, identifier.key)+ )+ )+++def _invocation(**fields) -> Ideogram4DenoiseInvocation:+ return Ideogram4DenoiseInvocation.model_construct(unconditional_transformer=None, **fields)+++def test_a_bundled_pair_supplies_both_branches_from_one_model() -> None:+ pair = Ideogram4TransformerPair(conditional=Ideogram4Transformer(TINY), unconditional=Ideogram4Transformer(TINY))+ released: list[str] = []+ invocation = _invocation(transformer=_field("pipeline"))++ with ExitStack() as stack:+ conditional, unconditional = invocation._load_branches(_context({"pipeline": pair}, released), stack, 0)++ assert conditional is pair.conditional+ assert unconditional is pair.unconditional+ assert released == []++ assert released == ["pipeline"]+++def test_two_single_files_are_both_held_for_the_whole_loop() -> None:+ models = {"cond": Ideogram4Transformer(TINY), "uncond": Ideogram4Transformer(TINY)}+ released: list[str] = []+ invocation = _invocation(transformer=_field("cond"))+ invocation.unconditional_transformer = _field("uncond")++ with ExitStack() as stack:+ conditional, unconditional = invocation._load_branches(_context(models, released), stack, 0)++ assert conditional is models["cond"]+ assert unconditional is models["uncond"]+ # Neither is handed back while the other is still being loaded.+ assert released == []++ assert sorted(released) == ["cond", "uncond"]+++def test_a_lone_single_file_is_refused() -> None:+ # Without this the loop would ask a bare transformer for `.conditional` and die on an+ # AttributeError with no hint about what the user should have connected.+ released: list[str] = []+ invocation = _invocation(transformer=_field("cond"))++ with pytest.raises(ValueError, match="only one branch"), ExitStack() as stack:+ invocation._load_branches(_context({"cond": Ideogram4Transformer(TINY)}, released), stack, 0)+++def test_a_bundled_pair_with_a_second_branch_connected_is_refused() -> None:+ pair = Ideogram4TransformerPair(conditional=Ideogram4Transformer(TINY), unconditional=Ideogram4Transformer(TINY))+ released: list[str] = []+ invocation = _invocation(transformer=_field("pipeline"))+ invocation.unconditional_transformer = _field("uncond")++ with pytest.raises(ValueError, match="already carries both"), ExitStack() as stack:+ invocation._load_branches(+ _context({"pipeline": pair, "uncond": Ideogram4Transformer(TINY)}, released), stack, 0+ )+++def test_both_branches_reserve_the_same_activation_headroom() -> None:+ """A reservation given to only the first branch is spent by the second.++ The cache decides per model how much of it fits in what is left, so the second `model_on_device`+ would fill the headroom the first one set aside — which is how the pair ended up occupying every+ byte of a 24 GB card and copying weights instead of computing.+ """+ models = {"cond": Ideogram4Transformer(TINY), "uncond": Ideogram4Transformer(TINY)}+ calls: list[tuple[str, int]] = []+ invocation = _invocation(transformer=_field("cond"))+ invocation.unconditional_transformer = _field("uncond")++ with ExitStack() as stack:+ invocation._load_branches(_context(models, [], calls), stack, 4 * 1024**3)++ assert calls == [("cond", 4 * 1024**3), ("uncond", 4 * 1024**3)]+++def test_the_headroom_estimate_grows_with_the_image() -> None:+ """It is an estimate, so what is pinned is the shape: it scales with the token count and is+ never zero. A flat value would under-reserve at 2048px and over-reserve at 512px."""+ small = _invocation(transformer=_field("cond"))+ small.width, small.height = 512, 512+ large = _invocation(transformer=_field("cond"))+ large.width, large.height = 2048, 2048++ assert small._estimate_working_memory(64) > 1024**3+ # Sixteen times the image tokens, so the token-proportional part must dominate the fixed base.+ assert large._estimate_working_memory(64) > 4 * small._estimate_working_memory(64)+++TEXT_TOKENS = 7+++class _StopAfterLoad(Exception):+ """Ends `invoke` where this test's interest ends."""+++def test_invoke_passes_its_own_estimate_into_the_load(monkeypatch) -> None:+ """The wiring, not the estimate.++ Every other test here drives `_load_branches` directly, so a call in `invoke` that forgot the+ argument -- or passed a constant -- would leave them all green while the cache went back to+ filling VRAM with weights and leaving none for the activations.+ """+ reserved: list[int] = []+ invocation = _invocation(+ transformer=_field("cond"),+ positive_conditioning=Ideogram4ConditioningField(conditioning_name="cond-1"),+ sampler_preset="V4_TURBO_12",+ steps=None,+ guidance_scale=None,+ mu=None,+ width=1024,+ height=1024,+ seed=0,+ )++ def load_branches(_context, _stack, working_mem_bytes: int):+ reserved.append(working_mem_bytes)+ raise _StopAfterLoad++ monkeypatch.setattr(invocation, "_load_branches", load_branches)++ conditioning = ConditioningFieldData(+ conditionings=[Ideogram4ConditioningInfo(prompt_embeds=torch.zeros(TEXT_TOKENS, 32))]+ )+ context = SimpleNamespace(+ conditioning=SimpleNamespace(load=lambda _name: conditioning),+ util=SimpleNamespace(signal_progress=lambda *_args, **_kwargs: None),+ )++ with pytest.raises(_StopAfterLoad):+ invocation.invoke(context)++ assert reserved == [invocation._estimate_working_memory(TEXT_TOKENS)]diff --git a/tests/app/invocations/test_ideogram4_model_loader.py b/tests/app/invocations/test_ideogram4_model_loader.pynew file mode 100644index 0000000000..a2387f8807--- /dev/null+++ b/tests/app/invocations/test_ideogram4_model_loader.py@@ -0,0 +1,209 @@+"""What the Ideogram 4 loader node refuses to hand to a generation.++Two of these are not ordinary type checks. The branch check rejects a *swapped* pair, which would+otherwise run happily and produce images that ignore the prompt; the encoder check rejects Krea-2's+Qwen3-VL 4B, which installs under the same model type and would fail as a shape mismatch inside the+first denoising step.+"""++from types import SimpleNamespace++import pytest++from invokeai.app.invocations.ideogram4.ideogram4_model_loader import Ideogram4ModelLoaderInvocation+from invokeai.app.invocations.model import ModelIdentifierField+from invokeai.backend.model_manager.taxonomy import (+ BaseModelType,+ ModelFormat,+ ModelType,+ Qwen3VLVariantType,+ SubModelType,+)+++def _model(key: str, base: BaseModelType, model_type: ModelType) -> ModelIdentifierField:+ return ModelIdentifierField(key=key, hash=f"hash-{key}", name=key, base=base, type=model_type)+++def _context(configs: dict[str, SimpleNamespace]) -> SimpleNamespace:+ return SimpleNamespace(+ logger=SimpleNamespace(warning=lambda *_args, **_kwargs: None),+ models=SimpleNamespace(get_config=lambda identifier: configs[identifier.key]),+ )+++def _main(model_format: ModelFormat, branch: str | None = None) -> SimpleNamespace:+ return SimpleNamespace(+ base=BaseModelType.Ideogram4,+ branch=branch,+ format=model_format,+ name=f"ideogram4-{branch or model_format.value}",+ type=ModelType.Main,+ )+++def _encoder(variant: Qwen3VLVariantType) -> SimpleNamespace:+ return SimpleNamespace(+ base=BaseModelType.Any,+ format=ModelFormat.Checkpoint,+ name=f"qwen3-vl-{variant.value}",+ type=ModelType.Qwen3VLEncoder,+ variant=variant,+ )+++def _vae(base: BaseModelType = BaseModelType.Flux2) -> SimpleNamespace:+ return SimpleNamespace(base=base, format=ModelFormat.Checkpoint, name=f"{base.value}-vae", type=ModelType.VAE)+++CONDITIONAL = _model("cond", BaseModelType.Ideogram4, ModelType.Main)+UNCONDITIONAL = _model("uncond", BaseModelType.Ideogram4, ModelType.Main)+ENCODER = _model("encoder", BaseModelType.Any, ModelType.Qwen3VLEncoder)+VAE = _model("vae", BaseModelType.Flux2, ModelType.VAE)+++def _single_file_configs(**overrides: SimpleNamespace) -> dict[str, SimpleNamespace]:+ configs = {+ "cond": _main(ModelFormat.Checkpoint, "conditional"),+ "uncond": _main(ModelFormat.Checkpoint, "unconditional"),+ "encoder": _encoder(Qwen3VLVariantType.Qwen3VL_8B),+ "vae": _vae(),+ }+ configs.update(overrides)+ return configs+++def _invoke(configs: dict[str, SimpleNamespace], **fields):+ node = Ideogram4ModelLoaderInvocation(+ model=CONDITIONAL,+ unconditional_model=UNCONDITIONAL,+ qwen3_vl_encoder_model=ENCODER,+ vae_model=VAE,+ **fields,+ )+ return node.invoke(_context(configs))+++def test_a_single_file_pair_emits_both_branches_and_the_selected_components() -> None:+ output = _invoke(_single_file_configs())++ assert output.transformer.transformer.key == "cond"+ assert output.transformer.transformer.submodel_type is SubModelType.Transformer+ assert output.unconditional_transformer is not None+ assert output.unconditional_transformer.transformer.key == "uncond"+ assert output.unconditional_transformer.transformer.submodel_type is SubModelType.Transformer+ assert output.qwen3_encoder.text_encoder.key == "encoder"+ assert output.vae.vae.key == "vae"+++def test_a_diffusers_pipeline_serves_every_submodel_from_itself() -> None:+ configs = {"cond": _main(ModelFormat.Diffusers)}+ output = Ideogram4ModelLoaderInvocation(model=CONDITIONAL).invoke(_context(configs))++ assert output.unconditional_transformer is None+ assert output.qwen3_encoder.tokenizer.key == "cond"+ assert output.qwen3_encoder.text_encoder.submodel_type is SubModelType.TextEncoder+ assert output.vae.vae.key == "cond"+++def test_a_swapped_pair_is_refused() -> None:+ configs = _single_file_configs(+ cond=_main(ModelFormat.Checkpoint, "unconditional"),+ uncond=_main(ModelFormat.Checkpoint, "conditional"),+ )++ # The slot is the actionable half: "conditional branch" alone is a substring of "unconditional+ # branch", so without naming the slot this test would pass on either message.+ with pytest.raises(ValueError, match="is the unconditional branch.*as 'Model'"):+ _invoke(configs)+++def test_the_unconditional_slot_refuses_a_second_conditional_file() -> None:+ configs = _single_file_configs(uncond=_main(ModelFormat.Checkpoint, "conditional"))++ with pytest.raises(ValueError, match=r"is the conditional branch.*Transformer \(Unconditional\)"):+ _invoke(configs)+++def test_the_same_file_cannot_serve_both_branches() -> None:+ node = Ideogram4ModelLoaderInvocation(+ model=CONDITIONAL,+ unconditional_model=CONDITIONAL,+ qwen3_vl_encoder_model=ENCODER,+ vae_model=VAE,+ )++ with pytest.raises(ValueError, match="two different files"):+ node.invoke(_context(_single_file_configs()))+++ ("missing", "match"),+ [+ ("unconditional_model", "one of two branches"),+ ("qwen3_vl_encoder_model", "no text encoder"),+ ("vae_model", "no VAE"),+ ],+)+def test_a_single_file_main_needs_every_component(missing: str, match: str) -> None:+ fields = {"unconditional_model": UNCONDITIONAL, "qwen3_vl_encoder_model": ENCODER, "vae_model": VAE}+ fields[missing] = None++ node = Ideogram4ModelLoaderInvocation(model=CONDITIONAL, **fields)++ with pytest.raises(ValueError, match=match):+ node.invoke(_context(_single_file_configs()))+++def test_krea2s_qwen3_vl_encoder_is_refused() -> None:+ configs = _single_file_configs(encoder=_encoder(Qwen3VLVariantType.Qwen3VL_4B))++ with pytest.raises(ValueError, match="is the Qwen3-VL 4B encoder"):+ _invoke(configs)+++def test_an_encoder_with_no_recorded_size_is_refused_readably() -> None:+ """MiniMax H3's truncated Qwen3-VL-32B shares this model type and carries no variant at all.++ The picker no longer offers it, but a hand-built graph still can, and "the Qwen3-VL None+ encoder" is not a sentence that helps anyone.+ """+ encoder = SimpleNamespace(+ base=BaseModelType.MiniMaxH3,+ format=ModelFormat.Checkpoint,+ name="qwen3vl_32b_minimax_h3_fp8",+ type=ModelType.Qwen3VLEncoder,+ )+ configs = _single_file_configs(encoder=encoder)++ with pytest.raises(ValueError, match="of an unrecorded size"):+ _invoke(configs)+++def test_the_encoder_picker_excludes_another_architectures_qwen3_vl() -> None:+ # MiniMax H3's is base `minimax-h3`; the two this node can use are base-agnostic components.+ field = Ideogram4ModelLoaderInvocation.model_fields["qwen3_vl_encoder_model"]++ assert field.json_schema_extra is not None+ assert field.json_schema_extra["ui_model_base"] == [BaseModelType.Any.value]+++def test_a_vae_from_another_family_is_refused() -> None:+ configs = _single_file_configs(vae=_vae(BaseModelType.StableDiffusionXL))++ with pytest.raises(ValueError, match="not compatible with Ideogram 4"):+ _invoke(configs)+++def test_a_diffusers_model_cannot_be_the_unconditional_branch() -> None:+ configs = _single_file_configs(uncond=_main(ModelFormat.Diffusers, "unconditional"))++ with pytest.raises(ValueError, match="must be a single-file"):+ _invoke(configs)+++def test_the_vae_picker_offers_the_bases_the_architecture_accepts() -> None:+ field = Ideogram4ModelLoaderInvocation.model_fields["vae_model"]++ assert field.json_schema_extra is not None+ assert set(field.json_schema_extra["ui_model_base"]) == {BaseModelType.Flux2.value}diff --git a/tests/app/invocations/test_ideogram4_vae_decode.py b/tests/app/invocations/test_ideogram4_vae_decode.pynew file mode 100644index 0000000000..4ddf042ef8--- /dev/null+++ b/tests/app/invocations/test_ideogram4_vae_decode.py@@ -0,0 +1,58 @@+"""Ideogram 4 decodes with whichever shape its 32-channel VAE arrives in.++A diffusers Ideogram 4 pipeline bundles the autoencoder in the vendored BFL layout; installing the+same weights on their own (the file Comfy-Org ships beside the single-file transformers) produces a+diffusers `AutoencoderKLFlux2`. The node has to accept both, and they have to decode to the same+image -- otherwise the single-file path would quietly render differently from the bundled one.+"""++import pytest+import torch+from diffusers import AutoencoderKLFlux2++from invokeai.app.invocations.vae.ideogram4_latents_to_image import _decode+from invokeai.backend.ideogram4.autoencoder import AutoEncoder, AutoEncoderParams, convert_diffusers_state_dict++# A miniature of the released geometry: four stages and 32 latent channels as shipped, 32 base+# channels instead of 128. `norm_num_groups` stays at the released 32 because the vendored decoder+# hard-codes it -- lowering it here would compare two different normalizations.+TINY_KWARGS = {+ "block_out_channels": (32, 64, 64, 64),+ "latent_channels": 32,+ "layers_per_block": 1,+ "norm_num_groups": 32,+}+TINY_PARAMS = AutoEncoderParams(ch=32, ch_mult=[1, 2, 2, 2], num_res_blocks=1, z_channels=32)++[email protected](scope="module")+def vaes() -> tuple[AutoencoderKLFlux2, AutoEncoder]:+ torch.manual_seed(0)+ diffusers_vae = AutoencoderKLFlux2(**TINY_KWARGS).eval()+ vendored = AutoEncoder(TINY_PARAMS).eval()+ # Strict: the converter is what makes "the same weights" true, and a key it silently dropped+ # would leave a random tensor in the comparison below.+ vendored.load_state_dict(convert_diffusers_state_dict(diffusers_vae.state_dict()))+ return diffusers_vae, vendored+++def test_the_two_layouts_decode_the_same_latent_to_the_same_image(vaes) -> None:+ diffusers_vae, vendored = vaes+ torch.manual_seed(1)+ z = torch.randn(1, 32, 4, 4)++ with torch.no_grad():+ from_vendored = _decode(vendored, z)+ from_diffusers = _decode(diffusers_vae, z)++ assert from_vendored.shape == from_diffusers.shape+ # Float32 rounding, not a tolerance: the vendored decoder runs `post_quant_conv` itself, which+ # is exactly what `AutoencoderKLFlux2.decode` applies before its own decoder.+ assert torch.allclose(from_vendored, from_diffusers, atol=1e-4)+++def test_a_vae_from_another_family_is_named_in_the_error(vaes) -> None:+ # Reached only if the loader node's compatibility check is bypassed (a hand-built graph), so it+ # has to say what is wrong rather than raise an AttributeError from inside the decode.+ with pytest.raises(ValueError, match="32-channel"):+ _decode(torch.nn.Linear(1, 1), torch.zeros(1, 32, 4, 4))diff --git a/tests/app/invocations/test_krea2_model_loader.py b/tests/app/invocations/test_krea2_model_loader.pyindex 15a94d716a..855631f545 100644--- a/tests/app/invocations/test_krea2_model_loader.py+++ b/tests/app/invocations/test_krea2_model_loader.py@@ -4,7 +4,7 @@ import pytestfrom invokeai.app.invocations.krea2.krea2_model_loader import Krea2ModelLoaderInvocationfrom invokeai.app.invocations.model import ModelIdentifierField-from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType, Qwen3VLVariantTypedef _model(key: str, base: BaseModelType, model_type: ModelType) -> ModelIdentifierField:@@ -15,8 +15,23 @@ def _context(configs: dict[str, SimpleNamespace]) -> SimpleNamespace:return SimpleNamespace(models=SimpleNamespace(get_config=lambda identifier: configs[identifier.key]))-def _config(base: BaseModelType, model_type: ModelType, model_format: ModelFormat) -> SimpleNamespace:- return SimpleNamespace(base=base, type=model_type, format=model_format, name=f"{base.value}-{model_type.value}")+def _config(+ base: BaseModelType,+ model_type: ModelType,+ model_format: ModelFormat,+ variant: Qwen3VLVariantType | None = None,+) -> SimpleNamespace:+ return SimpleNamespace(+ base=base,+ type=model_type,+ format=model_format,+ name=f"{base.value}-{model_type.value}",+ variant=variant,+ )+++def _encoder_config(variant: Qwen3VLVariantType | None = Qwen3VLVariantType.Qwen3VL_4B) -> SimpleNamespace:+ return _config(BaseModelType.Any, ModelType.Qwen3VLEncoder, ModelFormat.Qwen3VLEncoder, variant)@pytest.mark.parametrize("vae_base", [BaseModelType.QwenImage, BaseModelType.Anima])@@ -28,7 +43,7 @@ def test_loader_accepts_supported_standalone_components(vae_base: BaseModelType){"main": _config(BaseModelType.Krea2, ModelType.Main, ModelFormat.Checkpoint),"vae": _config(vae_base, ModelType.VAE, ModelFormat.Checkpoint),- "encoder": _config(BaseModelType.Any, ModelType.Qwen3VLEncoder, ModelFormat.Qwen3VLEncoder),+ "encoder": _encoder_config(),})@@ -53,7 +68,7 @@ def test_loader_rejects_incompatible_stored_component(target: str, stored_configconfigs = {"main": _config(BaseModelType.Krea2, ModelType.Main, ModelFormat.Checkpoint),"vae": _config(BaseModelType.QwenImage, ModelType.VAE, ModelFormat.Checkpoint),- "encoder": _config(BaseModelType.Any, ModelType.Qwen3VLEncoder, ModelFormat.Qwen3VLEncoder),+ "encoder": _encoder_config(),}configs[target] = stored_config@@ -68,3 +83,30 @@ def test_loader_vae_ui_filter_includes_qwen_image_and_anima() -> None:BaseModelType.QwenImage.value,BaseModelType.Anima.value,}+++ ("variant", "match"),+ [+ (Qwen3VLVariantType.Qwen3VL_8B, "is the Qwen3-VL 8B encoder"),+ (None, "of an unrecorded size"),+ ],+)+def test_loader_rejects_a_qwen3_vl_encoder_of_the_wrong_size(variant, match: str) -> None:+ """Ideogram 4's 8B installs under the same model type and is not interchangeable.++ Without this the 8B loads (~10 GB) and Krea-2 then fails on a 4096-against-2560 shape error+ naming a tensor, which says nothing about what the user picked. `None` covers MiniMax H3's+ Qwen3-VL-32B, which shares the type and records no variant at all.+ """+ main = _model("main", BaseModelType.Krea2, ModelType.Main)+ vae = _model("vae", BaseModelType.QwenImage, ModelType.VAE)+ encoder = _model("encoder", BaseModelType.Any, ModelType.Qwen3VLEncoder)+ configs = {+ "main": _config(BaseModelType.Krea2, ModelType.Main, ModelFormat.Checkpoint),+ "vae": _config(BaseModelType.QwenImage, ModelType.VAE, ModelFormat.Checkpoint),+ "encoder": _encoder_config(variant),+ }++ with pytest.raises(ValueError, match=match):+ Krea2ModelLoaderInvocation(model=main, vae_model=vae, qwen3_vl_encoder_model=encoder).invoke(_context(configs))diff --git a/tests/app/services/shared/sqlite_migrator/migrations/test_migration_2026_09_16_add_qwen3_vl_encoder_variant.py b/tests/app/services/shared/sqlite_migrator/migrations/test_migration_2026_09_16_add_qwen3_vl_encoder_variant.pynew file mode 100644index 0000000000..947decd683--- /dev/null+++ b/tests/app/services/shared/sqlite_migrator/migrations/test_migration_2026_09_16_add_qwen3_vl_encoder_variant.py@@ -0,0 +1,104 @@+"""The Qwen3-VL encoder variant backfill.++Without it, every Qwen3-VL encoder installed before the variant field existed fails validation on+read and is *skipped* with a log line — the encoder disappears from the model list and the Krea-2+graph that used it stops compiling, with nothing in the UI to say why.+"""++import json+import sqlite3+from logging import getLogger++import pytest++from invokeai.app.services.shared.sqlite_migrator.migrations.migration_2026_09_16_add_qwen3_vl_encoder_variant import (+ build_migration,+)+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelType, Qwen3VLVariantType+++def cursor() -> sqlite3.Cursor:+ connection = sqlite3.connect(":memory:")+ connection.execute("CREATE TABLE models (id TEXT PRIMARY KEY, config TEXT NOT NULL);")+ return connection.cursor()+++def _insert(cursor: sqlite3.Cursor, model_id: str, config: dict) -> None:+ cursor.execute("INSERT INTO models (id, config) VALUES (?, ?);", (model_id, json.dumps(config)))+++def _config(cursor: sqlite3.Cursor, model_id: str) -> dict:+ cursor.execute("SELECT config FROM models WHERE id = ?;", (model_id,))+ return json.loads(cursor.fetchone()[0])+++def _run(cursor: sqlite3.Cursor) -> None:+ build_migration(getLogger(__name__)).callback(cursor) # type: ignore[misc]+++def test_a_legacy_encoder_becomes_the_4b(cursor: sqlite3.Cursor) -> None:+ # The only shape the config accepted before Ideogram 4's 8B joined it.+ _insert(+ cursor,+ "legacy",+ {+ "type": ModelType.Qwen3VLEncoder.value,+ "base": BaseModelType.Any.value,+ "name": "qwen3vl_4b_fp8_scaled",+ },+ )++ _run(cursor)++ assert _config(cursor, "legacy")["variant"] == Qwen3VLVariantType.Qwen3VL_4B.value+++def test_a_recorded_variant_is_left_alone(cursor: sqlite3.Cursor) -> None:+ _insert(+ cursor,+ "already-8b",+ {+ "type": ModelType.Qwen3VLEncoder.value,+ "base": BaseModelType.Any.value,+ "name": "qwen3vl_8b_fp8_scaled",+ "variant": Qwen3VLVariantType.Qwen3VL_8B.value,+ },+ )++ _run(cursor)++ assert _config(cursor, "already-8b")["variant"] == Qwen3VLVariantType.Qwen3VL_8B.value+++def test_other_model_types_are_untouched(cursor: sqlite3.Cursor) -> None:+ # `variant` means something different on every type, so a blanket backfill would corrupt them.+ _insert(cursor, "main", {"type": ModelType.Main.value, "name": "krea2"})+ _insert(cursor, "qwen3", {"type": ModelType.Qwen3Encoder.value, "name": "qwen_3_4b"})++ _run(cursor)++ assert "variant" not in _config(cursor, "main")+ assert "variant" not in _config(cursor, "qwen3")+++def test_minimax_h3s_encoder_is_left_alone(cursor: sqlite3.Cursor) -> None:+ """It shares the model type and is not one of the two that gained the field.++ Its config class is a truncated Qwen3-VL-32B with no `variant` at all, so stamping `4b` on it+ would store a size that is simply untrue — inert only until that class grows a variant of its+ own, at which point the wrong architecture would be built from it.+ """+ _insert(+ cursor,+ "minimax",+ {+ "type": ModelType.Qwen3VLEncoder.value,+ "base": BaseModelType.MiniMaxH3.value,+ "name": "qwen3vl_32b_minimax_h3_fp8",+ },+ )++ _run(cursor)++ assert "variant" not in _config(cursor, "minimax")diff --git a/tests/backend/architectures/test_variants.py b/tests/backend/architectures/test_variants.pyindex 30752a1966..df728397b5 100644--- a/tests/backend/architectures/test_variants.py+++ b/tests/backend/architectures/test_variants.py@@ -27,16 +27,17 @@ from invokeai.backend.model_manager.taxonomy import (MistralVariantType,ModelType,Qwen3VariantType,+ Qwen3VLVariantType,variant_type_adapter,)-BASE_AGNOSTIC_VARIANT_ENUMS = frozenset({ClipVariantType, Qwen3VariantType, MistralVariantType})+BASE_AGNOSTIC_VARIANT_ENUMS = frozenset({ClipVariantType, Qwen3VariantType, Qwen3VLVariantType, MistralVariantType})"""Variant enums that cannot be declared by any architecture.-All three sit on `base=Any` configs -- CLIP embedders, Qwen3 and Mistral text encoders are-components shared across architectures, not architectures. `Any` is a sentinel the registry refuses to register, so-these are named here to keep the completeness check against `AnyVariant` total rather than quietly-partial.+All four sit on `base=Any` configs -- CLIP embedders and the Qwen3, Qwen3-VL and Mistral text+encoders are components shared across architectures, not architectures. `Any` is a sentinel the+registry refuses to register, so these are named here to keep the completeness check against+`AnyVariant` total rather than quietly partial."""diff --git a/tests/backend/ideogram4/test_denoise_conditioning_dtype.py b/tests/backend/ideogram4/test_denoise_conditioning_dtype.pynew file mode 100644index 0000000000..36a224070a--- /dev/null+++ b/tests/backend/ideogram4/test_denoise_conditioning_dtype.py@@ -0,0 +1,76 @@+"""The conditioning buffers the Ideogram 4 loop allocates.++They are the largest tensors in the run: `llm_features` is 53248 wide, and the loop holds one buffer+over the whole packed sequence plus a second over the image tokens. The encoder stores them in+float32, so building them in that dtype would cost ~1.8 GB at 1024px for values `forward` casts to+its own dtype on the next line anyway.+"""++import torch++from invokeai.backend.ideogram4.denoise import _compute_dtype, run_ideogram4_denoise+from invokeai.backend.ideogram4.modeling_ideogram4 import Ideogram4Config, Ideogram4Transformer+from invokeai.backend.ideogram4.sampling_utils import LATENT_DIM++# Narrow everywhere the geometry allows: `in_channels` is the packed latent width the loop builds+# its samples with, so it is the released one.+TINY = Ideogram4Config(+ emb_dim=64,+ num_layers=1,+ num_heads=2,+ intermediate_size=128,+ adanln_dim=16,+ in_channels=LATENT_DIM,+ llm_features_dim=32,+ mrope_section=(4, 2, 2),+)+++def _recording_transformer(seen: list[torch.dtype], dtype: torch.dtype) -> Ideogram4Transformer:+ model = Ideogram4Transformer(TINY).to(dtype).eval()+ forward = model.forward++ def recording_forward(*, llm_features: torch.Tensor, **kwargs):+ seen.append(llm_features.dtype)+ return forward(llm_features=llm_features, **kwargs)++ model.forward = recording_forward # type: ignore[method-assign]+ return model+++def test_the_loop_hands_the_model_conditioning_in_its_own_dtype() -> None:+ seen: list[torch.dtype] = []+ conditional = _recording_transformer(seen, torch.bfloat16)+ unconditional = _recording_transformer(seen, torch.bfloat16)++ run_ideogram4_denoise(+ conditional_transformer=conditional,+ unconditional_transformer=unconditional,+ llm_features=torch.zeros(4, TINY.llm_features_dim, dtype=torch.float32),+ height=32,+ width=32,+ num_steps=1,+ mu=0.0,+ std=1.0,+ device=torch.device("cpu"),+ )++ # Both branches, and float32 nowhere: the encoder's dtype must not reach the buffers.+ assert seen == [torch.bfloat16, torch.bfloat16]+++def test_a_quantized_build_is_read_from_its_compute_dtype_not_its_weights() -> None:+ """nf4 stores uint8 and fp8 storage stores float8; neither is a dtype torch can compute in.++ Both carry the real one on the module, which is what `Ideogram4Transformer.forward` consults+ first -- deriving it from `weight.dtype` instead would build the conditioning in a storage dtype+ and fail in the first matmul.+ """+ model = Ideogram4Transformer(TINY)+ model.input_proj.weight.data = model.input_proj.weight.data.to(torch.float8_e4m3fn)+ model.input_proj.compute_dtype = torch.bfloat16++ assert _compute_dtype(model) is torch.bfloat16++ del model.input_proj.compute_dtype+ assert _compute_dtype(model) is torch.float8_e4m3fndiff --git a/tests/backend/model_manager/configs/test_ideogram4_checkpoint_config.py b/tests/backend/model_manager/configs/test_ideogram4_checkpoint_config.pynew file mode 100644index 0000000000..e487b5b551--- /dev/null+++ b/tests/backend/model_manager/configs/test_ideogram4_checkpoint_config.py@@ -0,0 +1,208 @@+"""Identification of Comfy-Org's single-file Ideogram 4 transformers.++The two branches are key-for-key and shape-for-shape identical: only the file's `model_type`+metadata says which is which, and a swapped pair produces coherent images that ignore the prompt.++The quantization refusals raise `InvalidMatchError` rather than `NotAMatchError` on purpose, and+the distinction is the whole point of the test below: `NotAMatchError` is "not my kind of model"+and lets the file fall through to `Unknown_Config`, which would register a 9 GiB download as a+model record nothing can load.+"""++from pathlib import Path+from typing import Any+from unittest.mock import MagicMock, patch++import pytest+import torch+from safetensors.torch import save_file++from invokeai.backend.model_manager.configs.identification_utils import InvalidMatchError, NotAMatchError+from invokeai.backend.model_manager.configs.main import Main_Checkpoint_Ideogram4_Config+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType++_REQUIRED_FIELDS = {+ "hash": "blake3:fakehash",+ "path": "/fake/models/ideogram4_fp8_scaled.safetensors",+ "file_size": 1000,+ "name": "ideogram4",+ "description": "test",+ "source": "test",+ "source_type": "path",+ "key": "test-key",+}+++def _state_dict(**overrides: Any) -> dict[str, Any]:+ """The four keys the probe requires, as the released files carry them."""+ sd: dict[str, Any] = {+ "embed_image_indicator.weight": torch.zeros(2, 8, dtype=torch.bfloat16),+ "input_proj.weight": torch.zeros(8, 4, dtype=torch.bfloat16),+ "adaln_proj.weight": torch.zeros(4, 8, dtype=torch.bfloat16),+ "final_layer.linear.weight": torch.zeros(4, 8, dtype=torch.bfloat16),+ "layers.0.attention.qkv.weight": torch.zeros(24, 8, dtype=torch.bfloat16),+ }+ sd.update(overrides)+ return sd+++def _mod(state_dict: dict[str, Any], *, metadata: dict[str, str] | None = None, name: str = "ideogram4.safetensors"):+ mod = MagicMock()+ mod.path = Path(f"/fake/{name}")+ mod.load_state_dict.return_value = state_dict+ mod.metadata.return_value = metadata or {}+ return mod+++def _identify(mod: MagicMock, **override_fields: Any) -> Main_Checkpoint_Ideogram4_Config:+ with (+ patch("invokeai.backend.model_manager.configs.main.raise_if_not_file"),+ patch("invokeai.backend.model_manager.configs.main.raise_for_override_fields"),+ ):+ return Main_Checkpoint_Ideogram4_Config.from_model_on_disk(mod, {**_REQUIRED_FIELDS, **override_fields})+++class TestBranchIdentification:+ @pytest.mark.parametrize(+ ("model_type", "expected"),+ [("ideogram4_cond", "conditional"), ("ideogram4_uncond", "unconditional")],+ )+ def test_reads_the_branch_from_file_metadata(self, model_type: str, expected: str) -> None:+ config = _identify(_mod(_state_dict(), metadata={"model_type": model_type}))++ assert config.base is BaseModelType.Ideogram4+ assert config.type is ModelType.Main+ assert config.format is ModelFormat.Checkpoint+ assert config.branch == expected++ def test_metadata_beats_a_misleading_filename(self) -> None:+ config = _identify(+ _mod(+ _state_dict(),+ metadata={"model_type": "ideogram4_cond"},+ name="ideogram4_unconditional_fp8_scaled.safetensors",+ )+ )++ assert config.branch == "conditional"++ @pytest.mark.parametrize(+ ("name", "expected"),+ [+ ("ideogram4_unconditional_fp8_scaled.safetensors", "unconditional"),+ ("Ideogram4_UNCONDITIONAL.safetensors", "unconditional"),+ # The metadata spells it "uncond", and a repack that drops the metadata is exactly the+ # kind of tool that would carry that spelling into the filename.+ ("ideogram4_uncond_fp8.safetensors", "unconditional"),+ ("ideogram4_fp8_scaled.safetensors", "conditional"),+ ],+ )+ def test_falls_back_to_the_filename_when_metadata_was_stripped(self, name: str, expected: str) -> None:+ config = _identify(_mod(_state_dict(), name=name))++ assert config.branch == expected++ def test_a_declaration_this_build_does_not_know_is_refused(self) -> None:+ """Not a fall-through to the filename.++ The loader node treats the recorded branch as authoritative *because* it came from the file.+ A future release tagged `ideogram4_5_cond` would otherwise install as one of these two+ branches and guide against the wrong model, with nothing in the log.+ """+ with pytest.raises(InvalidMatchError, match="ideogram4_5_cond"):+ _identify(_mod(_state_dict(), metadata={"model_type": "ideogram4_5_cond"}))++ def test_an_explicit_override_wins_over_both(self) -> None:+ # The config-level contract, not a user-facing remedy: nothing populates `branch` in+ # `build_common_fields`, so today this is only reachable from code. The error a user sees+ # names renaming and re-installing, which is what actually works.+ config = _identify(+ _mod(_state_dict(), metadata={"model_type": "ideogram4_cond"}),+ branch="unconditional",+ )++ assert config.branch == "unconditional"+++class TestRefusals:+ def test_rejects_a_state_dict_from_another_architecture(self) -> None:+ with pytest.raises(NotAMatchError, match="Ideogram 4 transformer"):+ _identify(_mod({"double_blocks.0.img_attn.qkv.weight": torch.zeros(1)}))++ def test_rejects_a_partial_key_set(self) -> None:+ sd = _state_dict()+ del sd["embed_image_indicator.weight"]++ with pytest.raises(NotAMatchError, match="Ideogram 4 transformer"):+ _identify(_mod(sd))++ def test_rejects_the_nvfp4_repack(self) -> None:+ # The released file keeps `input_proj` in fp8 and packs only the block linears, so the+ # refusal cannot key on one tensor's dtype -- and a packed nvfp4 weight is uint8, the same+ # dtype as the `comfy_quant` markers that every repack (including the supported fp8 one)+ # carries. `weight_scale_2` is the signal only nvfp4 writes.+ sd = _state_dict(+ **{+ "layers.0.attention.qkv.weight": torch.zeros(24, 4, dtype=torch.uint8),+ "layers.0.attention.qkv.weight_scale_2": torch.zeros((), dtype=torch.float32),+ }+ )++ with pytest.raises(InvalidMatchError, match="nvfp4"):+ _identify(_mod(sd))++ def test_rejects_the_int8_repack(self) -> None:+ # As released: bf16 input projection, int8 block linears.+ sd = _state_dict(**{"layers.0.attention.qkv.weight": torch.zeros(24, 8, dtype=torch.int8)})++ with pytest.raises(InvalidMatchError, match="int8"):+ _identify(_mod(sd))++ def test_accepts_the_scaled_fp8_release(self) -> None:+ # The one quantized build this loader does handle: fp8 weight plus a per-tensor scale.+ sd = _state_dict(+ **{+ "input_proj.weight": torch.zeros(8, 4, dtype=torch.float8_e4m3fn),+ "input_proj.weight_scale": torch.zeros((), dtype=torch.float32),+ }+ )++ config = _identify(_mod(sd, metadata={"model_type": "ideogram4_cond"}))++ assert config.branch == "conditional"+++class TestRefusalReachesTheInstaller:+ """The refusals must not be swallowed by the Unknown fallback.++ `ModelConfigFactory.from_model_on_disk` catches `NotAMatchError` per candidate class and, with+ `allow_unknown_models` on (the default), registers anything nothing matched as `Unknown_Config`.+ An `InvalidMatchError` wins over that: no record is written and the reason is what the installer+ reports.+ """++ @pytest.mark.parametrize(+ ("weight", "expected"),+ [+ (torch.zeros(24, 8, dtype=torch.int8), "int8"),+ (torch.zeros(24, 4, dtype=torch.uint8), "nvfp4"),+ ],+ )+ def test_an_unsupported_repack_is_not_registered_as_unknown(+ self, tmp_path: Path, weight: torch.Tensor, expected: str+ ) -> None:+ from invokeai.backend.model_manager.configs.factory import ModelConfigFactory+ from invokeai.backend.model_manager.model_on_disk import ModelOnDisk++ sd = _state_dict(**{"layers.0.attention.qkv.weight": weight})+ if expected == "nvfp4":+ sd["layers.0.attention.qkv.weight_scale_2"] = torch.zeros((), dtype=torch.float32)++ checkpoint = tmp_path / "ideogram4_repack.safetensors"+ save_file(sd, checkpoint, metadata={"model_type": "ideogram4_cond"})++ result = ModelConfigFactory.from_model_on_disk(ModelOnDisk(checkpoint), {}, allow_unknown=True)++ assert result.config is None, "an unsupported repack must not be registered at all"+ reasons = [str(detail) for detail in result.details.values() if isinstance(detail, InvalidMatchError)]+ assert any(expected in reason for reason in reasons), reasonsdiff --git a/tests/backend/model_manager/configs/test_qwen3_vl_encoder_config.py b/tests/backend/model_manager/configs/test_qwen3_vl_encoder_config.pyindex 223daa7682..456f8273de 100644--- a/tests/backend/model_manager/configs/test_qwen3_vl_encoder_config.py+++ b/tests/backend/model_manager/configs/test_qwen3_vl_encoder_config.py@@ -18,7 +18,7 @@ from invokeai.backend.model_manager.configs.qwen3_vl_encoder import (_is_qwen3_vl_encoder_state_dict,)from invokeai.backend.model_manager.model_on_disk import ModelOnDisk-from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType, Qwen3VLVariantType_REQUIRED_FIELDS = {"hash": "blake3:fakehash",@@ -88,6 +88,7 @@ class TestQwen3VLEncoderCheckpointConfig:assert config.type == ModelType.Qwen3VLEncoderassert config.base == BaseModelType.Anyassert config.format == ModelFormat.Checkpoint+ assert config.variant is Qwen3VLVariantType.Qwen3VL_4B@patch("invokeai.backend.model_manager.configs.qwen3_vl_encoder.raise_if_not_file")@patch("invokeai.backend.model_manager.configs.qwen3_vl_encoder.raise_for_override_fields")@@ -117,7 +118,10 @@ class TestQwen3VLEncoderCheckpointConfig:@patch("invokeai.backend.model_manager.configs.qwen3_vl_encoder.raise_if_not_file")@patch("invokeai.backend.model_manager.configs.qwen3_vl_encoder.raise_for_override_fields")- def test_rejects_non_4b_checkpoint_shape(self, _rfo, _rif) -> None:+ def test_records_the_8b_variant(self, _rfo, _rif) -> None:+ # Ideogram 4's encoder. Same type, same layout, twice the width -- and the loader builds the+ # architecture from a HuggingFace config chosen by this variant, so a mislabelled one fails+ # on shapes thousands of tensors in.mod = self._make_mock_mod({"model.embed_tokens.weight": MagicMock(shape=(151936, 4096)),@@ -126,7 +130,38 @@ class TestQwen3VLEncoderCheckpointConfig:})- with pytest.raises(NotAMatchError, match="4B|hidden"):+ config = Qwen3VLEncoder_Checkpoint_Config.from_model_on_disk(mod, {**_REQUIRED_FIELDS})++ assert config.variant is Qwen3VLVariantType.Qwen3VL_8B++ @patch("invokeai.backend.model_manager.configs.qwen3_vl_encoder.raise_if_not_file")+ @patch("invokeai.backend.model_manager.configs.qwen3_vl_encoder.raise_for_override_fields")+ def test_rejects_an_unsupported_width(self, _rfo, _rif) -> None:+ # Qwen3-VL-32B (hidden 5120): a real encoder with no architecture here. Only MiniMax H3's+ # truncated build of it is supported, and that has its own config class.+ mod = self._make_mock_mod(+ {+ "model.embed_tokens.weight": MagicMock(shape=(151936, 5120)),+ "model.layers.35.self_attn.q_proj.weight": object(),+ "model.visual.blocks.0.attn.qkv.weight": object(),+ }+ )++ with pytest.raises(NotAMatchError, match="hidden size"):+ Qwen3VLEncoder_Checkpoint_Config.from_model_on_disk(mod, {**_REQUIRED_FIELDS})++ @patch("invokeai.backend.model_manager.configs.qwen3_vl_encoder.raise_if_not_file")+ @patch("invokeai.backend.model_manager.configs.qwen3_vl_encoder.raise_for_override_fields")+ def test_rejects_a_truncated_language_stack(self, _rfo, _rif) -> None:+ mod = self._make_mock_mod(+ {+ "model.embed_tokens.weight": MagicMock(shape=(151936, 4096)),+ "model.layers.20.self_attn.q_proj.weight": object(),+ "model.visual.blocks.0.attn.qkv.weight": object(),+ }+ )++ with pytest.raises(NotAMatchError, match="layer 35"):Qwen3VLEncoder_Checkpoint_Config.from_model_on_disk(mod, {**_REQUIRED_FIELDS})@@ -181,13 +216,24 @@ class TestQwen3VLEncoderDirectoryConfig:assert config.format is ModelFormat.Qwen3VLEncoder- @pytest.mark.parametrize(("hidden_size", "num_hidden_layers"), [(4096, 36), (2560, 28)])- def test_rejects_non_4b_directory_config(self, tmp_path: Path, hidden_size: int, num_hidden_layers: int) -> None:+ def test_records_the_8b_variant_from_the_directory_config(self, tmp_path: Path) -> None:+ self._write_config(tmp_path / "config.json", hidden_size=4096)+ (tmp_path / "model.safetensors").touch()+ (tmp_path / "tokenizer.json").touch()++ config = Qwen3VLEncoder_Qwen3VLEncoder_Config.from_model_on_disk(ModelOnDisk(tmp_path), self._fields(tmp_path))++ assert config.variant is Qwen3VLVariantType.Qwen3VL_8B++ @pytest.mark.parametrize(("hidden_size", "num_hidden_layers"), [(5120, 36), (2560, 28)])+ def test_rejects_an_unsupported_directory_config(+ self, tmp_path: Path, hidden_size: int, num_hidden_layers: int+ ) -> None:self._write_config(tmp_path / "config.json", hidden_size=hidden_size, num_hidden_layers=num_hidden_layers)(tmp_path / "model.safetensors").touch()(tmp_path / "tokenizer.json").touch()- with pytest.raises(NotAMatchError, match="4B|hidden|layers"):+ with pytest.raises(NotAMatchError, match="hidden size|layers"):Qwen3VLEncoder_Qwen3VLEncoder_Config.from_model_on_disk(ModelOnDisk(tmp_path), self._fields(tmp_path))def test_rejects_malformed_text_config(self, tmp_path: Path) -> None:diff --git a/tests/backend/model_manager/load/test_ideogram4_checkpoint_loader.py b/tests/backend/model_manager/load/test_ideogram4_checkpoint_loader.pynew file mode 100644index 0000000000..27498c3cec--- /dev/null+++ b/tests/backend/model_manager/load/test_ideogram4_checkpoint_loader.py@@ -0,0 +1,197 @@+"""Loader-level tests for the single-file Ideogram 4 path.++These drive `Ideogram4CheckpointModel._load_model` and assert the *end state* of the module, not+the decisions that produced it: what a scaled-fp8 checkpoint leaves resident, which layers keep+their codes, and which two must not -- `Ideogram4Transformer.forward` and+`Ideogram4EmbedScalar.forward` derive the dtype they cast their inputs to from `input_proj` and+`t_embedding`, so an fp8 weight on either turns every activation into float8.++A tiny `Ideogram4Config` stands in for the released geometry: same module tree, 29 tensors instead+of 458.+"""++from types import SimpleNamespace+from unittest.mock import MagicMock++import pytest+import torch++from invokeai.backend.ideogram4.modeling_ideogram4 import Ideogram4Config, Ideogram4Transformer+from invokeai.backend.model_manager.configs.main import Main_Checkpoint_Ideogram4_Config+from invokeai.backend.model_manager.load.model_loaders.ideogram4 import Ideogram4CheckpointModel+from invokeai.backend.model_manager.taxonomy import SubModelType++FP8 = torch.float8_e4m3fn++TINY_CONFIG = Ideogram4Config(+ emb_dim=64,+ num_layers=1,+ num_heads=2,+ intermediate_size=128,+ adanln_dim=16,+ in_channels=8,+ llm_features_dim=32,+ mrope_section=(4, 2, 2),+)++# One Linear the cast must keep quantized, and the two it must not.+KEPT = "layers.0.feed_forward.w1"+SKIPPED = ("input_proj", "t_embedding.mlp_in")+++def _quantize_scaled_fp8(weight: torch.Tensor) -> tuple[torch.Tensor, torch.Tensor]:+ """ComfyUI 'scaled fp8': one scale per tensor, folded back in by `dequantize_fp8_scaled`."""+ scale = weight.abs().max() / 448.0+ return (weight / scale).to(FP8), scale.to(torch.float32)+++def _checkpoint(paths: tuple[str, ...]) -> tuple[dict[str, torch.Tensor], dict[str, torch.Tensor]]:+ """A full state dict for the tiny geometry, with `paths` stored as scaled fp8.++ Returns the checkpoint and the float originals of the quantized layers, so a test can compare+ what the loader produced against what the file meant.+ """+ torch.manual_seed(0)+ reference = Ideogram4Transformer(TINY_CONFIG)+ state_dict = {key: value.clone().to(torch.float32) for key, value in reference.state_dict().items()}++ originals: dict[str, torch.Tensor] = {}+ for path in paths:+ key = f"{path}.weight"+ originals[key] = state_dict[key].clone()+ state_dict[key], state_dict[f"{path}.weight_scale"] = _quantize_scaled_fp8(state_dict[key])++ return state_dict, originals+++def _driver(monkeypatch, tmp_path, state_dict: dict, *, keep_fp8: bool, trace: dict | None = None):+ """Drive the loader with the cache and the fp8 storage pass recorded rather than stubbed out.++ `trace` collects what the loader *did*: `casting_calls` counts entries into+ `_apply_fp8_layerwise_casting`, and `weights_at_make_room` snapshots the state dict's dtypes at+ the moment room is reserved. Both are invariants the module documents in prose and both are+ invisible to an end-state assertion.+ """+ import invokeai.backend.model_manager.load.model_loaders.ideogram4 as module++ recorded = trace if trace is not None else {}+ recorded.setdefault("casting_calls", 0)+ recorded.setdefault("fp8_weights_at_make_room", None)++ checkpoint = tmp_path / "ideogram4_fp8_scaled.safetensors"+ checkpoint.touch()+ config = Main_Checkpoint_Ideogram4_Config.model_construct(+ path=str(checkpoint), name="ideogram4", branch="conditional"+ )++ def make_room(_bytes: int) -> None:+ recorded["fp8_weights_at_make_room"] = sum(1 for v in state_dict.values() if v.dtype is FP8)++ def apply_casting(model, _config, _submodel):+ recorded["casting_calls"] += 1+ return model++ loader = object.__new__(Ideogram4CheckpointModel)+ loader._ram_cache = SimpleNamespace(make_room=make_room)+ loader._logger = MagicMock()+ loader._torch_device = torch.device("cpu")+ loader._torch_dtype = torch.float32+ loader._apply_fp8_layerwise_casting = apply_casting++ monkeypatch.setattr(module, "load_file", lambda _path: state_dict)+ monkeypatch.setattr(module, "should_keep_fp8_weights", lambda _device: keep_fp8)+ monkeypatch.setattr(module, "read_safetensors_metadata", lambda _path, _logger: None)+ monkeypatch.setattr(module.TorchDevice, "choose_torch_device", staticmethod(lambda: torch.device("cpu")))+ monkeypatch.setattr(module.TorchDevice, "choose_bfloat16_safe_dtype", staticmethod(lambda _device: torch.float32))+ monkeypatch.setattr(+ "invokeai.backend.ideogram4.modeling_ideogram4.Ideogram4Config", lambda: TINY_CONFIG, raising=True+ )+ return loader, config+++def _load(monkeypatch, tmp_path, state_dict, *, keep_fp8: bool, trace: dict | None = None) -> torch.nn.Module:+ loader, config = _driver(monkeypatch, tmp_path, state_dict, keep_fp8=keep_fp8, trace=trace)+ return loader._load_model(config, SubModelType.Transformer)+++def test_without_the_fp8_matmul_the_scales_are_folded_into_full_precision_weights(monkeypatch, tmp_path) -> None:+ state_dict, originals = _checkpoint((KEPT, *SKIPPED))++ model = _load(monkeypatch, tmp_path, state_dict, keep_fp8=False)++ for key, original in originals.items():+ weight = model.get_parameter(key)+ assert weight.dtype is torch.float32+ # fp8 has ~2 decimal digits, so this is a "the scale was applied" check, not a bit compare:+ # a dropped scale would be off by 1/scale, which is orders of magnitude.+ assert torch.allclose(weight, original, rtol=0.1, atol=0.02)+ assert not any(hasattr(module, "weight_scale") for module in model.modules())+++def test_with_the_fp8_matmul_the_codes_stay_and_the_scales_are_attached(monkeypatch, tmp_path) -> None:+ state_dict, _ = _checkpoint((KEPT,))+ trace: dict = {}++ model = _load(monkeypatch, tmp_path, state_dict, keep_fp8=True, trace=trace)++ kept = model.get_submodule(KEPT)+ assert kept.weight.dtype is FP8+ assert kept.weight_scale.shape == ()+ # Non-persistent: a re-save that carried it would scale the weight twice.+ assert "weight_scale" not in kept.state_dict()+ # And the layerwise storage pass must not have run: its hooks restore the compute dtype without+ # applying `weight_scale` (a silently wrong weight) and disable the matmul this path exists for.+ assert trace["casting_calls"] == 0+++def test_room_is_reserved_before_the_scales_are_folded(monkeypatch, tmp_path) -> None:+ # `split_fp8_scaled_layers` dequantizes what it cannot keep through float32, so a reservation+ # made afterwards lets that transient peak land on an unreserved cache. Reserving first is+ # invisible in the loaded model, so it is asserted where it happens.+ state_dict, _ = _checkpoint((KEPT, *SKIPPED))+ trace: dict = {}++ _load(monkeypatch, tmp_path, state_dict, keep_fp8=True, trace=trace)++ assert trace["fp8_weights_at_make_room"] == 3, "the fold ran before the cache was asked for room"++[email protected]("path", SKIPPED)+def test_the_two_dtype_deriving_layers_never_stay_quantized(monkeypatch, tmp_path, path: str) -> None:+ # The regression this guards: both forwards read `<layer>.weight.dtype` (or its `compute_dtype`)+ # and cast x, t and the conditioning to it. With an fp8 weight there, the first matmul dies with+ # "addmm_cpu" not implemented for 'Float8_e4m3fn' -- and on a device where it does not die, it+ # computes in a dtype the model never intended.+ state_dict, originals = _checkpoint((KEPT, path))++ model = _load(monkeypatch, tmp_path, state_dict, keep_fp8=True)++ skipped = model.get_submodule(path)+ assert skipped.weight.dtype is torch.float32+ assert getattr(skipped, "weight_scale", None) is None+ assert torch.allclose(skipped.weight, originals[f"{path}.weight"], rtol=0.1, atol=0.02)+ # The layer that is allowed to stay fp8 still did.+ assert model.get_submodule(KEPT).weight.dtype is FP8+++def test_a_plain_checkpoint_loads_verbatim_and_is_offered_to_the_storage_pass(monkeypatch, tmp_path) -> None:+ state_dict, _ = _checkpoint(())+ expected = {key: value.clone() for key, value in state_dict.items()}+ trace: dict = {}++ model = _load(monkeypatch, tmp_path, state_dict, keep_fp8=False, trace=trace)++ for key, value in expected.items():+ assert torch.equal(model.get_parameter(key), value), key+ # Nothing here is fp8, so the model's own FP8 Storage setting is the only thing that could make+ # it so -- this is the one path that must reach `_apply_fp8_layerwise_casting`.+ assert trace["casting_calls"] == 1+++def test_only_the_transformer_submodel_is_served(monkeypatch, tmp_path) -> None:+ # A single file has no encoder, tokenizer or VAE in it; those are selected on the loader node.+ state_dict, _ = _checkpoint(())+ loader, config = _driver(monkeypatch, tmp_path, state_dict, keep_fp8=False)++ with pytest.raises(ValueError, match="holds only a transformer"):+ loader._load_model(config, SubModelType.VAE)diff --git a/tests/backend/model_manager/load/test_krea2_loader_boundaries.py b/tests/backend/model_manager/load/test_krea2_loader_boundaries.pyindex c247cf6402..21f694eaeb 100644--- a/tests/backend/model_manager/load/test_krea2_loader_boundaries.py+++ b/tests/backend/model_manager/load/test_krea2_loader_boundaries.py@@ -20,7 +20,7 @@ from invokeai.backend.model_manager.load.model_loaders.krea2 import (Qwen3VLEncoderCheckpointLoader,Qwen3VLEncoderLoader,)-from invokeai.backend.model_manager.taxonomy import Krea2VariantType, SubModelType+from invokeai.backend.model_manager.taxonomy import Krea2VariantType, Qwen3VLVariantType, SubModelTypefrom invokeai.backend.quantization.int8_convrot import Int8ConvrotLinear@@ -258,7 +258,7 @@ def test_checkpoint_encoder_loader_decodes_int8_and_does_not_call_it_fp8(monkeyploader._ram_cache = SimpleNamespace(make_room=MagicMock())loader._torch_device = torch.device("cpu")loader._logger = MagicMock()- loader._load_hf_config = lambda: SimpleNamespace()+ loader._load_hf_config = lambda _config: SimpleNamespace()loader._apply_fp8_to_nn_module = lambda *a, **k: fp8_calls.append(a)monkeypatch.setattr(transformers, "Qwen3VLModel", _TinyEncoder, raising=False)@@ -528,7 +528,7 @@ def test_the_encoder_names_itself_when_refusing_an_unmarked_int8_weight(monkeypaloader._ram_cache = SimpleNamespace(make_room=MagicMock())loader._torch_device = torch.device("cpu")loader._logger = MagicMock()- loader._load_hf_config = lambda: SimpleNamespace()+ loader._load_hf_config = lambda _config: SimpleNamespace()monkeypatch.setattr(transformers, "Qwen3VLModel", _TinyEncoder, raising=False)monkeypatch.setattr(safetensors_torch, "load_file", lambda _path: state_dict)@@ -601,7 +601,7 @@ def test_a_merged_encoder_checkpoint_is_not_mistaken_for_a_mixed_format_one(loader._ram_cache = SimpleNamespace(make_room=MagicMock())loader._torch_device = torch.device("cpu")loader._logger = MagicMock()- loader._load_hf_config = lambda: SimpleNamespace()+ loader._load_hf_config = lambda _config: SimpleNamespace()loader._apply_fp8_to_nn_module = lambda *a, **k: Nonemonkeypatch.setattr(transformers, "Qwen3VLModel", _TinyEncoder, raising=False)@@ -618,3 +618,77 @@ def test_a_merged_encoder_checkpoint_is_not_mistaken_for_a_mixed_format_one(model = loader._load_text_encoder(config)assert isinstance(model.language_model.proj, Int8ConvrotLinear)+++class _FakeTokenizer:+ """Enough of a tokenizer to answer the loader's probe."""++ def __init__(self, vocab: dict[str, int]) -> None:+ self._vocab = vocab++ def __call__(self, text: str, **_kwargs) -> dict[str, list[int]]:+ return {"input_ids": [self._vocab[token] for token in text.split() if token in self._vocab]}+++def _tokenizer_loader(monkeypatch, cached: _FakeTokenizer | Exception):+ """Stand in for the HuggingFace hub: `cached` is what the local-only attempt produces."""+ import invokeai.backend.model_manager.load.model_loaders.krea2 as module++ downloaded = _FakeTokenizer({"probe": 7})+ calls: list[bool] = []++ def from_pretrained(_repo: str, *, local_files_only: bool = False, **_kwargs):+ calls.append(local_files_only)+ if not local_files_only:+ return downloaded+ if isinstance(cached, Exception):+ raise cached+ return cached++ monkeypatch.setattr(module, "AutoTokenizer", SimpleNamespace(from_pretrained=from_pretrained))+ loader = object.__new__(Qwen3VLEncoderCheckpointLoader)+ config = SimpleNamespace(variant=Qwen3VLVariantType.Qwen3VL_4B)+ return loader, config, downloaded, calls+++def test_a_cached_tokenizer_that_cannot_encode_is_replaced(monkeypatch) -> None:+ """The failure this guards is silent, not loud.++ `_load_text_encoder` fetches the repo's `config.json` first, so on a first run the cache holds+ the config and none of the tokenizer files. `from_pretrained(..., local_files_only=True)` then+ returns a tokenizer with a one-token vocabulary instead of raising, every prompt encodes to an+ empty sequence, and the image is generated from no conditioning at all.+ """+ empty = _FakeTokenizer({})+ loader, config, downloaded, calls = _tokenizer_loader(monkeypatch, empty)++ assert loader._load_tokenizer(config) is downloaded+ assert calls == [True, False]+++def test_a_usable_cached_tokenizer_is_not_downloaded_again(monkeypatch) -> None:+ cached = _FakeTokenizer({"probe": 3})+ loader, config, _downloaded, calls = _tokenizer_loader(monkeypatch, cached)++ assert loader._load_tokenizer(config) is cached+ assert calls == [True]+++def test_a_missing_cache_falls_back_to_the_download(monkeypatch) -> None:+ loader, config, downloaded, calls = _tokenizer_loader(monkeypatch, OSError("not cached"))++ assert loader._load_tokenizer(config) is downloaded+ assert calls == [True, False]+++def test_each_qwen3_vl_variant_names_its_own_hugging_face_repo() -> None:+ """The variant's whole purpose: nothing in a single file says which Qwen3-VL it is.++ Every other test here stubs `_load_hf_config` out, so a table that mapped both variants to the+ 4B repo would leave them all green while Ideogram 4 built a 4B architecture from an 8B+ checkpoint — the mismatch `_variant_from_hidden_size` exists to prevent, one layer further on.+ """+ loader = object.__new__(Qwen3VLEncoderCheckpointLoader)++ assert loader._hf_repo(SimpleNamespace(variant=Qwen3VLVariantType.Qwen3VL_4B)) == "Qwen/Qwen3-VL-4B-Instruct"+ assert loader._hf_repo(SimpleNamespace(variant=Qwen3VLVariantType.Qwen3VL_8B)) == "Qwen/Qwen3-VL-8B-Instruct"