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[model support]: Qwen Image — full pipeline with edit, generate LoRA, GGUF, quantization, and UI (#9000)
Lincoln Steinb42274a57ef6
diff --git a/invokeai/app/api/dependencies.py b/invokeai/app/api/dependencies.pyindex 65522637a2..532f7d7590 100644--- a/invokeai/app/api/dependencies.py+++ b/invokeai/app/api/dependencies.py@@ -51,6 +51,7 @@ from invokeai.backend.stable_diffusion.diffusion.conditioning_data import (CogView4ConditioningInfo,ConditioningFieldData,FLUXConditioningInfo,+ QwenImageConditioningInfo,SD3ConditioningInfo,SDXLConditioningInfo,ZImageConditioningInfo,@@ -141,6 +142,7 @@ class ApiDependencies:SD3ConditioningInfo,CogView4ConditioningInfo,ZImageConditioningInfo,+ QwenImageConditioningInfo,AnimaConditioningInfo,],ephemeral=True,diff --git a/invokeai/app/invocations/fields.py b/invokeai/app/invocations/fields.pyindex 71b99d6687..fbe0e9a615 100644--- a/invokeai/app/invocations/fields.py+++ b/invokeai/app/invocations/fields.py@@ -171,6 +171,8 @@ class FieldDescriptions:sd3_model = "SD3 model (MMDiTX) to load"cogview4_model = "CogView4 model (Transformer) to load"z_image_model = "Z-Image model (Transformer) to load"+ qwen_image_model = "Qwen Image Edit model (Transformer) to load"+ qwen_vl_encoder = "Qwen2.5-VL tokenizer, processor and text/vision encoder"sdxl_main_model = "SDXL Main model (UNet, VAE, CLIP1, CLIP2) to load"sdxl_refiner_model = "SDXL Refiner Main Modde (UNet, VAE, CLIP2) to load"onnx_main_model = "ONNX Main model (UNet, VAE, CLIP) to load"@@ -340,6 +342,12 @@ class ZImageConditioningField(BaseModel):)+class QwenImageConditioningField(BaseModel):+ """A Qwen Image Edit conditioning tensor primitive value"""++ conditioning_name: str = Field(description="The name of conditioning tensor")++class AnimaConditioningField(BaseModel):"""An Anima conditioning tensor primitive value.diff --git a/invokeai/app/invocations/metadata.py b/invokeai/app/invocations/metadata.pyindex 29e8b3d69b..da24d8802b 100644--- a/invokeai/app/invocations/metadata.py+++ b/invokeai/app/invocations/metadata.py@@ -166,6 +166,10 @@ GENERATION_MODES = Literal["z_image_img2img","z_image_inpaint","z_image_outpaint",+ "qwen_image_txt2img",+ "qwen_image_img2img",+ "qwen_image_inpaint",+ "qwen_image_outpaint","anima_txt2img","anima_img2img","anima_inpaint",diff --git a/invokeai/app/invocations/model.py b/invokeai/app/invocations/model.pyindex 29fbe5100c..6b5afb5529 100644--- a/invokeai/app/invocations/model.py+++ b/invokeai/app/invocations/model.py@@ -72,6 +72,13 @@ class GlmEncoderField(BaseModel):text_encoder: ModelIdentifierField = Field(description="Info to load text_encoder submodel")+class QwenVLEncoderField(BaseModel):+ """Field for Qwen2.5-VL encoder used by Qwen Image Edit models."""++ tokenizer: ModelIdentifierField = Field(description="Info to load tokenizer submodel")+ text_encoder: ModelIdentifierField = Field(description="Info to load text_encoder submodel")++class Qwen3EncoderField(BaseModel):"""Field for Qwen3 text encoder used by Z-Image models."""diff --git a/invokeai/app/invocations/primitives.py b/invokeai/app/invocations/primitives.pyindex 2f404d16ba..7ec6c3dc14 100644--- a/invokeai/app/invocations/primitives.py+++ b/invokeai/app/invocations/primitives.py@@ -25,6 +25,7 @@ from invokeai.app.invocations.fields import (InputField,LatentsField,OutputField,+ QwenImageConditioningField,SD3ConditioningField,TensorField,UIComponent,@@ -474,6 +475,17 @@ class ZImageConditioningOutput(BaseInvocationOutput):return cls(conditioning=ZImageConditioningField(conditioning_name=conditioning_name))+@invocation_output("qwen_image_conditioning_output")+class QwenImageConditioningOutput(BaseInvocationOutput):+ """Base class for nodes that output a Qwen Image Edit conditioning tensor."""++ conditioning: QwenImageConditioningField = OutputField(description=FieldDescriptions.cond)++ @classmethod+ def build(cls, conditioning_name: str) -> "QwenImageConditioningOutput":+ return cls(conditioning=QwenImageConditioningField(conditioning_name=conditioning_name))++@invocation_output("anima_conditioning_output")class AnimaConditioningOutput(BaseInvocationOutput):"""Base class for nodes that output an Anima text conditioning tensor."""diff --git a/invokeai/app/invocations/qwen_image_denoise.py b/invokeai/app/invocations/qwen_image_denoise.pynew file mode 100644index 0000000000..04e21a26c3--- /dev/null+++ b/invokeai/app/invocations/qwen_image_denoise.py@@ -0,0 +1,490 @@+from contextlib import ExitStack+from typing import Callable, Iterator, Optional, Tuple++import torch+import torchvision.transforms as tv_transforms+from diffusers.models.transformers.transformer_qwenimage import QwenImageTransformer2DModel+from torchvision.transforms.functional import resize as tv_resize+from tqdm import tqdm++from invokeai.app.invocations.baseinvocation import BaseInvocation, Classification, invocation+from invokeai.app.invocations.constants import LATENT_SCALE_FACTOR+from invokeai.app.invocations.fields import (+ DenoiseMaskField,+ FieldDescriptions,+ Input,+ InputField,+ LatentsField,+ QwenImageConditioningField,+ WithBoard,+ WithMetadata,+)+from invokeai.app.invocations.model import TransformerField+from invokeai.app.invocations.primitives import LatentsOutput+from invokeai.app.services.shared.invocation_context import InvocationContext+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat+from invokeai.backend.patches.layer_patcher import LayerPatcher+from invokeai.backend.patches.lora_conversions.qwen_image_lora_constants import (+ QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX,+)+from invokeai.backend.patches.model_patch_raw import ModelPatchRaw+from invokeai.backend.rectified_flow.rectified_flow_inpaint_extension import RectifiedFlowInpaintExtension+from invokeai.backend.stable_diffusion.diffusers_pipeline import PipelineIntermediateState+from invokeai.backend.stable_diffusion.diffusion.conditioning_data import QwenImageConditioningInfo+from invokeai.backend.util.devices import TorchDevice+++@invocation(+ "qwen_image_denoise",+ title="Denoise - Qwen Image",+ tags=["image", "qwen_image"],+ category="image",+ version="1.0.0",+ classification=Classification.Prototype,+)+class QwenImageDenoiseInvocation(BaseInvocation, WithMetadata, WithBoard):+ """Run the denoising process with a Qwen Image model."""++ # If latents is provided, this means we are doing image-to-image.+ latents: Optional[LatentsField] = InputField(+ default=None, description=FieldDescriptions.latents, input=Input.Connection+ )+ # Reference image latents (encoded through VAE) to concatenate with noisy latents.+ reference_latents: Optional[LatentsField] = InputField(+ default=None,+ description="Reference image latents to guide generation. Encoded through the VAE.",+ input=Input.Connection,+ )+ # denoise_mask is used for image-to-image inpainting. Only the masked region is modified.+ denoise_mask: Optional[DenoiseMaskField] = InputField(+ default=None, description=FieldDescriptions.denoise_mask, input=Input.Connection+ )+ denoising_start: float = InputField(default=0.0, ge=0, le=1, description=FieldDescriptions.denoising_start)+ denoising_end: float = InputField(default=1.0, ge=0, le=1, description=FieldDescriptions.denoising_end)+ transformer: TransformerField = InputField(+ description=FieldDescriptions.qwen_image_model, input=Input.Connection, title="Transformer"+ )+ positive_conditioning: QwenImageConditioningField = InputField(+ description=FieldDescriptions.positive_cond, input=Input.Connection+ )+ negative_conditioning: Optional[QwenImageConditioningField] = InputField(+ default=None, description=FieldDescriptions.negative_cond, input=Input.Connection+ )+ cfg_scale: float | list[float] = InputField(default=4.0, description=FieldDescriptions.cfg_scale, title="CFG Scale")+ width: int = InputField(default=1024, multiple_of=16, description="Width of the generated image.")+ height: int = InputField(default=1024, multiple_of=16, description="Height of the generated image.")+ steps: int = InputField(default=40, gt=0, description=FieldDescriptions.steps)+ seed: int = InputField(default=0, description="Randomness seed for reproducibility.")+ shift: Optional[float] = InputField(+ default=None,+ description="Override the sigma schedule shift. "+ "When set, uses a fixed shift (e.g. 3.0 for Lightning LoRAs) instead of the default dynamic shifting. "+ "Leave unset for the base model's default schedule.",+ )++ @torch.no_grad()+ def invoke(self, context: InvocationContext) -> LatentsOutput:+ latents = self._run_diffusion(context)+ latents = latents.detach().to("cpu")++ name = context.tensors.save(tensor=latents)+ return LatentsOutput.build(latents_name=name, latents=latents, seed=None)++ def _prep_inpaint_mask(self, context: InvocationContext, latents: torch.Tensor) -> torch.Tensor | None:+ if self.denoise_mask is None:+ return None+ mask = context.tensors.load(self.denoise_mask.mask_name)+ mask = 1.0 - mask++ _, _, latent_height, latent_width = latents.shape+ mask = tv_resize(+ img=mask,+ size=[latent_height, latent_width],+ interpolation=tv_transforms.InterpolationMode.BILINEAR,+ antialias=False,+ )++ mask = mask.to(device=latents.device, dtype=latents.dtype)+ return mask++ def _load_text_conditioning(+ self,+ context: InvocationContext,+ conditioning_name: str,+ dtype: torch.dtype,+ device: torch.device,+ ) -> tuple[torch.Tensor, torch.Tensor | None]:+ cond_data = context.conditioning.load(conditioning_name)+ assert len(cond_data.conditionings) == 1+ conditioning = cond_data.conditionings[0]+ assert isinstance(conditioning, QwenImageConditioningInfo)+ conditioning = conditioning.to(dtype=dtype, device=device)+ return conditioning.prompt_embeds, conditioning.prompt_embeds_mask++ def _get_noise(+ self,+ batch_size: int,+ num_channels_latents: int,+ height: int,+ width: int,+ dtype: torch.dtype,+ device: torch.device,+ seed: int,+ ) -> torch.Tensor:+ rand_device = "cpu"+ rand_dtype = torch.float32++ return torch.randn(+ batch_size,+ num_channels_latents,+ int(height) // LATENT_SCALE_FACTOR,+ int(width) // LATENT_SCALE_FACTOR,+ device=rand_device,+ dtype=rand_dtype,+ generator=torch.Generator(device=rand_device).manual_seed(seed),+ ).to(device=device, dtype=dtype)++ def _prepare_cfg_scale(self, num_timesteps: int) -> list[float]:+ if isinstance(self.cfg_scale, float):+ cfg_scale = [self.cfg_scale] * num_timesteps+ elif isinstance(self.cfg_scale, list):+ assert len(self.cfg_scale) == num_timesteps+ cfg_scale = self.cfg_scale+ else:+ raise ValueError(f"Invalid CFG scale type: {type(self.cfg_scale)}")+ return cfg_scale++ @staticmethod+ def _pack_latents(+ latents: torch.Tensor, batch_size: int, num_channels: int, height: int, width: int+ ) -> torch.Tensor:+ """Pack 4D latents (B, C, H, W) into 2x2-patched 3D (B, H/2*W/2, C*4)."""+ latents = latents.view(batch_size, num_channels, height // 2, 2, width // 2, 2)+ latents = latents.permute(0, 2, 4, 1, 3, 5)+ latents = latents.reshape(batch_size, (height // 2) * (width // 2), num_channels * 4)+ return latents++ @staticmethod+ def _unpack_latents(latents: torch.Tensor, height: int, width: int) -> torch.Tensor:+ """Unpack 3D patched latents (B, seq, C*4) back to 4D (B, C, H, W)."""+ batch_size, _num_patches, channels = latents.shape+ # height/width are in latent space; they must be divisible by 2 for packing+ h = 2 * (height // 2)+ w = 2 * (width // 2)+ latents = latents.view(batch_size, h // 2, w // 2, channels // 4, 2, 2)+ latents = latents.permute(0, 3, 1, 4, 2, 5)+ latents = latents.reshape(batch_size, channels // 4, h, w)+ return latents++ def _run_diffusion(self, context: InvocationContext):+ inference_dtype = torch.bfloat16+ device = TorchDevice.choose_torch_device()++ transformer_info = context.models.load(self.transformer.transformer)+ assert isinstance(transformer_info.model, QwenImageTransformer2DModel)++ # Load conditioning+ pos_prompt_embeds, pos_prompt_mask = self._load_text_conditioning(+ context=context,+ conditioning_name=self.positive_conditioning.conditioning_name,+ dtype=inference_dtype,+ device=device,+ )++ neg_prompt_embeds = None+ neg_prompt_mask = None+ # Match the diffusers pipeline: only enable CFG when cfg_scale > 1 AND negative conditioning is provided.+ # With cfg_scale <= 1, the negative prediction is unused, so skip it entirely.+ # For per-step arrays, enable CFG if any step has scale > 1.+ if isinstance(self.cfg_scale, list):+ any_cfg_above_one = any(v > 1.0 for v in self.cfg_scale)+ else:+ any_cfg_above_one = self.cfg_scale > 1.0+ do_classifier_free_guidance = self.negative_conditioning is not None and any_cfg_above_one+ if do_classifier_free_guidance:+ neg_prompt_embeds, neg_prompt_mask = self._load_text_conditioning(+ context=context,+ conditioning_name=self.negative_conditioning.conditioning_name,+ dtype=inference_dtype,+ device=device,+ )++ # Prepare the timestep / sigma schedule+ patch_size = transformer_info.model.config.patch_size+ assert isinstance(patch_size, int)+ # Output channels is 16 (the actual latent channels)+ out_channels = transformer_info.model.config.out_channels+ assert isinstance(out_channels, int)++ latent_height = self.height // LATENT_SCALE_FACTOR+ latent_width = self.width // LATENT_SCALE_FACTOR+ image_seq_len = (latent_height * latent_width) // (patch_size**2)++ # Use the actual FlowMatchEulerDiscreteScheduler to compute sigmas/timesteps,+ # exactly matching the diffusers pipeline.+ import math++ import numpy as np+ from diffusers.schedulers.scheduling_flow_match_euler_discrete import FlowMatchEulerDiscreteScheduler++ # Try to load the scheduler config from the model's directory (Diffusers models+ # have a scheduler/ subdir). For GGUF models this path doesn't exist, so fall+ # back to instantiating the scheduler with the known Qwen Image defaults.+ model_path = context.models.get_absolute_path(context.models.get_config(self.transformer.transformer))+ scheduler_path = model_path / "scheduler"+ if scheduler_path.is_dir() and (scheduler_path / "scheduler_config.json").exists():+ scheduler = FlowMatchEulerDiscreteScheduler.from_pretrained(str(scheduler_path), local_files_only=True)+ else:+ scheduler = FlowMatchEulerDiscreteScheduler(+ use_dynamic_shifting=True,+ base_shift=0.5,+ max_shift=0.9,+ base_image_seq_len=256,+ max_image_seq_len=8192,+ shift_terminal=0.02,+ num_train_timesteps=1000,+ time_shift_type="exponential",+ )++ if self.shift is not None:+ # Lightning LoRA: fixed shift+ mu = math.log(self.shift)+ else:+ # Default dynamic shifting+ # Linear interpolation matching diffusers' calculate_shift+ base_shift = scheduler.config.get("base_shift", 0.5)+ max_shift = scheduler.config.get("max_shift", 0.9)+ base_seq = scheduler.config.get("base_image_seq_len", 256)+ max_seq = scheduler.config.get("max_image_seq_len", 4096)+ m = (max_shift - base_shift) / (max_seq - base_seq)+ b = base_shift - m * base_seq+ mu = image_seq_len * m + b++ init_sigmas = np.linspace(1.0, 1.0 / self.steps, self.steps).tolist()+ scheduler.set_timesteps(sigmas=init_sigmas, mu=mu, device=device)++ # Clip the schedule based on denoising_start/denoising_end to support img2img strength.+ # The scheduler's sigmas go from high (noisy) to 0 (clean). We clip to the fractional range.+ sigmas_sched = scheduler.sigmas # (N+1,) including terminal 0+ if self.denoising_start > 0 or self.denoising_end < 1:+ total_sigmas = len(sigmas_sched) - 1 # exclude terminal+ start_idx = int(round(self.denoising_start * total_sigmas))+ end_idx = int(round(self.denoising_end * total_sigmas))+ sigmas_sched = sigmas_sched[start_idx : end_idx + 1] # +1 to include the next sigma for dt+ # Rebuild timesteps from clipped sigmas (exclude terminal 0)+ timesteps_sched = sigmas_sched[:-1] * scheduler.config.num_train_timesteps+ else:+ timesteps_sched = scheduler.timesteps++ total_steps = len(timesteps_sched)++ cfg_scale = self._prepare_cfg_scale(total_steps)++ # Load initial latents if provided (for img2img)+ init_latents = context.tensors.load(self.latents.latents_name) if self.latents else None+ if init_latents is not None:+ init_latents = init_latents.to(device=device, dtype=inference_dtype)+ if init_latents.dim() == 5:+ init_latents = init_latents.squeeze(2)++ # Load reference image latents if provided+ ref_latents = None+ if self.reference_latents is not None:+ ref_latents = context.tensors.load(self.reference_latents.latents_name)+ ref_latents = ref_latents.to(device=device, dtype=inference_dtype)+ # The VAE encoder produces 5D latents (B, C, 1, H, W); squeeze the frame dim+ # so we have 4D (B, C, H, W) for packing.+ if ref_latents.dim() == 5:+ ref_latents = ref_latents.squeeze(2)++ # Generate noise (16 channels - the output latent channels)+ noise = self._get_noise(+ batch_size=1,+ num_channels_latents=out_channels,+ height=self.height,+ width=self.width,+ dtype=inference_dtype,+ device=device,+ seed=self.seed,+ )++ # Prepare input latent image+ if init_latents is not None:+ s_0 = sigmas_sched[0].item()+ latents = s_0 * noise + (1.0 - s_0) * init_latents+ else:+ if self.denoising_start > 1e-5:+ raise ValueError("denoising_start should be 0 when initial latents are not provided.")+ latents = noise++ if total_steps <= 0:+ return latents++ # Pack latents into 2x2 patches: (B, C, H, W) -> (B, H/2*W/2, C*4)+ latents = self._pack_latents(latents, 1, out_channels, latent_height, latent_width)++ # Determine whether the model uses reference latent conditioning (zero_cond_t).+ # Edit models (zero_cond_t=True) expect [noisy_patches ; ref_patches] in the sequence.+ # Txt2img models (zero_cond_t=False) only take noisy patches.+ has_zero_cond_t = getattr(transformer_info.model, "zero_cond_t", False) or getattr(+ transformer_info.model.config, "zero_cond_t", False+ )+ use_ref_latents = has_zero_cond_t++ ref_latents_packed = None+ if use_ref_latents:+ if ref_latents is not None:+ _, ref_ch, rh, rw = ref_latents.shape+ if rh != latent_height or rw != latent_width:+ ref_latents = torch.nn.functional.interpolate(+ ref_latents, size=(latent_height, latent_width), mode="bilinear"+ )+ else:+ # No reference image provided — use zeros so the model still gets the+ # expected sequence layout.+ ref_latents = torch.zeros(+ 1, out_channels, latent_height, latent_width, device=device, dtype=inference_dtype+ )+ ref_latents_packed = self._pack_latents(ref_latents, 1, out_channels, latent_height, latent_width)++ # img_shapes tells the transformer the spatial layout of patches.+ if use_ref_latents:+ img_shapes = [+ [+ (1, latent_height // 2, latent_width // 2),+ (1, latent_height // 2, latent_width // 2),+ ]+ ]+ else:+ img_shapes = [+ [+ (1, latent_height // 2, latent_width // 2),+ ]+ ]++ # Prepare inpaint extension (operates in 4D space, so unpack/repack around it)+ inpaint_mask = self._prep_inpaint_mask(context, noise) # noise has the right 4D shape+ inpaint_extension: RectifiedFlowInpaintExtension | None = None+ if inpaint_mask is not None:+ assert init_latents is not None+ inpaint_extension = RectifiedFlowInpaintExtension(+ init_latents=init_latents,+ inpaint_mask=inpaint_mask,+ noise=noise,+ )++ step_callback = self._build_step_callback(context)++ step_callback(+ PipelineIntermediateState(+ step=0,+ order=1,+ total_steps=total_steps,+ timestep=int(timesteps_sched[0].item()) if len(timesteps_sched) > 0 else 0,+ latents=self._unpack_latents(latents, latent_height, latent_width),+ ),+ )++ noisy_seq_len = latents.shape[1]++ # Determine if the model is quantized — GGUF models need sidecar patching for LoRAs+ transformer_config = context.models.get_config(self.transformer.transformer)+ model_is_quantized = transformer_config.format in (ModelFormat.GGUFQuantized,)++ with ExitStack() as exit_stack:+ (cached_weights, transformer) = exit_stack.enter_context(transformer_info.model_on_device())+ assert isinstance(transformer, QwenImageTransformer2DModel)++ # Apply LoRA patches to the transformer+ exit_stack.enter_context(+ LayerPatcher.apply_smart_model_patches(+ model=transformer,+ patches=self._lora_iterator(context),+ prefix=QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX,+ dtype=inference_dtype,+ cached_weights=cached_weights,+ force_sidecar_patching=model_is_quantized,+ )+ )++ for step_idx, t in enumerate(tqdm(timesteps_sched)):+ # The pipeline passes timestep / 1000 to the transformer+ timestep = t.expand(latents.shape[0]).to(inference_dtype)++ # For edit models: concatenate noisy and reference patches along the sequence dim+ # For txt2img models: just use noisy patches+ if ref_latents_packed is not None:+ model_input = torch.cat([latents, ref_latents_packed], dim=1)+ else:+ model_input = latents++ noise_pred_cond = transformer(+ hidden_states=model_input,+ encoder_hidden_states=pos_prompt_embeds,+ encoder_hidden_states_mask=pos_prompt_mask,+ timestep=timestep / 1000,+ img_shapes=img_shapes,+ return_dict=False,+ )[0]+ # Only keep the noisy-latent portion of the output+ noise_pred_cond = noise_pred_cond[:, :noisy_seq_len]++ if do_classifier_free_guidance and neg_prompt_embeds is not None:+ noise_pred_uncond = transformer(+ hidden_states=model_input,+ encoder_hidden_states=neg_prompt_embeds,+ encoder_hidden_states_mask=neg_prompt_mask,+ timestep=timestep / 1000,+ img_shapes=img_shapes,+ return_dict=False,+ )[0]+ noise_pred_uncond = noise_pred_uncond[:, :noisy_seq_len]++ noise_pred = noise_pred_uncond + cfg_scale[step_idx] * (noise_pred_cond - noise_pred_uncond)+ else:+ noise_pred = noise_pred_cond++ # Euler step using the (possibly clipped) sigma schedule+ sigma_curr = sigmas_sched[step_idx]+ sigma_next = sigmas_sched[step_idx + 1]+ dt = sigma_next - sigma_curr+ latents = latents.to(torch.float32) + dt * noise_pred.to(torch.float32)+ latents = latents.to(inference_dtype)++ if inpaint_extension is not None:+ sigma_next = sigmas_sched[step_idx + 1].item()+ latents_4d = self._unpack_latents(latents, latent_height, latent_width)+ latents_4d = inpaint_extension.merge_intermediate_latents_with_init_latents(latents_4d, sigma_next)+ latents = self._pack_latents(latents_4d, 1, out_channels, latent_height, latent_width)++ step_callback(+ PipelineIntermediateState(+ step=step_idx + 1,+ order=1,+ total_steps=total_steps,+ timestep=int(t.item()),+ latents=self._unpack_latents(latents, latent_height, latent_width),+ ),+ )++ # Unpack back to 4D then add frame dim for the video-style VAE: (B, C, 1, H, W)+ latents = self._unpack_latents(latents, latent_height, latent_width)+ latents = latents.unsqueeze(2)+ return latents++ def _build_step_callback(self, context: InvocationContext) -> Callable[[PipelineIntermediateState], None]:+ def step_callback(state: PipelineIntermediateState) -> None:+ context.util.sd_step_callback(state, BaseModelType.QwenImage)++ return step_callback++ def _lora_iterator(self, context: InvocationContext) -> Iterator[Tuple[ModelPatchRaw, float]]:+ """Iterate over LoRA models to apply to the transformer."""+ for lora in self.transformer.loras:+ lora_info = context.models.load(lora.lora)+ if not isinstance(lora_info.model, ModelPatchRaw):+ raise TypeError(+ f"Expected ModelPatchRaw for LoRA '{lora.lora.key}', got {type(lora_info.model).__name__}."+ )+ yield (lora_info.model, lora.weight)+ del lora_infodiff --git a/invokeai/app/invocations/qwen_image_image_to_latents.py b/invokeai/app/invocations/qwen_image_image_to_latents.pynew file mode 100644index 0000000000..c5fe1b5d5c--- /dev/null+++ b/invokeai/app/invocations/qwen_image_image_to_latents.py@@ -0,0 +1,96 @@+import einops+import torch+from diffusers.models.autoencoders.autoencoder_kl_qwenimage import AutoencoderKLQwenImage+from PIL import Image as PILImage++from invokeai.app.invocations.baseinvocation import BaseInvocation, Classification, invocation+from invokeai.app.invocations.fields import (+ FieldDescriptions,+ ImageField,+ Input,+ InputField,+ WithBoard,+ WithMetadata,+)+from invokeai.app.invocations.model import VAEField+from invokeai.app.invocations.primitives import LatentsOutput+from invokeai.app.services.shared.invocation_context import InvocationContext+from invokeai.backend.model_manager.load.load_base import LoadedModel+from invokeai.backend.stable_diffusion.diffusers_pipeline import image_resized_to_grid_as_tensor+from invokeai.backend.util.devices import TorchDevice+++@invocation(+ "qwen_image_i2l",+ title="Image to Latents - Qwen Image",+ tags=["image", "latents", "vae", "i2l", "qwen_image"],+ category="image",+ version="1.0.0",+ classification=Classification.Prototype,+)+class QwenImageImageToLatentsInvocation(BaseInvocation, WithMetadata, WithBoard):+ """Generates latents from an image using the Qwen Image VAE."""++ image: ImageField = InputField(description="The image to encode.")+ vae: VAEField = InputField(description=FieldDescriptions.vae, input=Input.Connection)+ width: int | None = InputField(+ default=None,+ description="Resize the image to this width before encoding. If not set, encodes at the image's original size.",+ )+ height: int | None = InputField(+ default=None,+ description="Resize the image to this height before encoding. If not set, encodes at the image's original size.",+ )++ @staticmethod+ def vae_encode(vae_info: LoadedModel, image_tensor: torch.Tensor) -> torch.Tensor:+ with vae_info.model_on_device() as (_, vae):+ assert isinstance(vae, AutoencoderKLQwenImage)++ vae.disable_tiling()++ image_tensor = image_tensor.to(device=TorchDevice.choose_torch_device(), dtype=vae.dtype)+ with torch.inference_mode():+ # The Qwen Image VAE expects 5D input: (B, C, num_frames, H, W)+ if image_tensor.dim() == 4:+ image_tensor = image_tensor.unsqueeze(2)++ posterior = vae.encode(image_tensor).latent_dist+ # Use mode (argmax) for deterministic encoding, matching diffusers+ latents: torch.Tensor = posterior.mode().to(dtype=vae.dtype)++ # Normalize with per-channel latents_mean / latents_std+ latents_mean = (+ torch.tensor(vae.config.latents_mean)+ .view(1, vae.config.z_dim, 1, 1, 1)+ .to(latents.device, latents.dtype)+ )+ latents_std = (+ torch.tensor(vae.config.latents_std)+ .view(1, vae.config.z_dim, 1, 1, 1)+ .to(latents.device, latents.dtype)+ )+ latents = (latents - latents_mean) / latents_std++ return latents++ @torch.no_grad()+ def invoke(self, context: InvocationContext) -> LatentsOutput:+ image = context.images.get_pil(self.image.image_name)++ # If target dimensions are specified, resize the image BEFORE encoding+ # (matching the diffusers pipeline which resizes in pixel space, not latent space).+ if self.width is not None and self.height is not None:+ image = image.convert("RGB").resize((self.width, self.height), resample=PILImage.LANCZOS)++ image_tensor = image_resized_to_grid_as_tensor(image.convert("RGB"))+ if image_tensor.dim() == 3:+ image_tensor = einops.rearrange(image_tensor, "c h w -> 1 c h w")++ vae_info = context.models.load(self.vae.vae)++ latents = self.vae_encode(vae_info=vae_info, image_tensor=image_tensor)++ latents = latents.to("cpu")+ name = context.tensors.save(tensor=latents)+ return LatentsOutput.build(latents_name=name, latents=latents, seed=None)diff --git a/invokeai/app/invocations/qwen_image_latents_to_image.py b/invokeai/app/invocations/qwen_image_latents_to_image.pynew file mode 100644index 0000000000..b3ea39c4bb--- /dev/null+++ b/invokeai/app/invocations/qwen_image_latents_to_image.py@@ -0,0 +1,85 @@+from contextlib import nullcontext++import torch+from diffusers.models.autoencoders.autoencoder_kl_qwenimage import AutoencoderKLQwenImage+from einops import rearrange+from PIL import Image++from invokeai.app.invocations.baseinvocation import BaseInvocation, Classification, invocation+from invokeai.app.invocations.fields import (+ FieldDescriptions,+ Input,+ InputField,+ LatentsField,+ WithBoard,+ WithMetadata,+)+from invokeai.app.invocations.model import VAEField+from invokeai.app.invocations.primitives import ImageOutput+from invokeai.app.services.shared.invocation_context import InvocationContext+from invokeai.backend.stable_diffusion.extensions.seamless import SeamlessExt+from invokeai.backend.util.devices import TorchDevice+++@invocation(+ "qwen_image_l2i",+ title="Latents to Image - Qwen Image",+ tags=["latents", "image", "vae", "l2i", "qwen_image"],+ category="latents",+ version="1.0.0",+ classification=Classification.Prototype,+)+class QwenImageLatentsToImageInvocation(BaseInvocation, WithMetadata, WithBoard):+ """Generates an image from latents using the Qwen Image VAE."""++ latents: LatentsField = InputField(description=FieldDescriptions.latents, input=Input.Connection)+ vae: VAEField = InputField(description=FieldDescriptions.vae, input=Input.Connection)++ @torch.no_grad()+ def invoke(self, context: InvocationContext) -> ImageOutput:+ latents = context.tensors.load(self.latents.latents_name)++ vae_info = context.models.load(self.vae.vae)+ assert isinstance(vae_info.model, AutoencoderKLQwenImage)+ with (+ SeamlessExt.static_patch_model(vae_info.model, self.vae.seamless_axes),+ vae_info.model_on_device() as (_, vae),+ ):+ context.util.signal_progress("Running VAE")+ assert isinstance(vae, AutoencoderKLQwenImage)+ latents = latents.to(device=TorchDevice.choose_torch_device(), dtype=vae.dtype)++ vae.disable_tiling()++ tiling_context = nullcontext()++ TorchDevice.empty_cache()++ with torch.inference_mode(), tiling_context:+ # The Qwen Image VAE uses per-channel latents_mean / latents_std+ # instead of a single scaling_factor.+ # Latents are 5D: (B, C, num_frames, H, W) — the unpack from the+ # denoise step already produces this shape.+ latents_mean = (+ torch.tensor(vae.config.latents_mean)+ .view(1, vae.config.z_dim, 1, 1, 1)+ .to(latents.device, latents.dtype)+ )+ latents_std = 1.0 / torch.tensor(vae.config.latents_std).view(1, vae.config.z_dim, 1, 1, 1).to(+ latents.device, latents.dtype+ )+ latents = latents / latents_std + latents_mean++ img = vae.decode(latents, return_dict=False)[0]+ # Drop the temporal frame dimension: (B, C, 1, H, W) -> (B, C, H, W)+ img = img[:, :, 0]++ img = img.clamp(-1, 1)+ img = rearrange(img[0], "c h w -> h w c")+ img_pil = Image.fromarray((127.5 * (img + 1.0)).byte().cpu().numpy())++ TorchDevice.empty_cache()++ image_dto = context.images.save(image=img_pil)++ return ImageOutput.build(image_dto)diff --git a/invokeai/app/invocations/qwen_image_lora_loader.py b/invokeai/app/invocations/qwen_image_lora_loader.pynew file mode 100644index 0000000000..f670b2d895--- /dev/null+++ b/invokeai/app/invocations/qwen_image_lora_loader.py@@ -0,0 +1,115 @@+from typing import Optional++from invokeai.app.invocations.baseinvocation import (+ BaseInvocation,+ BaseInvocationOutput,+ Classification,+ invocation,+ invocation_output,+)+from invokeai.app.invocations.fields import FieldDescriptions, Input, InputField, OutputField+from invokeai.app.invocations.model import LoRAField, ModelIdentifierField, TransformerField+from invokeai.app.services.shared.invocation_context import InvocationContext+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelType+++@invocation_output("qwen_image_lora_loader_output")+class QwenImageLoRALoaderOutput(BaseInvocationOutput):+ """Qwen Image LoRA Loader Output"""++ transformer: Optional[TransformerField] = OutputField(+ default=None, description=FieldDescriptions.transformer, title="Transformer"+ )+++@invocation(+ "qwen_image_lora_loader",+ title="Apply LoRA - Qwen Image",+ tags=["lora", "model", "qwen_image"],+ category="model",+ version="1.0.0",+ classification=Classification.Prototype,+)+class QwenImageLoRALoaderInvocation(BaseInvocation):+ """Apply a LoRA model to a Qwen Image transformer."""++ lora: ModelIdentifierField = InputField(+ description=FieldDescriptions.lora_model,+ title="LoRA",+ ui_model_base=BaseModelType.QwenImage,+ ui_model_type=ModelType.LoRA,+ )+ weight: float = InputField(default=1.0, description=FieldDescriptions.lora_weight)+ transformer: TransformerField | None = InputField(+ default=None,+ description=FieldDescriptions.transformer,+ input=Input.Connection,+ title="Transformer",+ )++ def invoke(self, context: InvocationContext) -> QwenImageLoRALoaderOutput:+ lora_key = self.lora.key++ if not context.models.exists(lora_key):+ raise ValueError(f"Unknown lora: {lora_key}!")++ if self.transformer and any(lora.lora.key == lora_key for lora in self.transformer.loras):+ raise ValueError(f'LoRA "{lora_key}" already applied to transformer.')++ output = QwenImageLoRALoaderOutput()++ if self.transformer is not None:+ output.transformer = self.transformer.model_copy(deep=True)+ output.transformer.loras.append(+ LoRAField(+ lora=self.lora,+ weight=self.weight,+ )+ )++ return output+++@invocation(+ "qwen_image_lora_collection_loader",+ title="Apply LoRA Collection - Qwen Image",+ tags=["lora", "model", "qwen_image"],+ category="model",+ version="1.0.0",+ classification=Classification.Prototype,+)+class QwenImageLoRACollectionLoader(BaseInvocation):+ """Applies a collection of LoRAs to a Qwen Image transformer."""++ loras: Optional[LoRAField | list[LoRAField]] = InputField(+ default=None, description="LoRA models and weights. May be a single LoRA or collection.", title="LoRAs"+ )+ transformer: Optional[TransformerField] = InputField(+ default=None,+ description=FieldDescriptions.transformer,+ input=Input.Connection,+ title="Transformer",+ )++ def invoke(self, context: InvocationContext) -> QwenImageLoRALoaderOutput:+ output = QwenImageLoRALoaderOutput()+ loras = self.loras if isinstance(self.loras, list) else [self.loras]+ added_loras: list[str] = []++ if self.transformer is not None:+ output.transformer = self.transformer.model_copy(deep=True)++ for lora in loras:+ if lora is None:+ continue+ if lora.lora.key in added_loras:+ continue+ if not context.models.exists(lora.lora.key):+ raise Exception(f"Unknown lora: {lora.lora.key}!")++ added_loras.append(lora.lora.key)++ if self.transformer is not None and output.transformer is not None:+ output.transformer.loras.append(lora)++ return outputdiff --git a/invokeai/app/invocations/qwen_image_model_loader.py b/invokeai/app/invocations/qwen_image_model_loader.pynew file mode 100644index 0000000000..fd96067f56--- /dev/null+++ b/invokeai/app/invocations/qwen_image_model_loader.py@@ -0,0 +1,107 @@+from typing import Optional++from invokeai.app.invocations.baseinvocation import (+ BaseInvocation,+ BaseInvocationOutput,+ Classification,+ invocation,+ invocation_output,+)+from invokeai.app.invocations.fields import FieldDescriptions, Input, InputField, OutputField+from invokeai.app.invocations.model import (+ ModelIdentifierField,+ QwenVLEncoderField,+ TransformerField,+ VAEField,+)+from invokeai.app.services.shared.invocation_context import InvocationContext+from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType, SubModelType+++@invocation_output("qwen_image_model_loader_output")+class QwenImageModelLoaderOutput(BaseInvocationOutput):+ """Qwen Image model loader output."""++ transformer: TransformerField = OutputField(description=FieldDescriptions.transformer, title="Transformer")+ qwen_vl_encoder: QwenVLEncoderField = OutputField(+ description=FieldDescriptions.qwen_vl_encoder, title="Qwen VL Encoder"+ )+ vae: VAEField = OutputField(description=FieldDescriptions.vae, title="VAE")+++@invocation(+ "qwen_image_model_loader",+ title="Main Model - Qwen Image",+ tags=["model", "qwen_image"],+ category="model",+ version="1.1.0",+ classification=Classification.Prototype,+)+class QwenImageModelLoaderInvocation(BaseInvocation):+ """Loads a Qwen Image model, outputting its submodels.++ The transformer is always loaded from the main model (Diffusers or GGUF).++ For GGUF quantized models, the VAE and Qwen VL encoder must come from a+ separate Diffusers model specified in the "Component Source" field.++ For Diffusers models, all components are extracted from the main model+ automatically. The "Component Source" field is ignored.+ """++ model: ModelIdentifierField = InputField(+ description=FieldDescriptions.qwen_image_model,+ input=Input.Direct,+ ui_model_base=BaseModelType.QwenImage,+ ui_model_type=ModelType.Main,+ title="Transformer",+ )++ component_source: Optional[ModelIdentifierField] = InputField(+ default=None,+ description="Diffusers Qwen Image model to extract the VAE and Qwen VL encoder from. "+ "Required when using a GGUF quantized transformer. "+ "Ignored when the main model is already in Diffusers format.",+ input=Input.Direct,+ ui_model_base=BaseModelType.QwenImage,+ ui_model_type=ModelType.Main,+ ui_model_format=ModelFormat.Diffusers,+ title="Component Source (Diffusers)",+ )++ def invoke(self, context: InvocationContext) -> QwenImageModelLoaderOutput:+ main_config = context.models.get_config(self.model)+ main_is_diffusers = main_config.format == ModelFormat.Diffusers++ # Transformer always comes from the main model+ transformer = self.model.model_copy(update={"submodel_type": SubModelType.Transformer})++ if main_is_diffusers:+ # Diffusers model: extract all components directly+ vae = self.model.model_copy(update={"submodel_type": SubModelType.VAE})+ tokenizer = self.model.model_copy(update={"submodel_type": SubModelType.Tokenizer})+ text_encoder = self.model.model_copy(update={"submodel_type": SubModelType.TextEncoder})+ elif self.component_source is not None:+ # GGUF/checkpoint transformer: get VAE + encoder from the component source+ source_config = context.models.get_config(self.component_source)+ if source_config.format != ModelFormat.Diffusers:+ raise ValueError(+ f"The Component Source model must be in Diffusers format. "+ f"The selected model '{source_config.name}' is in {source_config.format.value} format."+ )+ vae = self.component_source.model_copy(update={"submodel_type": SubModelType.VAE})+ tokenizer = self.component_source.model_copy(update={"submodel_type": SubModelType.Tokenizer})+ text_encoder = self.component_source.model_copy(update={"submodel_type": SubModelType.TextEncoder})+ else:+ raise ValueError(+ "No source for VAE and Qwen VL encoder. "+ "GGUF quantized models only contain the transformer — "+ "please set 'Component Source' to a Diffusers Qwen Image model "+ "to provide the VAE and text encoder."+ )++ return QwenImageModelLoaderOutput(+ transformer=TransformerField(transformer=transformer, loras=[]),+ qwen_vl_encoder=QwenVLEncoderField(tokenizer=tokenizer, text_encoder=text_encoder),+ vae=VAEField(vae=vae),+ )diff --git a/invokeai/app/invocations/qwen_image_text_encoder.py b/invokeai/app/invocations/qwen_image_text_encoder.pynew file mode 100644index 0000000000..a067421452--- /dev/null+++ b/invokeai/app/invocations/qwen_image_text_encoder.py@@ -0,0 +1,298 @@+from typing import Literal++import torch+from PIL import Image as PILImage++from invokeai.app.invocations.baseinvocation import BaseInvocation, Classification, invocation+from invokeai.app.invocations.fields import (+ FieldDescriptions,+ ImageField,+ Input,+ InputField,+ UIComponent,+)+from invokeai.app.invocations.model import QwenVLEncoderField+from invokeai.app.invocations.primitives import QwenImageConditioningOutput+from invokeai.app.services.shared.invocation_context import InvocationContext+from invokeai.backend.model_manager.load.model_cache.utils import get_effective_device+from invokeai.backend.stable_diffusion.diffusion.conditioning_data import (+ ConditioningFieldData,+ QwenImageConditioningInfo,+)++# Prompt templates and drop indices for the two Qwen Image model modes.+# These are taken directly from the diffusers pipelines.++# Image editing mode (QwenImagePipeline)+_EDIT_SYSTEM_PROMPT = (+ "Describe the key features of the input image (color, shape, size, texture, objects, background), "+ "then explain how the user's text instruction should alter or modify the image. "+ "Generate a new image that meets the user's requirements while maintaining consistency "+ "with the original input where appropriate."+)+_EDIT_DROP_IDX = 64++# Text-to-image mode (QwenImagePipeline)+_GENERATE_SYSTEM_PROMPT = (+ "Describe the image by detailing the color, shape, size, texture, quantity, "+ "text, spatial relationships of the objects and background:"+)+_GENERATE_DROP_IDX = 34++_IMAGE_PLACEHOLDER = "<|vision_start|><|image_pad|><|vision_end|>"+++def _build_prompt(user_prompt: str, num_images: int) -> str:+ """Build the full prompt with the appropriate template based on whether reference images are provided."""+ if num_images > 0:+ # Edit mode: include vision placeholders for reference images+ image_tokens = _IMAGE_PLACEHOLDER * num_images+ return (+ f"<|im_start|>system\n{_EDIT_SYSTEM_PROMPT}<|im_end|>\n"+ f"<|im_start|>user\n{image_tokens}{user_prompt}<|im_end|>\n"+ "<|im_start|>assistant\n"+ )+ else:+ # Generate mode: text-only prompt+ return (+ f"<|im_start|>system\n{_GENERATE_SYSTEM_PROMPT}<|im_end|>\n"+ f"<|im_start|>user\n{user_prompt}<|im_end|>\n"+ "<|im_start|>assistant\n"+ )+++@invocation(+ "qwen_image_text_encoder",+ title="Prompt - Qwen Image",+ tags=["prompt", "conditioning", "qwen_image"],+ category="conditioning",+ version="1.2.0",+ classification=Classification.Prototype,+)+class QwenImageTextEncoderInvocation(BaseInvocation):+ """Encodes text and reference images for Qwen Image using Qwen2.5-VL."""++ prompt: str = InputField(description="Text prompt describing the desired edit.", ui_component=UIComponent.Textarea)+ reference_images: list[ImageField] = InputField(+ default=[],+ description="Reference images to guide the edit. The model can use multiple reference images.",+ )+ qwen_vl_encoder: QwenVLEncoderField = InputField(+ title="Qwen VL Encoder",+ description=FieldDescriptions.qwen_vl_encoder,+ input=Input.Connection,+ )+ quantization: Literal["none", "int8", "nf4"] = InputField(+ default="none",+ description="Quantize the Qwen VL encoder to reduce VRAM usage. "+ "'nf4' (4-bit) saves the most memory, 'int8' (8-bit) is a middle ground.",+ )++ @staticmethod+ def _resize_for_vl_encoder(image: PILImage.Image, target_pixels: int = 512 * 512) -> PILImage.Image:+ """Resize image to fit within target_pixels while preserving aspect ratio.++ Matches the diffusers pipeline's calculate_dimensions logic: the image is resized+ so its total pixel count is approximately target_pixels, with dimensions rounded to+ multiples of 32. This prevents large images from producing too many vision tokens+ which can overwhelm the text prompt.+ """+ w, h = image.size+ aspect = w / h+ # Compute dimensions that preserve aspect ratio at ~target_pixels total+ new_w = int((target_pixels * aspect) ** 0.5)+ new_h = int(target_pixels / new_w)+ # Round to multiples of 32+ new_w = max(32, (new_w // 32) * 32)+ new_h = max(32, (new_h // 32) * 32)+ if new_w != w or new_h != h:+ image = image.resize((new_w, new_h), resample=PILImage.LANCZOS)+ return image++ @torch.no_grad()+ def invoke(self, context: InvocationContext) -> QwenImageConditioningOutput:+ # Load and resize reference images to ~1M pixels (matching diffusers pipeline)+ pil_images: list[PILImage.Image] = []+ for img_field in self.reference_images:+ pil_img = context.images.get_pil(img_field.image_name)+ pil_img = self._resize_for_vl_encoder(pil_img.convert("RGB"))+ pil_images.append(pil_img)++ prompt_embeds, prompt_mask = self._encode(context, pil_images)+ prompt_embeds = prompt_embeds.detach().to("cpu")+ prompt_mask = prompt_mask.detach().to("cpu") if prompt_mask is not None else None++ conditioning_data = ConditioningFieldData(+ conditionings=[QwenImageConditioningInfo(prompt_embeds=prompt_embeds, prompt_embeds_mask=prompt_mask)]+ )+ conditioning_name = context.conditioning.save(conditioning_data)+ return QwenImageConditioningOutput.build(conditioning_name)++ def _encode(+ self, context: InvocationContext, images: list[PILImage.Image]+ ) -> tuple[torch.Tensor, torch.Tensor | None]:+ """Encode text prompt and reference images using Qwen2.5-VL.++ Matches the diffusers QwenImagePipeline._get_qwen_prompt_embeds logic:+ 1. Format prompt with the edit-specific system template+ 2. Run through Qwen2.5-VL to get hidden states+ 3. Extract valid (non-padding) tokens and drop the system prefix+ 4. Return padded embeddings + attention mask+ """+ from transformers import AutoTokenizer, Qwen2_5_VLProcessor++ try:+ from transformers import Qwen2_5_VLImageProcessor as _ImageProcessorCls+ except ImportError:+ from transformers.models.qwen2_vl.image_processing_qwen2_vl import ( # type: ignore[no-redef]+ Qwen2VLImageProcessor as _ImageProcessorCls,+ )++ try:+ from transformers import Qwen2_5_VLVideoProcessor as _VideoProcessorCls+ except ImportError:+ from transformers.models.qwen2_vl.video_processing_qwen2_vl import ( # type: ignore[no-redef]+ Qwen2VLVideoProcessor as _VideoProcessorCls,+ )++ # Format the prompt with one vision placeholder per reference image+ text = _build_prompt(self.prompt, len(images))++ # Build the processor+ tokenizer_config = context.models.get_config(self.qwen_vl_encoder.tokenizer)+ model_root = context.models.get_absolute_path(tokenizer_config)+ tokenizer_dir = model_root / "tokenizer"++ tokenizer = AutoTokenizer.from_pretrained(str(tokenizer_dir), local_files_only=True)++ image_processor = None+ for search_dir in [model_root / "processor", tokenizer_dir, model_root, model_root / "image_processor"]:+ if (search_dir / "preprocessor_config.json").exists():+ image_processor = _ImageProcessorCls.from_pretrained(str(search_dir), local_files_only=True)+ break+ if image_processor is None:+ image_processor = _ImageProcessorCls()++ processor = Qwen2_5_VLProcessor(+ tokenizer=tokenizer,+ image_processor=image_processor,+ video_processor=_VideoProcessorCls(),+ )++ context.util.signal_progress("Running Qwen2.5-VL text/vision encoder")++ if self.quantization != "none":+ text_encoder, device, cleanup = self._load_quantized_encoder(context)+ else:+ text_encoder, device, cleanup = self._load_cached_encoder(context)++ try:+ model_inputs = processor(+ text=[text],+ images=images if images else None,+ padding=True,+ return_tensors="pt",+ ).to(device=device)++ outputs = text_encoder(+ input_ids=model_inputs.input_ids,+ attention_mask=model_inputs.attention_mask,+ pixel_values=getattr(model_inputs, "pixel_values", None),+ image_grid_thw=getattr(model_inputs, "image_grid_thw", None),+ output_hidden_states=True,+ )++ # Use last hidden state (matching diffusers pipeline)+ hidden_states = outputs.hidden_states[-1]++ # Extract valid (non-padding) tokens using the attention mask,+ # then drop the system prompt prefix tokens.+ # The drop index differs between edit mode (64) and generate mode (34).+ drop_idx = _EDIT_DROP_IDX if images else _GENERATE_DROP_IDX++ attn_mask = model_inputs.attention_mask+ bool_mask = attn_mask.bool()+ valid_lengths = bool_mask.sum(dim=1)+ selected = hidden_states[bool_mask]+ split_hidden = torch.split(selected, valid_lengths.tolist(), dim=0)++ # Drop system prefix tokens and build padded output+ trimmed = [h[drop_idx:] for h in split_hidden]+ attn_mask_list = [torch.ones(h.size(0), dtype=torch.long, device=device) for h in trimmed]+ max_seq_len = max(h.size(0) for h in trimmed)++ prompt_embeds = torch.stack(+ [torch.cat([h, h.new_zeros(max_seq_len - h.size(0), h.size(1))]) for h in trimmed]+ )+ encoder_attention_mask = torch.stack(+ [torch.cat([m, m.new_zeros(max_seq_len - m.size(0))]) for m in attn_mask_list]+ )++ prompt_embeds = prompt_embeds.to(dtype=torch.bfloat16)+ finally:+ if cleanup is not None:+ cleanup()++ # If all tokens are valid (no padding), mask is not needed+ if encoder_attention_mask.all():+ encoder_attention_mask = None++ return prompt_embeds, encoder_attention_mask++ def _load_cached_encoder(self, context: InvocationContext):+ """Load the text encoder through the model cache (no quantization)."""+ from transformers import Qwen2_5_VLForConditionalGeneration++ text_encoder_info = context.models.load(self.qwen_vl_encoder.text_encoder)+ ctx = text_encoder_info.model_on_device()+ _, text_encoder = ctx.__enter__()+ device = get_effective_device(text_encoder)+ assert isinstance(text_encoder, Qwen2_5_VLForConditionalGeneration)+ return text_encoder, device, lambda: ctx.__exit__(None, None, None)++ def _load_quantized_encoder(self, context: InvocationContext):+ """Load the text encoder with BitsAndBytes quantization, bypassing the model cache.++ BnB-quantized models are pinned to GPU and can't be moved between devices,+ so they can't go through the standard model cache. The model is loaded fresh+ each time and freed after use via the cleanup callback.+ """+ import gc+ import warnings++ from transformers import BitsAndBytesConfig, Qwen2_5_VLForConditionalGeneration++ encoder_config = context.models.get_config(self.qwen_vl_encoder.text_encoder)+ model_root = context.models.get_absolute_path(encoder_config)+ encoder_path = model_root / "text_encoder"++ if self.quantization == "nf4":+ bnb_config = BitsAndBytesConfig(+ load_in_4bit=True,+ bnb_4bit_compute_dtype=torch.bfloat16,+ bnb_4bit_quant_type="nf4",+ )+ else: # int8+ bnb_config = BitsAndBytesConfig(load_in_8bit=True)++ context.util.signal_progress("Loading Qwen2.5-VL encoder (quantized)")+ with warnings.catch_warnings():+ # BnB int8 internally casts bfloat16→float16; the warning is harmless+ warnings.filterwarnings("ignore", message="MatMul8bitLt.*cast.*float16")+ text_encoder = Qwen2_5_VLForConditionalGeneration.from_pretrained(+ str(encoder_path),+ quantization_config=bnb_config,+ device_map="auto",+ torch_dtype=torch.bfloat16,+ local_files_only=True,+ )++ device = next(text_encoder.parameters()).device++ def cleanup():+ nonlocal text_encoder+ del text_encoder+ gc.collect()+ torch.cuda.empty_cache()++ return text_encoder, device, cleanupdiff --git a/invokeai/app/services/model_install/model_install_default.py b/invokeai/app/services/model_install/model_install_default.pyindex 8503811bcd..91acc22d03 100644--- a/invokeai/app/services/model_install/model_install_default.py+++ b/invokeai/app/services/model_install/model_install_default.py@@ -17,7 +17,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Type, Unionimport torchimport yaml-from huggingface_hub import HfFolder+from huggingface_hub import get_token as hf_get_tokenfrom pydantic.networks import AnyHttpUrlfrom pydantic_core import Urlfrom requests import Session@@ -1024,7 +1024,7 @@ class ModelInstallService(ModelInstallServiceBase):) -> ModelInstallJob:# Add user's cached access token to HuggingFace requestsif source.access_token is None:- source.access_token = HfFolder.get_token()+ source.access_token = hf_get_token()remote_files, metadata = self._remote_files_from_source(source)return self._import_remote_model(source=source,diff --git a/invokeai/app/services/model_records/model_records_base.py b/invokeai/app/services/model_records/model_records_base.pyindex 96e12d3b0a..dcdc0ce595 100644--- a/invokeai/app/services/model_records/model_records_base.py+++ b/invokeai/app/services/model_records/model_records_base.py@@ -26,6 +26,7 @@ from invokeai.backend.model_manager.taxonomy import (ModelType,ModelVariantType,Qwen3VariantType,+ QwenImageVariantType,SchedulerPredictionType,ZImageVariantType,)@@ -94,7 +95,13 @@ class ModelRecordChanges(BaseModelExcludeNull):# Checkpoint-specific changes# TODO(MM2): Should we expose these? Feels footgun-y...variant: Optional[- ModelVariantType | ClipVariantType | FluxVariantType | Flux2VariantType | ZImageVariantType | Qwen3VariantType+ ModelVariantType+ | ClipVariantType+ | FluxVariantType+ | Flux2VariantType+ | ZImageVariantType+ | QwenImageVariantType+ | Qwen3VariantType] = Field(description="The variant of the model.", default=None)prediction_type: Optional[SchedulerPredictionType] = Field(description="The prediction type of the model.", default=Nonediff --git a/invokeai/app/util/step_callback.py b/invokeai/app/util/step_callback.pyindex 0e2faeca39..08dc9a2265 100644--- a/invokeai/app/util/step_callback.py+++ b/invokeai/app/util/step_callback.py@@ -93,6 +93,29 @@ COGVIEW4_LATENT_RGB_FACTORS = [[-0.00955853, -0.00980067, -0.00977842],]+# Qwen Image uses the same VAE as Wan 2.1 (16-channel).+# Factors from ComfyUI: https://github.com/comfyanonymous/ComfyUI/blob/master/comfy/latent_formats.py+QWEN_IMAGE_LATENT_RGB_FACTORS = [+ [-0.1299, -0.1692, 0.2932],+ [0.0671, 0.0406, 0.0442],+ [0.3568, 0.2548, 0.1747],+ [0.0372, 0.2344, 0.1420],+ [0.0313, 0.0189, -0.0328],+ [0.0296, -0.0956, -0.0665],+ [-0.3477, -0.4059, -0.2925],+ [0.0166, 0.1902, 0.1975],+ [-0.0412, 0.0267, -0.1364],+ [-0.1293, 0.0740, 0.1636],+ [0.0680, 0.3019, 0.1128],+ [0.0032, 0.0581, 0.0639],+ [-0.1251, 0.0927, 0.1699],+ [0.0060, -0.0633, 0.0005],+ [0.3477, 0.2275, 0.2950],+ [0.1984, 0.0913, 0.1861],+]++QWEN_IMAGE_LATENT_RGB_BIAS = [-0.1835, -0.0868, -0.3360]+# FLUX.2 uses 32 latent channels.# Factors from ComfyUI: https://github.com/Comfy-Org/ComfyUI/blob/main/comfy/latent_formats.pyFLUX2_LATENT_RGB_FACTORS = [@@ -232,6 +255,9 @@ def diffusion_step_callback(latent_rgb_factors = SD3_5_LATENT_RGB_FACTORSelif base_model == BaseModelType.CogView4:latent_rgb_factors = COGVIEW4_LATENT_RGB_FACTORS+ elif base_model == BaseModelType.QwenImage:+ latent_rgb_factors = QWEN_IMAGE_LATENT_RGB_FACTORS+ latent_rgb_bias = QWEN_IMAGE_LATENT_RGB_BIASelif base_model == BaseModelType.Flux:latent_rgb_factors = FLUX_LATENT_RGB_FACTORSelif base_model == BaseModelType.Flux2:diff --git a/invokeai/backend/model_manager/configs/factory.py b/invokeai/backend/model_manager/configs/factory.pyindex ffc1956f3b..5a376cfad9 100644--- a/invokeai/backend/model_manager/configs/factory.py+++ b/invokeai/backend/model_manager/configs/factory.py@@ -49,6 +49,7 @@ from invokeai.backend.model_manager.configs.lora import (LoRA_LyCORIS_Anima_Config,LoRA_LyCORIS_Flux2_Config,LoRA_LyCORIS_FLUX_Config,+ LoRA_LyCORIS_QwenImage_Config,LoRA_LyCORIS_SD1_Config,LoRA_LyCORIS_SD2_Config,LoRA_LyCORIS_SDXL_Config,@@ -70,6 +71,7 @@ from invokeai.backend.model_manager.configs.main import (Main_Diffusers_CogView4_Config,Main_Diffusers_Flux2_Config,Main_Diffusers_FLUX_Config,+ Main_Diffusers_QwenImage_Config,Main_Diffusers_SD1_Config,Main_Diffusers_SD2_Config,Main_Diffusers_SD3_Config,@@ -78,6 +80,7 @@ from invokeai.backend.model_manager.configs.main import (Main_Diffusers_ZImage_Config,Main_GGUF_Flux2_Config,Main_GGUF_FLUX_Config,+ Main_GGUF_QwenImage_Config,Main_GGUF_ZImage_Config,MainModelDefaultSettings,)@@ -162,6 +165,7 @@ AnyModelConfig = Annotated[Annotated[Main_Diffusers_FLUX_Config, Main_Diffusers_FLUX_Config.get_tag()],Annotated[Main_Diffusers_Flux2_Config, Main_Diffusers_Flux2_Config.get_tag()],Annotated[Main_Diffusers_CogView4_Config, Main_Diffusers_CogView4_Config.get_tag()],+ Annotated[Main_Diffusers_QwenImage_Config, Main_Diffusers_QwenImage_Config.get_tag()],Annotated[Main_Diffusers_ZImage_Config, Main_Diffusers_ZImage_Config.get_tag()],# Main (Pipeline) - checkpoint format# IMPORTANT: FLUX.2 must be checked BEFORE FLUX.1 because FLUX.2 has specific validation@@ -180,6 +184,7 @@ AnyModelConfig = Annotated[Annotated[Main_BnBNF4_FLUX_Config, Main_BnBNF4_FLUX_Config.get_tag()],Annotated[Main_GGUF_Flux2_Config, Main_GGUF_Flux2_Config.get_tag()],Annotated[Main_GGUF_FLUX_Config, Main_GGUF_FLUX_Config.get_tag()],+ Annotated[Main_GGUF_QwenImage_Config, Main_GGUF_QwenImage_Config.get_tag()],Annotated[Main_GGUF_ZImage_Config, Main_GGUF_ZImage_Config.get_tag()],# VAE - checkpoint formatAnnotated[VAE_Checkpoint_SD1_Config, VAE_Checkpoint_SD1_Config.get_tag()],@@ -212,6 +217,7 @@ AnyModelConfig = Annotated[Annotated[LoRA_LyCORIS_Flux2_Config, LoRA_LyCORIS_Flux2_Config.get_tag()],Annotated[LoRA_LyCORIS_FLUX_Config, LoRA_LyCORIS_FLUX_Config.get_tag()],Annotated[LoRA_LyCORIS_ZImage_Config, LoRA_LyCORIS_ZImage_Config.get_tag()],+ Annotated[LoRA_LyCORIS_QwenImage_Config, LoRA_LyCORIS_QwenImage_Config.get_tag()],Annotated[LoRA_LyCORIS_Anima_Config, LoRA_LyCORIS_Anima_Config.get_tag()],# LoRA - OMI formatAnnotated[LoRA_OMI_SDXL_Config, LoRA_OMI_SDXL_Config.get_tag()],diff --git a/invokeai/backend/model_manager/configs/lora.py b/invokeai/backend/model_manager/configs/lora.pyindex 65f2d1c08c..88f917d0d3 100644--- a/invokeai/backend/model_manager/configs/lora.py+++ b/invokeai/backend/model_manager/configs/lora.py@@ -772,6 +772,85 @@ class LoRA_LyCORIS_ZImage_Config(LoRA_LyCORIS_Config_Base, Config_Base):raise NotAMatchError("model does not look like a Z-Image LoRA")+class LoRA_LyCORIS_QwenImage_Config(LoRA_LyCORIS_Config_Base, Config_Base):+ """Model config for Qwen Image Edit LoRA models in LyCORIS format."""++ base: Literal[BaseModelType.QwenImage] = Field(default=BaseModelType.QwenImage)++ @classmethod+ def _validate_looks_like_lora(cls, mod: ModelOnDisk) -> None:+ """Qwen Image Edit LoRAs have keys like transformer_blocks.X.attn.to_k.lora_down.weight."""+ state_dict = mod.load_state_dict()++ has_qwen_ie_keys = state_dict_has_any_keys_starting_with(+ state_dict,+ {+ "transformer_blocks.",+ "transformer.transformer_blocks.",+ "lora_unet_transformer_blocks_", # Kohya format+ },+ )+ has_lora_suffix = state_dict_has_any_keys_ending_with(+ state_dict,+ {+ "lora_A.weight",+ "lora_B.weight",+ "lora_down.weight",+ "lora_up.weight",+ "dora_scale",+ "lokr_w1",+ "lokr_w2", # LoKR format+ },+ )+ # Must NOT have diffusion_model.layers (Z-Image) or Flux-style keys.+ # Flux LoRAs can have transformer.single_transformer_blocks or transformer.transformer_blocks+ # (with the "transformer." prefix and "single_" variant) which would falsely match our check.+ # Flux Kohya LoRAs use lora_unet_double_blocks or lora_unet_single_blocks.+ has_z_image_keys = state_dict_has_any_keys_starting_with(state_dict, {"diffusion_model.layers."})+ has_flux_keys = state_dict_has_any_keys_starting_with(+ state_dict,+ {+ "double_blocks.",+ "single_blocks.",+ "single_transformer_blocks.",+ "transformer.single_transformer_blocks.",+ "lora_unet_double_blocks_",+ "lora_unet_single_blocks_",+ "lora_unet_single_transformer_blocks_",+ },+ )++ if has_qwen_ie_keys and has_lora_suffix and not has_z_image_keys and not has_flux_keys:+ return++ raise NotAMatchError("model does not match Qwen Image LoRA heuristics")++ @classmethod+ def _get_base_or_raise(cls, mod: ModelOnDisk) -> BaseModelType:+ state_dict = mod.load_state_dict()+ has_qwen_ie_keys = state_dict_has_any_keys_starting_with(+ state_dict,+ {"transformer_blocks.", "transformer.transformer_blocks.", "lora_unet_transformer_blocks_"},+ )+ has_z_image_keys = state_dict_has_any_keys_starting_with(state_dict, {"diffusion_model.layers."})+ has_flux_keys = state_dict_has_any_keys_starting_with(+ state_dict,+ {+ "double_blocks.",+ "single_blocks.",+ "single_transformer_blocks.",+ "transformer.single_transformer_blocks.",+ "lora_unet_double_blocks_",+ "lora_unet_single_blocks_",+ "lora_unet_single_transformer_blocks_",+ },+ )++ if has_qwen_ie_keys and not has_z_image_keys and not has_flux_keys:+ return BaseModelType.QwenImage+ raise NotAMatchError("model does not look like a Qwen Image Edit LoRA")++class LoRA_LyCORIS_Anima_Config(LoRA_LyCORIS_Config_Base, Config_Base):"""Model config for Anima LoRA models in LyCORIS format."""diff --git a/invokeai/backend/model_manager/configs/main.py b/invokeai/backend/model_manager/configs/main.pyindex ee9abe54fa..1be349f394 100644--- a/invokeai/backend/model_manager/configs/main.py+++ b/invokeai/backend/model_manager/configs/main.py@@ -28,6 +28,7 @@ from invokeai.backend.model_manager.taxonomy import (ModelFormat,ModelType,ModelVariantType,+ QwenImageVariantType,SchedulerPredictionType,SubModelType,ZImageVariantType,@@ -86,6 +87,8 @@ class MainModelDefaultSettings(BaseModel):else:# Distilled models (Klein 4B, Klein 9B) use fewer stepsreturn cls(steps=4, cfg_scale=1.0, width=1024, height=1024)+ case BaseModelType.QwenImage:+ return cls(steps=40, cfg_scale=4.0, width=1024, height=1024)case _:# TODO(psyche): Do we want defaults for other base types?return None@@ -196,9 +199,11 @@ class Main_SD_Checkpoint_Config_Base(Checkpoint_Config_Base, Main_Config_Base):cls._validate_base(mod)- prediction_type = override_fields.get("prediction_type") or cls._get_scheduler_prediction_type_or_raise(mod)+ prediction_type = override_fields.pop("prediction_type", None) or cls._get_scheduler_prediction_type_or_raise(+ mod+ )- variant = override_fields.get("variant") or cls._get_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_variant_or_raise(mod)return cls(**override_fields, prediction_type=prediction_type, variant=variant)@@ -471,7 +476,7 @@ class Main_Checkpoint_FLUX_Config(Checkpoint_Config_Base, Main_Config_Base, Confcls._validate_does_not_look_like_gguf_quantized(mod)- variant = override_fields.get("variant") or cls._get_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_variant_or_raise(mod)return cls(**override_fields, variant=variant)@@ -546,7 +551,7 @@ class Main_Checkpoint_Flux2_Config(Checkpoint_Config_Base, Main_Config_Base, Concls._validate_does_not_look_like_gguf_quantized(mod)- variant = override_fields.get("variant") or cls._get_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_variant_or_raise(mod)return cls(**override_fields, variant=variant)@@ -609,7 +614,7 @@ class Main_BnBNF4_FLUX_Config(Checkpoint_Config_Base, Main_Config_Base, Config_Bcls._validate_model_looks_like_bnb_quantized(mod)- variant = override_fields.get("variant") or cls._get_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_variant_or_raise(mod)return cls(**override_fields, variant=variant)@@ -660,7 +665,7 @@ class Main_GGUF_FLUX_Config(Checkpoint_Config_Base, Main_Config_Base, Config_Bascls._validate_is_not_flux2(mod)- variant = override_fields.get("variant") or cls._get_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_variant_or_raise(mod)return cls(**override_fields, variant=variant)@@ -718,7 +723,7 @@ class Main_GGUF_Flux2_Config(Checkpoint_Config_Base, Main_Config_Base, Config_Bacls._validate_is_flux2(mod)- variant = override_fields.get("variant") or cls._get_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_variant_or_raise(mod)return cls(**override_fields, variant=variant)@@ -779,9 +784,9 @@ class Main_Diffusers_FLUX_Config(Diffusers_Config_Base, Main_Config_Base, Config},)- variant = override_fields.get("variant") or cls._get_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_variant_or_raise(mod)- repo_variant = override_fields.get("repo_variant") or cls._get_repo_variant_or_raise(mod)+ repo_variant = override_fields.pop("repo_variant", None) or cls._get_repo_variant_or_raise(mod)return cls(**override_fields,@@ -833,9 +838,9 @@ class Main_Diffusers_Flux2_Config(Diffusers_Config_Base, Main_Config_Base, Confi},)- variant = override_fields.get("variant") or cls._get_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_variant_or_raise(mod)- repo_variant = override_fields.get("repo_variant") or cls._get_repo_variant_or_raise(mod)+ repo_variant = override_fields.pop("repo_variant", None) or cls._get_repo_variant_or_raise(mod)return cls(**override_fields,@@ -904,11 +909,13 @@ class Main_SD_Diffusers_Config_Base(Diffusers_Config_Base, Main_Config_Base):cls._validate_base(mod)- variant = override_fields.get("variant") or cls._get_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_variant_or_raise(mod)- prediction_type = override_fields.get("prediction_type") or cls._get_scheduler_prediction_type_or_raise(mod)+ prediction_type = override_fields.pop("prediction_type", None) or cls._get_scheduler_prediction_type_or_raise(+ mod+ )- repo_variant = override_fields.get("repo_variant") or cls._get_repo_variant_or_raise(mod)+ repo_variant = override_fields.pop("repo_variant", None) or cls._get_repo_variant_or_raise(mod)return cls(**override_fields,@@ -1014,9 +1021,9 @@ class Main_Diffusers_SD3_Config(Diffusers_Config_Base, Main_Config_Base, Config_},)- submodels = override_fields.get("submodels") or cls._get_submodels_or_raise(mod)+ submodels = override_fields.pop("submodels", None) or cls._get_submodels_or_raise(mod)- repo_variant = override_fields.get("repo_variant") or cls._get_repo_variant_or_raise(mod)+ repo_variant = override_fields.pop("repo_variant", None) or cls._get_repo_variant_or_raise(mod)return cls(**override_fields,@@ -1089,7 +1096,7 @@ class Main_Diffusers_CogView4_Config(Diffusers_Config_Base, Main_Config_Base, Co},)- repo_variant = override_fields.get("repo_variant") or cls._get_repo_variant_or_raise(mod)+ repo_variant = override_fields.pop("repo_variant", None) or cls._get_repo_variant_or_raise(mod)return cls(**override_fields,@@ -1155,9 +1162,9 @@ class Main_Diffusers_ZImage_Config(Diffusers_Config_Base, Main_Config_Base, Conf},)- variant = override_fields.get("variant") or cls._get_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_variant_or_raise(mod)- repo_variant = override_fields.get("repo_variant") or cls._get_repo_variant_or_raise(mod)+ repo_variant = override_fields.pop("repo_variant", None) or cls._get_repo_variant_or_raise(mod)return cls(**override_fields,@@ -1201,7 +1208,7 @@ class Main_Checkpoint_ZImage_Config(Checkpoint_Config_Base, Main_Config_Base, Cocls._validate_does_not_look_like_gguf_quantized(mod)- variant = override_fields.get("variant", ZImageVariantType.Turbo)+ variant = override_fields.pop("variant", None) or ZImageVariantType.Turboreturn cls(**override_fields, variant=variant)@@ -1235,7 +1242,7 @@ class Main_GGUF_ZImage_Config(Checkpoint_Config_Base, Main_Config_Base, Config_Bcls._validate_looks_like_gguf_quantized(mod)- variant = override_fields.get("variant", ZImageVariantType.Turbo)+ variant = override_fields.pop("variant", None) or ZImageVariantType.Turboreturn cls(**override_fields, variant=variant)@@ -1252,6 +1259,106 @@ class Main_GGUF_ZImage_Config(Checkpoint_Config_Base, Main_Config_Base, Config_Braise NotAMatchError("state dict does not look like GGUF quantized")+class Main_Diffusers_QwenImage_Config(Diffusers_Config_Base, Main_Config_Base, Config_Base):+ """Model config for Qwen Image diffusers models (both txt2img and edit)."""++ base: Literal[BaseModelType.QwenImage] = Field(BaseModelType.QwenImage)+ variant: QwenImageVariantType | None = Field(default=None)++ @classmethod+ def from_model_on_disk(cls, mod: ModelOnDisk, override_fields: dict[str, Any]) -> Self:+ raise_if_not_dir(mod)++ raise_for_override_fields(cls, override_fields)++ # This check implies the base type - no further validation needed.+ raise_for_class_name(+ common_config_paths(mod.path),+ {+ "QwenImagePlusPipeline",+ "QwenImageEditPlusPipeline",+ "QwenImagePipeline",+ },+ )++ repo_variant = override_fields.pop("repo_variant", None) or cls._get_repo_variant_or_raise(mod)+ variant = override_fields.pop("variant", None) or cls._get_qwen_image_variant(mod)++ return cls(+ **override_fields,+ repo_variant=repo_variant,+ variant=variant,+ )++ @classmethod+ def _get_qwen_image_variant(cls, mod: ModelOnDisk) -> QwenImageVariantType:+ """Detect whether this is an edit or txt2img model from the pipeline class name."""+ import json++ model_index = mod.path / "model_index.json"+ if model_index.exists():+ with open(model_index) as f:+ config = json.load(f)+ class_name = config.get("_class_name", "")+ if "Edit" in class_name:+ return QwenImageVariantType.Edit+ return QwenImageVariantType.Generate+++def _has_qwen_image_keys(state_dict: dict[str | int, Any]) -> bool:+ """Check if state dict contains Qwen Image Edit transformer keys.++ Qwen Image Edit uses 'txt_in' and 'txt_norm' instead of 'context_embedder' (FLUX).+ This distinguishes it from FLUX and other architectures.+ """+ has_txt_in = any(isinstance(k, str) and k.startswith("txt_in.") for k in state_dict.keys())+ has_txt_norm = any(isinstance(k, str) and k.startswith("txt_norm.") for k in state_dict.keys())+ has_img_in = any(isinstance(k, str) and k.startswith("img_in.") for k in state_dict.keys())+ # Must NOT have context_embedder (which would indicate FLUX)+ has_context_embedder = any(isinstance(k, str) and "context_embedder" in k for k in state_dict.keys())+ return has_txt_in and has_txt_norm and has_img_in and not has_context_embedder+++class Main_GGUF_QwenImage_Config(Checkpoint_Config_Base, Main_Config_Base, Config_Base):+ """Model config for GGUF-quantized Qwen Image transformer models."""++ base: Literal[BaseModelType.QwenImage] = Field(default=BaseModelType.QwenImage)+ format: Literal[ModelFormat.GGUFQuantized] = Field(default=ModelFormat.GGUFQuantized)+ variant: QwenImageVariantType | None = Field(default=None)++ @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)++ sd = mod.load_state_dict()++ if not _has_qwen_image_keys(sd):+ raise NotAMatchError("state dict does not look like a Qwen Image Edit model")++ if not _has_ggml_tensors(sd):+ raise NotAMatchError("state dict does not look like GGUF quantized")++ # Infer variant from the state dict if not explicitly provided.+ # The Edit variant includes an extra tensor `__index_timestep_zero__` (used by the+ # `zero_cond_t` dual-modulation path in diffusers' QwenImageTransformer2DModel).+ # If the marker tensor is missing, fall back to the filename heuristic since older+ # or alternate GGUF converters may not emit it.+ explicit_variant = override_fields.pop("variant", None)+ if explicit_variant is None:+ if "__index_timestep_zero__" in sd:+ explicit_variant = QwenImageVariantType.Edit+ else:+ filename = mod.path.stem.lower()+ if "edit" in filename:+ explicit_variant = QwenImageVariantType.Edit+ else:+ explicit_variant = QwenImageVariantType.Generate++ return cls(**override_fields, variant=explicit_variant)++class Main_Checkpoint_Anima_Config(Checkpoint_Config_Base, Main_Config_Base, Config_Base):"""Model config for Anima single-file checkpoint models (safetensors).diff --git a/invokeai/backend/model_manager/load/model_loaders/lora.py b/invokeai/backend/model_manager/load/model_loaders/lora.pyindex 38d5aebeaa..6cf06d4807 100644--- a/invokeai/backend/model_manager/load/model_loaders/lora.py+++ b/invokeai/backend/model_manager/load/model_loaders/lora.py@@ -57,6 +57,9 @@ from invokeai.backend.patches.lora_conversions.flux_xlabs_lora_conversion_utilsis_state_dict_likely_in_flux_xlabs_format,lora_model_from_flux_xlabs_state_dict,)+from invokeai.backend.patches.lora_conversions.qwen_image_lora_conversion_utils import (+ lora_model_from_qwen_image_state_dict,+)from invokeai.backend.patches.lora_conversions.sd_lora_conversion_utils import lora_model_from_sd_state_dictfrom invokeai.backend.patches.lora_conversions.sdxl_lora_conversion_utils import convert_sdxl_keys_to_diffusers_formatfrom invokeai.backend.patches.lora_conversions.z_image_lora_conversion_utils import lora_model_from_z_image_state_dict@@ -162,6 +165,8 @@ class LoRALoader(ModelLoader):# Z-Image LoRAs use diffusers PEFT format with transformer and/or Qwen3 encoder layers.# We set alpha=None to use rank as alpha (common default).model = lora_model_from_z_image_state_dict(state_dict=state_dict, alpha=None)+ elif self._model_base == BaseModelType.QwenImage:+ model = lora_model_from_qwen_image_state_dict(state_dict=state_dict, alpha=None)elif self._model_base == BaseModelType.Anima:# Anima LoRAs use Kohya-style or diffusers PEFT format targeting Cosmos DiT blocks.model = lora_model_from_anima_state_dict(state_dict=state_dict, alpha=None)diff --git a/invokeai/backend/model_manager/load/model_loaders/qwen_image.py b/invokeai/backend/model_manager/load/model_loaders/qwen_image.pynew file mode 100644index 0000000000..a025e72794--- /dev/null+++ b/invokeai/backend/model_manager/load/model_loaders/qwen_image.py@@ -0,0 +1,177 @@+from pathlib import Path+from typing import Optional++import accelerate+import torch++from invokeai.backend.model_manager.configs.base import Checkpoint_Config_Base, Diffusers_Config_Base+from invokeai.backend.model_manager.configs.factory import AnyModelConfig+from invokeai.backend.model_manager.configs.main import Main_GGUF_QwenImage_Config+from invokeai.backend.model_manager.load.load_default import ModelLoader+from invokeai.backend.model_manager.load.model_loader_registry import ModelLoaderRegistry+from invokeai.backend.model_manager.load.model_loaders.generic_diffusers import GenericDiffusersLoader+from invokeai.backend.model_manager.taxonomy import (+ AnyModel,+ BaseModelType,+ ModelFormat,+ ModelType,+ QwenImageVariantType,+ SubModelType,+)+from invokeai.backend.quantization.gguf.ggml_tensor import GGMLTensor+from invokeai.backend.quantization.gguf.loaders import gguf_sd_loader+from invokeai.backend.util.devices import TorchDevice++[email protected](base=BaseModelType.QwenImage, type=ModelType.Main, format=ModelFormat.Diffusers)+class QwenImageDiffusersModel(GenericDiffusersLoader):+ """Class to load Qwen Image Edit main models."""++ def _load_model(+ self,+ config: AnyModelConfig,+ submodel_type: Optional[SubModelType] = None,+ ) -> AnyModel:+ if isinstance(config, Checkpoint_Config_Base):+ raise NotImplementedError("CheckpointConfigBase is not implemented for Qwen Image Edit models.")++ if submodel_type is None:+ raise Exception("A submodel type must be provided when loading main pipelines.")++ model_path = Path(config.path)+ load_class = self.get_hf_load_class(model_path, submodel_type)+ repo_variant = config.repo_variant if isinstance(config, Diffusers_Config_Base) else None+ variant = repo_variant.value if repo_variant else None+ model_path = model_path / submodel_type.value++ # We force bfloat16 for Qwen Image Edit models.+ # Use `dtype` (newer) with fallback to `torch_dtype` (older diffusers).+ dtype_kwarg = {"dtype": torch.bfloat16}+ try:+ result: AnyModel = load_class.from_pretrained(+ model_path,+ **dtype_kwarg,+ variant=variant,+ local_files_only=True,+ )+ except TypeError:+ # Older diffusers uses torch_dtype instead of dtype+ dtype_kwarg = {"torch_dtype": torch.bfloat16}+ result = load_class.from_pretrained(+ model_path,+ **dtype_kwarg,+ variant=variant,+ local_files_only=True,+ )+ except OSError as e:+ if variant and "no file named" in str(e):+ result = load_class.from_pretrained(model_path, **dtype_kwarg, local_files_only=True)+ else:+ raise e++ return result++[email protected](base=BaseModelType.QwenImage, type=ModelType.Main, format=ModelFormat.GGUFQuantized)+class QwenImageGGUFCheckpointModel(ModelLoader):+ """Class to load GGUF-quantized Qwen Image Edit transformer models."""++ def _load_model(+ self,+ config: AnyModelConfig,+ submodel_type: Optional[SubModelType] = None,+ ) -> AnyModel:+ if not isinstance(config, Checkpoint_Config_Base):+ raise ValueError("Only CheckpointConfigBase models are currently supported here.")++ match submodel_type:+ case SubModelType.Transformer:+ return self._load_from_singlefile(config)++ raise ValueError(+ f"Only Transformer submodels are currently supported. Received: {submodel_type.value if submodel_type else 'None'}"+ )++ def _load_from_singlefile(self, config: AnyModelConfig) -> AnyModel:+ from diffusers import QwenImageTransformer2DModel++ if not isinstance(config, Main_GGUF_QwenImage_Config):+ raise TypeError(f"Expected Main_GGUF_QwenImage_Config, got {type(config).__name__}.")+ model_path = Path(config.path)++ target_device = TorchDevice.choose_torch_device()+ compute_dtype = TorchDevice.choose_bfloat16_safe_dtype(target_device)++ sd = gguf_sd_loader(model_path, compute_dtype=compute_dtype)++ # Strip ComfyUI-style prefixes if present+ prefix_to_strip = None+ for prefix in ["model.diffusion_model.", "diffusion_model."]:+ if any(k.startswith(prefix) for k in sd.keys() if isinstance(k, str)):+ prefix_to_strip = prefix+ break++ if prefix_to_strip:+ stripped_sd = {}+ for key, value in sd.items():+ if isinstance(key, str) and key.startswith(prefix_to_strip):+ stripped_sd[key[len(prefix_to_strip) :]] = value+ else:+ stripped_sd[key] = value+ sd = stripped_sd++ # Auto-detect architecture from state dict+ num_layers = 0+ for key in sd.keys():+ if isinstance(key, str) and key.startswith("transformer_blocks."):+ parts = key.split(".")+ if len(parts) >= 2:+ try:+ layer_idx = int(parts[1])+ num_layers = max(num_layers, layer_idx + 1)+ except ValueError:+ pass++ # Detect dimensions from weights+ num_attention_heads = 24 # default+ attention_head_dim = 128 # default++ if "img_in.weight" in sd:+ w = sd["img_in.weight"]+ shape = w.tensor_shape if isinstance(w, GGMLTensor) else w.shape+ hidden_dim = shape[0]+ in_channels = shape[1]+ num_attention_heads = hidden_dim // attention_head_dim++ joint_attention_dim = 3584 # default+ if "txt_in.weight" in sd:+ w = sd["txt_in.weight"]+ shape = w.tensor_shape if isinstance(w, GGMLTensor) else w.shape+ joint_attention_dim = shape[1]++ model_config: dict = {+ "patch_size": 2,+ "in_channels": in_channels if "img_in.weight" in sd else 64,+ "out_channels": 16,+ "num_layers": num_layers if num_layers > 0 else 60,+ "attention_head_dim": attention_head_dim,+ "num_attention_heads": num_attention_heads,+ "joint_attention_dim": joint_attention_dim,+ "guidance_embeds": False,+ "axes_dims_rope": (16, 56, 56),+ }++ # zero_cond_t is only used by edit-variant models. It enables dual modulation+ # for noisy vs reference patches. Setting it on txt2img models produces garbage.+ # Also requires diffusers 0.37+ (the parameter doesn't exist in older versions).+ import inspect++ is_edit = getattr(config, "variant", None) == QwenImageVariantType.Edit+ if is_edit and "zero_cond_t" in inspect.signature(QwenImageTransformer2DModel.__init__).parameters:+ model_config["zero_cond_t"] = True++ with accelerate.init_empty_weights():+ model = QwenImageTransformer2DModel(**model_config)++ model.load_state_dict(sd, strict=False, assign=True)+ return modeldiff --git a/invokeai/backend/model_manager/metadata/fetch/huggingface.py b/invokeai/backend/model_manager/metadata/fetch/huggingface.pyindex 1b2b6c3674..30fe418fe1 100644--- a/invokeai/backend/model_manager/metadata/fetch/huggingface.py+++ b/invokeai/backend/model_manager/metadata/fetch/huggingface.py@@ -19,8 +19,7 @@ from pathlib import Pathfrom typing import Optionalimport requests-from huggingface_hub import HfApi, configure_http_backend, hf_hub_url-from huggingface_hub.errors import RepositoryNotFoundError, RevisionNotFoundError+from huggingface_hub import hf_hub_urlfrom pydantic.networks import AnyHttpUrlfrom requests.sessions import Session@@ -47,7 +46,6 @@ class HuggingFaceMetadataFetch(ModelMetadataFetchBase):this module without an internet connection."""self._requests = session or requests.Session()- configure_http_backend(backend_factory=lambda: self._requests)@classmethoddef from_json(cls, json: str) -> HuggingFaceMetadata:@@ -55,6 +53,22 @@ class HuggingFaceMetadataFetch(ModelMetadataFetchBase):metadata = HuggingFaceMetadata.model_validate_json(json)return metadata+ def _fetch_model_info(self, repo_id: str, variant: Optional[ModelRepoVariant] = None) -> dict:+ """Fetch model info from HuggingFace API using self._requests session.++ This allows the session to be mocked in tests via requests_testadapter.+ """+ url = f"https://huggingface.co/api/models/{repo_id}"+ params: dict[str, str] = {"blobs": "True"}+ if variant is not None:+ params["revision"] = str(variant)++ response = self._requests.get(url, params=params)+ if response.status_code == 404:+ raise UnknownMetadataException(f"'{repo_id}' not found.")+ response.raise_for_status()+ return response.json()+def from_id(self, id: str, variant: Optional[ModelRepoVariant] = None) -> AnyModelRepoMetadata:"""Return a HuggingFaceMetadata object given the model's repo_id."""# Little loop which tries fetching a revision corresponding to the selected variant.@@ -67,10 +81,10 @@ class HuggingFaceMetadataFetch(ModelMetadataFetchBase):repo_id = id.split("::")[0] or idwhile not model_info:try:- model_info = HfApi().model_info(repo_id=repo_id, files_metadata=True, revision=variant)- except RepositoryNotFoundError as excp:- raise UnknownMetadataException(f"'{repo_id}' not found. See trace for details.") from excp- except RevisionNotFoundError:+ model_info = self._fetch_model_info(repo_id, variant)+ except UnknownMetadataException:+ raise+ except requests.HTTPError:if variant is None:raiseelse:@@ -80,15 +94,18 @@ class HuggingFaceMetadataFetch(ModelMetadataFetchBase):_, name = repo_id.split("/")- for s in model_info.siblings or []:- assert s.rfilename is not None- assert s.size is not None+ for s in model_info.get("siblings") or []:+ rfilename = s.get("rfilename")+ size = s.get("size")+ assert rfilename is not None+ assert size is not None+ lfs = s.get("lfs")files.append(RemoteModelFile(- url=hf_hub_url(repo_id, s.rfilename, revision=variant or "main"),- path=Path(name, s.rfilename),- size=s.size,- sha256=s.lfs.get("sha256") if s.lfs else None,+ url=hf_hub_url(repo_id, rfilename, revision=variant or "main"),+ path=Path(name, rfilename),+ size=size,+ sha256=lfs.get("sha256") if lfs else None,))@@ -115,10 +132,10 @@ class HuggingFaceMetadataFetch(ModelMetadataFetchBase):)return HuggingFaceMetadata(- id=model_info.id,+ id=model_info["id"],name=name,files=files,- api_response=json.dumps(model_info.__dict__, default=str),+ api_response=json.dumps(model_info, default=str),is_diffusers=is_diffusers,ckpt_urls=ckpt_urls,)diff --git a/invokeai/backend/model_manager/metadata/metadata_base.py b/invokeai/backend/model_manager/metadata/metadata_base.pyindex e16ad4cbc4..b048144e54 100644--- a/invokeai/backend/model_manager/metadata/metadata_base.py+++ b/invokeai/backend/model_manager/metadata/metadata_base.py@@ -17,7 +17,7 @@ remote repo.from pathlib import Pathfrom typing import List, Literal, Optional, Union-from huggingface_hub import configure_http_backend, hf_hub_url+from huggingface_hub import hf_hub_urlfrom pydantic import BaseModel, Field, TypeAdapterfrom pydantic.networks import AnyHttpUrlfrom requests.sessions import Session@@ -111,7 +111,6 @@ class HuggingFaceMetadata(ModelMetadataWithFiles):full-precision model is returned."""session = session or Session()- configure_http_backend(backend_factory=lambda: session) # used in testingpaths = filter_files([x.path for x in self.files], variant, subfolder, subfolders) # all files in the modeldiff --git a/invokeai/backend/model_manager/starter_models.py b/invokeai/backend/model_manager/starter_models.pyindex b61d8f6148..66637a5970 100644--- a/invokeai/backend/model_manager/starter_models.py+++ b/invokeai/backend/model_manager/starter_models.py@@ -2,7 +2,13 @@ from typing import Optionalfrom pydantic import BaseModel-from invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType+from invokeai.backend.model_manager.taxonomy import (+ AnyVariant,+ BaseModelType,+ ModelFormat,+ ModelType,+ QwenImageVariantType,+)class StarterModelWithoutDependencies(BaseModel):@@ -12,6 +18,7 @@ class StarterModelWithoutDependencies(BaseModel):base: BaseModelTypetype: ModelTypeformat: Optional[ModelFormat] = None+ variant: Optional[AnyVariant] = Noneis_installed: bool = False# allows us to track what models a user has installed across name changes within starter models# if you update a starter model name, please add the old one to this list for that starter model@@ -649,6 +656,138 @@ cogview4 = StarterModel()# endregion+# region Qwen Image Edit+qwen_image_edit = StarterModel(+ name="Qwen Image Edit 2511",+ base=BaseModelType.QwenImage,+ source="Qwen/Qwen-Image-Edit-2511",+ description="Qwen Image Edit 2511 full diffusers model. Supports text-guided image editing with multiple reference images. (~40GB)",+ type=ModelType.Main,+ variant=QwenImageVariantType.Edit,+)++qwen_image_edit_gguf_q4_k_m = StarterModel(+ name="Qwen Image Edit 2511 (Q4_K_M)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/unsloth/Qwen-Image-Edit-2511-GGUF/resolve/main/qwen-image-edit-2511-Q4_K_M.gguf",+ description="Qwen Image Edit 2511 - Q4_K_M quantized transformer. Good quality/size balance. (~13GB)",+ type=ModelType.Main,+ format=ModelFormat.GGUFQuantized,+ variant=QwenImageVariantType.Edit,+)++qwen_image_edit_gguf_q2_k = StarterModel(+ name="Qwen Image Edit 2511 (Q2_K)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/unsloth/Qwen-Image-Edit-2511-GGUF/resolve/main/qwen-image-edit-2511-Q2_K.gguf",+ description="Qwen Image Edit 2511 - Q2_K heavily quantized transformer. Smallest size, lower quality. (~7.5GB)",+ type=ModelType.Main,+ format=ModelFormat.GGUFQuantized,+ variant=QwenImageVariantType.Edit,+)++qwen_image_edit_gguf_q6_k = StarterModel(+ name="Qwen Image Edit 2511 (Q6_K)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/unsloth/Qwen-Image-Edit-2511-GGUF/resolve/main/qwen-image-edit-2511-Q6_K.gguf",+ description="Qwen Image Edit 2511 - Q6_K quantized transformer. Near-lossless quality. (~17GB)",+ type=ModelType.Main,+ format=ModelFormat.GGUFQuantized,+ variant=QwenImageVariantType.Edit,+)++qwen_image_edit_gguf_q8_0 = StarterModel(+ name="Qwen Image Edit 2511 (Q8_0)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/unsloth/Qwen-Image-Edit-2511-GGUF/resolve/main/qwen-image-edit-2511-Q8_0.gguf",+ description="Qwen Image Edit 2511 - Q8_0 quantized transformer. Highest quality quantization. (~22GB)",+ type=ModelType.Main,+ format=ModelFormat.GGUFQuantized,+ variant=QwenImageVariantType.Edit,+)++qwen_image_edit_lightning_4step = StarterModel(+ name="Qwen Image Edit Lightning (4-step, bf16)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/lightx2v/Qwen-Image-Edit-2511-Lightning/resolve/main/Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",+ description="Lightning distillation LoRA for Qwen Image Edit — enables generation in just 4 steps. "+ "Settings: Steps=4, CFG=1, Shift Override=3.",+ type=ModelType.LoRA,+)++qwen_image_edit_lightning_8step = StarterModel(+ name="Qwen Image Edit Lightning (8-step, bf16)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/lightx2v/Qwen-Image-Edit-2511-Lightning/resolve/main/Qwen-Image-Edit-2511-Lightning-8steps-V1.0-bf16.safetensors",+ description="Lightning distillation LoRA for Qwen Image Edit — enables generation in 8 steps with better quality. "+ "Settings: Steps=8, CFG=1, Shift Override=3.",+ type=ModelType.LoRA,+)++# Qwen Image (txt2img)+qwen_image = StarterModel(+ name="Qwen Image 2512",+ base=BaseModelType.QwenImage,+ source="Qwen/Qwen-Image-2512",+ description="Qwen Image 2512 full diffusers model. High-quality text-to-image generation. (~40GB)",+ type=ModelType.Main,+)++qwen_image_gguf_q4_k_m = StarterModel(+ name="Qwen Image 2512 (Q4_K_M)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/unsloth/Qwen-Image-2512-GGUF/resolve/main/qwen-image-2512-Q4_K_M.gguf",+ description="Qwen Image 2512 - Q4_K_M quantized transformer. Good quality/size balance. (~13GB)",+ type=ModelType.Main,+ format=ModelFormat.GGUFQuantized,+)++qwen_image_gguf_q2_k = StarterModel(+ name="Qwen Image 2512 (Q2_K)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/unsloth/Qwen-Image-2512-GGUF/resolve/main/qwen-image-2512-Q2_K.gguf",+ description="Qwen Image 2512 - Q2_K heavily quantized transformer. Smallest size, lower quality. (~7.5GB)",+ type=ModelType.Main,+ format=ModelFormat.GGUFQuantized,+)++qwen_image_gguf_q6_k = StarterModel(+ name="Qwen Image 2512 (Q6_K)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/unsloth/Qwen-Image-2512-GGUF/resolve/main/qwen-image-2512-Q6_K.gguf",+ description="Qwen Image 2512 - Q6_K quantized transformer. Near-lossless quality. (~17GB)",+ type=ModelType.Main,+ format=ModelFormat.GGUFQuantized,+)++qwen_image_gguf_q8_0 = StarterModel(+ name="Qwen Image 2512 (Q8_0)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/unsloth/Qwen-Image-2512-GGUF/resolve/main/qwen-image-2512-Q8_0.gguf",+ description="Qwen Image 2512 - Q8_0 quantized transformer. Highest quality quantization. (~22GB)",+ type=ModelType.Main,+ format=ModelFormat.GGUFQuantized,+)++qwen_image_lightning_4step = StarterModel(+ name="Qwen Image Lightning (4-step, V2.0, bf16)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V2.0-bf16.safetensors",+ description="Lightning distillation LoRA for Qwen Image — enables generation in just 4 steps. "+ "Settings: Steps=4, CFG=1, Shift Override=3.",+ type=ModelType.LoRA,+)++qwen_image_lightning_8step = StarterModel(+ name="Qwen Image Lightning (8-step, V2.0, bf16)",+ base=BaseModelType.QwenImage,+ source="https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-8steps-V2.0-bf16.safetensors",+ description="Lightning distillation LoRA for Qwen Image — enables generation in 8 steps with better quality. "+ "Settings: Steps=8, CFG=1, Shift Override=3.",+ type=ModelType.LoRA,+)+# endregion+# region SigLIPsiglip = StarterModel(name="SigLIP - google/siglip-so400m-patch14-384",@@ -978,6 +1117,20 @@ STARTER_MODELS: list[StarterModel] = [flux2_klein_qwen3_4b_encoder,flux2_klein_qwen3_8b_encoder,cogview4,+ qwen_image_edit,+ qwen_image_edit_gguf_q2_k,+ qwen_image_edit_gguf_q4_k_m,+ qwen_image_edit_gguf_q6_k,+ qwen_image_edit_gguf_q8_0,+ qwen_image_edit_lightning_4step,+ qwen_image_edit_lightning_8step,+ qwen_image,+ qwen_image_gguf_q2_k,+ qwen_image_gguf_q4_k_m,+ qwen_image_gguf_q6_k,+ qwen_image_gguf_q8_0,+ qwen_image_lightning_4step,+ qwen_image_lightning_8step,flux_krea,flux_krea_quantized,z_image_turbo,@@ -1058,6 +1211,19 @@ flux2_klein_bundle: list[StarterModel] = [flux2_klein_qwen3_4b_encoder,]+qwen_image_bundle: list[StarterModel] = [+ qwen_image_edit,+ qwen_image_edit_gguf_q4_k_m,+ qwen_image_edit_gguf_q8_0,+ qwen_image_edit_lightning_4step,+ qwen_image_edit_lightning_8step,+ qwen_image,+ qwen_image_gguf_q4_k_m,+ qwen_image_gguf_q8_0,+ qwen_image_lightning_4step,+ qwen_image_lightning_8step,+]+anima_bundle: list[StarterModel] = [anima_preview3,anima_qwen3_encoder,@@ -1071,6 +1237,7 @@ STARTER_BUNDLES: dict[str, StarterModelBundle] = {BaseModelType.Flux: StarterModelBundle(name="FLUX.1 dev", models=flux_bundle),BaseModelType.Flux2: StarterModelBundle(name="FLUX.2 Klein", models=flux2_klein_bundle),BaseModelType.ZImage: StarterModelBundle(name="Z-Image Turbo", models=zimage_bundle),+ BaseModelType.QwenImage: StarterModelBundle(name="Qwen Image", models=qwen_image_bundle),BaseModelType.Anima: StarterModelBundle(name="Anima", models=anima_bundle),}diff --git a/invokeai/backend/model_manager/taxonomy.py b/invokeai/backend/model_manager/taxonomy.pyindex fe248a8b40..861984f304 100644--- a/invokeai/backend/model_manager/taxonomy.py+++ b/invokeai/backend/model_manager/taxonomy.py@@ -52,6 +52,8 @@ class BaseModelType(str, Enum):"""Indicates the model is associated with CogView 4 model architecture."""ZImage = "z-image""""Indicates the model is associated with Z-Image model architecture, including Z-Image-Turbo."""+ QwenImage = "qwen-image"+ """Indicates the model is associated with Qwen Image Edit 2511 model architecture."""Anima = "anima""""Indicates the model is associated with Anima model architecture (Cosmos Predict2 DiT + LLM Adapter)."""Unknown = "unknown"@@ -145,6 +147,16 @@ class ZImageVariantType(str, Enum):"""Z-Image Base - undistilled foundation model with full CFG and negative prompt support."""+class QwenImageVariantType(str, Enum):+ """Qwen Image model variants."""++ Generate = "generate"+ """Qwen Image - text-to-image generation model."""++ Edit = "edit"+ """Qwen Image Edit - image editing model with reference image support."""++class Qwen3VariantType(str, Enum):"""Qwen3 text encoder variants based on model size."""@@ -219,8 +231,28 @@ class FluxLoRAFormat(str, Enum):AnyVariant: TypeAlias = Union[- ModelVariantType, ClipVariantType, FluxVariantType, Flux2VariantType, ZImageVariantType, Qwen3VariantType+ ModelVariantType,+ ClipVariantType,+ FluxVariantType,+ Flux2VariantType,+ ZImageVariantType,+ QwenImageVariantType,+ Qwen3VariantType,]variant_type_adapter = TypeAdapter[- ModelVariantType | ClipVariantType | FluxVariantType | Flux2VariantType | ZImageVariantType | Qwen3VariantType-](ModelVariantType | ClipVariantType | FluxVariantType | Flux2VariantType | ZImageVariantType | Qwen3VariantType)+ ModelVariantType+ | ClipVariantType+ | FluxVariantType+ | Flux2VariantType+ | ZImageVariantType+ | QwenImageVariantType+ | Qwen3VariantType+](+ ModelVariantType+ | ClipVariantType+ | FluxVariantType+ | Flux2VariantType+ | ZImageVariantType+ | QwenImageVariantType+ | Qwen3VariantType+)diff --git a/invokeai/backend/patches/lora_conversions/qwen_image_lora_constants.py b/invokeai/backend/patches/lora_conversions/qwen_image_lora_constants.pynew file mode 100644index 0000000000..727ee5a428--- /dev/null+++ b/invokeai/backend/patches/lora_conversions/qwen_image_lora_constants.py@@ -0,0 +1,5 @@+# Qwen Image Edit LoRA prefix constants+# These prefixes are used for key mapping when applying LoRA patches to Qwen Image Edit models++# Prefix for Qwen Image Edit transformer LoRA layers+QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX = "lora_transformer-"diff --git a/invokeai/backend/patches/lora_conversions/qwen_image_lora_conversion_utils.py b/invokeai/backend/patches/lora_conversions/qwen_image_lora_conversion_utils.pynew file mode 100644index 0000000000..7fc01f7231--- /dev/null+++ b/invokeai/backend/patches/lora_conversions/qwen_image_lora_conversion_utils.py@@ -0,0 +1,197 @@+"""Qwen Image LoRA conversion utilities.++Qwen Image uses QwenImageTransformer2DModel architecture.+Supports multiple LoRA formats:+- Diffusers/PEFT: transformer_blocks.0.attn.to_k.lora_down.weight+- With prefix: transformer.transformer_blocks.0.attn.to_k.lora_down.weight+- Kohya: lora_unet_transformer_blocks_0_attn_to_k.lora_down.weight (underscores instead of dots)+"""++import re+from typing import Dict++import torch++from invokeai.backend.patches.layers.base_layer_patch import BaseLayerPatch+from invokeai.backend.patches.layers.utils import any_lora_layer_from_state_dict+from invokeai.backend.patches.lora_conversions.qwen_image_lora_constants import (+ QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX,+)+from invokeai.backend.patches.model_patch_raw import ModelPatchRaw++# Regex for Kohya-format Qwen Image LoRA keys.+# Example: lora_unet_transformer_blocks_0_attn_to_k+# Groups: (block_idx, sub_module_with_underscores)+_KOHYA_KEY_REGEX = re.compile(r"lora_unet_transformer_blocks_(\d+)_(.*)")++# Mapping from Kohya underscore-separated sub-module names to dot-separated model paths.+# The Kohya format uses underscores everywhere, but some underscores are part of the+# module name (e.g., add_k_proj, to_out). We match the longest prefix first.+_KOHYA_MODULE_MAP: list[tuple[str, str]] = [+ # Attention projections+ ("attn_add_k_proj", "attn.add_k_proj"),+ ("attn_add_q_proj", "attn.add_q_proj"),+ ("attn_add_v_proj", "attn.add_v_proj"),+ ("attn_to_add_out", "attn.to_add_out"),+ ("attn_to_out_0", "attn.to_out.0"),+ ("attn_to_k", "attn.to_k"),+ ("attn_to_q", "attn.to_q"),+ ("attn_to_v", "attn.to_v"),+ # Image stream MLP and modulation+ ("img_mlp_net_0_proj", "img_mlp.net.0.proj"),+ ("img_mlp_net_2", "img_mlp.net.2"),+ ("img_mod_1", "img_mod.1"),+ # Text stream MLP and modulation+ ("txt_mlp_net_0_proj", "txt_mlp.net.0.proj"),+ ("txt_mlp_net_2", "txt_mlp.net.2"),+ ("txt_mod_1", "txt_mod.1"),+]+++def is_state_dict_likely_kohya_qwen_image(state_dict: dict[str | int, torch.Tensor]) -> bool:+ """Check if the state dict uses Kohya-format Qwen Image LoRA keys."""+ str_keys = [k for k in state_dict.keys() if isinstance(k, str)]+ if not str_keys:+ return False+ # Check if any key matches the Kohya pattern+ return any(k.startswith("lora_unet_transformer_blocks_") for k in str_keys)+++def _convert_kohya_key(kohya_layer: str) -> str | None:+ """Convert a Kohya-format layer name to a dot-separated model module path.++ Example: lora_unet_transformer_blocks_0_attn_to_k -> transformer_blocks.0.attn.to_k+ """+ m = _KOHYA_KEY_REGEX.match(kohya_layer)+ if not m:+ return None++ block_idx = m.group(1)+ sub_module = m.group(2)++ for kohya_name, model_path in _KOHYA_MODULE_MAP:+ if sub_module == kohya_name:+ return f"transformer_blocks.{block_idx}.{model_path}"++ # Fallback: unknown sub-module, return None so caller can warn/skip+ return None+++def lora_model_from_qwen_image_state_dict(+ state_dict: Dict[str, torch.Tensor], alpha: float | None = None+) -> ModelPatchRaw:+ """Convert a Qwen Image LoRA state dict to a ModelPatchRaw.++ Handles three key formats:+ - Diffusers/PEFT: transformer_blocks.0.attn.to_k.lora_down.weight+ - With prefix: transformer.transformer_blocks.0.attn.to_k.lora_down.weight+ - Kohya: lora_unet_transformer_blocks_0_attn_to_k.lora_down.weight+ """+ is_kohya = is_state_dict_likely_kohya_qwen_image(state_dict)++ if is_kohya:+ return _convert_kohya_format(state_dict, alpha)+ else:+ return _convert_diffusers_format(state_dict, alpha)+++def _convert_kohya_format(state_dict: Dict[str, torch.Tensor], alpha: float | None) -> ModelPatchRaw:+ """Convert Kohya-format state dict. Keys are like lora_unet_transformer_blocks_0_attn_to_k.lokr_w1"""+ layers: dict[str, BaseLayerPatch] = {}++ # Group by layer (split at first dot: layer_name.param_name)+ grouped: dict[str, dict[str, torch.Tensor]] = {}+ for key, value in state_dict.items():+ if not isinstance(key, str):+ continue+ layer_name, param_name = key.split(".", 1)+ if layer_name not in grouped:+ grouped[layer_name] = {}+ grouped[layer_name][param_name] = value++ for kohya_layer, layer_dict in grouped.items():+ model_path = _convert_kohya_key(kohya_layer)+ if model_path is None:+ continue # Skip unrecognized layers++ layer = any_lora_layer_from_state_dict(layer_dict)+ final_key = f"{QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX}{model_path}"+ layers[final_key] = layer++ return ModelPatchRaw(layers=layers)+++def _convert_diffusers_format(state_dict: Dict[str, torch.Tensor], alpha: float | None) -> ModelPatchRaw:+ """Convert Diffusers/PEFT format state dict."""+ layers: dict[str, BaseLayerPatch] = {}++ # Some LoRAs use a "transformer." prefix on keys+ strip_prefixes = ["transformer."]++ grouped = _group_by_layer(state_dict)++ for layer_key, layer_dict in grouped.items():+ values = _normalize_lora_keys(layer_dict, alpha)+ layer = any_lora_layer_from_state_dict(values)+ clean_key = layer_key+ for prefix in strip_prefixes:+ if clean_key.startswith(prefix):+ clean_key = clean_key[len(prefix) :]+ break+ final_key = f"{QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX}{clean_key}"+ layers[final_key] = layer++ return ModelPatchRaw(layers=layers)+++def _normalize_lora_keys(layer_dict: dict[str, torch.Tensor], alpha: float | None) -> dict[str, torch.Tensor]:+ """Normalize LoRA key names to internal format."""+ if "lora_A.weight" in layer_dict:+ values: dict[str, torch.Tensor] = {+ "lora_down.weight": layer_dict["lora_A.weight"],+ "lora_up.weight": layer_dict["lora_B.weight"],+ }+ if alpha is not None:+ values["alpha"] = torch.tensor(alpha)+ return values+ elif "lora_down.weight" in layer_dict:+ return layer_dict+ else:+ return layer_dict+++def _group_by_layer(state_dict: Dict[str, torch.Tensor]) -> dict[str, dict[str, torch.Tensor]]:+ """Group state dict keys by layer path."""+ layer_dict: dict[str, dict[str, torch.Tensor]] = {}++ known_suffixes = [+ ".lora_A.weight",+ ".lora_B.weight",+ ".lora_down.weight",+ ".lora_up.weight",+ ".dora_scale",+ ".alpha",+ ]++ for key in state_dict:+ if not isinstance(key, str):+ continue++ layer_name = None+ key_name = None+ for suffix in known_suffixes:+ if key.endswith(suffix):+ layer_name = key[: -len(suffix)]+ key_name = suffix[1:]+ break++ if layer_name is None:+ parts = key.rsplit(".", maxsplit=2)+ layer_name = parts[0]+ key_name = ".".join(parts[1:])++ if layer_name not in layer_dict:+ layer_dict[layer_name] = {}+ layer_dict[layer_name][key_name] = state_dict[key]++ return layer_dictdiff --git a/invokeai/backend/stable_diffusion/diffusers_pipeline.py b/invokeai/backend/stable_diffusion/diffusers_pipeline.pyindex de5253f073..054e04dcb2 100644--- a/invokeai/backend/stable_diffusion/diffusers_pipeline.py+++ b/invokeai/backend/stable_diffusion/diffusers_pipeline.py@@ -17,7 +17,7 @@ from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSfrom diffusers.schedulers.scheduling_utils import KarrasDiffusionSchedulers, SchedulerMixinfrom diffusers.utils.import_utils import is_xformers_availablefrom pydantic import Field-from transformers import CLIPFeatureExtractor, CLIPTextModel, CLIPTokenizer+from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizerfrom invokeai.app.services.config.config_default import get_configfrom invokeai.backend.stable_diffusion.diffusion.conditioning_data import IPAdapterData, TextConditioningData@@ -139,7 +139,7 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline):safety_checker ([`StableDiffusionSafetyChecker`]):Classification module that estimates whether generated images could be considered offensive or harmful.Please, refer to the [model card](https://huggingface.co/CompVis/stable-diffusion-v1-4) for details.- feature_extractor ([`CLIPFeatureExtractor`]):+ feature_extractor ([`CLIPImageProcessor`]):Model that extracts features from generated images to be used as inputs for the `safety_checker`."""@@ -151,7 +151,7 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline):unet: UNet2DConditionModel,scheduler: KarrasDiffusionSchedulers,safety_checker: Optional[StableDiffusionSafetyChecker],- feature_extractor: Optional[CLIPFeatureExtractor],+ feature_extractor: Optional[CLIPImageProcessor],requires_safety_checker: bool = False,):super().__init__(diff --git a/invokeai/backend/stable_diffusion/diffusion/conditioning_data.py b/invokeai/backend/stable_diffusion/diffusion/conditioning_data.pyindex e6ca9aa18e..6a9959f1e8 100644--- a/invokeai/backend/stable_diffusion/diffusion/conditioning_data.py+++ b/invokeai/backend/stable_diffusion/diffusion/conditioning_data.py@@ -88,6 +88,23 @@ class ZImageConditioningInfo:return self+@dataclass+class QwenImageConditioningInfo:+ """Qwen Image Edit conditioning information from Qwen2.5-VL encoder."""++ prompt_embeds: torch.Tensor+ """Text/image embeddings from Qwen2.5-VL encoder. Shape: (batch_size, seq_len, hidden_size)."""++ prompt_embeds_mask: torch.Tensor | None = None+ """Attention mask for prompt_embeds. Shape: (batch_size, seq_len). 1 for valid, 0 for padding."""++ def to(self, device: torch.device | None = None, dtype: torch.dtype | None = None):+ self.prompt_embeds = self.prompt_embeds.to(device=device, dtype=dtype)+ if self.prompt_embeds_mask is not None:+ self.prompt_embeds_mask = self.prompt_embeds_mask.to(device=device)+ return self++@dataclassclass AnimaConditioningInfo:"""Anima text conditioning information from Qwen3 0.6B encoder + T5-XXL tokenizer.@@ -125,6 +142,7 @@ class ConditioningFieldData:| List[SD3ConditioningInfo]| List[CogView4ConditioningInfo]| List[ZImageConditioningInfo]+ | List[QwenImageConditioningInfo]| List[AnimaConditioningInfo])diff --git a/invokeai/frontend/web/public/locales/en.json b/invokeai/frontend/web/public/locales/en.jsonindex 6125382617..9b2aaddad7 100644--- a/invokeai/frontend/web/public/locales/en.json+++ b/invokeai/frontend/web/public/locales/en.json@@ -1263,6 +1263,12 @@"flux2KleinVaePlaceholder": "From main model","flux2KleinQwen3Encoder": "Qwen3 Encoder (optional)","flux2KleinQwen3EncoderPlaceholder": "From main model",+ "qwenImageComponentSource": "VAE/Encoder Source (Diffusers)",+ "qwenImageComponentSourcePlaceholder": "Required for GGUF models",+ "qwenImageQuantization": "Encoder Quantization",+ "qwenImageQuantizationNone": "None (bf16)",+ "qwenImageQuantizationInt8": "8-bit (int8)",+ "qwenImageQuantizationNf4": "4-bit (nf4)","upcastAttention": "Upcast Attention","uploadImage": "Upload Image","urlOrLocalPath": "URL or Local Path",@@ -1555,6 +1561,7 @@"noFLUXVAEModelSelected": "No VAE model selected for FLUX generation","noCLIPEmbedModelSelected": "No CLIP Embed model selected for FLUX generation","noQwen3EncoderModelSelected": "No Qwen3 Encoder model selected for FLUX2 Klein generation",+ "noQwenImageComponentSourceSelected": "GGUF Qwen Image models require a Diffusers Component Source for VAE/encoder","noZImageVaeSourceSelected": "No VAE source: Select VAE (FLUX) or Qwen3 Source model","noZImageQwen3EncoderSourceSelected": "No Qwen3 Encoder source: Select Qwen3 Encoder or Qwen3 Source model","noAnimaVaeModelSelected": "No Anima VAE model selected",@@ -1608,6 +1615,7 @@"sendToCanvas": "Send To Canvas","sendToUpscale": "Send To Upscale","showOptionsPanel": "Show Side Panel (O or T)",+ "shift": "Shift","shuffle": "Shuffle Seed","steps": "Steps","strength": "Strength",diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/modelSelected.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/modelSelected.tsindex 6cefc1ba4f..63b0d6469d 100644--- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/modelSelected.ts+++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/modelSelected.ts@@ -10,6 +10,7 @@ import {kleinQwen3EncoderModelSelected,kleinVaeModelSelected,modelChanged,+ qwenImageComponentSourceSelected,setZImageScheduler,syncedToOptimalDimension,vaeSelected,@@ -27,12 +28,17 @@ import {selectBboxModelBase,selectCanvasSlice,} from 'features/controlLayers/store/selectors';-import { getEntityIdentifier, isFlux2ReferenceImageConfig } from 'features/controlLayers/store/types';+import {+ getEntityIdentifier,+ isFlux2ReferenceImageConfig,+ isQwenImageReferenceImageConfig,+} from 'features/controlLayers/store/types';import {initialFlux2ReferenceImage,initialFluxKontextReferenceImage,initialFLUXRedux,initialIPAdapter,+ initialQwenImageReferenceImage,} from 'features/controlLayers/store/util';import { SUPPORTS_REF_IMAGES_BASE_MODELS } from 'features/modelManagerV2/models';import { zModelIdentifierField } from 'features/nodes/types/common';@@ -47,6 +53,7 @@ import {selectFluxVAEModels,selectGlobalRefImageModels,selectQwen3EncoderModels,+ selectQwenImageDiffusersModels,selectRegionalRefImageModels,selectT5EncoderModels,selectZImageDiffusersModels,@@ -236,6 +243,44 @@ export const addModelSelectedListener = (startAppListening: AppStartListening) =}}+ // handle incompatible Qwen Image Edit component source - clear if switching away+ const { qwenImageComponentSource } = state.params;+ if (newBase !== 'qwen-image') {+ if (qwenImageComponentSource) {+ dispatch(qwenImageComponentSourceSelected(null));+ modelsUpdatedDisabledOrCleared += 1;+ }+ } else {+ // Switching to Qwen Image - auto-default component source to a matching diffusers model+ if (!qwenImageComponentSource) {+ const availableQwenImageDiffusers = selectQwenImageDiffusersModels(state);++ // Look up the new model's variant to match generate vs edit+ const modelConfigsResult = selectModelConfigsQuery(state);+ let selectedVariant: string | null = null;+ if (modelConfigsResult.data) {+ const newModelConfig = modelConfigsAdapterSelectors.selectById(modelConfigsResult.data, newModel.key);+ if (newModelConfig && 'variant' in newModelConfig && typeof newModelConfig.variant === 'string') {+ selectedVariant = newModelConfig.variant;+ }+ }++ // Find a diffusers model matching the variant; if no variant on denoiser, prefer "generate" then "edit"+ const variantToMatch = selectedVariant ?? 'generate';+ const matchingModel = availableQwenImageDiffusers.find(+ (m) => 'variant' in m && m.variant === variantToMatch+ );+ const fallbackModel = availableQwenImageDiffusers.find(+ (m) => 'variant' in m && m.variant !== variantToMatch+ );+ const diffusersModel = matchingModel ?? fallbackModel ?? availableQwenImageDiffusers[0];++ if (diffusersModel) {+ dispatch(qwenImageComponentSourceSelected(zModelIdentifierField.parse(diffusersModel)));+ }+ }+ }+if (SUPPORTS_REF_IMAGES_BASE_MODELS.includes(newModel.base)) {// Handle incompatible reference image models - switch to first compatible model, with some smart logic// to choose the best available model based on the new main model.@@ -278,6 +323,20 @@ export const addModelSelectedListener = (startAppListening: AppStartListening) =continue;}+ if (newBase === 'qwen-image') {+ // Switching TO Qwen Image Edit - convert any non-qwen configs to qwen_image_reference_image+ if (!isQwenImageReferenceImageConfig(entity.config)) {+ dispatch(+ refImageConfigChanged({+ id: entity.id,+ config: { ...initialQwenImageReferenceImage },+ })+ );+ modelsUpdatedDisabledOrCleared += 1;+ }+ continue;+ }+if (isFlux2ReferenceImageConfig(entity.config)) {// Switching AWAY from FLUX.2 - convert flux2_reference_image to the appropriate config typelet newConfig;@@ -302,6 +361,30 @@ export const addModelSelectedListener = (startAppListening: AppStartListening) =continue;}+ if (isQwenImageReferenceImageConfig(entity.config)) {+ // Switching AWAY from Qwen Image Edit - convert to the appropriate config type+ let newConfig;+ if (newGlobalRefImageModel) {+ const parsedModel = zModelIdentifierField.parse(newGlobalRefImageModel);+ if (newModel.base === 'flux' && newModel.name.toLowerCase().includes('kontext')) {+ newConfig = { ...initialFluxKontextReferenceImage, model: parsedModel };+ } else if (newGlobalRefImageModel.type === 'flux_redux') {+ newConfig = { ...initialFLUXRedux, model: parsedModel };+ } else {+ newConfig = { ...initialIPAdapter, model: parsedModel };+ if (parsedModel.base === 'flux') {+ newConfig.clipVisionModel = 'ViT-L';+ }+ }+ } else {+ // No compatible model found - fall back to an empty IP adapter config+ newConfig = { ...initialIPAdapter };+ }+ dispatch(refImageConfigChanged({ id: entity.id, config: newConfig }));+ modelsUpdatedDisabledOrCleared += 1;+ continue;+ }+// Standard handling for non-flux2 configsconst shouldUpdateModel =(entity.config.model && entity.config.model.base !== newBase) ||@@ -389,6 +472,32 @@ export const addModelSelectedListener = (startAppListening: AppStartListening) =}}+ // Handle Qwen Image model changes within the same base (variant may change between generate/edit)+ // Auto-update the component source diffusers model to match the new variant+ if (+ newBase === 'qwen-image' &&+ state.params.model?.base === 'qwen-image' &&+ newModel.key !== state.params.model?.key+ ) {+ const modelConfigsResult = selectModelConfigsQuery(state);+ if (modelConfigsResult.data) {+ const newModelConfig = modelConfigsAdapterSelectors.selectById(modelConfigsResult.data, newModel.key);+ const newVariant =+ newModelConfig && 'variant' in newModelConfig && typeof newModelConfig.variant === 'string'+ ? newModelConfig.variant+ : 'generate';++ const availableQwenImageDiffusers = selectQwenImageDiffusersModels(state);+ const matchingModel = availableQwenImageDiffusers.find((m) => 'variant' in m && m.variant === newVariant);+ const fallbackModel = availableQwenImageDiffusers.find((m) => 'variant' in m && m.variant !== newVariant);+ const diffusersModel = matchingModel ?? fallbackModel ?? availableQwenImageDiffusers[0];++ if (diffusersModel) {+ dispatch(qwenImageComponentSourceSelected(zModelIdentifierField.parse(diffusersModel)));+ }+ }+ }+// Handle Z-Image scheduler when switching to Z-Image Base (zbase) model// LCM is not supported for undistilled models, so reset to eulerif (newBase === 'z-image' && state.params.zImageScheduler === 'lcm') {diff --git a/invokeai/frontend/web/src/common/components/Picker/Picker.tsx b/invokeai/frontend/web/src/common/components/Picker/Picker.tsxindex ffd0b30242..b70e44dd64 100644--- a/invokeai/frontend/web/src/common/components/Picker/Picker.tsx+++ b/invokeai/frontend/web/src/common/components/Picker/Picker.tsx@@ -867,7 +867,7 @@ const GroupToggleButtons = typedMemo(<T extends object>() => {}return (- <Flex gap={2} alignItems="center">+ <Flex gap={2} alignItems="center" flexWrap="wrap">{groups.map((group) => (<GroupToggleButton key={group.id} group={group} />))}@@ -927,6 +927,7 @@ const GroupToggleButton = typedMemo(<T extends object>({ group }: { group: Groupsize="xs"variant="solid"userSelect="none"+ flexShrink={0}bg={bg}color={color}borderColor={groupColor}diff --git a/invokeai/frontend/web/src/features/controlLayers/components/RefImage/RefImageSettings.tsx b/invokeai/frontend/web/src/features/controlLayers/components/RefImage/RefImageSettings.tsxindex babfd79968..98f0873686 100644--- a/invokeai/frontend/web/src/features/controlLayers/components/RefImage/RefImageSettings.tsx+++ b/invokeai/frontend/web/src/features/controlLayers/components/RefImage/RefImageSettings.tsx@@ -34,7 +34,12 @@ import type {FLUXReduxImageInfluence as FLUXReduxImageInfluenceType,IPMethodV2,} from 'features/controlLayers/store/types';-import { isFlux2ReferenceImageConfig, isFLUXReduxConfig, isIPAdapterConfig } from 'features/controlLayers/store/types';+import {+ isFlux2ReferenceImageConfig,+ isFLUXReduxConfig,+ isIPAdapterConfig,+ isQwenImageReferenceImageConfig,+} from 'features/controlLayers/store/types';import type { SetGlobalReferenceImageDndTargetData } from 'features/dnd/dnd';import { setGlobalReferenceImageDndTarget } from 'features/dnd/dnd';import { selectActiveTab } from 'features/ui/store/uiSelectors';@@ -121,8 +126,8 @@ const RefImageSettingsContent = memo(() => {const isFLUX = useAppSelector(selectIsFLUX);- // FLUX.2 Klein has built-in reference image support - no model selector needed- const showModelSelector = !isFlux2ReferenceImageConfig(config);+ // FLUX.2 Klein and Qwen Image Edit have built-in reference image support - no model selector needed+ const showModelSelector = !isFlux2ReferenceImageConfig(config) && !isQwenImageReferenceImageConfig(config);return (<Flex flexDir="column" gap={2} position="relative" w="full">diff --git a/invokeai/frontend/web/src/features/controlLayers/hooks/addLayerHooks.ts b/invokeai/frontend/web/src/features/controlLayers/hooks/addLayerHooks.tsindex 038af19603..2027ff4174 100644--- a/invokeai/frontend/web/src/features/controlLayers/hooks/addLayerHooks.ts+++ b/invokeai/frontend/web/src/features/controlLayers/hooks/addLayerHooks.ts@@ -29,6 +29,7 @@ import type {Flux2ReferenceImageConfig,FluxKontextReferenceImageConfig,IPAdapterConfig,+ QwenImageReferenceImageConfig,RegionalGuidanceIPAdapterConfig,T2IAdapterConfig,} from 'features/controlLayers/store/types';@@ -37,6 +38,7 @@ import {initialFlux2ReferenceImage,initialFluxKontextReferenceImage,initialIPAdapter,+ initialQwenImageReferenceImage,initialRegionalGuidanceIPAdapter,initialT2IAdapter,} from 'features/controlLayers/store/util';@@ -78,7 +80,7 @@ export const selectDefaultControlAdapter = createSelector(export const getDefaultRefImageConfig = (getState: AppGetState-): IPAdapterConfig | FluxKontextReferenceImageConfig | Flux2ReferenceImageConfig => {+): IPAdapterConfig | FluxKontextReferenceImageConfig | Flux2ReferenceImageConfig | QwenImageReferenceImageConfig => {const state = getState();const mainModelConfig = selectMainModelConfig(state);@@ -91,6 +93,11 @@ export const getDefaultRefImageConfig = (return deepClone(initialFlux2ReferenceImage);}+ // Qwen Image Edit has built-in reference image support - no model needed+ if (base === 'qwen-image') {+ return deepClone(initialQwenImageReferenceImage);+ }+if (base === 'flux' && mainModelConfig?.name?.toLowerCase().includes('kontext')) {const config = deepClone(initialFluxKontextReferenceImage);config.model = zModelIdentifierField.parse(mainModelConfig);diff --git a/invokeai/frontend/web/src/features/controlLayers/store/paramsSlice.ts b/invokeai/frontend/web/src/features/controlLayers/store/paramsSlice.tsindex 0b10ffce1f..09a16f4bca 100644--- a/invokeai/frontend/web/src/features/controlLayers/store/paramsSlice.ts+++ b/invokeai/frontend/web/src/features/controlLayers/store/paramsSlice.ts@@ -258,6 +258,19 @@ const slice = createSlice({}state.kleinQwen3EncoderModel = result.data;},+ qwenImageComponentSourceSelected: (state, action: PayloadAction<ParameterModel | null>) => {+ const result = zParamsState.shape.qwenImageComponentSource.safeParse(action.payload);+ if (!result.success) {+ return;+ }+ state.qwenImageComponentSource = result.data;+ },+ qwenImageQuantizationChanged: (state, action: PayloadAction<'none' | 'int8' | 'nf4'>) => {+ state.qwenImageQuantization = action.payload;+ },+ qwenImageShiftChanged: (state, action: PayloadAction<number | null>) => {+ state.qwenImageShift = action.payload;+ },vaePrecisionChanged: (state, action: PayloadAction<ParameterPrecision>) => {state.vaePrecision = action.payload;},@@ -515,6 +528,9 @@ const resetState = (state: ParamsState): ParamsState => {newState.animaT5EncoderModel = oldState.animaT5EncoderModel;newState.kleinVaeModel = oldState.kleinVaeModel;newState.kleinQwen3EncoderModel = oldState.kleinQwen3EncoderModel;+ newState.qwenImageComponentSource = oldState.qwenImageComponentSource;+ newState.qwenImageQuantization = oldState.qwenImageQuantization;+ newState.qwenImageShift = oldState.qwenImageShift;return newState;};@@ -562,6 +578,9 @@ export const {zImageQwen3SourceModelSelected,kleinVaeModelSelected,kleinQwen3EncoderModelSelected,+ qwenImageComponentSourceSelected,+ qwenImageQuantizationChanged,+ qwenImageShiftChanged,setClipSkip,shouldUseCpuNoiseChanged,setColorCompensation,@@ -633,6 +652,7 @@ export const selectIsCogView4 = createParamsSelector((params) => params.model?.bexport const selectIsZImage = createParamsSelector((params) => params.model?.base === 'z-image');export const selectIsAnima = createParamsSelector((params) => params.model?.base === 'anima');export const selectIsFlux2 = createParamsSelector((params) => params.model?.base === 'flux2');+export const selectIsQwenImage = createParamsSelector((params) => params.model?.base === 'qwen-image');export const selectIsFluxKontext = createParamsSelector((params) => {if (params.model?.base === 'flux' && params.model?.name.toLowerCase().includes('kontext')) {return true;@@ -659,6 +679,9 @@ export const selectAnimaT5EncoderModel = createParamsSelector((params) => paramsexport const selectAnimaScheduler = createParamsSelector((params) => params.animaScheduler);export const selectKleinVaeModel = createParamsSelector((params) => params.kleinVaeModel);export const selectKleinQwen3EncoderModel = createParamsSelector((params) => params.kleinQwen3EncoderModel);+export const selectQwenImageComponentSource = createParamsSelector((params) => params.qwenImageComponentSource);+export const selectQwenImageQuantization = createParamsSelector((params) => params.qwenImageQuantization);+export const selectQwenImageShift = createParamsSelector((params) => params.qwenImageShift);export const selectCFGScale = createParamsSelector((params) => params.cfgScale);export const selectGuidance = createParamsSelector((params) => params.guidance);diff --git a/invokeai/frontend/web/src/features/controlLayers/store/refImagesSlice.ts b/invokeai/frontend/web/src/features/controlLayers/store/refImagesSlice.tsindex ab21db3fec..2b7c0f7d17 100644--- a/invokeai/frontend/web/src/features/controlLayers/store/refImagesSlice.ts+++ b/invokeai/frontend/web/src/features/controlLayers/store/refImagesSlice.ts@@ -22,6 +22,7 @@ import {isFlux2ReferenceImageConfig,isFLUXReduxConfig,isIPAdapterConfig,+ isQwenImageReferenceImageConfig,zRefImagesState,} from './types';import { getReferenceImageState, initialFluxKontextReferenceImage, initialFLUXRedux, initialIPAdapter } from './util';@@ -106,8 +107,8 @@ const slice = createSlice({return;}- // FLUX.2 reference images don't have a model field - they use built-in support- if (isFlux2ReferenceImageConfig(entity.config)) {+ // FLUX.2 and Qwen Image Edit reference images don't have a model field - they use built-in support+ if (isFlux2ReferenceImageConfig(entity.config) || isQwenImageReferenceImageConfig(entity.config)) {return;}diff --git a/invokeai/frontend/web/src/features/controlLayers/store/types.ts b/invokeai/frontend/web/src/features/controlLayers/store/types.tsindex bfec7b3124..7247f4cf86 100644--- a/invokeai/frontend/web/src/features/controlLayers/store/types.ts+++ b/invokeai/frontend/web/src/features/controlLayers/store/types.ts@@ -370,6 +370,13 @@ const zFlux2ReferenceImageConfig = z.object({});export type Flux2ReferenceImageConfig = z.infer<typeof zFlux2ReferenceImageConfig>;+// Qwen Image Edit has built-in reference image support - no separate model needed+const zQwenImageReferenceImageConfig = z.object({+ type: z.literal('qwen_image_reference_image'),+ image: zCroppableImageWithDims.nullable(),+});+export type QwenImageReferenceImageConfig = z.infer<typeof zQwenImageReferenceImageConfig>;+const zCanvasEntityBase = z.object({id: zId,name: zName,@@ -385,6 +392,7 @@ export const zRefImageState = z.object({zFLUXReduxConfig,zFluxKontextReferenceImageConfig,zFlux2ReferenceImageConfig,+ zQwenImageReferenceImageConfig,]),});export type RefImageState = z.infer<typeof zRefImageState>;@@ -402,6 +410,10 @@ export const isFluxKontextReferenceImageConfig = (export const isFlux2ReferenceImageConfig = (config: RefImageState['config']): config is Flux2ReferenceImageConfig =>config.type === 'flux2_reference_image';+export const isQwenImageReferenceImageConfig = (+ config: RefImageState['config']+): config is QwenImageReferenceImageConfig => config.type === 'qwen_image_reference_image';+const zFillStyle = z.enum(['solid', 'grid', 'crosshatch', 'diagonal', 'horizontal', 'vertical']);export type FillStyle = z.infer<typeof zFillStyle>;export const isFillStyle = (v: unknown): v is FillStyle => zFillStyle.safeParse(v).success;@@ -759,6 +771,10 @@ export const zParamsState = z.object({// Flux2 Klein model components - uses Qwen3 instead of CLIP+T5kleinVaeModel: zParameterVAEModel.nullable(), // Optional: Separate FLUX.2 VAE for KleinkleinQwen3EncoderModel: zModelIdentifierField.nullable(), // Optional: Separate Qwen3 Encoder for Klein+ // Qwen Image Edit model components - GGUF transformer needs a Diffusers source for VAE/encoder+ qwenImageComponentSource: zParameterModel.nullable(), // Diffusers model providing VAE + text encoder+ qwenImageQuantization: z.enum(['none', 'int8', 'nf4']), // BitsAndBytes quantization for Qwen VL encoder+ qwenImageShift: z.number().nullable(), // Sigma schedule shift override (e.g. 3.0 for Lightning LoRAs)// Z-Image Seed Variance Enhancer settingszImageSeedVarianceEnabled: z.boolean(),zImageSeedVarianceStrength: z.number().min(0).max(2),@@ -828,6 +844,9 @@ export const getInitialParamsState = (): ParamsState => ({animaScheduler: 'euler',kleinVaeModel: null,kleinQwen3EncoderModel: null,+ qwenImageComponentSource: null,+ qwenImageQuantization: 'none' as const,+ qwenImageShift: null,zImageSeedVarianceEnabled: false,zImageSeedVarianceStrength: 0.1,zImageSeedVarianceRandomizePercent: 50,diff --git a/invokeai/frontend/web/src/features/controlLayers/store/util.ts b/invokeai/frontend/web/src/features/controlLayers/store/util.tsindex f14af4feee..2aae90e72a 100644--- a/invokeai/frontend/web/src/features/controlLayers/store/util.ts+++ b/invokeai/frontend/web/src/features/controlLayers/store/util.ts@@ -15,6 +15,7 @@ import type {FLUXReduxConfig,ImageWithDims,IPAdapterConfig,+ QwenImageReferenceImageConfig,RasterLayerAdjustments,RefImageState,RegionalGuidanceIPAdapterConfig,@@ -117,6 +118,10 @@ export const initialFlux2ReferenceImage: Flux2ReferenceImageConfig = {type: 'flux2_reference_image',image: null,};+export const initialQwenImageReferenceImage: QwenImageReferenceImageConfig = {+ type: 'qwen_image_reference_image',+ image: null,+};export const initialT2IAdapter: T2IAdapterConfig = {type: 't2i_adapter',model: null,diff --git a/invokeai/frontend/web/src/features/controlLayers/store/validators.ts b/invokeai/frontend/web/src/features/controlLayers/store/validators.tsindex 923b2b6253..99e9592977 100644--- a/invokeai/frontend/web/src/features/controlLayers/store/validators.ts+++ b/invokeai/frontend/web/src/features/controlLayers/store/validators.ts@@ -135,8 +135,8 @@ export const getGlobalReferenceImageWarnings = (const { config } = entity;- // FLUX.2 reference images don't require a model - it's built-in- if (config.type !== 'flux2_reference_image') {+ // FLUX.2 and Qwen Image Edit reference images don't require a model - it's built-in+ if (config.type !== 'flux2_reference_image' && config.type !== 'qwen_image_reference_image') {if (!('model' in config) || !config.model) {// No model selectedwarnings.push(WARNINGS.IP_ADAPTER_NO_MODEL_SELECTED);@@ -147,8 +147,10 @@ export const getGlobalReferenceImageWarnings = (}if (!entity.config.image) {- // No image selected- warnings.push(WARNINGS.IP_ADAPTER_NO_IMAGE_SELECTED);+ // No image selected - for Qwen Image Edit, an image is optional (txt2img works without one)+ if (config.type !== 'qwen_image_reference_image') {+ warnings.push(WARNINGS.IP_ADAPTER_NO_IMAGE_SELECTED);+ }}}diff --git a/invokeai/frontend/web/src/features/gallery/components/ImageMetadataViewer/ImageMetadataActions.test.tsx b/invokeai/frontend/web/src/features/gallery/components/ImageMetadataViewer/ImageMetadataActions.test.tsxnew file mode 100644index 0000000000..c743315382--- /dev/null+++ b/invokeai/frontend/web/src/features/gallery/components/ImageMetadataViewer/ImageMetadataActions.test.tsx@@ -0,0 +1,24 @@+import { ImageMetadataHandlers } from 'features/metadata/parsing';+import { describe, expect, it } from 'vitest';++import { ImageMetadataActions } from './ImageMetadataActions';++describe('ImageMetadataActions', () => {+ it('includes Qwen metadata handlers in the recall parameters UI', () => {+ const element = (ImageMetadataActions as unknown as { type: (props: { metadata: unknown }) => unknown }).type({+ metadata: { model: { key: 'test' } },+ }) as {+ props: {+ children: Array<{ props?: { handler?: unknown } }>;+ };+ };++ const handlers = element.props.children+ .map((child) => child.props?.handler)+ .filter((handler): handler is unknown => handler !== undefined);++ expect(handlers).toContain(ImageMetadataHandlers.QwenImageComponentSource);+ expect(handlers).toContain(ImageMetadataHandlers.QwenImageQuantization);+ expect(handlers).toContain(ImageMetadataHandlers.QwenImageShift);+ });+});diff --git a/invokeai/frontend/web/src/features/gallery/components/ImageMetadataViewer/ImageMetadataActions.tsx b/invokeai/frontend/web/src/features/gallery/components/ImageMetadataViewer/ImageMetadataActions.tsxindex 8123db4b0b..e123d0ebd0 100644--- a/invokeai/frontend/web/src/features/gallery/components/ImageMetadataViewer/ImageMetadataActions.tsx+++ b/invokeai/frontend/web/src/features/gallery/components/ImageMetadataViewer/ImageMetadataActions.tsx@@ -58,6 +58,9 @@ export const ImageMetadataActions = memo((props: Props) => {<SingleMetadataDatum metadata={metadata} handler={ImageMetadataHandlers.RefinerScheduler} /><SingleMetadataDatum metadata={metadata} handler={ImageMetadataHandlers.RefinerDenoisingStart} /><SingleMetadataDatum metadata={metadata} handler={ImageMetadataHandlers.RefinerSteps} />+ <SingleMetadataDatum metadata={metadata} handler={ImageMetadataHandlers.QwenImageComponentSource} />+ <SingleMetadataDatum metadata={metadata} handler={ImageMetadataHandlers.QwenImageQuantization} />+ <SingleMetadataDatum metadata={metadata} handler={ImageMetadataHandlers.QwenImageShift} /><SingleMetadataDatum metadata={metadata} handler={ImageMetadataHandlers.CanvasLayers} /><CollectionMetadataDatum metadata={metadata} handler={ImageMetadataHandlers.RefImages} /><CollectionMetadataDatum metadata={metadata} handler={ImageMetadataHandlers.LoRAs} />diff --git a/invokeai/frontend/web/src/features/metadata/parsing.test.ts b/invokeai/frontend/web/src/features/metadata/parsing.test.tsnew file mode 100644index 0000000000..a8eb2cb8af--- /dev/null+++ b/invokeai/frontend/web/src/features/metadata/parsing.test.ts@@ -0,0 +1,94 @@+import { describe, expect, it, vi } from 'vitest';++import { ImageMetadataHandlers, MetadataUtils } from './parsing';++const createMockStore = () => ({+ dispatch: vi.fn(),+ getState: vi.fn(() => ({+ params: { model: null },+ })),+});++// eslint-disable-next-line @typescript-eslint/no-explicit-any+const createStore = () => createMockStore() as any;++describe('Qwen metadata parsing', () => {+ it('does not report missing Qwen metadata keys as available', async () => {+ const store = createStore();++ const hasMetadata = await MetadataUtils.hasMetadataByHandlers({+ metadata: {},+ handlers: [+ ImageMetadataHandlers.QwenImageComponentSource,+ ImageMetadataHandlers.QwenImageQuantization,+ ImageMetadataHandlers.QwenImageShift,+ ],+ store,+ require: 'all',+ });++ // Handlers reject when keys are absent, so hasMetadata should be false+ expect(hasMetadata).toBe(false);+ });++ it('does not recall Qwen values when metadata keys are absent', async () => {+ const store = createStore();++ const recalled = await MetadataUtils.recallByHandlers({+ metadata: {},+ handlers: [+ ImageMetadataHandlers.QwenImageComponentSource,+ ImageMetadataHandlers.QwenImageQuantization,+ ImageMetadataHandlers.QwenImageShift,+ ],+ store,+ silent: true,+ });++ // No keys present → handlers reject → 0 recalls, no dispatches+ expect(recalled.size).toBe(0);+ const mockStore = store as ReturnType<typeof createMockStore>;+ expect(mockStore.dispatch).not.toHaveBeenCalled();+ });++ it('recalls Qwen handlers with actual values when metadata keys are present', async () => {+ const store = createStore();++ const recalled = await MetadataUtils.recallByHandlers({+ metadata: {+ qwen_image_component_source: { key: 'test-key', hash: 'test', name: 'Test', base: 'qwen-image', type: 'main' },+ qwen_image_quantization: 'nf4',+ qwen_image_shift: 3.0,+ },+ handlers: [+ ImageMetadataHandlers.QwenImageComponentSource,+ ImageMetadataHandlers.QwenImageQuantization,+ ImageMetadataHandlers.QwenImageShift,+ ],+ store,+ silent: true,+ });++ expect(recalled.size).toBe(3);+ const mockStore = store as ReturnType<typeof createMockStore>;+ expect(mockStore.dispatch).toHaveBeenCalledTimes(3);+ });++ it('recalls Qwen component source as null when key is present but value is null', async () => {+ const store = createStore();++ const recalled = await MetadataUtils.recallByHandlers({+ metadata: {+ qwen_image_component_source: null,+ },+ handlers: [ImageMetadataHandlers.QwenImageComponentSource],+ store,+ silent: true,+ });++ // Key is present with null value → handler resolves with null → 1 recall+ expect(recalled.size).toBe(1);+ const mockStore = store as ReturnType<typeof createMockStore>;+ expect(mockStore.dispatch).toHaveBeenCalledTimes(1);+ });+});diff --git a/invokeai/frontend/web/src/features/metadata/parsing.tsx b/invokeai/frontend/web/src/features/metadata/parsing.tsxindex f0c3fea00a..fc8f3f7f6c 100644--- a/invokeai/frontend/web/src/features/metadata/parsing.tsx+++ b/invokeai/frontend/web/src/features/metadata/parsing.tsx@@ -16,6 +16,9 @@ import {kleinVaeModelSelected,negativePromptChanged,positivePromptChanged,+ qwenImageComponentSourceSelected,+ qwenImageQuantizationChanged,+ qwenImageShiftChanged,refinerModelChanged,selectBase,setAnimaScheduler,@@ -687,6 +690,83 @@ const ZImageSeedVarianceRandomizePercent: SingleMetadataHandler<number> = {};//#endregion ZImageSeedVarianceRandomizePercent+//#region QwenImageComponentSource+const QwenImageComponentSource: SingleMetadataHandler<ModelIdentifierField | null> = {+ [SingleMetadataKey]: true,+ type: 'QwenImageComponentSource',+ parse: (metadata, _store) => {+ const raw = getProperty(metadata, 'qwen_image_component_source');+ // Reject when the key is absent so the handler is not rendered for non-Qwen images+ if (raw === undefined) {+ return Promise.reject();+ }+ if (raw === null) {+ return Promise.resolve(null);+ }+ return Promise.resolve(zModelIdentifierField.parse(raw));+ },+ recall: (value, store) => {+ store.dispatch(qwenImageComponentSourceSelected(value));+ },+ i18nKey: 'modelManager.qwenImageComponentSource',+ LabelComponent: MetadataLabel,+ ValueComponent: ({ value }: SingleMetadataValueProps<ModelIdentifierField | null>) => (+ <MetadataPrimitiveValue value={value ? value.name : 'None'} />+ ),+};+//#endregion QwenImageComponentSource++//#region QwenImageQuantization+const QwenImageQuantization: SingleMetadataHandler<'none' | 'int8' | 'nf4'> = {+ [SingleMetadataKey]: true,+ type: 'QwenImageQuantization',+ parse: (metadata, _store) => {+ const raw = getProperty(metadata, 'qwen_image_quantization');+ // Reject when the key is absent so the handler is not rendered for non-Qwen images+ if (raw === undefined) {+ return Promise.reject();+ }+ const parsed = z.enum(['none', 'int8', 'nf4']).parse(raw);+ return Promise.resolve(parsed);+ },+ recall: (value, store) => {+ store.dispatch(qwenImageQuantizationChanged(value));+ },+ i18nKey: 'modelManager.qwenImageQuantization',+ LabelComponent: MetadataLabel,+ ValueComponent: ({ value }: SingleMetadataValueProps<'none' | 'int8' | 'nf4'>) => (+ <MetadataPrimitiveValue value={value} />+ ),+};+//#endregion QwenImageQuantization++//#region QwenImageShift+const QwenImageShift: SingleMetadataHandler<number | null> = {+ [SingleMetadataKey]: true,+ type: 'QwenImageShift',+ parse: (metadata, _store) => {+ const raw = getProperty(metadata, 'qwen_image_shift');+ // Reject when the key is absent so the handler is not rendered for non-Qwen images+ if (raw === undefined) {+ return Promise.reject();+ }+ if (raw === null) {+ return Promise.resolve(null);+ }+ const parsed = z.number().parse(raw);+ return Promise.resolve(parsed);+ },+ recall: (value, store) => {+ store.dispatch(qwenImageShiftChanged(value));+ },+ i18nKey: 'modelManager.qwenImageShift',+ LabelComponent: MetadataLabel,+ ValueComponent: ({ value }: SingleMetadataValueProps<number | null>) => (+ <MetadataPrimitiveValue value={value ?? 'Default'} />+ ),+};+//#endregion QwenImageShift+//#region ZImageShiftconst ZImageShift: SingleMetadataHandler<number> = {[SingleMetadataKey]: true,@@ -1333,6 +1413,9 @@ export const ImageMetadataHandlers = {ZImageSeedVarianceEnabled,ZImageSeedVarianceStrength,ZImageSeedVarianceRandomizePercent,+ QwenImageComponentSource,+ QwenImageQuantization,+ QwenImageShift,ZImageShift,LoRAs,CanvasLayers,diff --git a/invokeai/frontend/web/src/features/modelManagerV2/hooks/useBuildModelsToInstall.ts b/invokeai/frontend/web/src/features/modelManagerV2/hooks/useBuildModelsToInstall.tsindex 457d48ce19..85e24a3d07 100644--- a/invokeai/frontend/web/src/features/modelManagerV2/hooks/useBuildModelsToInstall.ts+++ b/invokeai/frontend/web/src/features/modelManagerV2/hooks/useBuildModelsToInstall.ts@@ -4,7 +4,7 @@ import { modelConfigsAdapterSelectors, useGetModelConfigsQuery } from 'services/import type { StarterModel } from 'services/api/types';type ModelInstallArg = {- config: Pick<StarterModel, 'name' | 'base' | 'type' | 'description' | 'format'>;+ config: Pick<StarterModel, 'name' | 'base' | 'type' | 'description' | 'format' | 'variant'>;source: string;};@@ -32,7 +32,7 @@ export const useBuildModelInstallArg = () => {);const buildModelInstallArg = useCallback((starterModel: StarterModel): ModelInstallArg => {- const { name, base, type, source, description, format } = starterModel;+ const { name, base, type, source, description, format, variant } = starterModel;return {config: {@@ -41,6 +41,7 @@ export const useBuildModelInstallArg = () => {type,description,format,+ variant,},source,};diff --git a/invokeai/frontend/web/src/features/modelManagerV2/models.ts b/invokeai/frontend/web/src/features/modelManagerV2/models.tsindex 0888846ca8..5cf18b337b 100644--- a/invokeai/frontend/web/src/features/modelManagerV2/models.ts+++ b/invokeai/frontend/web/src/features/modelManagerV2/models.ts@@ -142,6 +142,7 @@ export const MODEL_BASE_TO_COLOR: Record<BaseModelType, string> = {flux: 'gold',flux2: 'gold',cogview4: 'red',+ 'qwen-image': 'orange','z-image': 'cyan',anima: 'invokePurple',unknown: 'red',@@ -184,6 +185,7 @@ export const MODEL_BASE_TO_LONG_NAME: Record<BaseModelType, string> = {flux: 'FLUX',flux2: 'FLUX.2',cogview4: 'CogView4',+ 'qwen-image': 'Qwen Image','z-image': 'Z-Image',anima: 'Anima',unknown: 'Unknown',@@ -202,6 +204,7 @@ export const MODEL_BASE_TO_SHORT_NAME: Record<BaseModelType, string> = {flux: 'FLUX',flux2: 'FLUX.2',cogview4: 'CogView4',+ 'qwen-image': 'QwenImg','z-image': 'Z-Image',anima: 'Anima',unknown: 'Unknown',@@ -221,6 +224,8 @@ export const MODEL_VARIANT_TO_LONG_NAME: Record<AnyModelVariant, string> = {zbase: 'Z-Image Base',large: 'CLIP L',gigantic: 'CLIP G',+ generate: 'Qwen Image',+ edit: 'Qwen Image Edit',qwen3_4b: 'Qwen3 4B',qwen3_8b: 'Qwen3 8B',qwen3_06b: 'Qwen3 0.6B',@@ -246,13 +251,14 @@ export const MODEL_FORMAT_TO_LONG_NAME: Record<ModelFormat, string> = {export const SUPPORTS_OPTIMIZED_DENOISING_BASE_MODELS: BaseModelType[] = ['flux', 'sd-3', 'z-image'];-export const SUPPORTS_REF_IMAGES_BASE_MODELS: BaseModelType[] = ['sd-1', 'sdxl', 'flux', 'flux2'];+export const SUPPORTS_REF_IMAGES_BASE_MODELS: BaseModelType[] = ['sd-1', 'sdxl', 'flux', 'flux2', 'qwen-image'];export const SUPPORTS_NEGATIVE_PROMPT_BASE_MODELS: BaseModelType[] = ['sd-1','sd-2','sdxl','cogview4',+ 'qwen-image','sd-3','z-image','anima',diff --git a/invokeai/frontend/web/src/features/nodes/types/common.ts b/invokeai/frontend/web/src/features/nodes/types/common.tsindex 1ac2f82996..7c1ac67f68 100644--- a/invokeai/frontend/web/src/features/nodes/types/common.ts+++ b/invokeai/frontend/web/src/features/nodes/types/common.ts@@ -95,12 +95,24 @@ export const zBaseModelType = z.enum(['flux','flux2','cogview4',+ 'qwen-image','z-image','anima','unknown',]);export type BaseModelType = z.infer<typeof zBaseModelType>;-export const zMainModelBase = z.enum(['sd-1', 'sd-2', 'sd-3', 'sdxl', 'flux', 'flux2', 'cogview4', 'z-image', 'anima']);+export const zMainModelBase = z.enum([+ 'sd-1',+ 'sd-2',+ 'sd-3',+ 'sdxl',+ 'flux',+ 'flux2',+ 'cogview4',+ 'qwen-image',+ 'z-image',+ 'anima',+]);type MainModelBase = z.infer<typeof zMainModelBase>;export const isMainModelBase = (base: unknown): base is MainModelBase => zMainModelBase.safeParse(base).success;export const zModelType = z.enum([@@ -145,6 +157,7 @@ export const zModelVariantType = z.enum(['normal', 'inpaint', 'depth']);export const zFluxVariantType = z.enum(['dev', 'dev_fill', 'schnell']);export const zFlux2VariantType = z.enum(['klein_4b', 'klein_9b', 'klein_9b_base']);export const zZImageVariantType = z.enum(['turbo', 'zbase']);+const zQwenImageVariantType = z.enum(['generate', 'edit']);export const zQwen3VariantType = z.enum(['qwen3_4b', 'qwen3_8b', 'qwen3_06b']);export const zAnyModelVariant = z.union([zModelVariantType,@@ -152,6 +165,7 @@ export const zAnyModelVariant = z.union([zFluxVariantType,zFlux2VariantType,zZImageVariantType,+ zQwenImageVariantType,zQwen3VariantType,]);export type AnyModelVariant = z.infer<typeof zAnyModelVariant>;diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/generation/addImageToImage.ts b/invokeai/frontend/web/src/features/nodes/util/graph/generation/addImageToImage.tsindex 1c69cdc0d1..f17ff970f2 100644--- a/invokeai/frontend/web/src/features/nodes/util/graph/generation/addImageToImage.ts+++ b/invokeai/frontend/web/src/features/nodes/util/graph/generation/addImageToImage.ts@@ -22,7 +22,14 @@ type AddImageToImageArg = {manager: CanvasManager;l2i: Invocation<LatentToImageNodes>;i2l: Invocation<- 'i2l' | 'flux_vae_encode' | 'flux2_vae_encode' | 'sd3_i2l' | 'cogview4_i2l' | 'z_image_i2l' | 'anima_i2l'+ | 'i2l'+ | 'flux_vae_encode'+ | 'flux2_vae_encode'+ | 'sd3_i2l'+ | 'cogview4_i2l'+ | 'qwen_image_i2l'+ | 'z_image_i2l'+ | 'anima_i2l'>;noise?: Invocation<'noise'>;denoise: Invocation<DenoiseLatentsNodes>;@@ -46,6 +53,7 @@ export const addImageToImage = async ({| 'flux2_vae_decode'| 'sd3_l2i'| 'cogview4_l2i'+ | 'qwen_image_l2i'| 'z_image_l2i'| 'anima_l2i'>@@ -58,6 +66,7 @@ export const addImageToImage = async ({if (denoise.type === 'cogview4_denoise' ||+ denoise.type === 'qwen_image_denoise' ||denoise.type === 'flux_denoise' ||denoise.type === 'flux2_denoise' ||denoise.type === 'sd3_denoise' ||diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/generation/addInpaint.ts b/invokeai/frontend/web/src/features/nodes/util/graph/generation/addInpaint.tsindex b53d79e2a5..fa01db67e6 100644--- a/invokeai/frontend/web/src/features/nodes/util/graph/generation/addInpaint.ts+++ b/invokeai/frontend/web/src/features/nodes/util/graph/generation/addInpaint.ts@@ -25,7 +25,14 @@ type AddInpaintArg = {manager: CanvasManager;l2i: Invocation<LatentToImageNodes>;i2l: Invocation<- 'i2l' | 'flux_vae_encode' | 'flux2_vae_encode' | 'sd3_i2l' | 'cogview4_i2l' | 'z_image_i2l' | 'anima_i2l'+ | 'i2l'+ | 'flux_vae_encode'+ | 'flux2_vae_encode'+ | 'sd3_i2l'+ | 'cogview4_i2l'+ | 'qwen_image_i2l'+ | 'z_image_i2l'+ | 'anima_i2l'>;noise?: Invocation<'noise'>;denoise: Invocation<DenoiseLatentsNodes>;@@ -57,6 +64,7 @@ export const addInpaint = async ({if (denoise.type === 'cogview4_denoise' ||+ denoise.type === 'qwen_image_denoise' ||denoise.type === 'flux_denoise' ||denoise.type === 'flux2_denoise' ||denoise.type === 'sd3_denoise' ||diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/generation/addOutpaint.ts b/invokeai/frontend/web/src/features/nodes/util/graph/generation/addOutpaint.tsindex 14be20c70e..0c57087eaa 100644--- a/invokeai/frontend/web/src/features/nodes/util/graph/generation/addOutpaint.ts+++ b/invokeai/frontend/web/src/features/nodes/util/graph/generation/addOutpaint.ts@@ -57,6 +57,7 @@ export const addOutpaint = async ({if (denoise.type === 'cogview4_denoise' ||+ denoise.type === 'qwen_image_denoise' ||denoise.type === 'flux_denoise' ||denoise.type === 'flux2_denoise' ||denoise.type === 'sd3_denoise' ||diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/generation/addQwenImageLoRAs.ts b/invokeai/frontend/web/src/features/nodes/util/graph/generation/addQwenImageLoRAs.tsnew file mode 100644index 0000000000..ef94bb672d--- /dev/null+++ b/invokeai/frontend/web/src/features/nodes/util/graph/generation/addQwenImageLoRAs.ts@@ -0,0 +1,59 @@+import type { RootState } from 'app/store/store';+import { getPrefixedId } from 'features/controlLayers/konva/util';+import { zModelIdentifierField } from 'features/nodes/types/common';+import type { Graph } from 'features/nodes/util/graph/generation/Graph';+import type { Invocation, S } from 'services/api/types';++export const addQwenImageLoRAs = (+ state: RootState,+ g: Graph,+ denoise: Invocation<'qwen_image_denoise'>,+ modelLoader: Invocation<'qwen_image_model_loader'>+): void => {+ const enabledLoRAs = state.loras.loras.filter((l) => l.isEnabled && l.model.base === 'qwen-image');+ const loraCount = enabledLoRAs.length;++ if (loraCount === 0) {+ return;+ }++ const loraMetadata: S['LoRAMetadataField'][] = [];++ // Collect LoRAs into a single collection node, then pass them to the LoRA collection loader+ const loraCollector = g.addNode({+ id: getPrefixedId('lora_collector'),+ type: 'collect',+ });+ const loraCollectionLoader = g.addNode({+ type: 'qwen_image_lora_collection_loader',+ id: getPrefixedId('qwen_image_lora_collection_loader'),+ });++ g.addEdge(loraCollector, 'collection', loraCollectionLoader, 'loras');+ // Use model loader as transformer input+ g.addEdge(modelLoader, 'transformer', loraCollectionLoader, 'transformer');+ // Reroute transformer connection through the LoRA collection loader+ g.deleteEdgesTo(denoise, ['transformer']);+ g.addEdge(loraCollectionLoader, 'transformer', denoise, 'transformer');++ for (const lora of enabledLoRAs) {+ const { weight } = lora;+ const parsedModel = zModelIdentifierField.parse(lora.model);++ const loraSelector = g.addNode({+ type: 'lora_selector',+ id: getPrefixedId('lora_selector'),+ lora: parsedModel,+ weight,+ });++ loraMetadata.push({+ model: parsedModel,+ weight,+ });++ g.addEdge(loraSelector, 'lora', loraCollector, 'item');+ }++ g.upsertMetadata({ loras: loraMetadata });+};diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/generation/addTextToImage.ts b/invokeai/frontend/web/src/features/nodes/util/graph/generation/addTextToImage.tsindex 9cfd5e3b55..06ece522da 100644--- a/invokeai/frontend/web/src/features/nodes/util/graph/generation/addTextToImage.ts+++ b/invokeai/frontend/web/src/features/nodes/util/graph/generation/addTextToImage.ts@@ -28,6 +28,7 @@ export const addTextToImage = ({| 'flux2_vae_decode'| 'sd3_l2i'| 'cogview4_l2i'+ | 'qwen_image_l2i'| 'z_image_l2i'| 'anima_l2i'> => {@@ -38,6 +39,7 @@ export const addTextToImage = ({if (denoise.type === 'cogview4_denoise' ||+ denoise.type === 'qwen_image_denoise' ||denoise.type === 'flux_denoise' ||denoise.type === 'flux2_denoise' ||denoise.type === 'sd3_denoise' ||diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/generation/buildQwenImageGraph.test.ts b/invokeai/frontend/web/src/features/nodes/util/graph/generation/buildQwenImageGraph.test.tsnew file mode 100644index 0000000000..3a5c2cde34--- /dev/null+++ b/invokeai/frontend/web/src/features/nodes/util/graph/generation/buildQwenImageGraph.test.ts@@ -0,0 +1,417 @@+import { afterEach, describe, expect, it, vi } from 'vitest';++vi.mock('app/logging/logger', () => ({+ logger: () => ({+ debug: vi.fn(),+ }),+}));++let nextId = 0;+vi.mock('features/controlLayers/konva/util', () => ({+ getPrefixedId: (prefix: string) => `${prefix}:${nextId++}`,+}));++const model = {+ key: 'qwen-model',+ hash: 'qwen-hash',+ name: 'Qwen Image Generate',+ base: 'qwen-image',+ type: 'main',+ variant: 'generate',+};++const defaultParams: {+ cfgScale: number | number[];+ steps: number;+ qwenImageComponentSource: null;+ qwenImageQuantization: string;+ qwenImageShift: number;+} = {+ cfgScale: 4,+ steps: 20,+ qwenImageComponentSource: null,+ qwenImageQuantization: 'none',+ qwenImageShift: 1,+};++let params = { ...defaultParams };++const refImagesSlice = {+ entities: [+ {+ id: 'ref-image-1',+ isEnabled: true,+ config: {+ type: 'qwen_image_reference_image',+ image: {+ original: {+ image: {+ image_name: 'reference.png',+ width: 512,+ height: 512,+ },+ },+ },+ },+ },+ ],+};++vi.mock('features/controlLayers/store/paramsSlice', () => ({+ selectMainModelConfig: vi.fn(() => model),+ selectParamsSlice: vi.fn(() => params),+}));++vi.mock('features/controlLayers/store/refImagesSlice', () => ({+ selectRefImagesSlice: vi.fn(() => refImagesSlice),+}));++vi.mock('features/controlLayers/store/selectors', () => ({+ selectCanvasMetadata: vi.fn(() => ({})),+}));++vi.mock('features/controlLayers/store/types', () => ({+ isQwenImageReferenceImageConfig: vi.fn((config: { type?: string }) => config.type === 'qwen_image_reference_image'),+}));++vi.mock('features/controlLayers/store/validators', () => ({+ getGlobalReferenceImageWarnings: vi.fn(() => []),+}));++vi.mock('features/metadata/util/modelFetchingHelpers', () => ({+ fetchModelConfigWithTypeGuard: vi.fn(() => Promise.resolve(model)),+}));++vi.mock('features/nodes/types/common', async () => {+ const actual = await vi.importActual('features/nodes/types/common');+ return {+ ...actual,+ zImageField: {+ parse: vi.fn((image) => image),+ },+ };+});++vi.mock('features/nodes/util/graph/generation/addImageToImage', () => ({+ addImageToImage: vi.fn(),+}));++vi.mock('features/nodes/util/graph/generation/addInpaint', () => ({+ addInpaint: vi.fn(),+}));++vi.mock('features/nodes/util/graph/generation/addNSFWChecker', () => ({+ addNSFWChecker: vi.fn((_g, node) => node),+}));++vi.mock('features/nodes/util/graph/generation/addOutpaint', () => ({+ addOutpaint: vi.fn(),+}));++vi.mock('features/nodes/util/graph/generation/addQwenImageLoRAs', () => ({+ addQwenImageLoRAs: vi.fn(),+}));++vi.mock('features/nodes/util/graph/generation/addTextToImage', () => ({+ addTextToImage: vi.fn(({ l2i }) => l2i),+}));++vi.mock('features/nodes/util/graph/generation/addWatermarker', () => ({+ addWatermarker: vi.fn((_g, node) => node),+}));++vi.mock('features/nodes/util/graph/graphBuilderUtils', () => ({+ selectCanvasOutputFields: vi.fn(() => ({})),+ selectPresetModifiedPrompts: vi.fn(() => ({+ positive: 'a prompt',+ negative: 'a negative prompt',+ })),+}));++vi.mock('features/ui/store/uiSelectors', () => ({+ selectActiveTab: vi.fn(() => 'generation'),+}));++vi.mock('services/api/types', async () => {+ const actual = await vi.importActual('services/api/types');+ return {+ ...actual,+ isNonRefinerMainModelConfig: vi.fn(() => true),+ };+});++import { buildQwenImageGraph, isQwenImageEditModel, shouldUseCfg } from './buildQwenImageGraph';++describe('isQwenImageEditModel', () => {+ afterEach(() => {+ nextId = 0;+ params = { ...defaultParams };+ });++ it('returns true for edit variant', () => {+ expect(isQwenImageEditModel({ variant: 'edit' })).toBe(true);+ });++ it('returns false for generate variant', () => {+ expect(isQwenImageEditModel({ variant: 'generate' })).toBe(false);+ });++ it('returns false when variant is null', () => {+ expect(isQwenImageEditModel({ variant: null })).toBe(false);+ });++ it('returns false when variant is undefined', () => {+ expect(isQwenImageEditModel({ variant: undefined })).toBe(false);+ });++ it('returns false when variant field is absent', () => {+ expect(isQwenImageEditModel({})).toBe(false);+ });++ it('returns false when model is null', () => {+ expect(isQwenImageEditModel(null)).toBe(false);+ });++ it('returns false for unrelated variant values', () => {+ expect(isQwenImageEditModel({ variant: 'schnell' })).toBe(false);+ expect(isQwenImageEditModel({ variant: 'dev' })).toBe(false);+ expect(isQwenImageEditModel({ variant: 'turbo' })).toBe(false);+ });++ describe('reference image filtering regression', () => {+ it('prevents reference images from leaking to generate models when switching from edit', () => {+ const editModel = { variant: 'edit' as const };+ const generateModel = { variant: 'generate' as const };++ expect(isQwenImageEditModel(editModel)).toBe(true);+ expect(isQwenImageEditModel(generateModel)).toBe(false);+ });++ it('prevents reference images from leaking to GGUF models without variant', () => {+ const ggufModelNoVariant = {};+ expect(isQwenImageEditModel(ggufModelNoVariant)).toBe(false);+ });+ });+});++describe('shouldUseCfg', () => {+ afterEach(() => {+ nextId = 0;+ params = { ...defaultParams };+ });++ describe('negative conditioning is included when cfgScale > 1', () => {+ it('returns true for cfgScale = 4', () => {+ expect(shouldUseCfg(4)).toBe(true);+ });++ it('returns true for cfgScale = 1.5', () => {+ expect(shouldUseCfg(1.5)).toBe(true);+ });++ it('returns true for cfgScale = 1.01', () => {+ expect(shouldUseCfg(1.01)).toBe(true);+ });+ });++ describe('negative conditioning is excluded when cfgScale <= 1', () => {+ it('returns false for cfgScale = 1', () => {+ expect(shouldUseCfg(1)).toBe(false);+ });++ it('returns false for cfgScale = 0.5', () => {+ expect(shouldUseCfg(0.5)).toBe(false);+ });++ it('returns false for cfgScale = 0', () => {+ expect(shouldUseCfg(0)).toBe(false);+ });+ });++ describe('array cfgScale (per-step)', () => {+ it('returns true for per-step arrays with values > 1', () => {+ expect(shouldUseCfg([4, 3, 2, 1])).toBe(true);+ });++ it('returns true when any per-step cfg value is > 1', () => {+ expect(shouldUseCfg([1, 1.1, 1])).toBe(true);+ expect(shouldUseCfg([0.5, 2, 0.5])).toBe(true);+ });++ it('returns false when every per-step cfg value is <= 1', () => {+ expect(shouldUseCfg([1, 1, 1])).toBe(false);+ expect(shouldUseCfg([0.5, 0.75, 1])).toBe(false);+ });+ });++ describe('CFG gating regression', () => {+ it('with cfgScale=1, neg_prompt is absent from the graph (no wasted compute)', () => {+ expect(shouldUseCfg(1)).toBe(false);+ });++ it('with cfgScale=4, neg_prompt is present in the graph for classifier-free guidance', () => {+ expect(shouldUseCfg(4)).toBe(true);+ });++ it('omits negative conditioning edges from the graph when per-step cfg never exceeds 1', async () => {+ params = {+ ...defaultParams,+ cfgScale: [1, 1, 1],+ };++ const { g } = await buildQwenImageGraph({+ generationMode: 'txt2img',+ manager: null,+ state: {+ system: {+ shouldUseNSFWChecker: false,+ shouldUseWatermarker: false,+ },+ } as never,+ });++ const graph = g.getGraph();+ const nodeIds = Object.keys(graph.nodes);+ const hasNegativePromptNode = nodeIds.some((id) => id.startsWith('neg_prompt:'));+ const hasNegativeConditioningEdge = graph.edges.some(+ (edge) => edge.destination.field === 'negative_conditioning'+ );++ expect(hasNegativePromptNode).toBe(false);+ expect(hasNegativeConditioningEdge).toBe(false);+ });++ it('includes negative conditioning edges in the graph when any per-step cfg exceeds 1', async () => {+ params = {+ ...defaultParams,+ cfgScale: [1, 2, 1],+ };++ const { g } = await buildQwenImageGraph({+ generationMode: 'txt2img',+ manager: null,+ state: {+ system: {+ shouldUseNSFWChecker: false,+ shouldUseWatermarker: false,+ },+ } as never,+ });++ const graph = g.getGraph();+ const nodeIds = Object.keys(graph.nodes);+ const hasNegativePromptNode = nodeIds.some((id) => id.startsWith('neg_prompt:'));+ const hasNegativeConditioningEdge = graph.edges.some(+ (edge) => edge.destination.field === 'negative_conditioning'+ );++ expect(hasNegativePromptNode).toBe(true);+ expect(hasNegativeConditioningEdge).toBe(true);+ });+ });+});++describe('buildQwenImageGraph', () => {+ afterEach(() => {+ nextId = 0;+ params = { ...defaultParams };+ });++ it('uses chained collectors to preserve reference image ordering for edit-variant models', async () => {+ // Override the model to be an edit variant+ const { selectMainModelConfig } = await import('features/controlLayers/store/paramsSlice');+ const editModel = { ...model, variant: 'edit' };+ vi.mocked(selectMainModelConfig).mockReturnValue(editModel as never);++ // Also need fetchModelConfigWithTypeGuard to return edit variant+ const { fetchModelConfigWithTypeGuard } = await import('features/metadata/util/modelFetchingHelpers');+ vi.mocked(fetchModelConfigWithTypeGuard).mockResolvedValue(editModel as never);++ // Add a second reference image to the mock slice+ const { selectRefImagesSlice } = await import('features/controlLayers/store/refImagesSlice');+ vi.mocked(selectRefImagesSlice).mockReturnValue({+ entities: [+ {+ id: 'ref-image-1',+ isEnabled: true,+ config: {+ type: 'qwen_image_reference_image',+ image: { original: { image: { image_name: 'ref1.png', width: 512, height: 512 } } },+ },+ },+ {+ id: 'ref-image-2',+ isEnabled: true,+ config: {+ type: 'qwen_image_reference_image',+ image: { original: { image: { image_name: 'ref2.png', width: 512, height: 512 } } },+ },+ },+ ],+ } as never);++ const { g } = await buildQwenImageGraph({+ generationMode: 'txt2img',+ manager: null,+ state: {+ system: { shouldUseNSFWChecker: false, shouldUseWatermarker: false },+ } as never,+ });++ const graph = g.getGraph();+ const nodeIds = Object.keys(graph.nodes);++ // Should have exactly 2 collect nodes (one per reference image, chained)+ const collectNodeIds = nodeIds.filter((id) => id.startsWith('qwen_ref_img_collect:'));+ expect(collectNodeIds).toHaveLength(2);++ // Each collect node should receive exactly one image as 'item'+ for (const collectId of collectNodeIds) {+ const itemEdges = graph.edges.filter(+ (edge) => edge.destination.node_id === collectId && edge.destination.field === 'item'+ );+ expect(itemEdges).toHaveLength(1);+ }++ // The second collect node should chain from the first via collection → collection+ const chainEdges = graph.edges.filter(+ (edge) => edge.source.field === 'collection' && edge.destination.field === 'collection'+ );+ expect(chainEdges).toHaveLength(1);+ expect(chainEdges[0]!.source.node_id).toBe(collectNodeIds[0]);+ expect(chainEdges[0]!.destination.node_id).toBe(collectNodeIds[1]);++ // The final collect node should connect to the text encoder's reference_images input+ const refImagesEdge = graph.edges.find((edge) => edge.destination.field === 'reference_images');+ expect(refImagesEdge).toBeDefined();+ expect(refImagesEdge!.source.node_id).toBe(collectNodeIds[1]);++ // Restore original mocks+ vi.mocked(selectMainModelConfig).mockReturnValue(model as never);+ vi.mocked(fetchModelConfigWithTypeGuard).mockResolvedValue(model as never);+ vi.mocked(selectRefImagesSlice).mockReturnValue(refImagesSlice as never);+ });++ it('does not include hidden Qwen reference images for generate-variant models', async () => {+ const { g } = await buildQwenImageGraph({+ generationMode: 'txt2img',+ manager: null,+ state: {+ system: {+ shouldUseNSFWChecker: false,+ shouldUseWatermarker: false,+ },+ } as never,+ });++ const graph = g.getGraph();+ const nodeIds = Object.keys(graph.nodes);+ const hasReferenceCollectionNode = nodeIds.some((id) => id.startsWith('qwen_ref_img_collect:'));+ const hasReferenceImagesEdge = graph.edges.some((edge) => edge.destination.field === 'reference_images');+ const hasReferenceLatentsEdge = graph.edges.some((edge) => edge.destination.field === 'reference_latents');++ expect(hasReferenceCollectionNode).toBe(false);+ expect(hasReferenceImagesEdge).toBe(false);+ expect(hasReferenceLatentsEdge).toBe(false);+ });+});diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/generation/buildQwenImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graph/generation/buildQwenImageGraph.tsnew file mode 100644index 0000000000..6cad9dfaa0--- /dev/null+++ b/invokeai/frontend/web/src/features/nodes/util/graph/generation/buildQwenImageGraph.ts@@ -0,0 +1,303 @@+import { logger } from 'app/logging/logger';+import { getPrefixedId } from 'features/controlLayers/konva/util';+import { selectMainModelConfig, selectParamsSlice } from 'features/controlLayers/store/paramsSlice';+import { selectRefImagesSlice } from 'features/controlLayers/store/refImagesSlice';+import { selectCanvasMetadata } from 'features/controlLayers/store/selectors';+import { isQwenImageReferenceImageConfig } from 'features/controlLayers/store/types';+import { getGlobalReferenceImageWarnings } from 'features/controlLayers/store/validators';+import { fetchModelConfigWithTypeGuard } from 'features/metadata/util/modelFetchingHelpers';+import { zImageField } from 'features/nodes/types/common';+import { addImageToImage } from 'features/nodes/util/graph/generation/addImageToImage';+import { addInpaint } from 'features/nodes/util/graph/generation/addInpaint';+import { addNSFWChecker } from 'features/nodes/util/graph/generation/addNSFWChecker';+import { addOutpaint } from 'features/nodes/util/graph/generation/addOutpaint';+import { addQwenImageLoRAs } from 'features/nodes/util/graph/generation/addQwenImageLoRAs';+import { addTextToImage } from 'features/nodes/util/graph/generation/addTextToImage';+import { addWatermarker } from 'features/nodes/util/graph/generation/addWatermarker';+import { Graph } from 'features/nodes/util/graph/generation/Graph';+import { selectCanvasOutputFields, selectPresetModifiedPrompts } from 'features/nodes/util/graph/graphBuilderUtils';+import type { GraphBuilderArg, GraphBuilderReturn, ImageOutputNodes } from 'features/nodes/util/graph/types';+import { selectActiveTab } from 'features/ui/store/uiSelectors';+import type { Invocation } from 'services/api/types';+import { isNonRefinerMainModelConfig } from 'services/api/types';+import type { Equals } from 'tsafe';+import { assert } from 'tsafe';++const log = logger('system');++/**+ * Determine whether the given model config represents a Qwen Image Edit model.+ * Only edit-variant models should use reference images for conditioning.+ * Generate (txt2img) models should never receive reference images, even if+ * they exist in state from a previous edit session.+ */+export const isQwenImageEditModel = (model: { variant?: string | null } | null): boolean => {+ if (!model) {+ return false;+ }+ return 'variant' in model && model.variant === 'edit';+};++/**+ * Determine whether classifier-free guidance (negative conditioning) should be used.+ * CFG is only enabled when cfg_scale > 1. With cfg_scale <= 1, the negative prompt+ * is mathematically unused and the model runs once per step instead of twice.+ */+export const shouldUseCfg = (cfgScale: number | number[]): boolean => {+ if (typeof cfgScale === 'number') {+ return cfgScale > 1;+ }+ // For per-step CFG arrays, enable CFG if any value exceeds 1+ return cfgScale.some((value) => value > 1);+};++export const buildQwenImageGraph = async (arg: GraphBuilderArg): Promise<GraphBuilderReturn> => {+ const { generationMode, state, manager } = arg;++ log.debug({ generationMode, manager: manager?.id }, 'Building Qwen Image Edit graph');++ const model = selectMainModelConfig(state);+ assert(model, 'No model selected');+ assert(model.base === 'qwen-image', 'Selected model is not a Qwen Image Edit model');++ const params = selectParamsSlice(state);++ const { cfgScale: cfg_scale, steps } = params;++ const prompts = selectPresetModifiedPrompts(state);++ const g = new Graph(getPrefixedId('qwen_image_graph'));++ const modelLoader = g.addNode({+ type: 'qwen_image_model_loader',+ id: getPrefixedId('qwen_image_model_loader'),+ model,+ component_source: params.qwenImageComponentSource,+ });++ const positivePrompt = g.addNode({+ id: getPrefixedId('positive_prompt'),+ type: 'string',+ });+ const posCond = g.addNode({+ type: 'qwen_image_text_encoder',+ id: getPrefixedId('pos_prompt'),+ quantization: params.qwenImageQuantization,+ });++ // Negative conditioning for CFG (only when cfg_scale > 1)+ const useCfg = shouldUseCfg(cfg_scale);+ const negCond = useCfg+ ? g.addNode({+ type: 'qwen_image_text_encoder',+ id: getPrefixedId('neg_prompt'),+ prompt: prompts.negative || ' ',+ quantization: params.qwenImageQuantization,+ })+ : null;++ const seed = g.addNode({+ id: getPrefixedId('seed'),+ type: 'integer',+ });+ const denoise = g.addNode({+ type: 'qwen_image_denoise',+ id: getPrefixedId('denoise_latents'),+ cfg_scale,+ steps,+ shift: params.qwenImageShift,+ });+ const l2i = g.addNode({+ type: 'qwen_image_l2i',+ id: getPrefixedId('l2i'),+ });++ g.addEdge(modelLoader, 'transformer', denoise, 'transformer');+ g.addEdge(modelLoader, 'qwen_vl_encoder', posCond, 'qwen_vl_encoder');+ g.addEdge(modelLoader, 'vae', l2i, 'vae');++ g.addEdge(positivePrompt, 'value', posCond, 'prompt');+ g.addEdge(posCond, 'conditioning', denoise, 'positive_conditioning');++ if (negCond) {+ g.addEdge(modelLoader, 'qwen_vl_encoder', negCond, 'qwen_vl_encoder');+ g.addEdge(negCond, 'conditioning', denoise, 'negative_conditioning');+ }++ g.addEdge(seed, 'value', denoise, 'seed');+ g.addEdge(denoise, 'latents', l2i, 'latents');++ // Add Qwen Image Edit LoRAs if any are enabled+ addQwenImageLoRAs(state, g, denoise, modelLoader);++ // Only collect reference images for edit-variant models.+ // For txt2img (generate) models, reference images are not used even if they exist in state.+ const isEditModel = isQwenImageEditModel(model);+ const validRefImageConfigs = isEditModel+ ? selectRefImagesSlice(state).entities.filter(+ (entity) =>+ entity.isEnabled &&+ isQwenImageReferenceImageConfig(entity.config) &&+ entity.config.image !== null &&+ getGlobalReferenceImageWarnings(entity, model).length === 0+ )+ : [];++ if (validRefImageConfigs.length > 0) {+ // Use collector chaining to preserve reference image ordering.+ // Each image gets its own collect node; each subsequent collector chains+ // from the previous one via collection → collection edge.+ // (Same pattern as FLUX.2 Klein's kontext conditioning.)+ let prevCollect: Invocation<'collect'> | null = null;+ for (const { config } of validRefImageConfigs) {+ const imgField = zImageField.parse(config.image?.crop?.image ?? config.image?.original.image);+ const imageNode = g.addNode({+ type: 'image',+ id: getPrefixedId('qwen_ref_img'),+ image: imgField,+ });+ const collectNode = g.addNode({+ type: 'collect',+ id: getPrefixedId('qwen_ref_img_collect'),+ });+ g.addEdge(imageNode, 'image', collectNode, 'item');+ if (prevCollect !== null) {+ g.addEdge(prevCollect, 'collection', collectNode, 'collection');+ }+ prevCollect = collectNode;+ }+ assert(prevCollect !== null);+ // Pass reference images to text encoder for vision-language conditioning+ g.addEdge(prevCollect, 'collection', posCond, 'reference_images');++ // Also VAE-encode the first reference image as latents for the denoising transformer.+ // The transformer expects [noisy_patches ; ref_patches] in its sequence.+ const firstConfig = validRefImageConfigs[0]!;+ const firstImgField = zImageField.parse(+ firstConfig.config.image?.crop?.image ?? firstConfig.config.image?.original.image+ );+ // Don't force-resize the reference image to the output dimensions — that would+ // distort the aspect ratio when they differ. The I2L encodes at the image's+ // native size; the denoise node handles dimension mismatches via interpolation.+ const refI2l = g.addNode({+ type: 'qwen_image_i2l',+ id: getPrefixedId('qwen_ref_i2l'),+ });+ const refImageNode = g.addNode({+ type: 'image',+ id: getPrefixedId('qwen_ref_img_for_vae'),+ image: firstImgField,+ });+ g.addEdge(refImageNode, 'image', refI2l, 'image');+ g.addEdge(modelLoader, 'vae', refI2l, 'vae');+ g.addEdge(refI2l, 'latents', denoise, 'reference_latents');++ g.upsertMetadata({ ref_images: validRefImageConfigs }, 'merge');+ }++ const modelConfig = await fetchModelConfigWithTypeGuard(model.key, isNonRefinerMainModelConfig);+ assert(modelConfig.base === 'qwen-image');++ g.upsertMetadata({+ cfg_scale,+ negative_prompt: prompts.negative,+ model: Graph.getModelMetadataField(modelConfig),+ qwen_image_component_source: params.qwenImageComponentSource,+ qwen_image_quantization: params.qwenImageQuantization,+ qwen_image_shift: params.qwenImageShift,+ steps,+ });+ g.addEdgeToMetadata(seed, 'value', 'seed');+ g.addEdgeToMetadata(positivePrompt, 'value', 'positive_prompt');++ let canvasOutput: Invocation<ImageOutputNodes> = l2i;++ if (generationMode === 'txt2img') {+ canvasOutput = addTextToImage({+ g,+ state,+ denoise,+ l2i,+ });+ g.upsertMetadata({ generation_mode: 'qwen_image_txt2img' });+ } else if (generationMode === 'img2img') {+ assert(manager !== null);+ const i2l = g.addNode({+ type: 'qwen_image_i2l',+ id: getPrefixedId('qwen_image_i2l'),+ });++ canvasOutput = await addImageToImage({+ g,+ state,+ manager,+ denoise,+ l2i,+ i2l,+ vaeSource: modelLoader,+ });+ g.upsertMetadata({ generation_mode: 'qwen_image_img2img' });+ } else if (generationMode === 'inpaint') {+ assert(manager !== null);+ const i2l = g.addNode({+ type: 'qwen_image_i2l',+ id: getPrefixedId('qwen_image_i2l'),+ });++ canvasOutput = await addInpaint({+ g,+ state,+ manager,+ l2i,+ i2l,+ denoise,+ vaeSource: modelLoader,+ modelLoader,+ seed,+ });+ g.upsertMetadata({ generation_mode: 'qwen_image_inpaint' });+ } else if (generationMode === 'outpaint') {+ assert(manager !== null);+ const i2l = g.addNode({+ type: 'qwen_image_i2l',+ id: getPrefixedId('qwen_image_i2l'),+ });++ canvasOutput = await addOutpaint({+ g,+ state,+ manager,+ l2i,+ i2l,+ denoise,+ vaeSource: modelLoader,+ modelLoader,+ seed,+ });+ g.upsertMetadata({ generation_mode: 'qwen_image_outpaint' });+ } else {+ assert<Equals<typeof generationMode, never>>(false);+ }++ if (state.system.shouldUseNSFWChecker) {+ canvasOutput = addNSFWChecker(g, canvasOutput);+ }++ if (state.system.shouldUseWatermarker) {+ canvasOutput = addWatermarker(g, canvasOutput);+ }++ g.updateNode(canvasOutput, selectCanvasOutputFields(state));++ if (selectActiveTab(state) === 'canvas') {+ g.upsertMetadata(selectCanvasMetadata(state));+ }++ g.setMetadataReceivingNode(canvasOutput);++ return {+ g,+ seed,+ positivePrompt,+ };+};diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/graphBuilderUtils.ts b/invokeai/frontend/web/src/features/nodes/util/graph/graphBuilderUtils.tsindex 4804345c40..892b47a408 100644--- a/invokeai/frontend/web/src/features/nodes/util/graph/graphBuilderUtils.ts+++ b/invokeai/frontend/web/src/features/nodes/util/graph/graphBuilderUtils.ts@@ -215,6 +215,7 @@ export const isMainModelWithoutUnet = (modelLoader: Invocation<MainModelLoaderNomodelLoader.type === 'flux2_klein_model_loader' ||modelLoader.type === 'sd3_model_loader' ||modelLoader.type === 'cogview4_model_loader' ||+ modelLoader.type === 'qwen_image_model_loader' ||modelLoader.type === 'z_image_model_loader' ||modelLoader.type === 'anima_model_loader');@@ -273,6 +274,7 @@ export const getDenoisingStartAndEnd = (state: RootState): { denoising_start: nucase 'sd-1':case 'sd-2':case 'cogview4':+ case 'qwen-image':case 'z-image': {return {denoising_start: 1 - denoisingStrength,diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/types.ts b/invokeai/frontend/web/src/features/nodes/util/graph/types.tsindex f02a7bf6f8..d540b032e7 100644--- a/invokeai/frontend/web/src/features/nodes/util/graph/types.ts+++ b/invokeai/frontend/web/src/features/nodes/util/graph/types.ts@@ -15,6 +15,7 @@ export type ImageOutputNodes =| 'flux2_vae_decode'| 'sd3_l2i'| 'cogview4_l2i'+ | 'qwen_image_l2i'| 'z_image_l2i'| 'anima_l2i';@@ -24,6 +25,7 @@ export type LatentToImageNodes =| 'flux2_vae_decode'| 'sd3_l2i'| 'cogview4_l2i'+ | 'qwen_image_l2i'| 'z_image_l2i'| 'anima_l2i';@@ -33,6 +35,7 @@ export type ImageToLatentsNodes =| 'flux2_vae_encode'| 'sd3_i2l'| 'cogview4_i2l'+ | 'qwen_image_i2l'| 'z_image_i2l'| 'anima_i2l';@@ -42,6 +45,7 @@ export type DenoiseLatentsNodes =| 'flux2_denoise'| 'sd3_denoise'| 'cogview4_denoise'+ | 'qwen_image_denoise'| 'z_image_denoise'| 'anima_denoise';@@ -52,6 +56,7 @@ export type MainModelLoaderNodes =| 'flux2_klein_model_loader'| 'sd3_model_loader'| 'cogview4_model_loader'+ | 'qwen_image_model_loader'| 'z_image_model_loader'| 'anima_model_loader';diff --git a/invokeai/frontend/web/src/features/parameters/components/Advanced/ParamQwenImageComponentSourceSelect.tsx b/invokeai/frontend/web/src/features/parameters/components/Advanced/ParamQwenImageComponentSourceSelect.tsxnew file mode 100644index 0000000000..831187d41a--- /dev/null+++ b/invokeai/frontend/web/src/features/parameters/components/Advanced/ParamQwenImageComponentSourceSelect.tsx@@ -0,0 +1,61 @@+import { Combobox, FormControl, FormLabel } from '@invoke-ai/ui-library';+import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';+import { useModelCombobox } from 'common/hooks/useModelCombobox';+import {+ qwenImageComponentSourceSelected,+ selectQwenImageComponentSource,+} from 'features/controlLayers/store/paramsSlice';+import { zModelIdentifierField } from 'features/nodes/types/common';+import { memo, useCallback } from 'react';+import { useTranslation } from 'react-i18next';+import { useQwenImageDiffusersModels } from 'services/api/hooks/modelsByType';+import type { MainModelConfig } from 'services/api/types';++/**+ * Qwen Image Edit Component Source Model Select+ *+ * Selects a Diffusers Qwen Image Edit model to provide the VAE and text encoder+ * when using a GGUF quantized transformer.+ */+const ParamQwenImageComponentSourceSelect = memo(() => {+ const dispatch = useAppDispatch();+ const { t } = useTranslation();+ const componentSource = useAppSelector(selectQwenImageComponentSource);+ const [modelConfigs, { isLoading }] = useQwenImageDiffusersModels();++ const _onChange = useCallback(+ (model: MainModelConfig | null) => {+ if (model) {+ dispatch(qwenImageComponentSourceSelected(zModelIdentifierField.parse(model)));+ } else {+ dispatch(qwenImageComponentSourceSelected(null));+ }+ },+ [dispatch]+ );++ const { options, value, onChange, noOptionsMessage } = useModelCombobox({+ modelConfigs,+ onChange: _onChange,+ selectedModel: componentSource,+ isLoading,+ });++ return (+ <FormControl minW={0} flexGrow={1} gap={2}>+ <FormLabel m={0}>{t('modelManager.qwenImageComponentSource')}</FormLabel>+ <Combobox+ value={value}+ options={options}+ onChange={onChange}+ noOptionsMessage={noOptionsMessage}+ isClearable+ placeholder={t('modelManager.qwenImageComponentSourcePlaceholder')}+ />+ </FormControl>+ );+});++ParamQwenImageComponentSourceSelect.displayName = 'ParamQwenImageComponentSourceSelect';++export default ParamQwenImageComponentSourceSelect;diff --git a/invokeai/frontend/web/src/features/parameters/components/Advanced/ParamQwenImageQuantization.tsx b/invokeai/frontend/web/src/features/parameters/components/Advanced/ParamQwenImageQuantization.tsxnew file mode 100644index 0000000000..09bc212e92--- /dev/null+++ b/invokeai/frontend/web/src/features/parameters/components/Advanced/ParamQwenImageQuantization.tsx@@ -0,0 +1,48 @@+import type { ComboboxOnChange, ComboboxOption } from '@invoke-ai/ui-library';+import { Combobox, FormControl, FormLabel } from '@invoke-ai/ui-library';+import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';+import { qwenImageQuantizationChanged, selectQwenImageQuantization } from 'features/controlLayers/store/paramsSlice';+import { memo, useCallback, useMemo } from 'react';+import { useTranslation } from 'react-i18next';++const isValidQuantization = (value: string | undefined): value is 'none' | 'int8' | 'nf4' => {+ return value === 'none' || value === 'int8' || value === 'nf4';+};++const ParamQwenImageQuantization = memo(() => {+ const dispatch = useAppDispatch();+ const { t } = useTranslation();+ const quantization = useAppSelector(selectQwenImageQuantization);++ const options = useMemo<ComboboxOption[]>(+ () => [+ { value: 'none', label: t('modelManager.qwenImageQuantizationNone') },+ { value: 'int8', label: t('modelManager.qwenImageQuantizationInt8') },+ { value: 'nf4', label: t('modelManager.qwenImageQuantizationNf4') },+ ],+ [t]+ );++ const value = useMemo(() => options.find((o) => o.value === quantization), [options, quantization]);++ const onChange = useCallback<ComboboxOnChange>(+ (v) => {+ if (!isValidQuantization(v?.value)) {+ return;+ }+ dispatch(qwenImageQuantizationChanged(v.value));+ },+ [dispatch]+ );++ return (+ <FormControl minW={0} flexGrow={1} gap={2}>+ <FormLabel m={0}>{t('modelManager.qwenImageQuantization')}</FormLabel>+ <Combobox value={value} options={options} onChange={onChange} />+ </FormControl>+ );+});++ParamQwenImageQuantization.displayName = 'ParamQwenImageQuantization';++export default ParamQwenImageQuantization;diff --git a/invokeai/frontend/web/src/features/parameters/components/Core/ParamQwenImageShift.tsx b/invokeai/frontend/web/src/features/parameters/components/Core/ParamQwenImageShift.tsxnew file mode 100644index 0000000000..9702e4bcb9--- /dev/null+++ b/invokeai/frontend/web/src/features/parameters/components/Core/ParamQwenImageShift.tsx@@ -0,0 +1,75 @@+import { CompositeNumberInput, CompositeSlider, FormControl, FormLabel, Text } from '@invoke-ai/ui-library';+import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';+import { qwenImageShiftChanged, selectQwenImageShift } from 'features/controlLayers/store/paramsSlice';+import type React from 'react';+import { memo, useCallback } from 'react';+import { useTranslation } from 'react-i18next';+import { PiXBold } from 'react-icons/pi';++const CONSTRAINTS = {+ initial: 3,+ sliderMin: 1,+ sliderMax: 7,+ numberInputMin: 0,+ numberInputMax: 10,+ fineStep: 0.1,+ coarseStep: 0.5,+};++const MARKS = [1, 2, 3, 4, 5, 6, 7];++const ParamQwenImageShift = () => {+ const { t } = useTranslation();+ const shift = useAppSelector(selectQwenImageShift);+ const dispatch = useAppDispatch();++ const onChange = useCallback((v: number) => dispatch(qwenImageShiftChanged(v)), [dispatch]);+ const onReset = useCallback(+ (e: React.MouseEvent) => {+ e.preventDefault();+ e.stopPropagation();+ dispatch(qwenImageShiftChanged(null));+ },+ [dispatch]+ );++ const displayValue = shift ?? CONSTRAINTS.initial;++ return (+ <FormControl>+ <FormLabel>+ {t('parameters.shift')}{' '}+ {shift !== null ? (+ <Text as="span" cursor="pointer" onClick={onReset} display="inline-flex" verticalAlign="middle">+ <PiXBold />+ </Text>+ ) : (+ <Text as="span" opacity={0.5} fontWeight="normal" fontSize="xs">+ ({t('common.auto').toLowerCase()})+ </Text>+ )}+ </FormLabel>+ <CompositeSlider+ value={displayValue}+ defaultValue={CONSTRAINTS.initial}+ min={CONSTRAINTS.sliderMin}+ max={CONSTRAINTS.sliderMax}+ step={CONSTRAINTS.coarseStep}+ fineStep={CONSTRAINTS.fineStep}+ onChange={onChange}+ marks={MARKS}+ />+ <CompositeNumberInput+ value={displayValue}+ defaultValue={CONSTRAINTS.initial}+ min={CONSTRAINTS.numberInputMin}+ max={CONSTRAINTS.numberInputMax}+ step={CONSTRAINTS.coarseStep}+ fineStep={CONSTRAINTS.fineStep}+ onChange={onChange}+ />+ </FormControl>+ );+};++export default memo(ParamQwenImageShift);diff --git a/invokeai/frontend/web/src/features/parameters/components/Core/ParamZImageShift.tsx b/invokeai/frontend/web/src/features/parameters/components/Core/ParamZImageShift.tsxindex 21dd02412e..308a315127 100644--- a/invokeai/frontend/web/src/features/parameters/components/Core/ParamZImageShift.tsx+++ b/invokeai/frontend/web/src/features/parameters/components/Core/ParamZImageShift.tsx@@ -3,6 +3,7 @@ import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';import { selectZImageShift, setZImageShift } from 'features/controlLayers/store/paramsSlice';import type React from 'react';import { memo, useCallback } from 'react';+import { useTranslation } from 'react-i18next';import { PiXBold } from 'react-icons/pi';const CONSTRAINTS = {@@ -18,6 +19,7 @@ const CONSTRAINTS = {const MARKS = [1, 2, 3, 4, 5, 6, 7];const ParamZImageShift = () => {+ const { t } = useTranslation();const shift = useAppSelector(selectZImageShift);const dispatch = useAppDispatch();@@ -36,14 +38,14 @@ const ParamZImageShift = () => {return (<FormControl><FormLabel>- Shift{' '}+ {t('parameters.shift')}{' '}{shift !== null ? (<Text as="span" cursor="pointer" onClick={onReset} display="inline-flex" verticalAlign="middle"><PiXBold /></Text>) : (<Text as="span" opacity={0.5} fontWeight="normal" fontSize="xs">- (auto)+ ({t('common.auto').toLowerCase()})</Text>)}</FormLabel>diff --git a/invokeai/frontend/web/src/features/parameters/components/ModelPicker.tsx b/invokeai/frontend/web/src/features/parameters/components/ModelPicker.tsxindex c5397791b8..452c490af1 100644--- a/invokeai/frontend/web/src/features/parameters/components/ModelPicker.tsx+++ b/invokeai/frontend/web/src/features/parameters/components/ModelPicker.tsx@@ -219,7 +219,7 @@ export const ModelPicker = typedMemo(const _options: Group<WithStarred<T>>[] = [];// Add groups in the original order- for (const groupId of ['api', 'flux', 'z-image', 'cogview4', 'sdxl', 'sd-3', 'sd-2', 'sd-1']) {+ for (const groupId of ['api', 'flux', 'z-image', 'qwen-image', 'cogview4', 'sdxl', 'sd-3', 'sd-2', 'sd-1']) {const group = groups[groupId];if (group) {// Sort options within each group so starred ones come firstdiff --git a/invokeai/frontend/web/src/features/parameters/components/Prompts/Prompts.tsx b/invokeai/frontend/web/src/features/parameters/components/Prompts/Prompts.tsxindex 9de7326270..c93841d77b 100644--- a/invokeai/frontend/web/src/features/parameters/components/Prompts/Prompts.tsx+++ b/invokeai/frontend/web/src/features/parameters/components/Prompts/Prompts.tsx@@ -8,18 +8,34 @@ import {} from 'features/controlLayers/store/paramsSlice';import { ParamNegativePrompt } from 'features/parameters/components/Core/ParamNegativePrompt';import { ParamPositivePrompt } from 'features/parameters/components/Core/ParamPositivePrompt';-import { memo } from 'react';+import { memo, useMemo } from 'react';+import { useSelectedModelConfig } from 'services/api/hooks/useSelectedModelConfig';export const Prompts = memo(() => {const modelSupportsNegativePrompt = useAppSelector(selectModelSupportsNegativePrompt);const modelSupportsRefImages = useAppSelector(selectModelSupportsRefImages);const hasNegativePrompt = useAppSelector(selectHasNegativePrompt);+ const modelConfig = useSelectedModelConfig();++ // Qwen Image models only support ref images in the "edit" variant+ const showRefImages = useMemo(() => {+ if (!modelSupportsRefImages) {+ return false;+ }+ if (modelConfig?.base === 'qwen-image') {+ const variant = 'variant' in modelConfig ? modelConfig.variant : null;+ if (variant !== 'edit') {+ return false;+ }+ }+ return true;+ }, [modelSupportsRefImages, modelConfig]);return (<Flex flexDir="column" gap={2}><ParamPositivePrompt />{modelSupportsNegativePrompt && hasNegativePrompt && <ParamNegativePrompt />}- {modelSupportsRefImages && <RefImageList />}+ {showRefImages && <RefImageList />}</Flex>);});diff --git a/invokeai/frontend/web/src/features/parameters/types/constants.ts b/invokeai/frontend/web/src/features/parameters/types/constants.tsindex 03441c1d76..0d55785174 100644--- a/invokeai/frontend/web/src/features/parameters/types/constants.ts+++ b/invokeai/frontend/web/src/features/parameters/types/constants.ts@@ -37,6 +37,10 @@ export const CLIP_SKIP_MAP: { [key in BaseModelType]?: { maxClip: number; markermaxClip: 0,markers: [],},+ 'qwen-image': {+ maxClip: 0,+ markers: [],+ },'z-image': {maxClip: 0,markers: [],diff --git a/invokeai/frontend/web/src/features/parameters/util/optimalDimension.test.ts b/invokeai/frontend/web/src/features/parameters/util/optimalDimension.test.tsnew file mode 100644index 0000000000..c980dcb5ee--- /dev/null+++ b/invokeai/frontend/web/src/features/parameters/util/optimalDimension.test.ts@@ -0,0 +1,120 @@+import { describe, expect, it } from 'vitest';++import {+ getGridSize,+ getIsSizeOptimal,+ getIsSizeTooLarge,+ getIsSizeTooSmall,+ getOptimalDimension,+} from './optimalDimension';++describe('getOptimalDimension', () => {+ it('returns 512 for sd-1', () => {+ expect(getOptimalDimension('sd-1')).toBe(512);+ });++ it('returns 512 for sd-2', () => {+ expect(getOptimalDimension('sd-2')).toBe(512);+ });++ it('returns 1024 for qwen-image', () => {+ expect(getOptimalDimension('qwen-image')).toBe(1024);+ });++ it('returns 1024 for flux', () => {+ expect(getOptimalDimension('flux')).toBe(1024);+ });++ it('returns 1024 for sdxl', () => {+ expect(getOptimalDimension('sdxl')).toBe(1024);+ });++ it('returns 1024 for z-image', () => {+ expect(getOptimalDimension('z-image')).toBe(1024);+ });++ it('returns 1024 for null/undefined', () => {+ expect(getOptimalDimension(null)).toBe(1024);+ expect(getOptimalDimension(undefined)).toBe(1024);+ });+});++describe('getGridSize', () => {+ it('returns 16 for qwen-image', () => {+ expect(getGridSize('qwen-image')).toBe(16);+ });++ it('returns 16 for flux', () => {+ expect(getGridSize('flux')).toBe(16);+ });++ it('returns 16 for z-image', () => {+ expect(getGridSize('z-image')).toBe(16);+ });++ it('returns 32 for cogview4', () => {+ expect(getGridSize('cogview4')).toBe(32);+ });++ it('returns 8 for sd-1', () => {+ expect(getGridSize('sd-1')).toBe(8);+ });++ it('returns 8 for sdxl', () => {+ expect(getGridSize('sdxl')).toBe(8);+ });++ it('returns 8 for null/undefined', () => {+ expect(getGridSize(null)).toBe(8);+ expect(getGridSize(undefined)).toBe(8);+ });+});++describe('getIsSizeOptimal', () => {+ it('returns true for dimensions near optimal area for qwen-image (1024x1024)', () => {+ expect(getIsSizeOptimal(1024, 1024, 'qwen-image')).toBe(true);+ });++ it('returns true for non-square dimensions within 20% of optimal area', () => {+ // 896x1152 = 1,032,192 vs optimal 1,048,576 (~1.6% diff)+ expect(getIsSizeOptimal(896, 1152, 'qwen-image')).toBe(true);+ });++ it('returns false for dimensions too small (< 80% of optimal area)', () => {+ // 512x512 = 262,144 vs optimal 1,048,576 (~75% too small)+ expect(getIsSizeOptimal(512, 512, 'qwen-image')).toBe(false);+ });++ it('returns false for dimensions too large (> 120% of optimal area)', () => {+ // 2048x2048 = 4,194,304 vs optimal 1,048,576 (~300% too large)+ expect(getIsSizeOptimal(2048, 2048, 'qwen-image')).toBe(false);+ });++ it('returns true for sd-1 at 512x512', () => {+ expect(getIsSizeOptimal(512, 512, 'sd-1')).toBe(true);+ });++ it('returns false for sd-1 at 1024x1024 (too large)', () => {+ expect(getIsSizeOptimal(1024, 1024, 'sd-1')).toBe(false);+ });+});++describe('getIsSizeTooSmall', () => {+ it('returns true when area is below 80% of optimal', () => {+ expect(getIsSizeTooSmall(400, 400, 1024)).toBe(true);+ });++ it('returns false when area is at or above 80% of optimal', () => {+ expect(getIsSizeTooSmall(920, 920, 1024)).toBe(false);+ });+});++describe('getIsSizeTooLarge', () => {+ it('returns true when area exceeds 120% of optimal', () => {+ expect(getIsSizeTooLarge(1200, 1200, 1024)).toBe(true);+ });++ it('returns false when area is at or below 120% of optimal', () => {+ expect(getIsSizeTooLarge(1100, 1024, 1024)).toBe(false);+ });+});diff --git a/invokeai/frontend/web/src/features/parameters/util/optimalDimension.ts b/invokeai/frontend/web/src/features/parameters/util/optimalDimension.tsindex 5a9622a12f..2ac59a32e2 100644--- a/invokeai/frontend/web/src/features/parameters/util/optimalDimension.ts+++ b/invokeai/frontend/web/src/features/parameters/util/optimalDimension.ts@@ -3,7 +3,7 @@ import type { BaseModelType } from 'features/nodes/types/common';/*** Gets the optimal dimension for a given base model:* - sd-1, sd-2: 512- * - sdxl, flux, sd-3, cogview4, z-image, anima: 1024+ * - sdxl, flux, sd-3, cogview4, qwen-image, z-image, anima: 1024* - default: 1024* @param base The base model* @returns The optimal dimension for the model, defaulting to 1024@@ -18,6 +18,7 @@ export const getOptimalDimension = (base?: BaseModelType | null): number => {case 'flux2':case 'sd-3':case 'cogview4':+ case 'qwen-image':case 'z-image':case 'anima':default:@@ -62,7 +63,7 @@ export const isInSDXLTrainingDimensions = (width: number, height: number): boole/*** Gets the grid size for a given base model. For Flux, the grid size is 16, otherwise it is 8.* - sd-1, sd-2, sdxl, anima: 8- * - flux, sd-3, z-image: 16+ * - flux, sd-3, qwen-image, z-image: 16* - cogview4: 32* - default: 8* @param base The base model@@ -75,6 +76,7 @@ export const getGridSize = (base?: BaseModelType | null): number => {case 'flux':case 'flux2':case 'sd-3':+ case 'qwen-image':case 'z-image':return 16;case 'sd-1':diff --git a/invokeai/frontend/web/src/features/queue/hooks/useEnqueueCanvas.ts b/invokeai/frontend/web/src/features/queue/hooks/useEnqueueCanvas.tsindex b32ea8e303..6e466fc89b 100644--- a/invokeai/frontend/web/src/features/queue/hooks/useEnqueueCanvas.ts+++ b/invokeai/frontend/web/src/features/queue/hooks/useEnqueueCanvas.ts@@ -11,6 +11,7 @@ import { prepareLinearUIBatch } from 'features/nodes/util/graph/buildLinearBatchimport { buildAnimaGraph } from 'features/nodes/util/graph/generation/buildAnimaGraph';import { buildCogView4Graph } from 'features/nodes/util/graph/generation/buildCogView4Graph';import { buildFLUXGraph } from 'features/nodes/util/graph/generation/buildFLUXGraph';+import { buildQwenImageGraph } from 'features/nodes/util/graph/generation/buildQwenImageGraph';import { buildSD1Graph } from 'features/nodes/util/graph/generation/buildSD1Graph';import { buildSD3Graph } from 'features/nodes/util/graph/generation/buildSD3Graph';import { buildSDXLGraph } from 'features/nodes/util/graph/generation/buildSDXLGraph';@@ -58,6 +59,8 @@ const enqueueCanvas = async (store: AppStore, canvasManager: CanvasManager, prepreturn await buildFLUXGraph(graphBuilderArg);case 'cogview4':return await buildCogView4Graph(graphBuilderArg);+ case 'qwen-image':+ return await buildQwenImageGraph(graphBuilderArg);case 'z-image':return await buildZImageGraph(graphBuilderArg);case 'anima':diff --git a/invokeai/frontend/web/src/features/queue/hooks/useEnqueueGenerate.ts b/invokeai/frontend/web/src/features/queue/hooks/useEnqueueGenerate.tsindex cbae643ee9..62c9ca255a 100644--- a/invokeai/frontend/web/src/features/queue/hooks/useEnqueueGenerate.ts+++ b/invokeai/frontend/web/src/features/queue/hooks/useEnqueueGenerate.ts@@ -9,6 +9,7 @@ import { prepareLinearUIBatch } from 'features/nodes/util/graph/buildLinearBatchimport { buildAnimaGraph } from 'features/nodes/util/graph/generation/buildAnimaGraph';import { buildCogView4Graph } from 'features/nodes/util/graph/generation/buildCogView4Graph';import { buildFLUXGraph } from 'features/nodes/util/graph/generation/buildFLUXGraph';+import { buildQwenImageGraph } from 'features/nodes/util/graph/generation/buildQwenImageGraph';import { buildSD1Graph } from 'features/nodes/util/graph/generation/buildSD1Graph';import { buildSD3Graph } from 'features/nodes/util/graph/generation/buildSD3Graph';import { buildSDXLGraph } from 'features/nodes/util/graph/generation/buildSDXLGraph';@@ -51,6 +52,8 @@ const enqueueGenerate = async (store: AppStore, prepend: boolean) => {return await buildFLUXGraph(graphBuilderArg);case 'cogview4':return await buildCogView4Graph(graphBuilderArg);+ case 'qwen-image':+ return await buildQwenImageGraph(graphBuilderArg);case 'z-image':return await buildZImageGraph(graphBuilderArg);case 'anima':diff --git a/invokeai/frontend/web/src/features/queue/store/readiness.ts b/invokeai/frontend/web/src/features/queue/store/readiness.tsindex 0775faa2cd..81a3b41633 100644--- a/invokeai/frontend/web/src/features/queue/store/readiness.ts+++ b/invokeai/frontend/web/src/features/queue/store/readiness.ts@@ -257,6 +257,12 @@ const getReasonsWhyCannotEnqueueGenerateTab = (arg: {// FLUX.2 (Klein) extracts Qwen3 encoder and VAE from main model - no separate selections needed+ if (model?.base === 'qwen-image' && model.format === 'gguf_quantized') {+ if (!params.qwenImageComponentSource) {+ reasons.push({ content: i18n.t('parameters.invoke.noQwenImageComponentSourceSelected') });+ }+ }+if (model?.base === 'z-image') {// Check if VAE source is available (either separate VAE or Qwen3 Source)const hasVaeSource = params.zImageVaeModel !== null || params.zImageQwen3SourceModel !== null;@@ -647,6 +653,57 @@ const getReasonsWhyCannotEnqueueCanvasTab = (arg: {}}+ if (model?.base === 'qwen-image') {+ const { bbox } = canvas;+ const gridSize = getGridSize('qwen-image');++ if (bbox.scaleMethod === 'none') {+ if (bbox.rect.width % gridSize !== 0) {+ reasons.push({+ content: i18n.t('parameters.invoke.modelIncompatibleBboxWidth', {+ model: 'Qwen Image Edit',+ width: bbox.rect.width,+ multiple: gridSize,+ }),+ });+ }+ if (bbox.rect.height % gridSize !== 0) {+ reasons.push({+ content: i18n.t('parameters.invoke.modelIncompatibleBboxHeight', {+ model: 'Qwen Image Edit',+ height: bbox.rect.height,+ multiple: gridSize,+ }),+ });+ }+ } else {+ if (bbox.scaledSize.width % gridSize !== 0) {+ reasons.push({+ content: i18n.t('parameters.invoke.modelIncompatibleScaledBboxWidth', {+ model: 'Qwen Image Edit',+ width: bbox.scaledSize.width,+ multiple: gridSize,+ }),+ });+ }+ if (bbox.scaledSize.height % gridSize !== 0) {+ reasons.push({+ content: i18n.t('parameters.invoke.modelIncompatibleScaledBboxHeight', {+ model: 'Qwen Image Edit',+ height: bbox.scaledSize.height,+ multiple: gridSize,+ }),+ });+ }+ }+ }++ if (model?.base === 'qwen-image' && model.format === 'gguf_quantized') {+ if (!params.qwenImageComponentSource) {+ reasons.push({ content: i18n.t('parameters.invoke.noQwenImageComponentSourceSelected') });+ }+ }+if (model?.base === 'z-image') {// Check if VAE source is available (either separate VAE or Qwen3 Source)const hasVaeSource = params.zImageVaeModel !== null || params.zImageQwen3SourceModel !== null;diff --git a/invokeai/frontend/web/src/features/settingsAccordions/components/AdvancedSettingsAccordion/AdvancedSettingsAccordion.tsx b/invokeai/frontend/web/src/features/settingsAccordions/components/AdvancedSettingsAccordion/AdvancedSettingsAccordion.tsxindex 4428678078..efbaf2ae4c 100644--- a/invokeai/frontend/web/src/features/settingsAccordions/components/AdvancedSettingsAccordion/AdvancedSettingsAccordion.tsx+++ b/invokeai/frontend/web/src/features/settingsAccordions/components/AdvancedSettingsAccordion/AdvancedSettingsAccordion.tsx@@ -7,6 +7,7 @@ import {selectIsAnima,selectIsFLUX,selectIsFlux2,+ selectIsQwenImage,selectIsSD3,selectIsZImage,selectParamsSlice,@@ -19,6 +20,8 @@ import ParamCLIPGEmbedModelSelect from 'features/parameters/components/Advanced/import ParamCLIPLEmbedModelSelect from 'features/parameters/components/Advanced/ParamCLIPLEmbedModelSelect';import ParamClipSkip from 'features/parameters/components/Advanced/ParamClipSkip';import ParamFlux2KleinModelSelect from 'features/parameters/components/Advanced/ParamFlux2KleinModelSelect';+import ParamQwenImageComponentSourceSelect from 'features/parameters/components/Advanced/ParamQwenImageComponentSourceSelect';+import ParamQwenImageQuantization from 'features/parameters/components/Advanced/ParamQwenImageQuantization';import ParamT5EncoderModelSelect from 'features/parameters/components/Advanced/ParamT5EncoderModelSelect';import ParamZImageQwen3VaeModelSelect from 'features/parameters/components/Advanced/ParamZImageQwen3VaeModelSelect';import ParamSeamlessXAxis from 'features/parameters/components/Seamless/ParamSeamlessXAxis';@@ -47,6 +50,7 @@ export const AdvancedSettingsAccordion = memo(() => {const isFlux2 = useAppSelector(selectIsFlux2);const isSD3 = useAppSelector(selectIsSD3);const isZImage = useAppSelector(selectIsZImage);+ const isQwenImage = useAppSelector(selectIsQwenImage);const isAnima = useAppSelector(selectIsAnima);const selectBadges = useMemo(@@ -97,13 +101,13 @@ export const AdvancedSettingsAccordion = memo(() => {return (<StandaloneAccordion label={t('accordions.advanced.title')} badges={badges} isOpen={isOpen} onToggle={onToggle}><Flex gap={4} alignItems="center" p={4} flexDir="column" data-testid="advanced-settings-accordion">- {!isZImage && !isAnima && !isFlux2 && (+ {!isZImage && !isAnima && !isFlux2 && !isQwenImage && (<Flex gap={4} w="full">{isFLUX ? <ParamFLUXVAEModelSelect /> : <ParamVAEModelSelect />}{!isFLUX && !isSD3 && <ParamVAEPrecision />}</Flex>)}- {!isFLUX && !isFlux2 && !isSD3 && !isZImage && !isAnima && (+ {!isFLUX && !isFlux2 && !isSD3 && !isZImage && !isQwenImage && !isAnima && (<><FormControlGroup formLabelProps={formLabelProps}><ParamClipSkip />@@ -145,6 +149,12 @@ export const AdvancedSettingsAccordion = memo(() => {<ParamZImageQwen3VaeModelSelect /></FormControlGroup>)}+ {isQwenImage && (+ <FormControlGroup>+ <ParamQwenImageComponentSourceSelect />+ <ParamQwenImageQuantization />+ </FormControlGroup>+ )}{isAnima && (<FormControlGroup><ParamAnimaModelSelect />diff --git a/invokeai/frontend/web/src/features/settingsAccordions/components/GenerationSettingsAccordion/GenerationSettingsAccordion.tsx b/invokeai/frontend/web/src/features/settingsAccordions/components/GenerationSettingsAccordion/GenerationSettingsAccordion.tsxindex e2fd6a081b..2b21c82308 100644--- a/invokeai/frontend/web/src/features/settingsAccordions/components/GenerationSettingsAccordion/GenerationSettingsAccordion.tsx+++ b/invokeai/frontend/web/src/features/settingsAccordions/components/GenerationSettingsAccordion/GenerationSettingsAccordion.tsx@@ -10,6 +10,7 @@ import {selectIsCogView4,selectIsFLUX,selectIsFlux2,+ selectIsQwenImage,selectIsSD3,selectIsZImage,} from 'features/controlLayers/store/paramsSlice';@@ -22,6 +23,7 @@ import ParamFluxDypePreset from 'features/parameters/components/Core/ParamFluxDyimport ParamFluxDypeScale from 'features/parameters/components/Core/ParamFluxDypeScale';import ParamFluxScheduler from 'features/parameters/components/Core/ParamFluxScheduler';import ParamGuidance from 'features/parameters/components/Core/ParamGuidance';+import ParamQwenImageShift from 'features/parameters/components/Core/ParamQwenImageShift';import ParamScheduler from 'features/parameters/components/Core/ParamScheduler';import ParamSteps from 'features/parameters/components/Core/ParamSteps';import ParamZImageScheduler from 'features/parameters/components/Core/ParamZImageScheduler';@@ -47,6 +49,7 @@ export const GenerationSettingsAccordion = memo(() => {const isSD3 = useAppSelector(selectIsSD3);const isCogView4 = useAppSelector(selectIsCogView4);const isZImage = useAppSelector(selectIsZImage);+ const isQwenImage = useAppSelector(selectIsQwenImage);const isAnima = useAppSelector(selectIsAnima);const fluxDypePreset = useAppSelector(selectFluxDypePreset);@@ -86,7 +89,9 @@ export const GenerationSettingsAccordion = memo(() => {<Expander label={t('accordions.advanced.options')} isOpen={isOpenExpander} onToggle={onToggleExpander}><Flex gap={4} flexDir="column" pb={4}><FormControlGroup formLabelProps={formLabelProps}>- {!isFLUX && !isFlux2 && !isSD3 && !isCogView4 && !isZImage && !isAnima && <ParamScheduler />}+ {!isFLUX && !isFlux2 && !isSD3 && !isCogView4 && !isZImage && !isQwenImage && !isAnima && (+ <ParamScheduler />+ )}{isFLUX && <ParamFluxScheduler />}{isZImage && <ParamZImageScheduler />}{isAnima && <ParamAnimaScheduler />}@@ -94,6 +99,7 @@ export const GenerationSettingsAccordion = memo(() => {{(isFLUX || isFlux2) && modelConfig && !isFluxFillMainModelModelConfig(modelConfig) && <ParamGuidance />}{!isFLUX && !isFlux2 && <ParamCFGScale />}{isZImage && <ParamZImageShift />}+ {isQwenImage && <ParamQwenImageShift />}{isFLUX && <ParamFluxDypePreset />}{isFLUX && fluxDypePreset === 'manual' && <ParamFluxDypeScale />}{isFLUX && fluxDypePreset === 'manual' && <ParamFluxDypeExponent />}diff --git a/invokeai/frontend/web/src/services/api/hooks/modelsByType.ts b/invokeai/frontend/web/src/services/api/hooks/modelsByType.tsindex 4d6bc57b31..808938d906 100644--- a/invokeai/frontend/web/src/services/api/hooks/modelsByType.ts+++ b/invokeai/frontend/web/src/services/api/hooks/modelsByType.ts@@ -25,6 +25,7 @@ import {isLoRAModelConfig,isNonRefinerMainModelConfig,isQwen3EncoderModelConfig,+ isQwenImageDiffusersMainModelConfig,isRefinerMainModelModelConfig,isSpandrelImageToImageModelConfig,isT5EncoderModelConfigOrSubmodel,@@ -73,6 +74,7 @@ export const useFlux2VAEModels = () => buildModelsHook(isFlux2VAEModelConfig)();export const useAnimaVAEModels = () => buildModelsHook(isAnimaVAEModelConfig)();export const useAnimaQwen3EncoderModels = () => buildModelsHook(isAnimaQwen3EncoderModelConfig)();export const useZImageDiffusersModels = () => buildModelsHook(isZImageDiffusersMainModelConfig)();+export const useQwenImageDiffusersModels = () => buildModelsHook(isQwenImageDiffusersMainModelConfig)();export const useQwen3EncoderModels = () => buildModelsHook(isQwen3EncoderModelConfig)();export const useGlobalReferenceImageModels = buildModelsHook((config) => isIPAdapterModelConfig(config) || isFluxReduxModelConfig(config) || isFluxKontextModelConfig(config)@@ -109,6 +111,7 @@ export const selectRegionalRefImageModels = buildModelsSelector();export const selectAnimaQwen3EncoderModels = buildModelsSelector(isAnimaQwen3EncoderModelConfig);export const selectQwen3EncoderModels = buildModelsSelector(isQwen3EncoderModelConfig);+export const selectQwenImageDiffusersModels = buildModelsSelector(isQwenImageDiffusersMainModelConfig);export const selectZImageDiffusersModels = buildModelsSelector(isZImageDiffusersMainModelConfig);export const selectFluxVAEModels = buildModelsSelector(isFluxVAEModelConfig);export const selectAnimaVAEModels = buildModelsSelector(isAnimaVAEModelConfig);diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.tsindex 18216bca2c..f7ef229bf3 100644--- a/invokeai/frontend/web/src/services/api/schema.ts+++ b/invokeai/frontend/web/src/services/api/schema.ts@@ -3152,7 +3152,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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"];/*** AppVersion* @description App Version Response@@ -3304,7 +3304,7 @@ export type components = {* fallback/null value `BaseModelType.Any` for these models, instead of making the model base optional.* @enum {string}*/- BaseModelType: "any" | "sd-1" | "sd-2" | "sd-3" | "sdxl" | "sdxl-refiner" | "flux" | "flux2" | "cogview4" | "z-image" | "anima" | "unknown";+ BaseModelType: "any" | "sd-1" | "sd-2" | "sd-3" | "sdxl" | "sdxl-refiner" | "flux" | "flux2" | "cogview4" | "z-image" | "qwen-image" | "anima" | "unknown";/** Batch */Batch: {/**@@ -7027,7 +7027,7 @@ export type components = {* @description The generation mode that output this image* @default null*/- generation_mode?: ("txt2img" | "img2img" | "inpaint" | "outpaint" | "sdxl_txt2img" | "sdxl_img2img" | "sdxl_inpaint" | "sdxl_outpaint" | "flux_txt2img" | "flux_img2img" | "flux_inpaint" | "flux_outpaint" | "flux2_txt2img" | "flux2_img2img" | "flux2_inpaint" | "flux2_outpaint" | "sd3_txt2img" | "sd3_img2img" | "sd3_inpaint" | "sd3_outpaint" | "cogview4_txt2img" | "cogview4_img2img" | "cogview4_inpaint" | "cogview4_outpaint" | "z_image_txt2img" | "z_image_img2img" | "z_image_inpaint" | "z_image_outpaint" | "anima_txt2img" | "anima_img2img" | "anima_inpaint" | "anima_outpaint") | null;+ generation_mode?: ("txt2img" | "img2img" | "inpaint" | "outpaint" | "sdxl_txt2img" | "sdxl_img2img" | "sdxl_inpaint" | "sdxl_outpaint" | "flux_txt2img" | "flux_img2img" | "flux_inpaint" | "flux_outpaint" | "flux2_txt2img" | "flux2_img2img" | "flux2_inpaint" | "flux2_outpaint" | "sd3_txt2img" | "sd3_img2img" | "sd3_inpaint" | "sd3_outpaint" | "cogview4_txt2img" | "cogview4_img2img" | "cogview4_inpaint" | "cogview4_outpaint" | "z_image_txt2img" | "z_image_img2img" | "z_image_inpaint" | "z_image_outpaint" | "qwen_image_txt2img" | "qwen_image_img2img" | "qwen_image_inpaint" | "qwen_image_outpaint" | "anima_txt2img" | "anima_img2img" | "anima_inpaint" | "anima_outpaint") | null;/*** Positive Prompt* @description The positive prompt parameter@@ -11307,7 +11307,7 @@ export type components = {* @description The nodes in this graph*/nodes?: {- [key: string]: components["schemas"]["AddInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ [key: string]: components["schemas"]["AddInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];};/*** Edges@@ -11344,7 +11344,7 @@ export type components = {* @description The results of node executions*/results: {- [key: string]: components["schemas"]["AnimaConditioningOutput"] | components["schemas"]["AnimaLoRALoaderOutput"] | components["schemas"]["AnimaModelLoaderOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["BoundingBoxCollectionOutput"] | components["schemas"]["BoundingBoxOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["CLIPSkipInvocationOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["CogView4ConditioningOutput"] | components["schemas"]["CogView4ModelLoaderOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["FloatGeneratorOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["Flux2KleinLoRALoaderOutput"] | components["schemas"]["Flux2KleinModelLoaderOutput"] | components["schemas"]["FluxConditioningCollectionOutput"] | components["schemas"]["FluxConditioningOutput"] | components["schemas"]["FluxControlLoRALoaderOutput"] | components["schemas"]["FluxControlNetOutput"] | components["schemas"]["FluxFillOutput"] | components["schemas"]["FluxKontextOutput"] | components["schemas"]["FluxLoRALoaderOutput"] | components["schemas"]["FluxModelLoaderOutput"] | components["schemas"]["FluxReduxOutput"] | components["schemas"]["GradientMaskOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["IfInvocationOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["ImageGeneratorOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ImagePanelCoordinateOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["IntegerGeneratorOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["LatentsMetaOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["LoRALoaderOutput"] | components["schemas"]["LoRASelectorOutput"] | components["schemas"]["MDControlListOutput"] | components["schemas"]["MDIPAdapterListOutput"] | components["schemas"]["MDT2IAdapterListOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["MetadataToLorasCollectionOutput"] | components["schemas"]["MetadataToModelOutput"] | components["schemas"]["MetadataToSDXLModelOutput"] | components["schemas"]["ModelIdentifierOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["PBRMapsOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["PromptTemplateOutput"] | components["schemas"]["SD3ConditioningOutput"] | components["schemas"]["SDXLLoRALoaderOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["Sd3ModelLoaderOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["String2Output"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["StringGeneratorOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["ZImageConditioningOutput"] | components["schemas"]["ZImageControlOutput"] | components["schemas"]["ZImageLoRALoaderOutput"] | components["schemas"]["ZImageModelLoaderOutput"];+ [key: string]: components["schemas"]["AnimaConditioningOutput"] | components["schemas"]["AnimaLoRALoaderOutput"] | components["schemas"]["AnimaModelLoaderOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["BoundingBoxCollectionOutput"] | components["schemas"]["BoundingBoxOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["CLIPSkipInvocationOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["CogView4ConditioningOutput"] | components["schemas"]["CogView4ModelLoaderOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["FloatGeneratorOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["Flux2KleinLoRALoaderOutput"] | components["schemas"]["Flux2KleinModelLoaderOutput"] | components["schemas"]["FluxConditioningCollectionOutput"] | components["schemas"]["FluxConditioningOutput"] | components["schemas"]["FluxControlLoRALoaderOutput"] | components["schemas"]["FluxControlNetOutput"] | components["schemas"]["FluxFillOutput"] | components["schemas"]["FluxKontextOutput"] | components["schemas"]["FluxLoRALoaderOutput"] | components["schemas"]["FluxModelLoaderOutput"] | components["schemas"]["FluxReduxOutput"] | components["schemas"]["GradientMaskOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["IfInvocationOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["ImageGeneratorOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ImagePanelCoordinateOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["IntegerGeneratorOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["LatentsMetaOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["LoRALoaderOutput"] | components["schemas"]["LoRASelectorOutput"] | components["schemas"]["MDControlListOutput"] | components["schemas"]["MDIPAdapterListOutput"] | components["schemas"]["MDT2IAdapterListOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["MetadataToLorasCollectionOutput"] | components["schemas"]["MetadataToModelOutput"] | components["schemas"]["MetadataToSDXLModelOutput"] | components["schemas"]["ModelIdentifierOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["PBRMapsOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["PromptTemplateOutput"] | components["schemas"]["QwenImageConditioningOutput"] | components["schemas"]["QwenImageLoRALoaderOutput"] | components["schemas"]["QwenImageModelLoaderOutput"] | components["schemas"]["SD3ConditioningOutput"] | components["schemas"]["SDXLLoRALoaderOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["Sd3ModelLoaderOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["String2Output"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["StringGeneratorOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["ZImageConditioningOutput"] | components["schemas"]["ZImageControlOutput"] | components["schemas"]["ZImageLoRALoaderOutput"] | components["schemas"]["ZImageModelLoaderOutput"];};/*** Errors@@ -14591,7 +14591,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -14601,7 +14601,7 @@ export type components = {* Result* @description The result of the invocation*/- result: components["schemas"]["AnimaConditioningOutput"] | components["schemas"]["AnimaLoRALoaderOutput"] | components["schemas"]["AnimaModelLoaderOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["BoundingBoxCollectionOutput"] | components["schemas"]["BoundingBoxOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["CLIPSkipInvocationOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["CogView4ConditioningOutput"] | components["schemas"]["CogView4ModelLoaderOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["FloatGeneratorOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["Flux2KleinLoRALoaderOutput"] | components["schemas"]["Flux2KleinModelLoaderOutput"] | components["schemas"]["FluxConditioningCollectionOutput"] | components["schemas"]["FluxConditioningOutput"] | components["schemas"]["FluxControlLoRALoaderOutput"] | components["schemas"]["FluxControlNetOutput"] | components["schemas"]["FluxFillOutput"] | components["schemas"]["FluxKontextOutput"] | components["schemas"]["FluxLoRALoaderOutput"] | components["schemas"]["FluxModelLoaderOutput"] | components["schemas"]["FluxReduxOutput"] | components["schemas"]["GradientMaskOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["IfInvocationOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["ImageGeneratorOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ImagePanelCoordinateOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["IntegerGeneratorOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["LatentsMetaOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["LoRALoaderOutput"] | components["schemas"]["LoRASelectorOutput"] | components["schemas"]["MDControlListOutput"] | components["schemas"]["MDIPAdapterListOutput"] | components["schemas"]["MDT2IAdapterListOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["MetadataToLorasCollectionOutput"] | components["schemas"]["MetadataToModelOutput"] | components["schemas"]["MetadataToSDXLModelOutput"] | components["schemas"]["ModelIdentifierOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["PBRMapsOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["PromptTemplateOutput"] | components["schemas"]["SD3ConditioningOutput"] | components["schemas"]["SDXLLoRALoaderOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["Sd3ModelLoaderOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["String2Output"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["StringGeneratorOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["ZImageConditioningOutput"] | components["schemas"]["ZImageControlOutput"] | components["schemas"]["ZImageLoRALoaderOutput"] | components["schemas"]["ZImageModelLoaderOutput"];+ result: components["schemas"]["AnimaConditioningOutput"] | components["schemas"]["AnimaLoRALoaderOutput"] | components["schemas"]["AnimaModelLoaderOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["BoundingBoxCollectionOutput"] | components["schemas"]["BoundingBoxOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["CLIPSkipInvocationOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["CogView4ConditioningOutput"] | components["schemas"]["CogView4ModelLoaderOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["FloatGeneratorOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["Flux2KleinLoRALoaderOutput"] | components["schemas"]["Flux2KleinModelLoaderOutput"] | components["schemas"]["FluxConditioningCollectionOutput"] | components["schemas"]["FluxConditioningOutput"] | components["schemas"]["FluxControlLoRALoaderOutput"] | components["schemas"]["FluxControlNetOutput"] | components["schemas"]["FluxFillOutput"] | components["schemas"]["FluxKontextOutput"] | components["schemas"]["FluxLoRALoaderOutput"] | components["schemas"]["FluxModelLoaderOutput"] | components["schemas"]["FluxReduxOutput"] | components["schemas"]["GradientMaskOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["IfInvocationOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["ImageGeneratorOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ImagePanelCoordinateOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["IntegerGeneratorOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["LatentsMetaOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["LoRALoaderOutput"] | components["schemas"]["LoRASelectorOutput"] | components["schemas"]["MDControlListOutput"] | components["schemas"]["MDIPAdapterListOutput"] | components["schemas"]["MDT2IAdapterListOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["MetadataToLorasCollectionOutput"] | components["schemas"]["MetadataToModelOutput"] | components["schemas"]["MetadataToSDXLModelOutput"] | components["schemas"]["ModelIdentifierOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["PBRMapsOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["PromptTemplateOutput"] | components["schemas"]["QwenImageConditioningOutput"] | components["schemas"]["QwenImageLoRALoaderOutput"] | components["schemas"]["QwenImageModelLoaderOutput"] | components["schemas"]["SD3ConditioningOutput"] | components["schemas"]["SDXLLoRALoaderOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["Sd3ModelLoaderOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["String2Output"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["StringGeneratorOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["ZImageConditioningOutput"] | components["schemas"]["ZImageControlOutput"] | components["schemas"]["ZImageLoRALoaderOutput"] | components["schemas"]["ZImageModelLoaderOutput"];};/*** InvocationErrorEvent@@ -14655,7 +14655,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -14866,6 +14866,13 @@ export type components = {pidi_edge_detection: components["schemas"]["ImageOutput"];prompt_from_file: components["schemas"]["StringCollectionOutput"];prompt_template: components["schemas"]["PromptTemplateOutput"];+ qwen_image_denoise: components["schemas"]["LatentsOutput"];+ qwen_image_i2l: components["schemas"]["LatentsOutput"];+ qwen_image_l2i: components["schemas"]["ImageOutput"];+ qwen_image_lora_collection_loader: components["schemas"]["QwenImageLoRALoaderOutput"];+ qwen_image_lora_loader: components["schemas"]["QwenImageLoRALoaderOutput"];+ qwen_image_model_loader: components["schemas"]["QwenImageModelLoaderOutput"];+ qwen_image_text_encoder: components["schemas"]["QwenImageConditioningOutput"];rand_float: components["schemas"]["FloatOutput"];rand_int: components["schemas"]["IntegerOutput"];random_range: components["schemas"]["IntegerCollectionOutput"];@@ -14971,7 +14978,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -15046,7 +15053,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -17512,6 +17519,84 @@ export type components = {base: "flux2";variant: components["schemas"]["Flux2VariantType"] | null;};+ /**+ * LoRA_LyCORIS_QwenImage_Config+ * @description Model config for Qwen Image Edit LoRA models in LyCORIS format.+ */+ LoRA_LyCORIS_QwenImage_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;+ /**+ * Cover Image+ * @description Url for image to preview model+ */+ cover_image: string | null;+ /**+ * Type+ * @default lora+ * @constant+ */+ type: "lora";+ /**+ * Trigger Phrases+ * @description Set of trigger phrases for this model+ */+ trigger_phrases: string[] | null;+ /** @description Default settings for this model */+ default_settings: components["schemas"]["LoraModelDefaultSettings"] | null;+ /**+ * Format+ * @default lycoris+ * @constant+ */+ format: "lycoris";+ /**+ * Base+ * @default qwen-image+ * @constant+ */+ base: "qwen-image";+ };/** LoRA_LyCORIS_SD1_Config */LoRA_LyCORIS_SD1_Config: {/**@@ -19222,6 +19307,87 @@ export type components = {base: "flux2";variant: components["schemas"]["Flux2VariantType"];};+ /**+ * Main_Diffusers_QwenImage_Config+ * @description Model config for Qwen Image diffusers models (both txt2img and edit).+ */+ Main_Diffusers_QwenImage_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;+ /**+ * Cover Image+ * @description Url for image to preview model+ */+ cover_image: string | null;+ /**+ * Type+ * @default main+ * @constant+ */+ type: "main";+ /**+ * Trigger Phrases+ * @description Set of trigger phrases for this model+ */+ trigger_phrases: string[] | null;+ /** @description Default settings for this model */+ default_settings: components["schemas"]["MainModelDefaultSettings"] | null;+ /**+ * Format+ * @default diffusers+ * @constant+ */+ format: "diffusers";+ /** @default */+ repo_variant: components["schemas"]["ModelRepoVariant"];+ /**+ * Base+ * @default qwen-image+ * @constant+ */+ base: "qwen-image";+ variant: components["schemas"]["QwenImageVariantType"] | null;+ };/** Main_Diffusers_SD1_Config */Main_Diffusers_SD1_Config: {/**@@ -19871,6 +20037,90 @@ export type components = {format: "gguf_quantized";variant: components["schemas"]["Flux2VariantType"];};+ /**+ * Main_GGUF_QwenImage_Config+ * @description Model config for GGUF-quantized Qwen Image transformer models.+ */+ Main_GGUF_QwenImage_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;+ /**+ * 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 qwen-image+ * @constant+ */+ base: "qwen-image";+ /**+ * Format+ * @default gguf_quantized+ * @constant+ */+ format: "gguf_quantized";+ variant: components["schemas"]["QwenImageVariantType"] | null;+ };/*** Main_GGUF_ZImage_Config* @description Model config for GGUF-quantized Z-Image transformer models.@@ -21783,7 +22033,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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"];};/*** ModelInstallDownloadProgressEvent@@ -21949,7 +22199,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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"]) | null;/*** Inplace* @description Leave model in its current location; otherwise install under models directory@@ -22035,7 +22285,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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"];/*** @description The submodel type, if any* @default null@@ -22056,7 +22306,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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"];/*** @description The submodel type, if any* @default null@@ -22165,7 +22415,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"]["Qwen3VariantType"] | null;+ variant?: components["schemas"]["ModelVariantType"] | components["schemas"]["ClipVariantType"] | components["schemas"]["FluxVariantType"] | components["schemas"]["Flux2VariantType"] | components["schemas"]["ZImageVariantType"] | components["schemas"]["QwenImageVariantType"] | components["schemas"]["Qwen3VariantType"] | null;/** @description The prediction type of the model. */prediction_type?: components["schemas"]["SchedulerPredictionType"] | null;/**@@ -22230,7 +22480,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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"])[];};/*** Multiply Integers@@ -23360,10 +23610,45 @@ export type components = {*/Qwen3VariantType: "qwen3_4b" | "qwen3_8b" | "qwen3_06b";/**- * Random Float- * @description Outputs a single random float+ * QwenImageConditioningField+ * @description A Qwen Image Edit conditioning tensor primitive value*/- RandomFloatInvocation: {+ QwenImageConditioningField: {+ /**+ * Conditioning Name+ * @description The name of conditioning tensor+ */+ conditioning_name: string;+ };+ /**+ * QwenImageConditioningOutput+ * @description Base class for nodes that output a Qwen Image Edit conditioning tensor.+ */+ QwenImageConditioningOutput: {+ /** @description Conditioning tensor */+ conditioning: components["schemas"]["QwenImageConditioningField"];+ /**+ * type+ * @default qwen_image_conditioning_output+ * @constant+ */+ type: "qwen_image_conditioning_output";+ };+ /**+ * Denoise - Qwen Image+ * @description Run the denoising process with a Qwen Image model.+ */+ QwenImageDenoiseInvocation: {+ /**+ * @description The board to save the image to+ * @default null+ */+ board?: components["schemas"]["BoardField"] | null;+ /**+ * @description Optional metadata to be saved with the image+ * @default null+ */+ metadata?: components["schemas"]["MetadataField"] | null;/*** Id* @description The id of this instance of an invocation. Must be unique among all instances of invocations.@@ -23378,7 +23663,476 @@ export type components = {/*** Use Cache* @description Whether or not to use the cache- * @default false+ * @default true+ */+ use_cache?: boolean;+ /**+ * @description Latents tensor+ * @default null+ */+ latents?: components["schemas"]["LatentsField"] | null;+ /**+ * @description Reference image latents to guide generation. Encoded through the VAE.+ * @default null+ */+ reference_latents?: components["schemas"]["LatentsField"] | null;+ /**+ * @description A mask of the region to apply the denoising process to. Values of 0.0 represent the regions to be fully denoised, and 1.0 represent the regions to be preserved.+ * @default null+ */+ denoise_mask?: components["schemas"]["DenoiseMaskField"] | null;+ /**+ * Denoising Start+ * @description When to start denoising, expressed a percentage of total steps+ * @default 0+ */+ denoising_start?: number;+ /**+ * Denoising End+ * @description When to stop denoising, expressed a percentage of total steps+ * @default 1+ */+ denoising_end?: number;+ /**+ * Transformer+ * @description Qwen Image Edit model (Transformer) to load+ * @default null+ */+ transformer?: components["schemas"]["TransformerField"] | null;+ /**+ * @description Positive conditioning tensor+ * @default null+ */+ positive_conditioning?: components["schemas"]["QwenImageConditioningField"] | null;+ /**+ * @description Negative conditioning tensor+ * @default null+ */+ negative_conditioning?: components["schemas"]["QwenImageConditioningField"] | null;+ /**+ * CFG Scale+ * @description Classifier-Free Guidance scale+ * @default 4+ */+ cfg_scale?: number | number[];+ /**+ * Width+ * @description Width of the generated image.+ * @default 1024+ */+ width?: number;+ /**+ * Height+ * @description Height of the generated image.+ * @default 1024+ */+ height?: number;+ /**+ * Steps+ * @description Number of steps to run+ * @default 40+ */+ steps?: number;+ /**+ * Seed+ * @description Randomness seed for reproducibility.+ * @default 0+ */+ seed?: number;+ /**+ * Shift+ * @description Override the sigma schedule shift. When set, uses a fixed shift (e.g. 3.0 for Lightning LoRAs) instead of the default dynamic shifting. Leave unset for the base model's default schedule.+ * @default null+ */+ shift?: number | null;+ /**+ * type+ * @default qwen_image_denoise+ * @constant+ */+ type: "qwen_image_denoise";+ };+ /**+ * Image to Latents - Qwen Image+ * @description Generates latents from an image using the Qwen Image VAE.+ */+ QwenImageImageToLatentsInvocation: {+ /**+ * @description The board to save the image to+ * @default null+ */+ board?: components["schemas"]["BoardField"] | null;+ /**+ * @description Optional metadata to be saved with the image+ * @default null+ */+ metadata?: components["schemas"]["MetadataField"] | null;+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default true+ */+ use_cache?: boolean;+ /**+ * @description The image to encode.+ * @default null+ */+ image?: components["schemas"]["ImageField"] | null;+ /**+ * @description VAE+ * @default null+ */+ vae?: components["schemas"]["VAEField"] | null;+ /**+ * Width+ * @description Resize the image to this width before encoding. If not set, encodes at the image's original size.+ * @default null+ */+ width?: number | null;+ /**+ * Height+ * @description Resize the image to this height before encoding. If not set, encodes at the image's original size.+ * @default null+ */+ height?: number | null;+ /**+ * type+ * @default qwen_image_i2l+ * @constant+ */+ type: "qwen_image_i2l";+ };+ /**+ * Latents to Image - Qwen Image+ * @description Generates an image from latents using the Qwen Image VAE.+ */+ QwenImageLatentsToImageInvocation: {+ /**+ * @description The board to save the image to+ * @default null+ */+ board?: components["schemas"]["BoardField"] | null;+ /**+ * @description Optional metadata to be saved with the image+ * @default null+ */+ metadata?: components["schemas"]["MetadataField"] | null;+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default true+ */+ use_cache?: boolean;+ /**+ * @description Latents tensor+ * @default null+ */+ latents?: components["schemas"]["LatentsField"] | null;+ /**+ * @description VAE+ * @default null+ */+ vae?: components["schemas"]["VAEField"] | null;+ /**+ * type+ * @default qwen_image_l2i+ * @constant+ */+ type: "qwen_image_l2i";+ };+ /**+ * Apply LoRA Collection - Qwen Image+ * @description Applies a collection of LoRAs to a Qwen Image transformer.+ */+ QwenImageLoRACollectionLoader: {+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default true+ */+ use_cache?: boolean;+ /**+ * LoRAs+ * @description LoRA models and weights. May be a single LoRA or collection.+ * @default null+ */+ loras?: components["schemas"]["LoRAField"] | components["schemas"]["LoRAField"][] | null;+ /**+ * Transformer+ * @description Transformer+ * @default null+ */+ transformer?: components["schemas"]["TransformerField"] | null;+ /**+ * type+ * @default qwen_image_lora_collection_loader+ * @constant+ */+ type: "qwen_image_lora_collection_loader";+ };+ /**+ * Apply LoRA - Qwen Image+ * @description Apply a LoRA model to a Qwen Image transformer.+ */+ QwenImageLoRALoaderInvocation: {+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default true+ */+ use_cache?: boolean;+ /**+ * LoRA+ * @description LoRA model to load+ * @default null+ */+ lora?: components["schemas"]["ModelIdentifierField"] | null;+ /**+ * Weight+ * @description The weight at which the LoRA is applied to each model+ * @default 1+ */+ weight?: number;+ /**+ * Transformer+ * @description Transformer+ * @default null+ */+ transformer?: components["schemas"]["TransformerField"] | null;+ /**+ * type+ * @default qwen_image_lora_loader+ * @constant+ */+ type: "qwen_image_lora_loader";+ };+ /**+ * QwenImageLoRALoaderOutput+ * @description Qwen Image LoRA Loader Output+ */+ QwenImageLoRALoaderOutput: {+ /**+ * Transformer+ * @description Transformer+ * @default null+ */+ transformer: components["schemas"]["TransformerField"] | null;+ /**+ * type+ * @default qwen_image_lora_loader_output+ * @constant+ */+ type: "qwen_image_lora_loader_output";+ };+ /**+ * Main Model - Qwen Image+ * @description Loads a Qwen Image model, outputting its submodels.+ *+ * The transformer is always loaded from the main model (Diffusers or GGUF).+ *+ * For GGUF quantized models, the VAE and Qwen VL encoder must come from a+ * separate Diffusers model specified in the "Component Source" field.+ *+ * For Diffusers models, all components are extracted from the main model+ * automatically. The "Component Source" field is ignored.+ */+ QwenImageModelLoaderInvocation: {+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default true+ */+ use_cache?: boolean;+ /**+ * Transformer+ * @description Qwen Image Edit model (Transformer) to load+ */+ model: components["schemas"]["ModelIdentifierField"];+ /**+ * Component Source (Diffusers)+ * @description Diffusers Qwen Image model to extract the VAE and Qwen VL encoder from. Required when using a GGUF quantized transformer. Ignored when the main model is already in Diffusers format.+ * @default null+ */+ component_source?: components["schemas"]["ModelIdentifierField"] | null;+ /**+ * type+ * @default qwen_image_model_loader+ * @constant+ */+ type: "qwen_image_model_loader";+ };+ /**+ * QwenImageModelLoaderOutput+ * @description Qwen Image model loader output.+ */+ QwenImageModelLoaderOutput: {+ /**+ * Transformer+ * @description Transformer+ */+ transformer: components["schemas"]["TransformerField"];+ /**+ * Qwen VL Encoder+ * @description Qwen2.5-VL tokenizer, processor and text/vision encoder+ */+ qwen_vl_encoder: components["schemas"]["QwenVLEncoderField"];+ /**+ * VAE+ * @description VAE+ */+ vae: components["schemas"]["VAEField"];+ /**+ * type+ * @default qwen_image_model_loader_output+ * @constant+ */+ type: "qwen_image_model_loader_output";+ };+ /**+ * Prompt - Qwen Image+ * @description Encodes text and reference images for Qwen Image using Qwen2.5-VL.+ */+ QwenImageTextEncoderInvocation: {+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default true+ */+ use_cache?: boolean;+ /**+ * Prompt+ * @description Text prompt describing the desired edit.+ * @default null+ */+ prompt?: string | null;+ /**+ * Reference Images+ * @description Reference images to guide the edit. The model can use multiple reference images.+ * @default []+ */+ reference_images?: components["schemas"]["ImageField"][];+ /**+ * Qwen VL Encoder+ * @description Qwen2.5-VL tokenizer, processor and text/vision encoder+ * @default null+ */+ qwen_vl_encoder?: components["schemas"]["QwenVLEncoderField"] | null;+ /**+ * Quantization+ * @description Quantize the Qwen VL encoder to reduce VRAM usage. 'nf4' (4-bit) saves the most memory, 'int8' (8-bit) is a middle ground.+ * @default none+ * @enum {string}+ */+ quantization?: "none" | "int8" | "nf4";+ /**+ * type+ * @default qwen_image_text_encoder+ * @constant+ */+ type: "qwen_image_text_encoder";+ };+ /**+ * QwenImageVariantType+ * @description Qwen Image model variants.+ * @enum {string}+ */+ QwenImageVariantType: "generate" | "edit";+ /**+ * QwenVLEncoderField+ * @description Field for Qwen2.5-VL encoder used by Qwen Image Edit models.+ */+ QwenVLEncoderField: {+ /** @description Info to load tokenizer submodel */+ tokenizer: components["schemas"]["ModelIdentifierField"];+ /** @description Info to load text_encoder submodel */+ text_encoder: components["schemas"]["ModelIdentifierField"];+ };+ /**+ * Random Float+ * @description Outputs a single random float+ */+ RandomFloatInvocation: {+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default false*/use_cache?: boolean;/**@@ -25737,6 +26491,8 @@ export type components = {base: components["schemas"]["BaseModelType"];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"]["Qwen3VariantType"] | null;/*** Is Installed* @default false@@ -25777,6 +26533,8 @@ export type components = {base: components["schemas"]["BaseModelType"];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"]["Qwen3VariantType"] | null;/*** Is Installed* @default false@@ -26293,7 +27051,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"]["Qwen3VariantType"] | null;+ variant?: components["schemas"]["ModelVariantType"] | components["schemas"]["ClipVariantType"] | components["schemas"]["FluxVariantType"] | components["schemas"]["Flux2VariantType"] | components["schemas"]["ZImageVariantType"] | components["schemas"]["QwenImageVariantType"] | components["schemas"]["Qwen3VariantType"] | null;};/*** Subtract Integers@@ -30098,7 +30856,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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"];};};/** @description Validation Error */@@ -30130,7 +30888,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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"];};};/** @description Validation Error */@@ -30180,7 +30938,7 @@ export interface operations {* "repo_variant": "fp16",* "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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"];};};/** @description Bad request */@@ -30285,7 +31043,7 @@ export interface operations {* "repo_variant": "fp16",* "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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"];};};/** @description Bad request */@@ -30356,7 +31114,7 @@ export interface operations {* "repo_variant": "fp16",* "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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"];};};/** @description Bad request */@@ -31089,7 +31847,7 @@ export interface operations {* "repo_variant": "fp16",* "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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_BnBNF4_FLUX_Config"] | components["schemas"]["Main_GGUF_Flux2_Config"] | components["schemas"]["Main_GGUF_FLUX_Config"] | components["schemas"]["Main_GGUF_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["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_ZImage_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_ZImage_Config"] | components["schemas"]["Main_Checkpoint_Anima_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_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_Anima_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_Flux2_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_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_QwenImage_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"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_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"]["Unknown_Config"];};};/** @description Bad request */diff --git a/invokeai/frontend/web/src/services/api/types.ts b/invokeai/frontend/web/src/services/api/types.tsindex 49aab9157f..4752b97d06 100644--- a/invokeai/frontend/web/src/services/api/types.ts+++ b/invokeai/frontend/web/src/services/api/types.ts@@ -337,6 +337,10 @@ export const isZImageDiffusersMainModelConfig = (config: AnyModelConfig): configreturn config.type === 'main' && config.base === 'z-image' && config.format === 'diffusers';};+export const isQwenImageDiffusersMainModelConfig = (config: AnyModelConfig): config is MainModelConfig => {+ return config.type === 'main' && config.base === 'qwen-image' && config.format === 'diffusers';+};+export const isTIModelConfig = (config: AnyModelConfig): config is MainModelConfig => {return config.type === 'embedding';};diff --git a/pyproject.toml b/pyproject.tomlindex 018cf1970d..aa77f2d368 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -36,7 +36,7 @@ dependencies = ["accelerate","bitsandbytes; sys_platform!='darwin'","compel==2.1.1",- "diffusers[torch]==0.36.0",+ "diffusers[torch]==0.37.0","gguf","mediapipe==0.10.14", # needed for "mediapipeface" controlnet model"numpy<2.0.0",diff --git a/tests/app/invocations/test_qwen_image_denoise.py b/tests/app/invocations/test_qwen_image_denoise.pynew file mode 100644index 0000000000..e0e8a3f0b7--- /dev/null+++ b/tests/app/invocations/test_qwen_image_denoise.py@@ -0,0 +1,61 @@+"""Tests for the Qwen Image denoise invocation."""++import pytest++from invokeai.app.invocations.qwen_image_denoise import QwenImageDenoiseInvocation+++class TestPrepareCfgScale:+ """Test _prepare_cfg_scale utility method."""++ def test_scalar_cfg_scale(self):+ inv = QwenImageDenoiseInvocation.model_construct(cfg_scale=4.0)+ result = inv._prepare_cfg_scale(5)+ assert result == [4.0, 4.0, 4.0, 4.0, 4.0]++ def test_list_cfg_scale(self):+ inv = QwenImageDenoiseInvocation.model_construct(cfg_scale=[1.0, 2.0, 3.0])+ result = inv._prepare_cfg_scale(3)+ assert result == [1.0, 2.0, 3.0]++ def test_list_cfg_scale_length_mismatch(self):+ inv = QwenImageDenoiseInvocation.model_construct(cfg_scale=[1.0, 2.0])+ with pytest.raises(AssertionError):+ inv._prepare_cfg_scale(3)++ def test_invalid_cfg_scale_type(self):+ inv = QwenImageDenoiseInvocation.model_construct(cfg_scale="invalid")+ with pytest.raises(ValueError, match="Invalid CFG scale type"):+ inv._prepare_cfg_scale(3)+++class TestPackUnpackLatents:+ """Test latent packing and unpacking roundtrip."""++ def test_pack_unpack_roundtrip(self):+ """Packing then unpacking should restore the original tensor."""+ import torch++ latents = torch.randn(1, 16, 128, 128)+ packed = QwenImageDenoiseInvocation._pack_latents(latents, 1, 16, 128, 128)+ assert packed.shape == (1, 64 * 64, 64) # (B, H/2*W/2, C*4)++ unpacked = QwenImageDenoiseInvocation._unpack_latents(packed, 128, 128)+ assert unpacked.shape == (1, 16, 128, 128)+ assert torch.allclose(latents, unpacked)++ def test_pack_shape(self):+ """Pack should produce the correct shape."""+ import torch++ latents = torch.randn(1, 16, 140, 118)+ packed = QwenImageDenoiseInvocation._pack_latents(latents, 1, 16, 140, 118)+ assert packed.shape == (1, 70 * 59, 64)++ def test_unpack_shape(self):+ """Unpack should produce the correct shape."""+ import torch++ packed = torch.randn(1, 70 * 59, 64)+ unpacked = QwenImageDenoiseInvocation._unpack_latents(packed, 140, 118)+ assert unpacked.shape == (1, 16, 140, 118)diff --git a/tests/app/invocations/test_qwen_image_model_loader.py b/tests/app/invocations/test_qwen_image_model_loader.pynew file mode 100644index 0000000000..10cab34a64--- /dev/null+++ b/tests/app/invocations/test_qwen_image_model_loader.py@@ -0,0 +1,113 @@+"""Tests for the Qwen Image model loader invocation."""++from unittest.mock import MagicMock++import pytest++from invokeai.app.invocations.model import ModelIdentifierField+from invokeai.app.invocations.qwen_image_model_loader import QwenImageModelLoaderInvocation+from invokeai.backend.model_manager.taxonomy import ModelFormat, SubModelType+++def _make_model_id(**kwargs) -> ModelIdentifierField:+ defaults = {"key": "test-key", "hash": "test-hash", "name": "test", "base": "qwen-image", "type": "main"}+ defaults.update(kwargs)+ return ModelIdentifierField(**defaults)+++def _make_mock_context(+ main_format: ModelFormat = ModelFormat.Diffusers, source_format: ModelFormat = ModelFormat.Diffusers+):+ """Create a mock InvocationContext that returns configs with the given formats."""+ context = MagicMock()++ def get_config(model_id):+ config = MagicMock()+ if model_id.key == "main-key":+ config.format = main_format+ config.name = "Main Model"+ elif model_id.key == "source-key":+ config.format = source_format+ config.name = "Source Model"+ return config++ context.models.get_config = get_config+ context.models.exists = MagicMock(return_value=True)+ return context+++class TestDiffusersModel:+ """Tests for loading a Diffusers-format Qwen Image model."""++ def test_diffusers_model_extracts_all_components(self):+ """A Diffusers model should extract transformer, VAE, tokenizer, and text encoder from itself."""+ model_id = _make_model_id(key="main-key")+ inv = QwenImageModelLoaderInvocation.model_construct(model=model_id, component_source=None)+ context = _make_mock_context(main_format=ModelFormat.Diffusers)++ result = inv.invoke(context)++ assert result.transformer.transformer.submodel_type == SubModelType.Transformer+ assert result.vae.vae.submodel_type == SubModelType.VAE+ assert result.qwen_vl_encoder.tokenizer.submodel_type == SubModelType.Tokenizer+ assert result.qwen_vl_encoder.text_encoder.submodel_type == SubModelType.TextEncoder++ # All should reference the main model key+ assert result.transformer.transformer.key == "main-key"+ assert result.vae.vae.key == "main-key"+ assert result.qwen_vl_encoder.tokenizer.key == "main-key"+ assert result.qwen_vl_encoder.text_encoder.key == "main-key"++ def test_diffusers_model_ignores_component_source(self):+ """A Diffusers model should ignore the component_source even if provided."""+ model_id = _make_model_id(key="main-key")+ source_id = _make_model_id(key="source-key")+ inv = QwenImageModelLoaderInvocation.model_construct(model=model_id, component_source=source_id)+ context = _make_mock_context(main_format=ModelFormat.Diffusers)++ result = inv.invoke(context)++ # All components should come from main, not source+ assert result.vae.vae.key == "main-key"+ assert result.qwen_vl_encoder.tokenizer.key == "main-key"+++class TestGGUFModel:+ """Tests for loading a GGUF-format Qwen Image model."""++ def test_gguf_with_component_source_succeeds(self):+ """A GGUF model with a Diffusers component source should load successfully."""+ model_id = _make_model_id(key="main-key")+ source_id = _make_model_id(key="source-key")+ inv = QwenImageModelLoaderInvocation.model_construct(model=model_id, component_source=source_id)+ context = _make_mock_context(main_format=ModelFormat.GGUFQuantized, source_format=ModelFormat.Diffusers)++ result = inv.invoke(context)++ # Transformer from main model+ assert result.transformer.transformer.key == "main-key"+ assert result.transformer.transformer.submodel_type == SubModelType.Transformer++ # VAE and encoder from component source+ assert result.vae.vae.key == "source-key"+ assert result.qwen_vl_encoder.tokenizer.key == "source-key"+ assert result.qwen_vl_encoder.text_encoder.key == "source-key"++ def test_gguf_without_component_source_raises(self):+ """A GGUF model without a component source should raise ValueError."""+ model_id = _make_model_id(key="main-key")+ inv = QwenImageModelLoaderInvocation.model_construct(model=model_id, component_source=None)+ context = _make_mock_context(main_format=ModelFormat.GGUFQuantized)++ with pytest.raises(ValueError, match="No source for VAE"):+ inv.invoke(context)++ def test_gguf_with_non_diffusers_source_raises(self):+ """A GGUF model with a non-Diffusers component source should raise ValueError."""+ model_id = _make_model_id(key="main-key")+ source_id = _make_model_id(key="source-key")+ inv = QwenImageModelLoaderInvocation.model_construct(model=model_id, component_source=source_id)+ context = _make_mock_context(main_format=ModelFormat.GGUFQuantized, source_format=ModelFormat.GGUFQuantized)++ with pytest.raises(ValueError, match="Component Source model must be in Diffusers format"):+ inv.invoke(context)diff --git a/tests/app/invocations/test_qwen_image_text_encoder.py b/tests/app/invocations/test_qwen_image_text_encoder.pynew file mode 100644index 0000000000..ab3beabae7--- /dev/null+++ b/tests/app/invocations/test_qwen_image_text_encoder.py@@ -0,0 +1,124 @@+"""Tests for the Qwen Image text encoder prompt building and image resizing."""++from PIL import Image++from invokeai.app.invocations.qwen_image_text_encoder import (+ QwenImageTextEncoderInvocation,+ _build_prompt,+)+++class TestBuildPrompt:+ """Test the _build_prompt function for edit vs generate modes."""++ def test_no_images_uses_generate_template(self):+ """With 0 images, should use the generate (txt2img) template with no vision placeholder."""+ prompt = _build_prompt("a beautiful sunset", 0)+ assert "a beautiful sunset" in prompt+ assert "<|im_start|>assistant" in prompt+ # Generate mode: no vision placeholders, uses the "describe the image" system prompt+ assert "<|vision_start|>" not in prompt+ assert "Describe the image by detailing" in prompt++ def test_no_images_does_not_use_edit_template(self):+ """With 0 images, should NOT use the edit system prompt."""+ prompt = _build_prompt("a beautiful sunset", 0)+ assert "Describe the key features of the input image" not in prompt++ def test_edit_mode_one_image(self):+ """With 1 image, should use the edit template with one vision placeholder."""+ prompt = _build_prompt("change hair to red", 1)+ assert "Describe the key features of the input image" in prompt+ assert prompt.count("<|vision_start|><|image_pad|><|vision_end|>") == 1+ assert "change hair to red" in prompt+ # Should NOT use the generate system prompt+ assert "Describe the image by detailing" not in prompt++ def test_edit_mode_multiple_images(self):+ """With multiple images, should include one placeholder per image."""+ prompt = _build_prompt("combine these images", 3)+ assert prompt.count("<|vision_start|><|image_pad|><|vision_end|>") == 3+ assert "combine these images" in prompt++ def test_generate_template_has_correct_structure(self):+ """Generate template should have system + user + assistant roles."""+ prompt = _build_prompt("test prompt", 0)+ assert prompt.startswith("<|im_start|>system\n")+ assert "<|im_end|>\n<|im_start|>user\n" in prompt+ assert prompt.endswith("<|im_start|>assistant\n")++ def test_edit_template_has_correct_structure(self):+ """Edit template should have system + user (with image) + assistant roles."""+ prompt = _build_prompt("test prompt", 1)+ assert prompt.startswith("<|im_start|>system\n")+ assert "<|im_end|>\n<|im_start|>user\n" in prompt+ assert "<|vision_start|>" in prompt+ assert prompt.endswith("<|im_start|>assistant\n")++ def test_prompt_special_characters(self):+ """Prompt with special characters should be included verbatim."""+ prompt = _build_prompt("add {curly} braces & <angle> brackets", 0)+ assert "add {curly} braces & <angle> brackets" in prompt+++class TestResizeForVLEncoder:+ """Test the image resizing logic for the VL encoder."""++ def test_large_image_is_resized(self):+ """A large image should be resized to ~target_pixels."""+ img = Image.new("RGB", (2048, 2048))+ resized = QwenImageTextEncoderInvocation._resize_for_vl_encoder(img, target_pixels=512 * 512)+ w, h = resized.size+ # Should be much smaller than original+ assert w < 2048+ assert h < 2048+ # Total pixels should be approximately target+ assert abs(w * h - 512 * 512) < 10000 # within ~10k pixels++ def test_small_image_is_resized(self):+ """A small image should also be resized to ~target_pixels."""+ img = Image.new("RGB", (64, 64))+ resized = QwenImageTextEncoderInvocation._resize_for_vl_encoder(img, target_pixels=512 * 512)+ w, h = resized.size+ # Should be larger than original+ assert w > 64+ assert h > 64++ def test_aspect_ratio_preserved(self):+ """Aspect ratio should be approximately preserved."""+ img = Image.new("RGB", (800, 400)) # 2:1 aspect ratio+ resized = QwenImageTextEncoderInvocation._resize_for_vl_encoder(img, target_pixels=512 * 512)+ w, h = resized.size+ original_ratio = 800 / 400 # 2.0+ new_ratio = w / h+ # Allow some deviation due to rounding to multiples of 32+ assert abs(new_ratio - original_ratio) < 0.3++ def test_dimensions_are_multiples_of_32(self):+ """Output dimensions should be multiples of 32."""+ img = Image.new("RGB", (1000, 750))+ resized = QwenImageTextEncoderInvocation._resize_for_vl_encoder(img, target_pixels=512 * 512)+ w, h = resized.size+ assert w % 32 == 0+ assert h % 32 == 0++ def test_square_image(self):+ """A square image should produce approximately square output."""+ img = Image.new("RGB", (1024, 1024))+ resized = QwenImageTextEncoderInvocation._resize_for_vl_encoder(img, target_pixels=512 * 512)+ w, h = resized.size+ assert abs(w - h) <= 32 # within one grid step++ def test_portrait_image(self):+ """A portrait image should produce portrait output."""+ img = Image.new("RGB", (600, 1200))+ resized = QwenImageTextEncoderInvocation._resize_for_vl_encoder(img, target_pixels=512 * 512)+ w, h = resized.size+ assert h > w # should remain portrait++ def test_landscape_image(self):+ """A landscape image should produce landscape output."""+ img = Image.new("RGB", (1200, 600))+ resized = QwenImageTextEncoderInvocation._resize_for_vl_encoder(img, target_pixels=512 * 512)+ w, h = resized.size+ assert w > h # should remain landscapediff --git a/tests/app/util/test_step_callback.py b/tests/app/util/test_step_callback.pynew file mode 100644index 0000000000..bada75f7ec--- /dev/null+++ b/tests/app/util/test_step_callback.py@@ -0,0 +1,119 @@+"""Tests for diffusion step callback preview image generation."""++import torch+from PIL import Image++from invokeai.app.util.step_callback import (+ QWEN_IMAGE_LATENT_RGB_BIAS,+ QWEN_IMAGE_LATENT_RGB_FACTORS,+ sample_to_lowres_estimated_image,+)+++class TestSampleToLowresEstimatedImage:+ """Test the latent-to-preview-image conversion used during denoising."""++ def test_qwen_image_preview_produces_valid_image(self):+ """A synthetic Qwen latent tensor produces a valid RGB preview image."""+ # Create a small 1x16x4x4 latent tensor (batch=1, channels=16, 4x4 spatial)+ torch.manual_seed(42)+ sample = torch.randn(1, 16, 4, 4)++ factors = torch.tensor(QWEN_IMAGE_LATENT_RGB_FACTORS, dtype=sample.dtype)+ bias = torch.tensor(QWEN_IMAGE_LATENT_RGB_BIAS, dtype=sample.dtype)++ image = sample_to_lowres_estimated_image(+ samples=sample,+ latent_rgb_factors=factors,+ latent_rgb_bias=bias,+ )++ assert isinstance(image, Image.Image)+ assert image.size == (4, 4)+ assert image.mode == "RGB"++ def test_qwen_image_preview_deterministic(self):+ """The same input tensor always produces the same preview image."""+ sample = torch.ones(1, 16, 2, 2)++ factors = torch.tensor(QWEN_IMAGE_LATENT_RGB_FACTORS, dtype=sample.dtype)+ bias = torch.tensor(QWEN_IMAGE_LATENT_RGB_BIAS, dtype=sample.dtype)++ image1 = sample_to_lowres_estimated_image(samples=sample, latent_rgb_factors=factors, latent_rgb_bias=bias)+ image2 = sample_to_lowres_estimated_image(samples=sample, latent_rgb_factors=factors, latent_rgb_bias=bias)++ assert list(image1.getdata()) == list(image2.getdata())++ def test_qwen_image_preview_known_value(self):+ """Verify the preview computation against a hand-calculated expected value.++ With a 1x16x1x1 tensor of all ones:+ - latent_image = [1,1,...,1] @ factors = sum of each column of factors+ - R = sum(col 0) = 0.3677, G = sum(col 1) = 0.4577, B = sum(col 2) = 0.9101+ - After bias: R = 0.1842, G = 0.3709, B = 0.5741+ - After scale ((x+1)/2): R = 0.5921, G = 0.6855, B = 0.7871+ - After quantize (*255): R = 151, G = 175, B = 201+ """+ sample = torch.ones(1, 16, 1, 1)++ factors = torch.tensor(QWEN_IMAGE_LATENT_RGB_FACTORS, dtype=sample.dtype)+ bias = torch.tensor(QWEN_IMAGE_LATENT_RGB_BIAS, dtype=sample.dtype)++ image = sample_to_lowres_estimated_image(samples=sample, latent_rgb_factors=factors, latent_rgb_bias=bias)++ assert image.size == (1, 1)+ pixel = image.getpixel((0, 0))++ # Compute expected values+ col_sums = [sum(row[c] for row in QWEN_IMAGE_LATENT_RGB_FACTORS) for c in range(3)]+ expected = []+ for c in range(3):+ val = col_sums[c] + QWEN_IMAGE_LATENT_RGB_BIAS[c]+ val = (val + 1) / 2 # scale from [-1,1] to [0,1]+ val = max(0.0, min(1.0, val)) # clamp+ expected.append(int(val * 255))++ assert pixel == tuple(expected), f"Expected {tuple(expected)}, got {pixel}"++ def test_qwen_image_preview_zeros_tensor(self):+ """A zero tensor with bias produces a valid image reflecting just the bias."""+ sample = torch.zeros(1, 16, 2, 2)++ factors = torch.tensor(QWEN_IMAGE_LATENT_RGB_FACTORS, dtype=sample.dtype)+ bias = torch.tensor(QWEN_IMAGE_LATENT_RGB_BIAS, dtype=sample.dtype)++ image = sample_to_lowres_estimated_image(samples=sample, latent_rgb_factors=factors, latent_rgb_bias=bias)++ assert isinstance(image, Image.Image)+ assert image.size == (2, 2)++ # All pixels should be identical (uniform zero input)+ pixels = list(image.get_flattened_data())+ assert all(p == pixels[0] for p in pixels)++ # With zero input, result = bias, scaled: ((bias + 1) / 2) * 255+ expected = []+ for c in range(3):+ val = (QWEN_IMAGE_LATENT_RGB_BIAS[c] + 1) / 2+ val = max(0.0, min(1.0, val))+ expected.append(int(val * 255))+ assert pixels[0] == tuple(expected)++ def test_qwen_image_factors_have_correct_shape(self):+ """Qwen Image uses 16 latent channels, so factors should be 16x3."""+ assert len(QWEN_IMAGE_LATENT_RGB_FACTORS) == 16+ for row in QWEN_IMAGE_LATENT_RGB_FACTORS:+ assert len(row) == 3+ assert len(QWEN_IMAGE_LATENT_RGB_BIAS) == 3++ def test_3d_input_accepted(self):+ """sample_to_lowres_estimated_image accepts 3D input (no batch dim)."""+ sample = torch.randn(16, 4, 4) # no batch dimension++ factors = torch.tensor(QWEN_IMAGE_LATENT_RGB_FACTORS, dtype=sample.dtype)+ bias = torch.tensor(QWEN_IMAGE_LATENT_RGB_BIAS, dtype=sample.dtype)++ image = sample_to_lowres_estimated_image(samples=sample, latent_rgb_factors=factors, latent_rgb_bias=bias)++ assert isinstance(image, Image.Image)+ assert image.size == (4, 4)diff --git a/tests/backend/model_manager/configs/test_double_variant_regression.py b/tests/backend/model_manager/configs/test_double_variant_regression.pynew file mode 100644index 0000000000..d2b0c3416d--- /dev/null+++ b/tests/backend/model_manager/configs/test_double_variant_regression.py@@ -0,0 +1,115 @@+"""Regression tests for the double-variant kwarg bug.++When override_fields contains a field (variant, repo_variant, prediction_type, etc.)+that is also computed and passed as an explicit kwarg to cls(), using .get() instead+of .pop() causes TypeError("got multiple values for keyword argument ...").++These tests verify that .pop() is used consistently, so override values don't conflict+with explicitly computed values.+"""++from pathlib import Path+from unittest.mock import MagicMock, patch++from invokeai.backend.model_manager.taxonomy import QwenImageVariantType++# Required fields for the Pydantic config model+_REQUIRED_FIELDS = {+ "hash": "blake3:fakehash",+ "path": "/fake/models/test-model",+ "file_size": 1000,+ "name": "test-model",+ "description": "test",+ "source": "test",+ "source_type": "path",+ "key": "test-key",+}+++def _make_mock_dir(dirname: str = "test-model") -> MagicMock:+ """Create a mock ModelOnDisk for a Diffusers directory."""+ mod = MagicMock()+ mod.path = Path(f"/fake/models/{dirname}")+ return mod+++class TestDoubleVariantRegression:+ """Verify that override_fields with variant/repo_variant don't cause double-kwarg errors."""++ @patch("invokeai.backend.model_manager.configs.main.raise_for_class_name")+ @patch("invokeai.backend.model_manager.configs.main.raise_if_not_dir")+ @patch("invokeai.backend.model_manager.configs.main.raise_for_override_fields")+ def test_qwen_image_diffusers_with_variant_in_overrides(self, _rfo, _rid, _rfc):+ """Installing a Qwen Image Edit Diffusers model with variant in override_fields should not crash."""+ from invokeai.backend.model_manager.configs.main import Main_Diffusers_QwenImage_Config++ mod = _make_mock_dir("Qwen-Image-Edit-2511")++ # Simulate what happens when a starter model provides variant+ overrides = {+ **_REQUIRED_FIELDS,+ "variant": QwenImageVariantType.Edit,+ }++ from invokeai.backend.model_manager.configs.base import ModelRepoVariant++ with patch.object(+ Main_Diffusers_QwenImage_Config, "_get_repo_variant_or_raise", return_value=ModelRepoVariant("")+ ):+ with patch.object(+ Main_Diffusers_QwenImage_Config,+ "_get_qwen_image_variant",+ return_value=QwenImageVariantType.Edit,+ ):+ # This would previously raise: TypeError("got multiple values for keyword argument 'variant'")+ config = Main_Diffusers_QwenImage_Config.from_model_on_disk(mod, overrides)++ assert config.variant == QwenImageVariantType.Edit++ @patch("invokeai.backend.model_manager.configs.main.raise_for_class_name")+ @patch("invokeai.backend.model_manager.configs.main.raise_if_not_dir")+ @patch("invokeai.backend.model_manager.configs.main.raise_for_override_fields")+ def test_qwen_image_diffusers_override_variant_takes_precedence(self, _rfo, _rid, _rfc):+ """An explicit variant override should take precedence over auto-detection."""+ from invokeai.backend.model_manager.configs.base import ModelRepoVariant+ from invokeai.backend.model_manager.configs.main import Main_Diffusers_QwenImage_Config++ mod = _make_mock_dir("Qwen-Image-2512")++ overrides = {+ **_REQUIRED_FIELDS,+ "variant": QwenImageVariantType.Edit, # explicitly override to Edit+ }++ with patch.object(+ Main_Diffusers_QwenImage_Config, "_get_repo_variant_or_raise", return_value=ModelRepoVariant("")+ ):+ with patch.object(+ Main_Diffusers_QwenImage_Config,+ "_get_qwen_image_variant",+ return_value=QwenImageVariantType.Generate, # auto-detect says Generate+ ):+ config = Main_Diffusers_QwenImage_Config.from_model_on_disk(mod, overrides)++ # Override should win over auto-detection+ assert config.variant == QwenImageVariantType.Edit++ @patch("invokeai.backend.model_manager.configs.main._has_qwen_image_keys", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main._has_ggml_tensors", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main.raise_if_not_file")+ @patch("invokeai.backend.model_manager.configs.main.raise_for_override_fields")+ def test_qwen_image_gguf_with_variant_in_overrides(self, _rfo, _rif, _hgt, _hqk):+ """Installing a Qwen Image Edit GGUF with variant in override_fields should not crash."""+ from invokeai.backend.model_manager.configs.main import Main_GGUF_QwenImage_Config++ mod = MagicMock()+ mod.path = Path("/fake/models/qwen-image-edit-2511-Q4_K_M.gguf")+ mod.load_state_dict.return_value = {}++ overrides = {+ **_REQUIRED_FIELDS,+ "variant": QwenImageVariantType.Edit,+ }++ config = Main_GGUF_QwenImage_Config.from_model_on_disk(mod, overrides)+ assert config.variant == QwenImageVariantType.Editdiff --git a/tests/backend/model_manager/configs/test_qwen_image_gguf_variant_detection.py b/tests/backend/model_manager/configs/test_qwen_image_gguf_variant_detection.pynew file mode 100644index 0000000000..3a62b3031e--- /dev/null+++ b/tests/backend/model_manager/configs/test_qwen_image_gguf_variant_detection.py@@ -0,0 +1,122 @@+"""Tests for GGUF Qwen Image variant detection.++Detection precedence:+1. Explicit `variant` in override_fields wins.+2. Presence of the `__index_timestep_zero__` tensor in the state dict marks an Edit model.+3. Otherwise fall back to a filename heuristic ("edit" in the stem → Edit).+4. Otherwise default to Generate.+"""++from pathlib import Path+from unittest.mock import MagicMock, patch++from invokeai.backend.model_manager.taxonomy import QwenImageVariantType++# Required fields for the Pydantic config model+_REQUIRED_FIELDS = {+ "hash": "blake3:fakehash",+ "path": "/fake/models/test.gguf",+ "file_size": 1000,+ "name": "test-model",+ "description": "test",+ "source": "test",+ "source_type": "path",+ "key": "test-key",+}+++class TestGGUFQwenImageVariantDetection:+ """Test that GGUF Qwen Image models infer the edit variant from filename."""++ def _make_mock_mod(self, filename: str) -> MagicMock:+ """Create a mock ModelOnDisk with the given filename."""+ mod = MagicMock()+ mod.path = Path(f"/fake/models/{filename}")+ return mod++ @patch("invokeai.backend.model_manager.configs.main._has_qwen_image_keys", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main._has_ggml_tensors", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main.raise_if_not_file")+ @patch("invokeai.backend.model_manager.configs.main.raise_for_override_fields")+ def test_edit_in_filename_sets_edit_variant(self, _rfo, _rif, _hgt, _hqk):+ """A GGUF file with 'edit' in the name should be tagged as edit variant."""+ from invokeai.backend.model_manager.configs.main import Main_GGUF_QwenImage_Config++ mod = self._make_mock_mod("qwen-image-edit-2511-Q4_K_M.gguf")+ mod.load_state_dict.return_value = {}++ config = Main_GGUF_QwenImage_Config.from_model_on_disk(mod, {**_REQUIRED_FIELDS})+ assert config.variant == QwenImageVariantType.Edit++ @patch("invokeai.backend.model_manager.configs.main._has_qwen_image_keys", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main._has_ggml_tensors", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main.raise_if_not_file")+ @patch("invokeai.backend.model_manager.configs.main.raise_for_override_fields")+ def test_edit_case_insensitive(self, _rfo, _rif, _hgt, _hqk):+ """The 'edit' check should be case-insensitive."""+ from invokeai.backend.model_manager.configs.main import Main_GGUF_QwenImage_Config++ mod = self._make_mock_mod("Qwen-Image-EDIT-2511-Q8_0.gguf")+ mod.load_state_dict.return_value = {}++ config = Main_GGUF_QwenImage_Config.from_model_on_disk(mod, {**_REQUIRED_FIELDS})+ assert config.variant == QwenImageVariantType.Edit++ @patch("invokeai.backend.model_manager.configs.main._has_qwen_image_keys", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main._has_ggml_tensors", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main.raise_if_not_file")+ @patch("invokeai.backend.model_manager.configs.main.raise_for_override_fields")+ def test_no_marker_no_edit_in_filename_defaults_to_generate(self, _rfo, _rif, _hgt, _hqk):+ """A GGUF file without the marker tensor or 'edit' in the name should default to Generate."""+ from invokeai.backend.model_manager.configs.main import Main_GGUF_QwenImage_Config++ mod = self._make_mock_mod("qwen-image-2512-Q4_K_M.gguf")+ mod.load_state_dict.return_value = {}++ config = Main_GGUF_QwenImage_Config.from_model_on_disk(mod, {**_REQUIRED_FIELDS})+ assert config.variant == QwenImageVariantType.Generate++ @patch("invokeai.backend.model_manager.configs.main._has_qwen_image_keys", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main._has_ggml_tensors", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main.raise_if_not_file")+ @patch("invokeai.backend.model_manager.configs.main.raise_for_override_fields")+ def test_marker_tensor_sets_edit_variant(self, _rfo, _rif, _hgt, _hqk):+ """Presence of `__index_timestep_zero__` in the state dict should set the Edit variant."""+ from invokeai.backend.model_manager.configs.main import Main_GGUF_QwenImage_Config++ # Filename has no "edit" marker, but the tensor is present+ mod = self._make_mock_mod("some-arbitrary-name.gguf")+ mod.load_state_dict.return_value = {"__index_timestep_zero__": object()}++ config = Main_GGUF_QwenImage_Config.from_model_on_disk(mod, {**_REQUIRED_FIELDS})+ assert config.variant == QwenImageVariantType.Edit++ @patch("invokeai.backend.model_manager.configs.main._has_qwen_image_keys", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main._has_ggml_tensors", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main.raise_if_not_file")+ @patch("invokeai.backend.model_manager.configs.main.raise_for_override_fields")+ def test_marker_tensor_takes_precedence_over_filename(self, _rfo, _rif, _hgt, _hqk):+ """The marker tensor wins even when the filename has no 'edit' substring."""+ from invokeai.backend.model_manager.configs.main import Main_GGUF_QwenImage_Config++ mod = self._make_mock_mod("qwen-image-2512-Q4_K_M.gguf")+ mod.load_state_dict.return_value = {"__index_timestep_zero__": object()}++ config = Main_GGUF_QwenImage_Config.from_model_on_disk(mod, {**_REQUIRED_FIELDS})+ assert config.variant == QwenImageVariantType.Edit++ @patch("invokeai.backend.model_manager.configs.main._has_qwen_image_keys", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main._has_ggml_tensors", return_value=True)+ @patch("invokeai.backend.model_manager.configs.main.raise_if_not_file")+ @patch("invokeai.backend.model_manager.configs.main.raise_for_override_fields")+ def test_explicit_variant_override_not_overwritten(self, _rfo, _rif, _hgt, _hqk):+ """An explicit variant in override_fields should not be overwritten by filename heuristic."""+ from invokeai.backend.model_manager.configs.main import Main_GGUF_QwenImage_Config++ mod = self._make_mock_mod("qwen-image-edit-2511-Q4_K_M.gguf")+ mod.load_state_dict.return_value = {}++ config = Main_GGUF_QwenImage_Config.from_model_on_disk(+ mod, {**_REQUIRED_FIELDS, "variant": QwenImageVariantType.Generate}+ )+ assert config.variant == QwenImageVariantType.Generatediff --git a/tests/backend/model_manager/configs/test_qwen_image_main_config.py b/tests/backend/model_manager/configs/test_qwen_image_main_config.pynew file mode 100644index 0000000000..932689eb86--- /dev/null+++ b/tests/backend/model_manager/configs/test_qwen_image_main_config.py@@ -0,0 +1,52 @@+from pathlib import Path+from tempfile import TemporaryDirectory+from unittest.mock import MagicMock++import gguf+import pytest+import torch++from invokeai.backend.model_manager.configs.main import Main_GGUF_QwenImage_Config+from invokeai.backend.quantization.gguf.ggml_tensor import GGMLTensor+++def _build_ggml_tensor() -> GGMLTensor:+ return GGMLTensor(+ data=torch.zeros((1,), dtype=torch.uint8),+ ggml_quantization_type=gguf.GGMLQuantizationType.Q4_0,+ tensor_shape=torch.Size([1, 1]),+ compute_dtype=torch.float32,+ )++[email protected]("is_edit_model", [True, False])+def test_qwen_gguf_config_sets_a_variant_for_imported_models(is_edit_model: bool) -> None:+ with TemporaryDirectory() as tmpdir:+ model_path = Path(tmpdir) / ("qwen-image-edit.gguf" if is_edit_model else "qwen-image.gguf")+ model_name = "Qwen Image Edit GGUF" if is_edit_model else "Qwen Image GGUF"+ model_path.touch()++ mod = MagicMock()+ mod.path = model_path+ mod.load_state_dict.return_value = {+ "txt_in.weight": _build_ggml_tensor(),+ "txt_norm.weight": _build_ggml_tensor(),+ "img_in.weight": _build_ggml_tensor(),+ }++ config = Main_GGUF_QwenImage_Config.from_model_on_disk(+ mod,+ {+ "hash": "test-hash",+ "path": str(model_path),+ "file_size": model_path.stat().st_size,+ "name": model_name,+ "source": str(model_path),+ "source_type": "path",+ },+ )++ if is_edit_model:+ assert config.variant == "edit"+ else:+ assert config.variant == "generate"diff --git a/tests/backend/patches/lora_conversions/lora_state_dicts/qwen_image_lora_diffusers_format.py b/tests/backend/patches/lora_conversions/lora_state_dicts/qwen_image_lora_diffusers_format.pynew file mode 100644index 0000000000..4f8aad839f--- /dev/null+++ b/tests/backend/patches/lora_conversions/lora_state_dicts/qwen_image_lora_diffusers_format.py@@ -0,0 +1,16 @@+# Diffusers/PEFT-format Qwen Image LoRA state dict keys.+# Keys use the pattern: transformer_blocks.{N}.{sub_module}.{param}++state_dict_keys: dict[str, list[int]] = {+ # Block 0 - standard LoRA (lora_down/lora_up)+ "transformer_blocks.0.attn.to_k.lora_down.weight": [64, 3072],+ "transformer_blocks.0.attn.to_k.lora_up.weight": [3072, 64],+ "transformer_blocks.0.attn.to_k.alpha": [],+ "transformer_blocks.0.attn.to_q.lora_down.weight": [64, 3072],+ "transformer_blocks.0.attn.to_q.lora_up.weight": [3072, 64],+ "transformer_blocks.0.attn.to_q.alpha": [],+ # Block 1+ "transformer_blocks.1.attn.to_k.lora_down.weight": [64, 3072],+ "transformer_blocks.1.attn.to_k.lora_up.weight": [3072, 64],+ "transformer_blocks.1.attn.to_k.alpha": [],+}diff --git a/tests/backend/patches/lora_conversions/lora_state_dicts/qwen_image_lora_kohya_format.py b/tests/backend/patches/lora_conversions/lora_state_dicts/qwen_image_lora_kohya_format.pynew file mode 100644index 0000000000..1094b9b278--- /dev/null+++ b/tests/backend/patches/lora_conversions/lora_state_dicts/qwen_image_lora_kohya_format.py@@ -0,0 +1,34 @@+# Kohya-format Qwen Image LoRA state dict keys.+# Keys use the pattern: lora_unet_transformer_blocks_{N}_{sub_module}.{param}+# where sub_module uses underscores instead of dots.++state_dict_keys: dict[str, list[int]] = {+ # Block 0 - attention projections (LoKR format)+ "lora_unet_transformer_blocks_0_attn_to_k.lokr_w1": [3072, 16],+ "lora_unet_transformer_blocks_0_attn_to_k.lokr_w2": [16, 3072],+ "lora_unet_transformer_blocks_0_attn_to_k.alpha": [],+ "lora_unet_transformer_blocks_0_attn_to_q.lokr_w1": [3072, 16],+ "lora_unet_transformer_blocks_0_attn_to_q.lokr_w2": [16, 3072],+ "lora_unet_transformer_blocks_0_attn_to_q.alpha": [],+ "lora_unet_transformer_blocks_0_attn_to_v.lokr_w1": [3072, 16],+ "lora_unet_transformer_blocks_0_attn_to_v.lokr_w2": [16, 3072],+ "lora_unet_transformer_blocks_0_attn_to_v.alpha": [],+ "lora_unet_transformer_blocks_0_attn_to_out_0.lokr_w1": [3072, 16],+ "lora_unet_transformer_blocks_0_attn_to_out_0.lokr_w2": [16, 3072],+ "lora_unet_transformer_blocks_0_attn_to_out_0.alpha": [],+ # Block 0 - add projections (text stream)+ "lora_unet_transformer_blocks_0_attn_add_k_proj.lokr_w1": [3072, 16],+ "lora_unet_transformer_blocks_0_attn_add_k_proj.lokr_w2": [16, 3072],+ "lora_unet_transformer_blocks_0_attn_add_k_proj.alpha": [],+ # Block 0 - MLP+ "lora_unet_transformer_blocks_0_img_mlp_net_0_proj.lokr_w1": [12288, 16],+ "lora_unet_transformer_blocks_0_img_mlp_net_0_proj.lokr_w2": [16, 3072],+ "lora_unet_transformer_blocks_0_img_mlp_net_0_proj.alpha": [],+ "lora_unet_transformer_blocks_0_txt_mlp_net_2.lokr_w1": [3072, 16],+ "lora_unet_transformer_blocks_0_txt_mlp_net_2.lokr_w2": [16, 12288],+ "lora_unet_transformer_blocks_0_txt_mlp_net_2.alpha": [],+ # Block 1 - subset to keep test small+ "lora_unet_transformer_blocks_1_attn_to_k.lokr_w1": [3072, 16],+ "lora_unet_transformer_blocks_1_attn_to_k.lokr_w2": [16, 3072],+ "lora_unet_transformer_blocks_1_attn_to_k.alpha": [],+}diff --git a/tests/backend/patches/lora_conversions/test_qwen_image_lora_conversion_utils.py b/tests/backend/patches/lora_conversions/test_qwen_image_lora_conversion_utils.pynew file mode 100644index 0000000000..642a20b716--- /dev/null+++ b/tests/backend/patches/lora_conversions/test_qwen_image_lora_conversion_utils.py@@ -0,0 +1,149 @@+"""Tests for Qwen Image LoRA conversion utilities."""++import torch++from invokeai.backend.patches.lora_conversions.qwen_image_lora_constants import (+ QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX,+)+from invokeai.backend.patches.lora_conversions.qwen_image_lora_conversion_utils import (+ _convert_kohya_key,+ is_state_dict_likely_kohya_qwen_image,+ lora_model_from_qwen_image_state_dict,+)+from tests.backend.patches.lora_conversions.lora_state_dicts.qwen_image_lora_diffusers_format import (+ state_dict_keys as diffusers_state_dict_keys,+)+from tests.backend.patches.lora_conversions.lora_state_dicts.qwen_image_lora_kohya_format import (+ state_dict_keys as kohya_state_dict_keys,+)+from tests.backend.patches.lora_conversions.lora_state_dicts.utils import keys_to_mock_state_dict++# ---- Format detection tests ----+++def test_is_kohya_format_true():+ """Kohya-format state dict is correctly identified."""+ state_dict = keys_to_mock_state_dict(kohya_state_dict_keys)+ assert is_state_dict_likely_kohya_qwen_image(state_dict)+++def test_is_kohya_format_false_diffusers():+ """Diffusers-format state dict is not identified as Kohya."""+ state_dict = keys_to_mock_state_dict(diffusers_state_dict_keys)+ assert not is_state_dict_likely_kohya_qwen_image(state_dict)+++def test_is_kohya_format_false_empty():+ """Empty state dict is not identified as Kohya."""+ assert not is_state_dict_likely_kohya_qwen_image({})+++# ---- Kohya key conversion tests ----+++def test_convert_kohya_key_attention():+ """Kohya attention projection keys convert correctly."""+ assert _convert_kohya_key("lora_unet_transformer_blocks_0_attn_to_k") == "transformer_blocks.0.attn.to_k"+ assert _convert_kohya_key("lora_unet_transformer_blocks_5_attn_to_q") == "transformer_blocks.5.attn.to_q"+ assert _convert_kohya_key("lora_unet_transformer_blocks_0_attn_to_v") == "transformer_blocks.0.attn.to_v"+ assert _convert_kohya_key("lora_unet_transformer_blocks_0_attn_to_out_0") == "transformer_blocks.0.attn.to_out.0"+ assert (+ _convert_kohya_key("lora_unet_transformer_blocks_0_attn_add_k_proj") == "transformer_blocks.0.attn.add_k_proj"+ )+++def test_convert_kohya_key_mlp():+ """Kohya MLP keys convert correctly."""+ assert (+ _convert_kohya_key("lora_unet_transformer_blocks_0_img_mlp_net_0_proj")+ == "transformer_blocks.0.img_mlp.net.0.proj"+ )+ assert _convert_kohya_key("lora_unet_transformer_blocks_0_txt_mlp_net_2") == "transformer_blocks.0.txt_mlp.net.2"+++def test_convert_kohya_key_unknown_returns_none():+ """Unknown Kohya sub-module returns None."""+ assert _convert_kohya_key("lora_unet_transformer_blocks_0_unknown_projection") is None+++def test_convert_kohya_key_non_matching_returns_none():+ """Key that doesn't match the regex returns None."""+ assert _convert_kohya_key("some_random_key") is None+++# ---- Full model conversion tests ----+++def test_kohya_conversion_produces_correct_layer_keys():+ """Kohya state dict converts to ModelPatchRaw with correct prefixed layer keys."""+ state_dict = keys_to_mock_state_dict(kohya_state_dict_keys)+ model = lora_model_from_qwen_image_state_dict(state_dict, alpha=None)++ # Build expected keys: convert each Kohya layer name to model path, add prefix+ expected_keys: set[str] = set()+ for k in kohya_state_dict_keys:+ layer_name = k.split(".", 1)[0] # e.g. lora_unet_transformer_blocks_0_attn_to_k+ model_path = _convert_kohya_key(layer_name)+ if model_path is not None:+ expected_keys.add(f"{QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX}{model_path}")++ assert set(model.layers.keys()) == expected_keys+ assert len(model.layers) > 0+++def test_diffusers_conversion_produces_correct_layer_keys():+ """Diffusers state dict converts to ModelPatchRaw with correct prefixed layer keys."""+ state_dict = keys_to_mock_state_dict(diffusers_state_dict_keys)+ model = lora_model_from_qwen_image_state_dict(state_dict, alpha=None)++ expected_keys = {+ f"{QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX}transformer_blocks.0.attn.to_k",+ f"{QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX}transformer_blocks.0.attn.to_q",+ f"{QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX}transformer_blocks.1.attn.to_k",+ }++ assert set(model.layers.keys()) == expected_keys+++def test_diffusers_with_transformer_prefix_strips_it():+ """Diffusers keys with 'transformer.' prefix get it stripped."""+ state_dict = {+ "transformer.transformer_blocks.0.attn.to_k.lora_down.weight": torch.empty(64, 3072),+ "transformer.transformer_blocks.0.attn.to_k.lora_up.weight": torch.empty(3072, 64),+ }+ model = lora_model_from_qwen_image_state_dict(state_dict, alpha=None)++ expected_key = f"{QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX}transformer_blocks.0.attn.to_k"+ assert expected_key in model.layers+++# ---- Unknown key handling tests ----+++def test_kohya_unknown_submodule_is_silently_skipped():+ """Unknown Kohya sub-modules are skipped, producing no layers for them."""+ state_dict = {+ # Known key — should produce a layer+ "lora_unet_transformer_blocks_0_attn_to_k.lokr_w1": torch.empty(3072, 16),+ "lora_unet_transformer_blocks_0_attn_to_k.lokr_w2": torch.empty(16, 3072),+ # Unknown key — should be skipped+ "lora_unet_transformer_blocks_0_unknown_projection.lokr_w1": torch.empty(3072, 16),+ "lora_unet_transformer_blocks_0_unknown_projection.lokr_w2": torch.empty(16, 3072),+ }+ model = lora_model_from_qwen_image_state_dict(state_dict, alpha=None)++ # Only the known key should produce a layer+ assert len(model.layers) == 1+ expected_key = f"{QWEN_IMAGE_EDIT_LORA_TRANSFORMER_PREFIX}transformer_blocks.0.attn.to_k"+ assert expected_key in model.layers+++def test_kohya_all_unknown_submodules_produces_empty_model():+ """State dict with only unknown Kohya sub-modules produces an empty ModelPatchRaw."""+ state_dict = {+ "lora_unet_transformer_blocks_0_totally_unknown.lokr_w1": torch.empty(3072, 16),+ "lora_unet_transformer_blocks_0_totally_unknown.lokr_w2": torch.empty(16, 3072),+ }+ model = lora_model_from_qwen_image_state_dict(state_dict, alpha=None)++ assert len(model.layers) == 0diff --git a/tests/model_identification/stripped_models/165644cc-b656-4680-88ac-947901272c4f/__test_metadata__.json b/tests/model_identification/stripped_models/165644cc-b656-4680-88ac-947901272c4f/__test_metadata__.jsonnew file mode 100644index 0000000000..f3841f40a9--- /dev/null+++ b/tests/model_identification/stripped_models/165644cc-b656-4680-88ac-947901272c4f/__test_metadata__.json@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:9f2acce0645d1450869c1e941cced0544dfe2ae64d56ef3642c4975dac79f4a3+size 242diff --git a/tests/model_identification/stripped_models/165644cc-b656-4680-88ac-947901272c4f/qwen_image_edit_lightning_test.safetensors b/tests/model_identification/stripped_models/165644cc-b656-4680-88ac-947901272c4f/qwen_image_edit_lightning_test.safetensorsnew file mode 100644index 0000000000..a79d5d6769--- /dev/null+++ b/tests/model_identification/stripped_models/165644cc-b656-4680-88ac-947901272c4f/qwen_image_edit_lightning_test.safetensors@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:b79928d2b392f4b530bd4afd1ba32f029c57ad57543bd3efbaf20709f4e0c7a0+size 2812diff --git a/tests/model_identification/stripped_models/4fa625c8-8b55-4170-9a5d-2e5b77a96429/__test_metadata__.json b/tests/model_identification/stripped_models/4fa625c8-8b55-4170-9a5d-2e5b77a96429/__test_metadata__.jsonnew file mode 100644index 0000000000..17b55a3635--- /dev/null+++ b/tests/model_identification/stripped_models/4fa625c8-8b55-4170-9a5d-2e5b77a96429/__test_metadata__.json@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:9804b670940d0923d209724b4cadd30cc305fc307f55878e608b3f6d18d1c892+size 225diff --git a/tests/model_identification/stripped_models/4fa625c8-8b55-4170-9a5d-2e5b77a96429/qwen_image_kohya_lokr_test.safetensors b/tests/model_identification/stripped_models/4fa625c8-8b55-4170-9a5d-2e5b77a96429/qwen_image_kohya_lokr_test.safetensorsnew file mode 100644index 0000000000..904e54419a--- /dev/null+++ b/tests/model_identification/stripped_models/4fa625c8-8b55-4170-9a5d-2e5b77a96429/qwen_image_kohya_lokr_test.safetensors@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:6ea2ee286dd9a1b1275fdb02222808590d0084b470aea9861a263c7e6a30aeb5+size 2934diff --git a/tests/model_identification/stripped_models/5e72cdbb-da06-42c0-891e-f63d54ba93e3/__test_metadata__.json b/tests/model_identification/stripped_models/5e72cdbb-da06-42c0-891e-f63d54ba93e3/__test_metadata__.jsonnew file mode 100644index 0000000000..37a1542f21--- /dev/null+++ b/tests/model_identification/stripped_models/5e72cdbb-da06-42c0-891e-f63d54ba93e3/__test_metadata__.json@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:fe2e33080025617407bc6ffa647b55b3691f4a73515fd1eb0413054af5ee312a+size 228diff --git a/tests/model_identification/stripped_models/5e72cdbb-da06-42c0-891e-f63d54ba93e3/qwen_image_community_lora_test.safetensors b/tests/model_identification/stripped_models/5e72cdbb-da06-42c0-891e-f63d54ba93e3/qwen_image_community_lora_test.safetensorsnew file mode 100644index 0000000000..97fff00bc7--- /dev/null+++ b/tests/model_identification/stripped_models/5e72cdbb-da06-42c0-891e-f63d54ba93e3/qwen_image_community_lora_test.safetensors@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:399bb52df3e39a59ddf6f1a5445aa7464fff14ffd700158ec98aef3f988a9cbc+size 1560diff --git a/tests/model_identification/stripped_models/f9f3c9fa-9449-4f90-996e-ea6be6b7d233/__test_metadata__.json b/tests/model_identification/stripped_models/f9f3c9fa-9449-4f90-996e-ea6be6b7d233/__test_metadata__.jsonnew file mode 100644index 0000000000..5a41ffed04--- /dev/null+++ b/tests/model_identification/stripped_models/f9f3c9fa-9449-4f90-996e-ea6be6b7d233/__test_metadata__.json@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:32053abc6257adf4771405fddfdaed2b91497c7cd7b0ea6af0aa29f9e008ca2f+size 233diff --git a/tests/model_identification/stripped_models/f9f3c9fa-9449-4f90-996e-ea6be6b7d233/qwen_image_kohya_lokr_test.safetensors b/tests/model_identification/stripped_models/f9f3c9fa-9449-4f90-996e-ea6be6b7d233/qwen_image_kohya_lokr_test.safetensorsnew file mode 100644index 0000000000..6e34832a71--- /dev/null+++ b/tests/model_identification/stripped_models/f9f3c9fa-9449-4f90-996e-ea6be6b7d233/qwen_image_kohya_lokr_test.safetensors@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:5b3d666baf329c922be86eacd12517cf734514da91377787d2f3cbd2b1a017c0+size 2910diff --git a/uv.lock b/uv.lockindex 226aecacc3..ef0ad02217 100644--- a/uv.lock+++ b/uv.lock@@ -579,7 +579,7 @@ wheels = [[[package]]name = "diffusers"-version = "0.36.0"+version = "0.37.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "filelock" },@@ -592,9 +592,9 @@ dependencies = [{ name = "requests" },{ name = "safetensors" },]-sdist = { url = "https://files.pythonhosted.org/packages/88/45/ccb2e2180ddf475a0f931dac6a50346310e4c464ce3cccb8a65d1fc1e16d/diffusers-0.36.0.tar.gz", hash = "sha256:a9cde8721b415bde6a678f2d02abb85396487e1b0e0d2b4abb462d14a9825ab0", size = 3795088, upload-time = "2025-12-08T10:14:34.255Z" }+sdist = { url = "https://files.pythonhosted.org/packages/58/3b/01d0ff800b811c5ad8bba682f4c6abf1d7071cd81464c01724333fefb7ba/diffusers-0.37.0.tar.gz", hash = "sha256:408789af73898585f525afd07ca72b3955affea4216a669558e9f59b5b1fe704", size = 4141136, upload-time = "2026-03-05T14:58:39.704Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/35/50/281f92cb1f83854dbd79b6e958b3bc5018607e2542971d41604ba7a14b2f/diffusers-0.36.0-py3-none-any.whl", hash = "sha256:525d42abc74bfc3b2db594999961295c054b48ef40a11724dacf50e6abd1af98", size = 4597884, upload-time = "2025-12-08T10:14:31.979Z" },+ { url = "https://files.pythonhosted.org/packages/f7/55/586a3a2b9c95f371c9c3cb048c3cac15aedcce8d6d53ebd6bbc46860722d/diffusers-0.37.0-py3-none-any.whl", hash = "sha256:7eab74bf896974250b5e1027cae813aba1004f02d97c9b44891b83713386aa08", size = 5000449, upload-time = "2026-03-05T14:58:37.361Z" },][package.optional-dependencies]@@ -1122,7 +1122,7 @@ requires-dist = [{ name = "blake3" },{ name = "compel", specifier = "==2.1.1" },{ name = "deprecated" },- { name = "diffusers", extras = ["torch"], specifier = "==0.36.0" },+ { name = "diffusers", extras = ["torch"], specifier = "==0.37.0" },{ name = "dnspython" },{ name = "dynamicprompts" },{ name = "einops" },@@ -3639,10 +3639,10 @@ dependencies = [{ name = "torch", version = "2.7.1+cpu", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "extra == 'extra-8-invokeai-cpu' or (extra == 'extra-8-invokeai-cuda' and extra == 'extra-8-invokeai-rocm')" },]wheels = [- { url = "https://download.pytorch.org/whl/cpu/torchvision-0.22.1%2Bcpu-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:4e0cbc165a472605d0c13da68ae22e84b17a6b815d5e600834777823e1bcb658" },- { url = "https://download.pytorch.org/whl/cpu/torchvision-0.22.1%2Bcpu-cp311-cp311-win_amd64.whl", hash = "sha256:9482adee074f60a45fd69892f7488281aadfda7836948c94b0a9b0caf55d1d67" },- { url = "https://download.pytorch.org/whl/cpu/torchvision-0.22.1%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:b5fa7044bd82c6358e8229351c98070cf3a7bf4a6e89ea46352ae6c65745ef94" },- { url = "https://download.pytorch.org/whl/cpu/torchvision-0.22.1%2Bcpu-cp312-cp312-win_amd64.whl", hash = "sha256:433cb4dbced7291f17064cea08ac1e5aebd02ec190e1c207d117ad62a8961f2b" },+ { url = "https://download-r2.pytorch.org/whl/cpu/torchvision-0.22.1%2Bcpu-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:4e0cbc165a472605d0c13da68ae22e84b17a6b815d5e600834777823e1bcb658" },+ { url = "https://download-r2.pytorch.org/whl/cpu/torchvision-0.22.1%2Bcpu-cp311-cp311-win_amd64.whl", hash = "sha256:9482adee074f60a45fd69892f7488281aadfda7836948c94b0a9b0caf55d1d67" },+ { url = "https://download-r2.pytorch.org/whl/cpu/torchvision-0.22.1%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:b5fa7044bd82c6358e8229351c98070cf3a7bf4a6e89ea46352ae6c65745ef94" },+ { url = "https://download-r2.pytorch.org/whl/cpu/torchvision-0.22.1%2Bcpu-cp312-cp312-win_amd64.whl", hash = "sha256:433cb4dbced7291f17064cea08ac1e5aebd02ec190e1c207d117ad62a8961f2b" },][[package]]@@ -3663,10 +3663,10 @@ dependencies = [{ name = "torch", version = "2.7.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "extra == 'extra-8-invokeai-cuda' or (extra == 'extra-8-invokeai-cpu' and extra == 'extra-8-invokeai-rocm')" },]wheels = [- { url = "https://download.pytorch.org/whl/cu128/torchvision-0.22.1%2Bcu128-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:92568ac46b13a8c88b61589800b1b9c4629be091ea7ce080fc6fc622e11e0915" },- { url = "https://download.pytorch.org/whl/cu128/torchvision-0.22.1%2Bcu128-cp311-cp311-win_amd64.whl", hash = "sha256:85ecd729c947151eccea502853be6efc2c0029dc26e6e5148e04684aed008390" },- { url = "https://download.pytorch.org/whl/cu128/torchvision-0.22.1%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:f64ef9bb91d71ab35d8384912a19f7419e35928685bc67544d58f45148334373" },- { url = "https://download.pytorch.org/whl/cu128/torchvision-0.22.1%2Bcu128-cp312-cp312-win_amd64.whl", hash = "sha256:650561ba326d21021243f5e064133dc62dc64d52f79623db5cd76637a9665f96" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.22.1%2Bcu128-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:92568ac46b13a8c88b61589800b1b9c4629be091ea7ce080fc6fc622e11e0915" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.22.1%2Bcu128-cp311-cp311-win_amd64.whl", hash = "sha256:85ecd729c947151eccea502853be6efc2c0029dc26e6e5148e04684aed008390" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.22.1%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:f64ef9bb91d71ab35d8384912a19f7419e35928685bc67544d58f45148334373" },+ { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.22.1%2Bcu128-cp312-cp312-win_amd64.whl", hash = "sha256:650561ba326d21021243f5e064133dc62dc64d52f79623db5cd76637a9665f96" },][[package]]@@ -3689,8 +3689,8 @@ dependencies = [{ name = "torch", version = "2.7.1+rocm6.3", source = { registry = "https://download.pytorch.org/whl/rocm6.3" }, marker = "(extra == 'extra-8-invokeai-cpu' and extra == 'extra-8-invokeai-cuda') or (extra != 'extra-8-invokeai-cuda' and extra == 'extra-8-invokeai-rocm') or (extra != 'extra-8-invokeai-cpu' and extra == 'extra-8-invokeai-rocm')" },]wheels = [- { url = "https://download.pytorch.org/whl/rocm6.3/torchvision-0.22.1%2Brocm6.3-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:c150162c2e1de371e5a52c0eb4a98541f307e01716cfe5c850f25c7caa3d3fc4" },- { url = "https://download.pytorch.org/whl/rocm6.3/torchvision-0.22.1%2Brocm6.3-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:0dce205fb04d9eb2f6feb74faf17cba9180aff70a8c8ac084912ce41b2dc0ab7" },+ { url = "https://download-r2.pytorch.org/whl/rocm6.3/torchvision-0.22.1%2Brocm6.3-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:c150162c2e1de371e5a52c0eb4a98541f307e01716cfe5c850f25c7caa3d3fc4" },+ { url = "https://download-r2.pytorch.org/whl/rocm6.3/torchvision-0.22.1%2Brocm6.3-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:0dce205fb04d9eb2f6feb74faf17cba9180aff70a8c8ac084912ce41b2dc0ab7" },][[package]]