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(previews): Tiny AutoEncoder previews for Wan, Qwen-Image, Krea-2, Anima and LTX-2.5 (#10041)
Alexander Eichhorn38f86db4ee51
diff --git a/docs/src/content/docs/Users Guide/03.Models/03.model-format-support.mdx b/docs/src/content/docs/Users Guide/03.Models/03.model-format-support.mdxindex f3306886bc..51ef306a86 100644--- a/docs/src/content/docs/Users Guide/03.Models/03.model-format-support.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/03.model-format-support.mdx@@ -171,19 +171,30 @@ and nothing else. Each one is a single file, a `.safetensors`, `.pth` or `.pt`.| TAEF1 | `diffusion_pytorch_model.safetensors` from `madebyollin/taef1` | FLUX.1 | FLUX.1, Z-Image || TAEF2 | `taef2.safetensors` | FLUX.2 | FLUX.2, FLUX.3, ERNIE-Image || TAEQI2.1 | `taeqi2_1.safetensors` | Qwen-Image-2.1 | Qwen-Image-2.1 |--Both published layouts load: the decoder-only files (the `*_decoder.safetensors` files above, and the-`*_decoder.pth` files ComfyUI keeps in `models/vae_approx/`) and the files that hold encoder and decoder together-(`diffusion_pytorch_model.safetensors`, `taef2.safetensors`, `taeqi2_1.safetensors`).--TAESD and TAESDXL read the same 4-channel latents with the same network, and so do TAESD3 and TAEF1 with-16 channels. For these four the file name, its folder name or the download source has to name the TAE (`taesd`,-`taesdxl`, `taesd3` or `taef1`); a file that names none of them is refused (**R**). The starter models set the base-themselves.+| TAEW2.1 | `taew2_1.safetensors` | Wan 2.2 | Wan 2.2 A14B, Qwen-Image, Krea-2, Anima |+| TAEW2.2 | `taew2_2.safetensors` | Wan 2.2 | Wan 2.2 TI2V-5B |+| TAELTX2.3 | `taeltx2_3.safetensors` | LTX-2 | LTX-2.5 |++The image TAEs (TAESD) load in both published layouts: the decoder-only files (the `*_decoder.safetensors` files+above, and the `*_decoder.pth` files ComfyUI keeps in `models/vae_approx/`) and the files that hold encoder and+decoder together (`diffusion_pytorch_model.safetensors`, `taef2.safetensors`, `taeqi2_1.safetensors`). The video+TAEs (TAEHV: TAEW2.1, TAEW2.2, TAELTX2.3) load as published in madebyollin's `taehv` repository, one file with+encoder and decoder.++Some networks are not specific to one model. TAESD and TAESDXL read the same 4-channel latents with the same+network, and so do TAESD3 and TAEF1 with 16 channels. TAEW2.1's network is also published as `taehv`+(HunyuanVideo) and `taecvx` (CogVideoX), and TAELTX2.3's as `taeltx_2` (LTX-2). For these six the file name, its+folder name or the download source has to name the TAE (`taesd`, `taesdxl`, `taesd3`, `taef1`, `taew2_1` or+`taeltx2_3`); a file that names none of them is refused (**R**). An install that sets the base explicitly, as the+starter models do, needs no name. TAEF2, TAEQI2.1 and TAEW2.2 are recognized by their network alone.- **R:** the "tinier" TAEQI2.1 (`taeqi2_1_tinier`); the message asks for `taeqi2_1.safetensors` instead.-- **Not recognized:** other Tiny AutoEncoders, such as the 32× Sana decoder and the TAEHV video decoders- (`taew2_1`, `taew2_2`, `taeltx_2`). They install as unknown models.+- **R:** a file named `taeltx_2`, the TAE for LTX-2's VAE, even with an explicit base. It previews LTX-2.5 worse than+ the linear preview; the message asks for TAELTX2.3.+- **R:** a file named `taehv` or `taecvx`, even with an explicit base. They decode HunyuanVideo and CogVideoX+ latents, which InvokeAI does not run.+- **Not recognized:** other Tiny AutoEncoders, such as the 32× Sana decoder, `taeh3` (MiniMax H3 uses its own+ built-in preview decoder), `taehv1_5` and the "super" TAEHV decoders. They install as unknown models.- A Diffusers `AutoencoderTiny` folder (for example the `madebyollin/taesdxl` repository as a whole) installs as aVAE and is not used for previews. Install the single file instead.diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/tiny-autoencoder-previews.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/tiny-autoencoder-previews.mdxindex dcb70b7f47..8f42c7d005 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/tiny-autoencoder-previews.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/Advanced Topics/tiny-autoencoder-previews.mdx@@ -10,7 +10,7 @@ import { Steps, Aside } from '@astrojs/starlight/components'While a model denoises, InvokeAI shows a preview of the image after each step. By default the preview is a linearprojection of the latents: one pixel per latent, upscaled, so it is blurry and its colours are approximate. A**Tiny AutoEncoder** (TAE) is a small decoder by [madebyollin](https://github.com/madebyollin/taesd) (MIT license)-that turns the same latents into a preview close to the final image, in about 25 ms on an RTX 4090. It needs a GPU:+that turns the same latents into a preview close to the final image, in a few tens of milliseconds on an RTX 4090. It needs a GPU:on CPU-only installs it is not recommended (see [Cost and fallback](#cost-and-fallback)).TAE previews change only what you see while a generation runs. The finished image is decoded by the model's VAE as@@ -31,6 +31,11 @@ always and is identical with the setting on or off.(search for *preview decoder*). Each one is 5 to 31 MB.</Steps>+<Aside type="tip">+TAEW2.1 is filed under Wan. Filtering the starter models by Qwen-Image, Krea-2 or Anima hides it; searching for+*TAEW2.1* or *preview decoder* finds it.+</Aside>+| Starter model | Previews for ||---|---|| TAESD (SD 1.x/2.x preview decoder) | SD 1.x, SD 2.x |@@ -39,27 +44,45 @@ always and is identical with the setting on or off.| TAEF1 (FLUX.1 preview decoder) | FLUX.1, Z-Image || TAEF2 (FLUX.2 preview decoder) | FLUX.2, FLUX.3, ERNIE-Image || TAEQI2.1 (Qwen-Image-2.1 preview decoder) | Qwen-Image-2.1 |+| TAEW2.1 (Wan 2.1 VAE preview decoder) | Wan 2.2 T2V and I2V A14B, Qwen-Image, Qwen-Image Edit, Krea-2, Anima |+| TAEW2.2 (Wan 2.2 TI2V-5B preview decoder) | Wan 2.2 TI2V-5B |+| TAELTX2.3 (LTX-2.5 preview decoder) | LTX-2.5 |A TAE serves every family that denoises in its latent space, so you need only one per row. To install a TAE fileyou already have, see [Preview decoders](/users-guide/models/model-format-support/#preview-decoders-tiny-autoencoders)for the files InvokeAI accepts.-FLUX.1, FLUX.2, FLUX.3 and ERNIE-Image preview the image the model predicts, so the preview is clean from the first step.-Z-Image, SD 3 and Qwen-Image-2.1 preview the current noisy latent: early previews show sharp noise, which clears as-denoising proceeds. SD 1.x/2.x and SDXL depend on the scheduler: DDIM, DDPM, Euler, Euler a, Heun, LMS, KDPM2,-KDPM2 a and DPM++ SDE report their prediction and preview cleanly; DPM++ 2M, 2M SDE, 3M and 2S, UniPC, DEIS, PNDM,-LCM, TCD and ER-SDE preview the noisy latent.+FLUX.1, FLUX.2, FLUX.3, ERNIE-Image, Anima and LTX-2.5 preview the image the model predicts, so the preview is clean from+the first step. Z-Image, SD 3, Qwen-Image-2.1, Qwen-Image, Krea-2 and Wan 2.2 preview the current noisy latent:+early previews show sharp noise, which clears as denoising proceeds. SD 1.x/2.x and SDXL depend on the scheduler:+DDIM, DDPM, Euler, Euler a, Heun, LMS, KDPM2, KDPM2 a and DPM++ SDE report their prediction and preview cleanly;+DPM++ 2M, 2M SDE, 3M and 2S, UniPC, DEIS, PNDM, LCM, TCD and ER-SDE preview the noisy latent.++A video preview shows the middle frame of the clip. For Wan 2.2 the TAE decodes it together with the frame before+it, which it needs as context for a sharp result; LTX-2.5 decodes the middle frame alone.-All other families keep the linear preview: Qwen-Image, Qwen-Image Edit, Krea-2, Anima, CogView4, Ideogram 4,-Wan 2.2 and LTX-2. MiniMax H3 previews with its own built-in decoder whatever this setting says.+CogView4 and Ideogram 4 keep the linear preview. MiniMax H3 always previews with its own built-in decoder, whatever+this setting says.## Cost and fallback-Only the preview frames that are actually sent to the UI are decoded, between two denoising steps. Previews are at-most 1024 pixels on their long edge; larger generations are previewed at reduced resolution and shown at full size.-At that size, on an RTX 4090, a preview takes about 25 ms and about 0.65 GB of VRAM while it decodes (about 0.16 GB-for Qwen-Image-2.1). Without a GPU a preview takes about 2 seconds, so TAE previews are not recommended on CPU-only-installs.+Only the preview frames that are actually sent to the UI are decoded, between two denoising steps. Previews are+capped on their long edge: at 512 pixels for TAEW2.1, whose decode would need about 2 GB of VRAM at 1024×1024, and+at 1024 pixels for every other TAE. Larger generations are previewed at reduced resolution and shown at full size.++Measured on an RTX 4090 in fp16, decoding one latent at the cap:++| TAE | Cap | Time per preview | VRAM while it decodes |+|---|---|---|---|+| TAESD, TAESDXL, TAESD3, TAEF1, TAEF2 | 1024 pixels | about 25 ms | about 0.65 GB |+| TAEQI2.1 | 1024 pixels | about 25 ms | about 0.16 GB |+| TAEW2.1 | 512 pixels | about 10–20 ms | about 0.54 GB |+| TAEW2.2 | 1024 pixels | about 24 ms | about 0.54 GB |+| TAELTX2.3 | 1024 pixels | about 29 ms | about 0.27 GB |++A Wan 2.2 video preview, which decodes two latent frames, takes under about 32 ms. InvokeAI reserves up to 617 MiB+of VRAM for it from 832×480 to 1280×720 and 1093 MiB at 1024×1024; on an RTX 4090 it used up to 599 and 1064 MiB. Without a GPU a preview takes about 2 seconds, so TAE+previews are not recommended on CPU-only installs.InvokeAI spaces TAE preview frames so that previews cost at most about a tenth of the denoising time. On fast modelsthe preview therefore updates a few times per second rather than after every step. In practice the cost is lower: on@@ -68,7 +91,8 @@ without, roughly 6% more.InvokeAI falls back to the linear preview by itself, and the generation always continues:-- **No matching TAE installed:** linear previews. The server log names the family once.+- **No matching TAE installed:** linear previews. The server log says once which starter model to install, and+ under which family the starter list shows it.- **The TAE does not fit in VRAM** next to the running model: linear previews for that generation, noted once inthe server log. This is the case whenever the main model is only partially loaded into VRAM, as on low-VRAM cards.- **Loading or decoding the TAE fails:** a warning with the error in the server log, once per kind of failure,diff --git a/docs/src/content/docs/contributing/new-model-integration.mdx b/docs/src/content/docs/contributing/new-model-integration.mdxindex 32ded7daf6..32b6b7aea8 100644--- a/docs/src/content/docs/contributing/new-model-integration.mdx+++ b/docs/src/content/docs/contributing/new-model-integration.mdx@@ -912,13 +912,15 @@ A Tiny AutoEncoder (TAE) record serves every architecture whose step-callback saA new latent space gets TAE previews only if a TAE exists for it. Then:-- **Config:** a `TinyAutoencoder_Checkpoint_<Base>_Config` in `configs/tiny_autoencoder.py` with its `ARCH`, listed in `_CONFIG_CLASSES` and in `AnyModelConfig` (`configs/factory.py`). If another base's TAE has the same architecture and channel count, both TAEs' published names must be in `_TAE_NAME_PATTERNS`: identification tells them apart only by name.+- **Config:** a `TinyAutoencoder_Checkpoint_<Base>_Config` in `configs/tiny_autoencoder.py` with its `ARCH`, listed in `_CONFIG_CLASSES` and in `AnyModelConfig` (`configs/factory.py`). Add the TAE's published name, base and latent width to `_TAE_NAMES`. Identification tells TAEs with the same network apart only by that name, read per path segment from the last, so it matters wherever another base's TAE has the same network. A published TAE with a supported network but for latents InvokeAI does not preview with it goes in `_TWINS`, with its name pattern and refusal message: a file named after it is refused even with an explicit base, and an unnamed file with that network needs the supported TAE's name or an explicit base.- **Loader:** one more `@ModelLoaderRegistry.register(base=..., type=ModelType.TinyAutoencoder, format=ModelFormat.Checkpoint)` on `TinyAutoencoderLoader` (`load/model_loaders/tiny_autoencoder.py`).-- **Starter:** next to the family's VAE in its starter module, with a pinned `resolve/<sha>` URL and the shared `TINY_AUTOENCODER_NOTE` closing the description; listed in `STARTER_MODELS`, not in a bundle.-- **Decoder:** a network the vendored code in `backend/tiny_autoencoder/` does not have is vendored there, and `checkpoint.py` learns its fingerprint, so that identification and the loader keep accepting exactly the same files.+- **Starter:** next to the family's VAE in its starter module, with a URL pinned to a commit (`resolve/<sha>` on Hugging Face, `raw/<sha>` on GitHub) and the shared `TINY_AUTOENCODER_NOTE` closing the description; listed in `STARTER_MODELS`, not in a bundle. The URL must contain the TAE's `_TAE_NAMES` name: `tiny_autoencoder_starters(space)` finds the starter by it, for the log message that tells a user which starter to install.+- **Decoder:** two decoder families are vendored in `backend/tiny_autoencoder/`: TAESD (`taesd.py`) for images and TAEHV (`taehv.py`) for video. Both subclass `TinyAutoencoderDecoder` (`decoder.py`), which declares the latent width, the spatial compression, `max_preview_edge` (the preview cap) and `preview_working_memory_bytes`, the working memory the TAE's lock reserves for a decode: the activations its structure keeps live at once, plus the convolution workspace, measured with cuDNN on an RTX 4090 (fp16 and bf16, single latents and two-frame windows; unmeasured on MIOpen, MPS and XPU, where the 3 GB `device_working_mem_gb` floor still covers every bound at the default settings), plus a fixed 5 MiB allowance. A new network of a known family is a new layout in `checkpoint.py` (for TAEHV, a `TaehvLayout` in `SUPPORTED_TAEHV_LAYOUTS`); a new family is vendored as another `TinyAutoencoderDecoder`. Either way `checkpoint.py` learns its fingerprint, so that identification and the loader keep accepting exactly the same files.The TAE decodes the latent the denoise node hands to the step callback, so check that this is the latent the TAE was trained on, with the same normalization and channel order. The previews must also go through `context.util.sd_step_callback` (or `flux_step_callback`/`flux2_step_callback`); a node that renders its own preview image does not get TAE previews.+A video node may hand the callback a `(B, C, T, h, w)` window of latent frames instead of one frame. A video decoder renders the window's last frame through `decode_window`, with the earlier frames as temporal context; the linear preview reads only the last frame (`preview_frame` in `app/util/step_callback.py`). Wan's video denoise passes the middle frame and the one before it (`PREVIEW_LATENT_WINDOW`), because the middle frame decoded alone is no sharper than the linear preview.+Send the first step callback, step 0 included, only once the denoise model is locked (`model_on_device`). The TAE is loaded at the first preview and locked only if it fits next to the models already in VRAM; before the main model is locked, it always fits.---diff --git a/docs/src/generated/settings.json b/docs/src/generated/settings.jsonindex 8dd062a020..b340d173c2 100644--- a/docs/src/generated/settings.json+++ b/docs/src/generated/settings.json@@ -783,7 +783,7 @@{"category": "GENERATION","default": false,- "description": "Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs about 25 ms and 0.65 GB of transient VRAM on an RTX 4090; not recommended on CPU-only installs, where one takes about 2 s.",+ "description": "Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs a few tens of ms and up to about 1.1 GB of transient VRAM on an RTX 4090 (image decoders 0.15-0.65 GB, Wan video windows up to 1.1 GB); not recommended on CPU-only installs, where one takes about 2 s.","env_var": "INVOKEAI_TINY_AUTOENCODER_PREVIEWS","literal_values": [],"name": "tiny_autoencoder_previews",diff --git a/invokeai/app/invocations/krea2/krea2_denoise.py b/invokeai/app/invocations/krea2/krea2_denoise.pyindex c4af011701..dd6039d536 100644--- a/invokeai/app/invocations/krea2/krea2_denoise.py+++ b/invokeai/app/invocations/krea2/krea2_denoise.py@@ -650,15 +650,6 @@ class Krea2DenoiseInvocation(BaseInvocation, WithMetadata, WithBoard):style_ref_position_ids = position_idsstep_callback = self._build_step_callback(context)- step_callback(- PipelineIntermediateState(- step=0,- order=1,- total_steps=total_steps,- timestep=int(timesteps_sched[0].item()) if total_steps > 0 else 0,- latents=unpack_latents(latents, latent_height, latent_width),- ),- )num_train_timesteps = scheduler.config.num_train_timesteps@@ -689,6 +680,16 @@ class Krea2DenoiseInvocation(BaseInvocation, WithMetadata, WithBoard):(cached_weights, transformer) = exit_stack.enter_context(transformer_info.model_on_device(working_memory=working_memory))+ # Inside the lock: a Tiny AutoEncoder preview loads its TAE only if it fits next to the locked model.+ step_callback(+ PipelineIntermediateState(+ step=0,+ order=1,+ total_steps=total_steps,+ timestep=int(timesteps_sched[0].item()) if total_steps > 0 else 0,+ latents=unpack_latents(latents, latent_height, latent_width),+ ),+ )# Whether LoRA has to go on as a sidecar. Asked of the loaded module tree rather than the# format, which cannot see an int8_tensorwise build's Int8ConvrotLinear layers.diff --git a/invokeai/app/invocations/qwen_image/qwen_image_denoise.py b/invokeai/app/invocations/qwen_image/qwen_image_denoise.pyindex b4517a70c3..7b29fddd49 100644--- a/invokeai/app/invocations/qwen_image/qwen_image_denoise.py+++ b/invokeai/app/invocations/qwen_image/qwen_image_denoise.py@@ -476,16 +476,6 @@ class QwenImageDenoiseInvocation(BaseInvocation, WithMetadata, WithBoard):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]model_input_seq_len = noisy_seq_len + (ref_latents_packed.shape[1] if ref_latents_packed is not None else 0)@@ -551,6 +541,16 @@ class QwenImageDenoiseInvocation(BaseInvocation, WithMetadata, WithBoard):transformer, locked_control, control_context, scale=self.control.control_context_scale))+ # Inside the lock: a Tiny AutoEncoder preview loads its TAE only if it fits next to the locked model.+ 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),+ ),+ )# Quantized weights (packed nvfp4 Linears, GGUF, SDNQ) cannot take a direct patch, so their LoRAs ride as# sidecars. Asked of the loaded module tree: a `checkpoint` build may hold packed Linears.model_is_quantized = requires_sidecar_patching(transformer, transformer_config.format)diff --git a/invokeai/app/invocations/wan/wan_video_denoise.py b/invokeai/app/invocations/wan/wan_video_denoise.pyindex 1e1bf10020..ae360b5927 100644--- a/invokeai/app/invocations/wan/wan_video_denoise.py+++ b/invokeai/app/invocations/wan/wan_video_denoise.py@@ -51,6 +51,21 @@ from invokeai.backend.wan.sampling_utils import (num_latent_frames_for,)+# Latent frames the step preview carries: the middle frame and the one before it. A Tiny AutoEncoder+# decodes the window and keeps its last frame, which then has the frame before it as temporal memory;+# the middle frame decoded alone is no better than the linear preview (RTX 4090, PSNR against the VAE+# on the callback latents: Wan 16 ch 20.3 -> 34.9 dB, Wan 48 ch 19.3 -> 27.5 dB). The linear preview+# reads only the last frame of the window, so it is unchanged.+#+# The window doubles the decode's memory, against a single latent (RTX 4090, fp16, `decode_preview`):+# taew2_1 (capped at 512): 832x480 599 vs 302 MiB, 11.8 vs 7.1 ms; 1280x720 599 vs 302 MiB, 9.9 vs 6.4 ms;+# 1024x1024 1064 vs 536 MiB, 17.2 vs 10.4 ms+# taew2_2 (capped at 1024): 832x480 407 vs 205 MiB, 12.6 vs 11.7 ms; 1280x720 599 vs 302 MiB, 15.6 vs 15.1 ms;+# 1024x1024 1064 vs 536 MiB, 31.9 vs 23.5 ms+# A Wan video step takes seconds, and the ~1 GB transient fits the denoise's working-memory reserve, so the+# decoders' preview caps stay as they are.+PREVIEW_LATENT_WINDOW = 2+@invocation("wan_video_denoise",@@ -271,6 +286,7 @@ class WanVideoDenoiseInvocation(BaseInvocation):first_frame_mask[:, :, 0] = 0step_callback = self._build_step_callback(context)+ mid = t_lat // 2high_model = self.transformer.transformerlow_model = self.transformer.transformer_low_noise@@ -378,8 +394,8 @@ class WanVideoDenoiseInvocation(BaseInvocation):order=1,total_steps=total_steps,timestep=int(t.item()),- # Preview shows the middle frame for video.- latents=latents[:, :, t_lat // 2],+ # Preview shows the middle frame for video, after a context window before it.+ latents=latents[:, :, max(0, mid - PREVIEW_LATENT_WINDOW + 1) : mid + 1],))diff --git a/invokeai/app/services/config/config_default.py b/invokeai/app/services/config/config_default.pyindex fb3ae0d291..849630e753 100644--- a/invokeai/app/services/config/config_default.py+++ b/invokeai/app/services/config/config_default.py@@ -136,7 +136,7 @@ class InvokeAIAppConfig(BaseSettings):noise_dtype: The dtype seeded noise is drawn in for SD1.5/SDXL, SD3, FLUX.1, FLUX.2, CogView4 and the Z-Image seed variance enhancer. `float32` draws the same noise on every platform. `float16` is the half-precision draw of earlier versions: on macOS it keeps the images your seeds gave before this update; on Windows and Linux both values give (nearly) the same images, and images made before the update cannot be reproduced there.<br>Valid values: `float32`, `float16`wan_memory_optimization: Enable experimental Wan memory optimizations at the cost of slower generation.pid_memory_optimization: Enable experimental PiD decode memory optimizations. Roughly halves the peak activation memory of a PiD decode; in exchange the decoded image changes slightly, because neither the chunked pixel pathway nor the float32 sampler intermediates are bit-exact with the default path.- tiny_autoencoder_previews: Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs about 25 ms and 0.65 GB of transient VRAM on an RTX 4090; not recommended on CPU-only installs, where one takes about 2 s.+ tiny_autoencoder_previews: Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs a few tens of ms and up to about 1.1 GB of transient VRAM on an RTX 4090 (image decoders 0.15-0.65 GB, Wan video windows up to 1.1 GB); not recommended on CPU-only installs, where one takes about 2 s.attention_type: Attention type.<br>Valid values: `auto`, `normal`, `xformers`, `sliced`, `torch-sdp`attention_slice_size: Slice size, valid when attention_type=="sliced".<br>Valid values: `auto`, `balanced`, `max`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`attention_backend: Attention kernel for the attention inside diffusion models. `auto` uses PyTorch's exact SDPA kernels ranked flash, cuDNN, memory-efficient, math, taking the first one the GPU and build support for each call; it never selects a quantized one. `sage` uses SageAttention 2 for the models listed in the SageAttention docs: faster, most at high resolutions and for video, but quantized, so images differ slightly from `auto` at the same seed. SageAttention is installed separately and needs an NVIDIA GPU with compute capability 8.0 or newer; masked attention, text encoders and VAEs keep PyTorch SDPA. `cudnn`, `flash`, `efficient` and `math` rank that PyTorch kernel first for all attention on CUDA and ROCm GPUs, ahead of the `auto` order. That is never exclusive: a call the kernel cannot serve runs on the next kernel, and the log reports that once per node type and reason (not for the PiD decoder, whose attention is ranked the same but not reported). `math` materializes the full attention score matrix, so it is slow and needs much more memory, which the working-memory estimates of most model families do not reserve, so generations can run out of memory; it is meant for debugging. Images can differ slightly between kernels.<br>Valid values: `auto`, `sage`, `cudnn`, `flash`, `efficient`, `math`@@ -274,7 +274,7 @@ class InvokeAIAppConfig(BaseSettings):noise_dtype: NOISE_DTYPE = Field(default="float32", description="The dtype seeded noise is drawn in for SD1.5/SDXL, SD3, FLUX.1, FLUX.2, CogView4 and the Z-Image seed variance enhancer. `float32` draws the same noise on every platform. `float16` is the half-precision draw of earlier versions: on macOS it keeps the images your seeds gave before this update; on Windows and Linux both values give (nearly) the same images, and images made before the update cannot be reproduced there.")wan_memory_optimization: bool = Field(default=False, description="Enable experimental Wan memory optimizations at the cost of slower generation.")pid_memory_optimization: bool = Field(default=False, description="Enable experimental PiD decode memory optimizations. Roughly halves the peak activation memory of a PiD decode; in exchange the decoded image changes slightly, because neither the chunked pixel pathway nor the float32 sampler intermediates are bit-exact with the default path.")- tiny_autoencoder_previews: bool = Field(default=False, description="Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs about 25 ms and 0.65 GB of transient VRAM on an RTX 4090; not recommended on CPU-only installs, where one takes about 2 s.")+ tiny_autoencoder_previews: bool = Field(default=False, description="Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs a few tens of ms and up to about 1.1 GB of transient VRAM on an RTX 4090 (image decoders 0.15-0.65 GB, Wan video windows up to 1.1 GB); not recommended on CPU-only installs, where one takes about 2 s.")attention_type: ATTENTION_TYPE = Field(default="auto", description="Attention type.")attention_slice_size: ATTENTION_SLICE_SIZE = Field(default="auto", description='Slice size, valid when attention_type=="sliced".')attention_backend: ATTENTION_BACKEND = Field(default="auto", description="Attention kernel for the attention inside diffusion models. `auto` uses PyTorch's exact SDPA kernels ranked flash, cuDNN, memory-efficient, math, taking the first one the GPU and build support for each call; it never selects a quantized one. `sage` uses SageAttention 2 for the models listed in the SageAttention docs: faster, most at high resolutions and for video, but quantized, so images differ slightly from `auto` at the same seed. SageAttention is installed separately and needs an NVIDIA GPU with compute capability 8.0 or newer; masked attention, text encoders and VAEs keep PyTorch SDPA. `cudnn`, `flash`, `efficient` and `math` rank that PyTorch kernel first for all attention on CUDA and ROCm GPUs, ahead of the `auto` order. That is never exclusive: a call the kernel cannot serve runs on the next kernel, and the log reports that once per node type and reason (not for the PiD decoder, whose attention is ranked the same but not reported). `math` materializes the full attention score matrix, so it is slow and needs much more memory, which the working-memory estimates of most model families do not reserve, so generations can run out of memory; it is meant for debugging. Images can differ slightly between kernels.")diff --git a/invokeai/app/util/step_callback.py b/invokeai/app/util/step_callback.pyindex d33a339534..9bd1c20a81 100644--- a/invokeai/app/util/step_callback.py+++ b/invokeai/app/util/step_callback.py@@ -41,6 +41,16 @@ PreviewRenderer: TypeAlias = Callable[[BaseModelType, torch.Tensor], PreviewFramSignalPreviewFunc: TypeAlias = Callable[[str, float | None, PreviewRender], None]+def preview_frame(sample: torch.Tensor) -> torch.Tensor:+ """The latent a preview shows: the last frame of a `(B, C, T, h, w)` window, any other sample as it is.++ A video denoiser may report a window of latent frames so a Tiny AutoEncoder can decode the last one+ with the frames before it as temporal context. Everything that reads a single latent -- the linear+ projection, and `resolve_latent_space`, which takes `shape[-3]` as the channel count -- gets the last.+ """+ return sample[:, :, -1] if sample.dim() == 5 else sample++def render_linear_preview(base_model: BaseModelType, sample: torch.Tensor) -> tuple[Image.Image, tuple[int, int]]:"""Project `sample` onto RGB with the architecture's linear latent factors.@@ -52,6 +62,7 @@ def render_linear_preview(base_model: BaseModelType, sample: torch.Tensor) -> tu# a fifteen-branch if/elif ending in `raise ValueError(f"Unsupported base model: {base_model}")`,# which fired on the first preview step — after the model had loaded and generation had started.# An architecture that declares no latent space now fails at boot instead.+ sample = preview_frame(sample)latent_space = resolve_latent_space(base_model, sample)image = latent_space.preview(sample)return image, (image.width * latent_space.spatial_compression, image.height * latent_space.spatial_compression)diff --git a/invokeai/app/util/tiny_autoencoder_previews.py b/invokeai/app/util/tiny_autoencoder_previews.pyindex d66fc562bb..a030d44ced 100644--- a/invokeai/app/util/tiny_autoencoder_previews.py+++ b/invokeai/app/util/tiny_autoencoder_previews.py@@ -9,19 +9,20 @@ from typing import TYPE_CHECKINGimport torchfrom PIL import Image-from invokeai.app.util.step_callback import render_linear_preview-from invokeai.backend.architectures import LatentSpace, resolve_latent_space+from invokeai.app.util.step_callback import preview_frame, render_linear_preview+from invokeai.backend.architectures import LatentSpace, latent_space_with_channels, resolve_latent_spacefrom invokeai.backend.model_manager.configs.factory import AnyModelConfig-from invokeai.backend.model_manager.configs.tiny_autoencoder import is_tiny_autoencoder_supported+from invokeai.backend.model_manager.configs.tiny_autoencoder import named_tiny_autoencoderfrom invokeai.backend.model_manager.load.load_base import LoadedModelfrom invokeai.backend.model_manager.load.model_cache.model_cache import MODEL_LOAD_LOCK+from invokeai.backend.model_manager.starter_models import STARTER_MODELS, StarterModelfrom invokeai.backend.model_manager.taxonomy import BaseModelType, ModelType+from invokeai.backend.tiny_autoencoder.decoder import TinyAutoencoderDecoderfrom invokeai.backend.tiny_autoencoder.preview import (decode_preview,decode_working_memory_bytes,select_tiny_autoencoder,)-from invokeai.backend.tiny_autoencoder.taesd import TaesdDecoderfrom invokeai.backend.util.devices import TorchDeviceif TYPE_CHECKING:@@ -49,6 +50,18 @@ RENDER_COST_INTERVAL_FACTOR = 20RENDER_COST_SMOOTHING = 0.5+def tiny_autoencoder_starters(space: LatentSpace) -> list[StarterModel]:+ """The starter models that install a TAE for `space`, read from the catalog by the TAE each one installs."""+ starters = []+ for starter in STARTER_MODELS:+ if starter.type is not ModelType.TinyAutoencoder:+ continue+ named = named_tiny_autoencoder((starter.source,))+ if named is not None and latent_space_with_channels(starter.base, named[2]) is space:+ starters.append(starter)+ return starters++def _first_report(key: Hashable) -> bool:with _reported_lock:first = key not in _reported@@ -58,7 +71,7 @@ def _first_report(key: Hashable) -> bool:@dataclass(frozen=True)class _HeldDecoder:- decoder: TaesdDecoder+ decoder: TinyAutoencoderDecoderdevice: torch.device@@ -126,7 +139,7 @@ class TinyAutoencoderPreviews:self._render_cost_s += RENDER_COST_SMOOTHING * (cost - self._render_cost_s)def render(self, base_model: BaseModelType, sample: torch.Tensor) -> tuple[Image.Image, tuple[int, int]]:- space = resolve_latent_space(base_model, sample)+ space = resolve_latent_space(base_model, preview_frame(sample))if not self._disabled:try:held = self._decoder_for(base_model, space, sample)@@ -186,8 +199,8 @@ class TinyAutoencoderPreviews:return Nonedecoder = loaded.model # the very module the lock moves and yields- if not isinstance(decoder, TaesdDecoder):- raise TypeError(f"expected a TaesdDecoder, the loader returned {type(decoder).__name__}")+ if not isinstance(decoder, TinyAutoencoderDecoder):+ raise TypeError(f"expected a TinyAutoencoderDecoder, the loader returned {type(decoder).__name__}")# Reserved once, with the lock: a denoise keeps its size, so every later frame decodes the same.working_mem_bytes = decode_working_memory_bytes(decoder, sample)if not self._fits_in_vram(loaded, working_mem_bytes):@@ -230,10 +243,12 @@ class TinyAutoencoderPreviews:return available >= missingdef _report_missing(self, base_model: BaseModelType, space: LatentSpace) -> None:- if is_tiny_autoencoder_supported(space):+ starters = tiny_autoencoder_starters(space)+ if starters:+ install = " or ".join(f"the {s.name} starter model (listed under {s.base.value})" for s in starters)message = (f"No installed Tiny AutoEncoder decodes {base_model.value} latents; using linear previews. "- "Install the matching Tiny AutoEncoder starter model."+ f"Install {install}.")else:message = f"{base_model.value} has no Tiny AutoEncoder; using linear previews."diff --git a/invokeai/backend/minimax_h3/taehv_decoder.py b/invokeai/backend/minimax_h3/taehv_decoder.pyindex 5a08aa657e..d5baaa249b 100644--- a/invokeai/backend/minimax_h3/taehv_decoder.py+++ b/invokeai/backend/minimax_h3/taehv_decoder.py@@ -1,7 +1,7 @@"""Tiny AutoEncoder decoder for MiniMax H3 latents ("taeh3"), used for denoising previews.-Adapted from madebyollin's TAEHV (MIT license), decoder half only, pinned to the same commit-as the published H3 weights:+The vendored TAEHV decoder (`invokeai/backend/tiny_autoencoder/taehv.py`, madebyollin, MIT) at the+same commit as the published H3 weights:https://github.com/madebyollin/taehv/blob/62f7591f59dfbb4c3c02b7a621d180a9eeaba26c/taehv.pyThe decoder consumes latents in the NORMALIZED space — ``(z - latents_mean) / latents_std``,@@ -13,13 +13,17 @@ mean/std conversion belongs in the preview path.Scale factors mirror the full VAE: 16x spatial (8x upsampling + 2x pixel shuffle), 4xtemporal (TGrow strides 1/2/2), 24 latent channels. The ``decoder.*`` ``nn.Sequential``indices are a state-dict contract with the released ``taeh3.safetensors`` — do not reorder.++H3 keeps its own preview path rather than the ``tiny_autoencoder`` model type: the denoise node fetches+the weights with ``load_remote_model``, so nothing is installed, and decodes its latent window itself,+without the preview cap or the frame pacing ``TinyAutoencoderPreviews`` applies."""from pathlib import Pathimport torch-import torch.nn.functional as F-from torch import nn++from invokeai.backend.tiny_autoencoder.taehv import TaehvDecoder# Weights are pinned to the commit whose taehv.py this module mirrors. The GitHub "raw"# redirect resolves to the LFS object; the download cache keys on this URL.@@ -28,78 +32,14 @@ TAEH3_PREVIEW_MODEL_URL = ()TAEH3_LATENT_CHANNELS = 24-TAEH3_TEMPORAL_UPSCALE = 4_PIXEL_SHUFFLE_PATCH = 2-class _Clamp(nn.Module):- def forward(self, x: torch.Tensor) -> torch.Tensor:- return torch.tanh(x / 3) * 3---class _MemBlock(nn.Module):- """Residual block whose conv also sees the previous frame's input (the temporal memory)."""-- def __init__(self, n_in: int, n_out: int):- super().__init__()- self.conv = nn.Sequential(- nn.Conv2d(n_in * 2, n_out, 3, padding=1),- nn.ReLU(inplace=True),- nn.Conv2d(n_out, n_out, 3, padding=1),- nn.ReLU(inplace=True),- nn.Conv2d(n_out, n_out, 3, padding=1),- )- self.skip = nn.Conv2d(n_in, n_out, 1, bias=False) if n_in != n_out else nn.Identity()- self.act = nn.ReLU(inplace=True)-- def forward(self, x: torch.Tensor, past: torch.Tensor) -> torch.Tensor:- return self.act(self.conv(torch.cat([x, past], 1)) + self.skip(x))---class _TGrow(nn.Module):- """Temporal upsampling: a 1x1 conv to ``stride`` channel groups, reshaped into frames."""-- def __init__(self, n_f: int, stride: int):- super().__init__()- self.stride = stride- self.conv = nn.Conv2d(n_f, n_f * stride, 1, bias=False)-- def forward(self, x: torch.Tensor) -> torch.Tensor:- _nt, c, h, w = x.shape- return self.conv(x).reshape(-1, c, h, w)---class TAEH3Decoder(nn.Module):+class TAEH3Decoder(TaehvDecoder):"""The taeh3 decoder: ``[N, 24, T, h, w]`` normalized latents -> ``[N, 4T, 3, 16h, 16w]`` RGB."""def __init__(self) -> None:- super().__init__()- n_f = (256, 128, 64, 64)- self.decoder = nn.Sequential(- _Clamp(),- nn.Conv2d(TAEH3_LATENT_CHANNELS, n_f[0], 3, padding=1),- nn.ReLU(inplace=True),- _MemBlock(n_f[0], n_f[0]),- _MemBlock(n_f[0], n_f[0]),- _MemBlock(n_f[0], n_f[0]),- nn.Upsample(scale_factor=2),- _TGrow(n_f[0], 1),- nn.Conv2d(n_f[0], n_f[1], 3, padding=1, bias=False),- _MemBlock(n_f[1], n_f[1]),- _MemBlock(n_f[1], n_f[1]),- _MemBlock(n_f[1], n_f[1]),- nn.Upsample(scale_factor=2),- _TGrow(n_f[1], 2),- nn.Conv2d(n_f[1], n_f[2], 3, padding=1, bias=False),- _MemBlock(n_f[2], n_f[2]),- _MemBlock(n_f[2], n_f[2]),- _MemBlock(n_f[2], n_f[2]),- nn.Upsample(scale_factor=2),- _TGrow(n_f[2], 2),- nn.Conv2d(n_f[2], n_f[3], 3, padding=1, bias=False),- nn.ReLU(inplace=True),- nn.Conv2d(n_f[3], 3 * _PIXEL_SHUFFLE_PATCH**2, 3, padding=1),- )+ super().__init__(TAEH3_LATENT_CHANNELS, patch_size=_PIXEL_SHUFFLE_PATCH)@classmethoddef load_model(cls, path: Path) -> "TAEH3Decoder":@@ -128,20 +68,7 @@ class TAEH3Decoder(nn.Module):if latents.ndim != 5 or latents.shape[1] != TAEH3_LATENT_CHANNELS:raise ValueError(f"Expected [N, {TAEH3_LATENT_CHANNELS}, T, h, w] latents, got {list(latents.shape)}.")weight_dtype = self.decoder[1].weight.dtype- x = latents.permute(0, 2, 1, 3, 4).to(weight_dtype) # NTCHW- n = x.shape[0]- x = x.flatten(0, 1)- for block in self.decoder:- if isinstance(block, _MemBlock):- nt, c, h, w = x.shape- t = nt // n- # Each frame's memory is the previous frame's block input; frame 0 sees zeros.- past = F.pad(x.view(n, t, c, h, w), (0, 0, 0, 0, 0, 0, 1, 0))[:, :t].reshape(x.shape)- x = block(x, past)- else:- x = block(x)- frames = F.pixel_shuffle(x, _PIXEL_SHUFFLE_PATCH).clamp_(0, 1)- return frames.view(n, -1, *frames.shape[1:])+ return self._decode_frames(latents.permute(0, 2, 1, 3, 4).to(weight_dtype)) # NTCHWdef decode_preview_frame(self, latents: torch.Tensor) -> torch.Tensor:"""Decode a small latent window and return the best single frame, ``[3, H, W]`` in [0, 1].diff --git a/invokeai/backend/model_manager/configs/factory.py b/invokeai/backend/model_manager/configs/factory.pyindex 3ee5c0abc2..4bc284495a 100644--- a/invokeai/backend/model_manager/configs/factory.py+++ b/invokeai/backend/model_manager/configs/factory.py@@ -202,10 +202,12 @@ from invokeai.backend.model_manager.configs.textual_inversion import (from invokeai.backend.model_manager.configs.tiny_autoencoder import (TinyAutoencoder_Checkpoint_Flux2_Config,TinyAutoencoder_Checkpoint_FLUX_Config,+ TinyAutoencoder_Checkpoint_LTX2_Config,TinyAutoencoder_Checkpoint_QwenImage21_Config,TinyAutoencoder_Checkpoint_SD1_Config,TinyAutoencoder_Checkpoint_SD3_Config,TinyAutoencoder_Checkpoint_SDXL_Config,+ TinyAutoencoder_Checkpoint_Wan_Config,)from invokeai.backend.model_manager.configs.unknown import Unknown_Configfrom invokeai.backend.model_manager.configs.vae import (@@ -534,6 +536,8 @@ AnyModelConfig = Annotated[Annotated[TinyAutoencoder_Checkpoint_QwenImage21_Config, TinyAutoencoder_Checkpoint_QwenImage21_Config.get_tag()],+ Annotated[TinyAutoencoder_Checkpoint_Wan_Config, TinyAutoencoder_Checkpoint_Wan_Config.get_tag()],+ Annotated[TinyAutoencoder_Checkpoint_LTX2_Config, TinyAutoencoder_Checkpoint_LTX2_Config.get_tag()],# ControlNet - checkpoint formatAnnotated[ControlNet_Checkpoint_SD1_Config, ControlNet_Checkpoint_SD1_Config.get_tag()],Annotated[ControlNet_Checkpoint_SD2_Config, ControlNet_Checkpoint_SD2_Config.get_tag()],diff --git a/invokeai/backend/model_manager/configs/tiny_autoencoder.py b/invokeai/backend/model_manager/configs/tiny_autoencoder.pyindex 78349aba01..fea4b4b1a6 100644--- a/invokeai/backend/model_manager/configs/tiny_autoencoder.py+++ b/invokeai/backend/model_manager/configs/tiny_autoencoder.py@@ -1,22 +1,31 @@-"""Tiny AutoEncoders (madebyollin's TAESD family), used only to render denoising previews.+"""Tiny AutoEncoders (madebyollin's TAESD and TAEHV families), used only to render denoising previews.A TAE decodes the latents an architecture denoises in, so a record is filed under the base whose`LatentSpace` its weights fit, and serves every base sharing that space (`latent_space_with_channels`).Only single files are TAEs here: a diffusers `AutoencoderTiny` folder stays a VAE, as it always was.-The weights fix the latent width and the decoder architecture. Two widths are shared by two bases with-the same default decoder -- 4 channels (SD 1, SDXL) and 16 (SD3, FLUX.1) -- and there an explicit-`base` override decides, else the TAE's published name. A file that names none of them is refused-rather than guessed: a wrong guess would install cleanly and render every preview in wrong colours.+The weights fix the latent width, the compression and the decoder architecture. Some networks are not+specific to one base or one TAE: 4 channels serve SD 1 and SDXL, 16 serve SD3 and FLUX.1, taew2_1's network+is also published as taehv (HunyuanVideo), taecvx (CogVideoX) and taeos1_3 (Open-Sora), and taeltx2_3's as+taeltx_2 (LTX-2).+There an explicit `base` override decides, else the TAE's published name. A file that names none of them+is refused rather than guessed: a wrong guess would install cleanly and render every preview in wrong+colours. A file named for one of the unsupported twins is refused whatever the override says.++Names are read from the most specific path segment first (`name_components`, then each component's+segments from the last), so the TAEW2.1 starter's `.../madebyollin/taehv/raw/<sha>/safetensors/+taew2_1.safetensors` is named by its file, not by the `taehv` repository it is published in."""import re+from collections.abc import Iterator+from dataclasses import dataclassfrom typing import ClassVar, Literal, Selffrom pydantic import Fieldfrom typing_extensions import Any-from invokeai.backend.architectures import LatentSpace, latent_space_with_channels+from invokeai.backend.architectures import latent_space_with_channelsfrom invokeai.backend.model_manager.configs.backbone_names import name_componentsfrom invokeai.backend.model_manager.configs.base import Checkpoint_Config_Base, Config_Basefrom invokeai.backend.model_manager.configs.identification_utils import (@@ -28,37 +37,134 @@ from invokeai.backend.model_manager.configs.identification_utils import (from invokeai.backend.model_manager.model_on_disk import ModelOnDiskfrom invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelTypefrom invokeai.backend.tiny_autoencoder.checkpoint import (- TAESD_CHECKPOINT_SUFFIXES,- TaesdArch,- TaesdLayout,- detect_taesd_layout,+ TAELTX2_3,+ TAEW2_1,+ TINY_AUTOENCODER_CHECKPOINT_SUFFIXES,+ TinyAutoencoderArch,+ TinyAutoencoderLayout,+ detect_tiny_autoencoder_layout,is_tinier_taesd,)-# madebyollin's names, as they appear in file names, repo names and install URLs. Boundary-aware, so-# `taesd` matches neither `taesdxl` nor `taesd3`.-_TAE_NAME_PATTERNS: tuple[tuple[BaseModelType, re.Pattern[str]], ...] = tuple(- (base, re.compile(rf"(?<![a-z0-9]){re.escape(name)}(?![a-z0-9])"))- for base, name in (- (BaseModelType.StableDiffusionXL, "taesdxl"),- (BaseModelType.StableDiffusion3, "taesd3"),- (BaseModelType.StableDiffusion1, "taesd"),- (BaseModelType.Flux, "taef1"),- (BaseModelType.Flux2, "taef2"),- (BaseModelType.QwenImage21, "taeqi2_1"),- )+# madebyollin's names, as they appear in file names, repo names and install URLs, with the base and latent+# width each is published for. Boundary-aware, so `taesd` matches neither `taesdxl` nor `taesd3`.+_TAE_NAMES: tuple[tuple[str, BaseModelType, int], ...] = (+ ("taesdxl", BaseModelType.StableDiffusionXL, 4),+ ("taesd3", BaseModelType.StableDiffusion3, 16),+ ("taesd", BaseModelType.StableDiffusion1, 4),+ ("taef1", BaseModelType.Flux, 16),+ ("taef2", BaseModelType.Flux2, 32),+ ("taeqi2_1", BaseModelType.QwenImage21, 64),+ ("taew2_1", BaseModelType.Wan, 16),+ ("taew2_2", BaseModelType.Wan, 48),+ ("taeltx2_3", BaseModelType.LTX2, 128),)-def _tae_named_in(components: tuple[str, ...]) -> BaseModelType | None:- """The base named by the most specific name component that names exactly one TAE."""+def _name_pattern(name: str) -> re.Pattern[str]:+ return re.compile(rf"(?<![a-z0-9]){re.escape(name)}(?![a-z0-9])")+++# TAELTX2.3 is also spelled the way the starter displays it (`taeltx2.3`), with the underscore of `taeltx_2`+# (`taeltx_2_3`), or with a dash. Anything else after the 2 (`taeltx23`, `taeltx2_30`) names nothing.+_TAELTX2_3_SPELLINGS = r"taeltx_?2[_.\-]3"+_TAE_NAME_PATTERNS = tuple(+ re.compile(rf"(?<![a-z0-9]){_TAELTX2_3_SPELLINGS}(?![a-z0-9])") if name == "taeltx2_3" else _name_pattern(name)+ for name, _, _ in _TAE_NAMES+)+++@dataclass(frozen=True)+class _Twin:+ """A published TAE with a supported layout's exact network, for latents InvokeAI does not preview with it."""++ label: str+ pattern: re.Pattern[str]+ refusal: str+++_TWINS: dict[TinyAutoencoderLayout, tuple[_Twin, ...]] = {+ TAEW2_1: (+ _Twin(+ "HunyuanVideo (taehv)",+ _name_pattern("taehv"),+ "taehv is the HunyuanVideo preview decoder, which InvokeAI does not support. Wan, Qwen-Image, "+ "Krea-2 and Anima previews use taew2_1: install the TAEW2.1 starter model.",+ ),+ _Twin(+ "Open-Sora (taeos1_3)",+ _name_pattern("taeos1_3"),+ "taeos1_3 is the Open-Sora 1.3 preview decoder, which InvokeAI does not support. Wan, Qwen-Image, "+ "Krea-2 and Anima previews use taew2_1: install the TAEW2.1 starter model.",+ ),+ _Twin(+ "CogVideoX (taecvx)",+ _name_pattern("taecvx"),+ "taecvx is the CogVideoX preview decoder, which InvokeAI does not support. Wan, Qwen-Image, "+ "Krea-2 and Anima previews use taew2_1: install the TAEW2.1 starter model.",+ ),+ ),+ # On LTX-2.5 latents taeltx_2 scored 11.0 dB against the VAE, below the linear preview's 26.6+ # (taeltx2_3: 37.8). `taeltx2` without a 3 counts as the same name.+ TAELTX2_3: (+ _Twin(+ "LTX-2 (taeltx_2)",+ re.compile(r"(?<![a-z0-9])taeltx_?2(?![a-z0-9])(?![_.\-]?3(?![a-z0-9]))"),+ "taeltx_2 targets the LTX-2 VAE; LTX-2.5 needs taeltx2_3. Install TAELTX2.3 from the starter models.",+ ),+ ),+}+++def _name_segments(components: tuple[str, ...]) -> Iterator[str]:+ """The name evidence, most specific first: each component's path segments from the last."""for component in components:- named = {base for base, pattern in _TAE_NAME_PATTERNS if pattern.search(component.lower())}+ for segment in reversed(re.split(r"[/\\:]+", component.lower())):+ if segment:+ yield segment+++def named_tiny_autoencoder(components: tuple[str, ...]) -> tuple[str, BaseModelType, int] | None:+ """The published TAE `(name, base, latent channels)` the most specific segment naming exactly one names."""+ for segment in _name_segments(components):+ named = [+ entry for entry, pattern in zip(_TAE_NAMES, _TAE_NAME_PATTERNS, strict=True) if pattern.search(segment)+ ]+ if len(named) == 1:+ return named[0]+ return None+++def _name_verdict(layout: TinyAutoencoderLayout, components: tuple[str, ...]) -> BaseModelType | _Twin | None:+ """What the most specific segment naming a supported TAE or one of `layout`'s twins says the file is."""+ twins = _TWINS.get(layout, ())+ for segment in _name_segments(components):+ twin = next((t for t in twins if t.pattern.search(segment)), None)+ if twin is not None:+ return twin+ named = {+ entry[1] for entry, pattern in zip(_TAE_NAMES, _TAE_NAME_PATTERNS, strict=True) if pattern.search(segment)+ }if len(named) == 1:return named.pop()return None+def _unnamed_message(layout: TinyAutoencoderLayout, candidates: frozenset[BaseModelType]) -> str:+ names = " or ".join(n for n, b, c in _TAE_NAMES if b in candidates and c == layout.latent_channels)+ if len(candidates) > 1:+ bases = " or ".join(sorted(b.value for b in candidates))+ reason = f"reads {layout.latent_channels}-channel latents, which {bases} share,"+ else:+ twins = _TWINS[layout]+ decoders = "decoders" if len(twins) > 1 else "decoder"+ reason = f"has the network of {names} and of the {' and '.join(t.label for t in twins)} {decoders},"+ return (+ f"This preview decoder {reason} and nothing in its name says which it is. Install it from the starter "+ f"models, or, if it is {names}, name the file after it."+ )++class TinyAutoencoder_Checkpoint_Config_Base(Checkpoint_Config_Base):"""Model config for a Tiny AutoEncoder preview decoder."""@@ -66,8 +172,8 @@ class TinyAutoencoder_Checkpoint_Config_Base(Checkpoint_Config_Base):format: Literal[ModelFormat.Checkpoint] = Field(default=ModelFormat.Checkpoint)latent_channels: int = Field(description="Latent channels the decoder consumes.")- ARCH: ClassVar[TaesdArch]- """The decoder architecture this base's TAE uses."""+ ARCH: ClassVar[TinyAutoencoderArch]+ """The decoder architecture this base's TAEs use."""@classmethoddef from_model_on_disk(cls, mod: ModelOnDisk, override_fields: dict[str, Any]) -> Self:@@ -75,18 +181,18 @@ class TinyAutoencoder_Checkpoint_Config_Base(Checkpoint_Config_Base):raise_for_override_fields(cls, override_fields)- if mod.path.suffix.lower() not in TAESD_CHECKPOINT_SUFFIXES:+ if mod.path.suffix.lower() not in TINY_AUTOENCODER_CHECKPOINT_SUFFIXES:raise NotAMatchError(f"the Tiny AutoEncoder loader does not read {mod.path.suffix} files")state_dict = mod.load_state_dict()- layout = detect_taesd_layout(state_dict)+ layout = detect_tiny_autoencoder_layout(state_dict)if layout is None:if is_tinier_taesd(state_dict):raise InvalidMatchError("This is the 'tinier' TAEQI2.1 preview decoder, which InvokeAI does not support. ""Install taeqi2_1.safetensors from the same repository instead.")- raise NotAMatchError("state dict is not a TAESD decoder")+ raise NotAMatchError("state dict is not a supported Tiny AutoEncoder decoder")base: BaseModelType = cls.model_fields["base"].defaultcandidates = _bases_fitting(layout)@@ -95,54 +201,64 @@ class TinyAutoencoder_Checkpoint_Config_Base(Checkpoint_Config_Base):# The override has already been held to this class's base, so the user asked for a base# whose latents this decoder cannot read. Falling through would file it as Unknown.raise InvalidMatchError(- f"This preview decoder ({layout.latent_channels} latent channels, {layout.arch} architecture) "- f"cannot decode {base.value} latents."+ f"This preview decoder ({layout.latent_channels} latent channels, {layout.arch} architecture, "+ f"{layout.spatial_compression}x) cannot decode {base.value} latents.")raise NotAMatchError(f"a {layout.latent_channels}-channel {layout.arch} TAE is not for {base.value}")- if len(candidates) > 1 and override_fields.get("base") is None:- named = _tae_named_in(name_components(mod, override_fields))- if named not in candidates:- names = " or ".join(sorted(b.value for b in candidates))- raise InvalidMatchError(- f"This preview decoder reads {layout.latent_channels}-channel latents, which {names} share, "- "and its name does not say which it is for. Install it from the starter models, or name the "- "file after the TAE it is (taesd, taesdxl, taesd3 or taef1)."- )- if named is not base:- raise NotAMatchError(f"named for {named.value}, not {base.value}")+ verdict = _name_verdict(layout, name_components(mod, override_fields))+ if isinstance(verdict, _Twin):+ raise InvalidMatchError(verdict.refusal)++ if (len(candidates) > 1 or layout in _TWINS) and override_fields.get("base") is None:+ if verdict not in candidates:+ raise InvalidMatchError(_unnamed_message(layout, candidates))+ if verdict is not base:+ raise NotAMatchError(f"named for {verdict.value}, not {base.value}")return cls(**override_fields, latent_channels=layout.latent_channels)class TinyAutoencoder_Checkpoint_SD1_Config(TinyAutoencoder_Checkpoint_Config_Base, Config_Base):base: Literal[BaseModelType.StableDiffusion1] = Field(default=BaseModelType.StableDiffusion1)- ARCH: ClassVar[TaesdArch] = "default"+ ARCH: ClassVar[TinyAutoencoderArch] = "default"class TinyAutoencoder_Checkpoint_SDXL_Config(TinyAutoencoder_Checkpoint_Config_Base, Config_Base):base: Literal[BaseModelType.StableDiffusionXL] = Field(default=BaseModelType.StableDiffusionXL)- ARCH: ClassVar[TaesdArch] = "default"+ ARCH: ClassVar[TinyAutoencoderArch] = "default"class TinyAutoencoder_Checkpoint_SD3_Config(TinyAutoencoder_Checkpoint_Config_Base, Config_Base):base: Literal[BaseModelType.StableDiffusion3] = Field(default=BaseModelType.StableDiffusion3)- ARCH: ClassVar[TaesdArch] = "default"+ ARCH: ClassVar[TinyAutoencoderArch] = "default"class TinyAutoencoder_Checkpoint_FLUX_Config(TinyAutoencoder_Checkpoint_Config_Base, Config_Base):base: Literal[BaseModelType.Flux] = Field(default=BaseModelType.Flux)- ARCH: ClassVar[TaesdArch] = "default"+ ARCH: ClassVar[TinyAutoencoderArch] = "default"class TinyAutoencoder_Checkpoint_Flux2_Config(TinyAutoencoder_Checkpoint_Config_Base, Config_Base):base: Literal[BaseModelType.Flux2] = Field(default=BaseModelType.Flux2)- ARCH: ClassVar[TaesdArch] = "flux_2"+ ARCH: ClassVar[TinyAutoencoderArch] = "flux_2"class TinyAutoencoder_Checkpoint_QwenImage21_Config(TinyAutoencoder_Checkpoint_Config_Base, Config_Base):base: Literal[BaseModelType.QwenImage21] = Field(default=BaseModelType.QwenImage21)- ARCH: ClassVar[TaesdArch] = "f16"+ ARCH: ClassVar[TinyAutoencoderArch] = "f16"+++class TinyAutoencoder_Checkpoint_Wan_Config(TinyAutoencoder_Checkpoint_Config_Base, Config_Base):+ """taew2_1 (16 channels, also Qwen-Image, Krea-2, Anima) or taew2_2 (48, TI2V-5B): `latent_channels` decides."""++ base: Literal[BaseModelType.Wan] = Field(default=BaseModelType.Wan)+ ARCH: ClassVar[TinyAutoencoderArch] = "taehv"+++class TinyAutoencoder_Checkpoint_LTX2_Config(TinyAutoencoder_Checkpoint_Config_Base, Config_Base):+ base: Literal[BaseModelType.LTX2] = Field(default=BaseModelType.LTX2)+ ARCH: ClassVar[TinyAutoencoderArch] = "taehv"_CONFIG_CLASSES: tuple[type[TinyAutoencoder_Checkpoint_Config_Base], ...] = (@@ -152,6 +268,8 @@ _CONFIG_CLASSES: tuple[type[TinyAutoencoder_Checkpoint_Config_Base], ...] = (TinyAutoencoder_Checkpoint_FLUX_Config,TinyAutoencoder_Checkpoint_Flux2_Config,TinyAutoencoder_Checkpoint_QwenImage21_Config,+ TinyAutoencoder_Checkpoint_Wan_Config,+ TinyAutoencoder_Checkpoint_LTX2_Config,)@@ -159,19 +277,11 @@ def _base_of(config: type[TinyAutoencoder_Checkpoint_Config_Base]) -> BaseModelTreturn config.model_fields["base"].default-def _bases_fitting(layout: TaesdLayout) -> frozenset[BaseModelType]:- """Every base with a TAE config whose architecture and latent space this decoder fits."""- return frozenset(- _base_of(config)- for config in _CONFIG_CLASSES- if config.ARCH == layout.arch- and latent_space_with_channels(_base_of(config), layout.latent_channels) is not None- )---def is_tiny_autoencoder_supported(space: LatentSpace) -> bool:- """Whether InvokeAI identifies a TAE that decodes `space`, i.e. whether there is one worth installing.-- Every TAE config class has a starter model, so this is also whether a starter serves the space.- """- return any(latent_space_with_channels(_base_of(config), space.channels) is space for config in _CONFIG_CLASSES)+def _bases_fitting(layout: TinyAutoencoderLayout) -> frozenset[BaseModelType]:+ """Every base with a TAE config whose architecture, latent width and compression this decoder fits."""+ fitting = set()+ for config in _CONFIG_CLASSES:+ space = latent_space_with_channels(_base_of(config), layout.latent_channels)+ if config.ARCH == layout.arch and space is not None and space.spatial_compression == layout.spatial_compression:+ fitting.add(_base_of(config))+ return frozenset(fitting)diff --git a/invokeai/backend/model_manager/load/model_loaders/tiny_autoencoder.py b/invokeai/backend/model_manager/load/model_loaders/tiny_autoencoder.pyindex 740c0520a6..b7248a000a 100644--- a/invokeai/backend/model_manager/load/model_loaders/tiny_autoencoder.py+++ b/invokeai/backend/model_manager/load/model_loaders/tiny_autoencoder.py@@ -1,4 +1,4 @@-"""Loader for Tiny AutoEncoder preview decoders (madebyollin's TAESD family)."""+"""Loader for Tiny AutoEncoder preview decoders (madebyollin's TAESD and TAEHV families)."""from pathlib import Pathfrom typing import Any, Optional@@ -15,9 +15,9 @@ from invokeai.backend.model_manager.taxonomy import AnyModel, BaseModelType, Modfrom invokeai.backend.tiny_autoencoder.checkpoint import (PICKLE_SUFFIXES,SAFETENSORS_SUFFIX,- build_taesd_decoder,- detect_taesd_layout,- taesd_decoder_state_dict,+ build_tiny_autoencoder_decoder,+ detect_tiny_autoencoder_layout,+ tiny_autoencoder_state_dict,)@@ -43,8 +43,10 @@ def _read_checkpoint(path: Path) -> dict[str, Any]:@ModelLoaderRegistry.register(base=BaseModelType.QwenImage21, type=ModelType.TinyAutoencoder, format=ModelFormat.Checkpoint)[email protected](base=BaseModelType.Wan, type=ModelType.TinyAutoencoder, format=ModelFormat.Checkpoint)[email protected](base=BaseModelType.LTX2, type=ModelType.TinyAutoencoder, format=ModelFormat.Checkpoint)class TinyAutoencoderLoader(ModelLoader):- """Builds the TAESD decoder a checkpoint holds and loads it strictly, in either published layout."""+ """Builds the TAE decoder a checkpoint holds and loads it strictly, dropping any encoder."""def _load_model(self, config: AnyModelConfig, submodel_type: Optional[SubModelType] = None) -> AnyModel:if submodel_type is not None:@@ -52,10 +54,10 @@ class TinyAutoencoderLoader(ModelLoader):if not isinstance(config, TinyAutoencoder_Checkpoint_Config_Base):raise ValueError(f"Unexpected model config type: {type(config)}.")- state_dict = taesd_decoder_state_dict(_read_checkpoint(Path(config.path)))- layout = detect_taesd_layout(state_dict)+ checkpoint = _read_checkpoint(Path(config.path))+ layout = detect_tiny_autoencoder_layout(checkpoint)if layout is None:- raise ValueError(f"'{config.name}' is not a TAESD decoder checkpoint.")- decoder = build_taesd_decoder(layout)- decoder.load_state_dict(state_dict, strict=True)+ raise ValueError(f"'{config.name}' is not a supported Tiny AutoEncoder checkpoint.")+ decoder = build_tiny_autoencoder_decoder(layout)+ decoder.load_state_dict(tiny_autoencoder_state_dict(checkpoint, layout), strict=True)return decoder.to(self._torch_dtype).eval().requires_grad_(False)diff --git a/invokeai/backend/model_manager/starter_models/__init__.py b/invokeai/backend/model_manager/starter_models/__init__.pyindex 267d19d890..37786e1984 100644--- a/invokeai/backend/model_manager/starter_models/__init__.py+++ b/invokeai/backend/model_manager/starter_models/__init__.py@@ -231,6 +231,7 @@ from invokeai.backend.model_manager.starter_models.ltx_2 import (ltx2_5_text_encoder_bf16,ltx2_5_text_encoder_gguf_q4_k_m,ltx2_5_text_encoder_int8,+ taeltx2_3,)from invokeai.backend.model_manager.starter_models.minimax_h3 import (minimax_h3_components,@@ -355,6 +356,8 @@ from invokeai.backend.model_manager.starter_models.types import (StarterModelWithoutDependencies,)from invokeai.backend.model_manager.starter_models.wan import (+ taew2_1,+ taew2_2,wan_22_5b_vae,wan_22_a14b_vae,wan_22_i2v_a14b_diffusers,@@ -625,6 +628,8 @@ STARTER_MODELS: list[StarterModel] = [wan_22_t5_encoder,wan_22_a14b_vae,wan_22_5b_vae,+ taew2_1,+ taew2_2,wan_22_t2v_a14b_diffusers,wan_22_t2v_a14b_low_gguf_q4_k_m,wan_22_t2v_a14b_gguf_q4_k_m,@@ -662,6 +667,7 @@ STARTER_MODELS: list[StarterModel] = [ltx2_5_components,ltx2_5_prompt_enhancer,ltx2_5_duration_head,+ taeltx2_3,gemini_flash_image,gemini_pro_image_preview,gemini_3_1_flash_image_preview,diff --git a/invokeai/backend/model_manager/starter_models/ltx_2.py b/invokeai/backend/model_manager/starter_models/ltx_2.pyindex 9efe7cddbe..d2870532bd 100644--- a/invokeai/backend/model_manager/starter_models/ltx_2.py+++ b/invokeai/backend/model_manager/starter_models/ltx_2.py@@ -15,8 +15,11 @@ cost of the exception falls only on users who choose them.The two GGUF transformers come from a community conversion, ``vantagewithai/LTX-2.5-GGUF``, andthe GGUF text encoder from ``Rootport/Nz-Gemma4-12B-LTX25``; both are ungated as well.++The preview decoder is madebyollin's (MIT, from GitHub), not part of the LTX-2.5 release."""+from invokeai.backend.model_manager.starter_models.common import TINY_AUTOENCODER_NOTEfrom invokeai.backend.model_manager.starter_models.types import StarterModelfrom invokeai.backend.model_manager.taxonomy import (BaseModelType,@@ -208,3 +211,15 @@ ltx2_5_duration_head = StarterModel(type=ModelType.LTX2DurationHead,format=ModelFormat.Checkpoint,)+++# taeltx2_3 is upstream's decoder for LTX-2.3 and later. taeltx_2 (LTX-2) has the same network but+# scored 11.0 dB against the VAE on LTX-2.5 latents, below the linear preview's 26.6 (taeltx2_3: 37.8).+taeltx2_3 = StarterModel(+ name="TAELTX2.3 (LTX-2.5 preview decoder)",+ base=BaseModelType.LTX2,+ source="https://github.com/madebyollin/taehv/raw/62f7591f59dfbb4c3c02b7a621d180a9eeaba26c/safetensors/taeltx2_3.safetensors",+ description=f"Sharp live previews for LTX-2.5. {TINY_AUTOENCODER_NOTE} ~24MB",+ type=ModelType.TinyAutoencoder,+ format=ModelFormat.Checkpoint,+)diff --git a/invokeai/backend/model_manager/starter_models/wan.py b/invokeai/backend/model_manager/starter_models/wan.pyindex c2fba2fae7..a26d570f59 100644--- a/invokeai/backend/model_manager/starter_models/wan.py+++ b/invokeai/backend/model_manager/starter_models/wan.py@@ -1,6 +1,6 @@"""Wan starter models."""-from invokeai.backend.model_manager.starter_models.common import wan_22_t5_encoder+from invokeai.backend.model_manager.starter_models.common import TINY_AUTOENCODER_NOTE, wan_22_t5_encoderfrom invokeai.backend.model_manager.starter_models.types import StarterModelfrom invokeai.backend.model_manager.taxonomy import (BaseModelType,@@ -29,6 +29,27 @@ wan_22_5b_vae = StarterModel(format=ModelFormat.Checkpoint,)+# Filed under Wan, but a TAE serves every architecture denoising in its latent space: the Wan 2.1 VAE's+# is also Qwen-Image's, Krea-2's and Anima's, so this one record previews all four.+taew2_1 = StarterModel(+ name="TAEW2.1 (Wan 2.1 VAE preview decoder)",+ base=BaseModelType.Wan,+ source="https://github.com/madebyollin/taehv/raw/62f7591f59dfbb4c3c02b7a621d180a9eeaba26c/safetensors/taew2_1.safetensors",+ description="Sharp live previews for Wan 2.2 A14B, Qwen-Image, Krea-2 and Anima, which share the Wan 2.1 "+ f"VAE's latents. {TINY_AUTOENCODER_NOTE} ~23MB",+ type=ModelType.TinyAutoencoder,+ format=ModelFormat.Checkpoint,+)++taew2_2 = StarterModel(+ name="TAEW2.2 (Wan 2.2 TI2V-5B preview decoder)",+ base=BaseModelType.Wan,+ source="https://github.com/madebyollin/taehv/raw/62f7591f59dfbb4c3c02b7a621d180a9eeaba26c/safetensors/taew2_2.safetensors",+ description=f"Sharp live previews for Wan 2.2 TI2V-5B. {TINY_AUTOENCODER_NOTE} ~23MB",+ type=ModelType.TinyAutoencoder,+ format=ModelFormat.Checkpoint,+)+# T2V A14B — full Diffusers + GGUF expert pairs (Q4_K_M and Q8_0).# The high-noise GGUF is the "main" entry the user picks; the low-noise GGUF# is wired as the partner expert via the Advanced panel. Each high-noise entrydiff --git a/invokeai/backend/tiny_autoencoder/checkpoint.py b/invokeai/backend/tiny_autoencoder/checkpoint.pyindex c80a700bd1..1453f189c6 100644--- a/invokeai/backend/tiny_autoencoder/checkpoint.py+++ b/invokeai/backend/tiny_autoencoder/checkpoint.py@@ -1,7 +1,9 @@-"""Which TAESD decoder a checkpoint holds, and its weights in the decoder's own key layout.+"""Which Tiny AutoEncoder decoder a checkpoint holds, and its weights in the decoder's own key layout.-The one place that reads TAESD checkpoints, so identification and the loader cannot disagree about-what a file is. Two layouts are published:+The one place that reads TAE checkpoints, so identification and the loader cannot disagree about what+a file is. Two families are supported, TAESD (images) and TAEHV (video, decoded one frame at a time).++TAESD is published in two layouts:- **A, native**: decoder-only, keyed by the upstream `nn.Sequential` (`1.weight`, `3.conv.0.weight`,... `19.weight`). taesd, taesdxl, and ComfyUI's `vae_approx/*_decoder.pth`.@@ -9,25 +11,34 @@ what a file is. Two layouts are published:diffusers' `DecoderTiny` keeps the `Clamp` out of its Sequential and applies it in `forward`, so itsindex N is native N+1. taesd3, taef1, taef2, taeqi2_1.-Everything is checked after normalising to layout A. A file is a TAESD decoder only if its keys and-shapes are exactly those of the decoder `build_taesd_decoder` builds for it, which is also what the-loader's strict load requires: identification never accepts a file the loader would refuse.+TAEHV files hold `encoder.N.*` and `decoder.N.*`, keyed by the upstream Sequentials. The decoder's+shapes give its latent width, output patch size and temporal strides, but not which model's latents it+was trained on: taehv (HunyuanVideo), taecvx (CogVideoX) and taew2_1 (Wan 2.1) share one network.+Identification settles that by name or base override (`configs/tiny_autoencoder.py`).++Everything is checked after normalising to the decoder's own keys. A file is a TAE decoder only if its+keys and shapes are exactly those of the decoder built for its layout, which is also what the loader's+strict load requires: identification never accepts a file the loader would refuse."""+import mathfrom collections.abc import Mappingfrom dataclasses import dataclassfrom typing import Any, Literalimport torch+from invokeai.backend.tiny_autoencoder.decoder import TinyAutoencoderDecoder+from invokeai.backend.tiny_autoencoder.taehv import TaehvDecoderfrom invokeai.backend.tiny_autoencoder.taesd import Decoder, F16Decoder, TaesdDecoderTaesdArch = Literal["default", "flux_2", "f16"]+TinyAutoencoderArch = Literal["default", "flux_2", "f16", "taehv"]SAFETENSORS_SUFFIX = ".safetensors"PICKLE_SUFFIXES = frozenset({".pth", ".pt"})"""ComfyUI's `vae_approx/*_decoder.pth`: a plain tensor dict, read with `weights_only=True`."""-TAESD_CHECKPOINT_SUFFIXES = frozenset({SAFETENSORS_SUFFIX, *PICKLE_SUFFIXES})+TINY_AUTOENCODER_CHECKPOINT_SUFFIXES = frozenset({SAFETENSORS_SUFFIX, *PICKLE_SUFFIXES})"""The file types the loader reads. Identification refuses any other, though it could read their shapes."""_LAYOUT_B_DECODER_PREFIX = "decoder.layers."@@ -42,6 +53,10 @@ class TaesdLayout:image_channels: int"""3 for RGB, 4 for RGBA (TAEQI2.1)."""+ @property+ def spatial_compression(self) -> int:+ return 16 if self.arch == "f16" else 8+def taesd_decoder_state_dict(sd: Mapping[str, Any]) -> dict[str, Any]:"""The decoder's weights keyed by the native Sequential (layout A), whichever layout `sd` is in.@@ -95,9 +110,9 @@ def _candidate_layout(sd: Mapping[str, Any]) -> TaesdLayout | None:return None-def _decoder_shapes(layout: TaesdLayout) -> dict[str, tuple[int, ...]]:+def _decoder_shapes(layout: "TinyAutoencoderLayout") -> dict[str, tuple[int, ...]]:with torch.device("meta"):- decoder = build_taesd_decoder(layout)+ decoder = build_tiny_autoencoder_decoder(layout)return {key: tuple(value.shape) for key, value in decoder.state_dict().items()}@@ -135,3 +150,95 @@ def is_tinier_taesd(sd: Mapping[str, Any]) -> bool:and depthwise == (first[0], 1, 7, 7)and "19.weight" in normalised)+++@dataclass(frozen=True)+class TaehvLayout:+ latent_channels: int+ patch_size: int+ """Output pixel-shuffle patch: 1, 2 or 4, for 8x, 16x or 32x spatial compression."""+ time_upscale: tuple[bool, bool, bool]+ """Whether each of the three TGrow stages doubles the frame count."""++ @property+ def arch(self) -> Literal["taehv"]:+ return "taehv"++ @property+ def spatial_compression(self) -> int:+ return 8 * self.patch_size+++TAEW2_1 = TaehvLayout(latent_channels=16, patch_size=1, time_upscale=(False, True, True))+"""taew2_1 (Wan 2.1 VAE). taehv and taecvx share this network for other models' latents."""+TAEW2_2 = TaehvLayout(latent_channels=48, patch_size=2, time_upscale=(False, True, True))+"""taew2_2 (Wan 2.2 TI2V-5B VAE)."""+TAELTX2_3 = TaehvLayout(latent_channels=128, patch_size=4, time_upscale=(True, True, True))+"""taeltx2_3 (LTX-2.3 and later VAEs). taeltx_2 (LTX-2) has the same network but decodes LTX-2.5 latents worse+than the linear preview; identification refuses it by name."""++SUPPORTED_TAEHV_LAYOUTS = frozenset({TAEW2_1, TAEW2_2, TAELTX2_3})+"""The TAEHV networks a supported base can use. taeh3 (24 channels) is left to MiniMax H3's own preview+path, and taehv1_5 (32 channels) decodes latents no InvokeAI architecture denoises in."""++_TAEHV_TGROW_INDICES = (7, 13, 19)+++def taehv_decoder_state_dict(sd: Mapping[str, Any]) -> dict[str, Any]:+ """The decoder's weights: everything but the encoder, so a strict load refuses anything extra."""+ return {key: value for key, value in sd.items() if not (isinstance(key, str) and key.startswith("encoder."))}+++def build_taehv_decoder(layout: TaehvLayout) -> TaehvDecoder:+ return TaehvDecoder(layout.latent_channels, patch_size=layout.patch_size, time_upscale=layout.time_upscale)+++def _candidate_taehv_layout(sd: Mapping[str, Any]) -> TaehvLayout | None:+ first, last = _shape(sd, "decoder.1.weight"), _shape(sd, "decoder.22.weight")+ if first is None or last is None or len(first) != 4 or first[0] != 256 or first[2:] != (3, 3):+ return None+ patch_size = math.isqrt(last[0] // 3)+ if 3 * patch_size**2 != last[0]:+ return None+ strides = []+ for index in _TAEHV_TGROW_INDICES:+ grow = _shape(sd, f"decoder.{index}.conv.weight")+ if grow is None or len(grow) != 4 or grow[0] not in (grow[1], 2 * grow[1]):+ return None+ strides.append(grow[0] == 2 * grow[1])+ return TaehvLayout(+ latent_channels=first[1], patch_size=patch_size, time_upscale=(strides[0], strides[1], strides[2])+ )+++def detect_taehv_layout(sd: Mapping[str, Any]) -> TaehvLayout | None:+ """The supported TAEHV decoder `sd` holds, or None if it is not exactly one.++ Accepts a state dict on the `meta` device. None for taeh3 and other TAEHV networks no supported base+ uses, the "super" decoders, TAESD checkpoints, and a truncated or extended TAEHV file.+ """+ if "decoder.1.weight" not in sd or "decoder.22.weight" not in sd:+ return None+ layout = _candidate_taehv_layout(sd)+ if layout not in SUPPORTED_TAEHV_LAYOUTS:+ return None+ normalised = taehv_decoder_state_dict(sd)+ actual = {key: _shape(normalised, key) for key in normalised}+ return layout if actual == _decoder_shapes(layout) else None+++TinyAutoencoderLayout = TaesdLayout | TaehvLayout+++def detect_tiny_autoencoder_layout(sd: Mapping[str, Any]) -> TinyAutoencoderLayout | None:+ """The supported TAE decoder `sd` holds, of either family, or None."""+ return detect_taesd_layout(sd) or detect_taehv_layout(sd)+++def tiny_autoencoder_state_dict(sd: Mapping[str, Any], layout: TinyAutoencoderLayout) -> dict[str, Any]:+ """`sd` keyed as the decoder built for `layout` expects."""+ return taesd_decoder_state_dict(sd) if isinstance(layout, TaesdLayout) else taehv_decoder_state_dict(sd)+++def build_tiny_autoencoder_decoder(layout: TinyAutoencoderLayout) -> TinyAutoencoderDecoder:+ return build_taesd_decoder(layout) if isinstance(layout, TaesdLayout) else build_taehv_decoder(layout)diff --git a/invokeai/backend/tiny_autoencoder/decoder.py b/invokeai/backend/tiny_autoencoder/decoder.pynew file mode 100644index 0000000000..a73f0b04db--- /dev/null+++ b/invokeai/backend/tiny_autoencoder/decoder.py@@ -0,0 +1,35 @@+"""What preview rendering needs from a Tiny AutoEncoder decoder, whichever family it belongs to."""++from typing import Final++import torch+from torch import nn++PREVIEW_FIXED_ALLOWANCE_BYTES: Final = 5 * 2**20+"""What every preview decode's working-memory bound adds whatever its size: the small allocations beside the+activations and the workspace. On an RTX 4090 the largest came from TAEF2, whose midblock pooling adds its own: 1.07 MiB+at its 1024 cap and up to 4.07 MiB with the cap off (a 2048x2048 decode peaked at 2564.07 MiB against 2560)."""+++class TinyAutoencoderDecoder(nn.Module):+ """A TAE decoder: `(B, latent_channels, h, w)` latents in, `(B, image channels, H, W)` images out.++ `H` and `W` are `h` and `w` times `spatial_compression`; values are about [0, 1], and callers clamp.+ Video decoders (TAEHV) decode each latent as a single frame, and a window of latent frames through+ `decode_window`.+ """++ latent_channels: int+ spatial_compression: int+ max_preview_edge: int+ """Longest preview edge, in pixels, this decoder renders; a larger latent is downsampled first."""++ def preview_working_memory_bytes(self, height: int, width: int, frames: int) -> int:+ """What decoding a `(height, width)` latent, or a window of `frames` latent frames, takes on the compute device+ besides the weights: an upper bound on its live activations and its convolutions' workspace, at the+ decoder's element size, plus `PREVIEW_FIXED_ALLOWANCE_BYTES`."""+ raise NotImplementedError++ def decode_window(self, window: torch.Tensor) -> torch.Tensor:+ """The image of the last frame of a `(B, C, T, h, w)` latent window, the earlier ones as its context."""+ raise ValueError(f"{type(self).__name__} decodes single latents, not a (B, C, T, h, w) window of latent frames")diff --git a/invokeai/backend/tiny_autoencoder/preview.py b/invokeai/backend/tiny_autoencoder/preview.pyindex e644519f0d..2c01a5b8ee 100644--- a/invokeai/backend/tiny_autoencoder/preview.py+++ b/invokeai/backend/tiny_autoencoder/preview.py@@ -10,36 +10,7 @@ from PIL import Imagefrom invokeai.backend.architectures import LatentSpace, latent_space_with_channelsfrom invokeai.backend.model_manager.configs.tiny_autoencoder import TinyAutoencoder_Checkpoint_Config_Base-from invokeai.backend.tiny_autoencoder.taesd import TaesdDecoder--MAX_PREVIEW_EDGE: Final = 1024-"""Longest edge of a TAE preview, in pixels. Bounds the decode's memory and the frame's payload.--At 1024 a decode costs ~640 MiB of VRAM for the 8x TAEs (~160 MiB for TAEQI2.1) and ~25 ms (RTX 4090,-fp16) at any generation size; uncapped, 2048 costs ~2.5 GiB and ~100 ms. Decoding at full size and then-scaling down would look better (SDXL 36.3 vs 30.7 dB against the VAE) but carries that uncapped cost, which-is why the latent is area-downsampled before the decode instead.-"""--_LAST_STAGE_CHANNELS: Final = 64-"""Width of a TAESD decoder's full-resolution stage, the last `Block` and the convolution before it."""--_LIVE_ACTIVATIONS: Final = 3-"""Full-resolution activations a TAESD decode holds at once, read off the vendored decoder.--The peak is in the last `Block`, the only one at full resolution. Its input stays referenced while its conv branch-runs, and `nn.ReLU` is not in place, so each layer of the branch has its own input and output live next to the block's-input: three tensors. Adding the branch's output to the input (the skip is an identity) and fusing the sum holds three-again. Every earlier stage runs at half resolution or less. TAEQI2.1's last stage runs at half resolution and holds a-quarter of this; the bound reserves it the same.-"""--_CONV_WORKSPACE_ACTIVATIONS: Final = 2-"""The convolutions' workspace on top, in activation-sized buffers. Measured, and it depends on the algorithm the-backend picks: on an RTX 4090 in fp16, `max_memory_allocated` grew by 640 MiB over a 1024x1024 decode, five-activations, two more than the structure holds.-"""-+from invokeai.backend.tiny_autoencoder.decoder import TinyAutoencoderDecoder_POOLING_NEEDS_DIVISIBLE_SIZES: Final = frozenset({"mps"})"""Device types whose adaptive average pooling, behind `F.interpolate(mode="area")`, refuses an output size that does@@ -48,26 +19,26 @@ not divide the input ("input sizes must be divisible by output sizes", pytorch#9TinyAutoencoderConfig = TypeVar("TinyAutoencoderConfig", bound=TinyAutoencoder_Checkpoint_Config_Base)-def _preview_latent_size(decoder: TaesdDecoder, height: int, width: int) -> tuple[int, int]:- """The latent size a `(height, width)` latent is decoded at: downsampled until the image fits `MAX_PREVIEW_EDGE`."""+def _preview_latent_size(decoder: TinyAutoencoderDecoder, height: int, width: int) -> tuple[int, int]:+ """The latent size a `(height, width)` latent is decoded at: downsampled until the image fits the decoder's+ `max_preview_edge`."""longest_edge = max(height, width) * decoder.spatial_compression- if longest_edge <= MAX_PREVIEW_EDGE:+ if longest_edge <= decoder.max_preview_edge:return height, width- scale = MAX_PREVIEW_EDGE / longest_edge+ scale = decoder.max_preview_edge / longest_edgereturn max(1, math.floor(height * scale)), max(1, math.floor(width * scale))-def decode_working_memory_bytes(decoder: TaesdDecoder, sample: torch.Tensor) -> int:- """The working memory `decode_preview(decoder, sample)` needs on its device besides the decoder's weights.+def decode_working_memory_bytes(decoder: TinyAutoencoderDecoder, sample: torch.Tensor) -> int:+ """The working memory `decode_preview(decoder, sample)` needs on its device besides the decoder's weights: the+ decoder's own bound (`preview_working_memory_bytes`) at the capped size, for every latent frame of a window.- The live activations plus the convolutions' workspace, at the capped output size and the decoder's element size:- 640 MiB at 1024x1024 in fp16. The cache's working-memory floor (`device_working_mem_gb`, 3 GB by default) covers- it, so the reservation matters only where that floor is set lower.+ The cache's working-memory floor (`device_working_mem_gb`, 3 GB by default) covers every supported decoder's, so+ the reservation matters only where that floor is set lower."""height, width = _preview_latent_size(decoder, *sample.shape[-2:])- activation_bytes = height * width * decoder.spatial_compression**2 * _LAST_STAGE_CHANNELS- activation_bytes *= next(decoder.parameters()).element_size()- return (_LIVE_ACTIVATIONS + _CONV_WORKSPACE_ACTIVATIONS) * activation_bytes+ frames = sample.shape[2] if sample.dim() == 5 else 1+ return decoder.preview_working_memory_bytes(height, width, frames)def _area_downsample(latents: torch.Tensor, size: tuple[int, int]) -> torch.Tensor:@@ -79,12 +50,16 @@ def _area_downsample(latents: torch.Tensor, size: tuple[int, int]) -> torch.Tensreturn F.interpolate(latents, size=size, mode="area")-def decode_preview(decoder: TaesdDecoder, sample: torch.Tensor, device: torch.device | None = None) -> Image.Image:- """Decode the first latent of `sample` into an RGB preview no larger than `MAX_PREVIEW_EDGE`.+def decode_preview(+ decoder: TinyAutoencoderDecoder, sample: torch.Tensor, device: torch.device | None = None+) -> Image.Image:+ """Decode the first latent of `sample` into an RGB preview no larger than `decoder.max_preview_edge`.- `sample` is `(C, h, w)` or `(B, C, h, w)` in the decoder's latent space. A latent whose decode would- exceed the cap is area-downsampled first, which is far cheaper than decoding at full size and scaling- the image. Alpha, where the decoder has it, is dropped.+ `sample` is `(C, h, w)` or `(B, C, h, w)` in the decoder's latent space, or a `(B, C, T, h, w)` window+ of latent frames, which a video decoder renders as its last frame with the earlier ones as temporal+ context (a TAESD decoder refuses it). A latent whose decode would exceed the cap is area-downsampled+ first, which is far cheaper than decoding at full size and scaling the image. Alpha, where the decoder+ has it, is dropped.The decode runs on `device`, which a caller holding the model through the model cache passes as thecache's compute device: a partially loaded decoder keeps some weights elsewhere, so its parameters@@ -93,8 +68,10 @@ def decode_preview(decoder: TaesdDecoder, sample: torch.Tensor, device: torch.de"""if sample.dim() == 3:sample = sample.unsqueeze(0)- elif sample.dim() != 4:- raise ValueError(f"expected a (C, h, w) or (B, C, h, w) latent, got shape {tuple(sample.shape)}")+ elif sample.dim() not in (4, 5):+ raise ValueError(+ f"expected a (C, h, w) or (B, C, h, w) latent or a (B, C, T, h, w) window, got shape {tuple(sample.shape)}"+ )if sample.shape[1] != decoder.latent_channels:raise ValueError(f"the decoder reads {decoder.latent_channels} latent channels, the sample has {sample.shape[1]}"@@ -105,9 +82,16 @@ def decode_preview(decoder: TaesdDecoder, sample: torch.Tensor, device: torch.delatents = sample[0:1].to(device=device or parameter.device, dtype=parameter.dtype)size = _preview_latent_size(decoder, *latents.shape[-2:])if size != tuple(latents.shape[-2:]):- latents = _area_downsample(latents, size)- image = decoder(latents)[0, :3].clamp(0, 1)- pixels = image.mul(255).round().to(torch.uint8).permute(1, 2, 0).cpu()+ if latents.dim() == 5:+ # A window's frames are folded into the batch, so they are pooled in space only and through+ # the same 2-D path as single latents (3-D adaptive pooling is not verified on every backend).+ frames = latents.transpose(1, 2)+ pooled = _area_downsample(frames.flatten(0, 1), size)+ latents = pooled.unflatten(0, frames.shape[:2]).transpose(1, 2)+ else:+ latents = _area_downsample(latents, size)+ image = decoder.decode_window(latents) if latents.dim() == 5 else decoder(latents)+ pixels = image[0, :3].clamp(0, 1).mul(255).round().to(torch.uint8).permute(1, 2, 0).cpu()return Image.fromarray(pixels.numpy())diff --git a/invokeai/backend/tiny_autoencoder/taehv.py b/invokeai/backend/tiny_autoencoder/taehv.pynew file mode 100644index 0000000000..9809336194--- /dev/null+++ b/invokeai/backend/tiny_autoencoder/taehv.py@@ -0,0 +1,185 @@+"""Tiny AutoEncoder for Hunyuan Video (TAEHV): the decoder half, used for denoising previews.++Adapted from madebyollin's TAEHV, pinned to:+https://github.com/madebyollin/taehv/blob/62f7591f59dfbb4c3c02b7a621d180a9eeaba26c/taehv.py++Kept: `conv`, `Clamp`, `MemBlock`, `TGrow`, the base decoder `nn.Sequential`, the parallel+memory-block application and `decode_video`'s trim. Left out: the encoder, the "super" decoder+(`SuperMemBlock`), the sequential and streaming paths, and `patch_tgrow_layers`, which no supported+checkpoint needs. The `decoder.N` indices are the state-dict contract with the released checkpoints:+do not reorder, insert or remove layers.++Original license:++MIT License++Copyright (c) 2025 Ollin Boer Bohan++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.+"""++import math+from typing import Final++import torch+import torch.nn as nn+import torch.nn.functional as F++from invokeai.backend.tiny_autoencoder.decoder import PREVIEW_FIXED_ALLOWANCE_BYTES, TinyAutoencoderDecoder+++def conv(n_in: int, n_out: int, **kwargs) -> nn.Conv2d:+ return nn.Conv2d(n_in, n_out, 3, padding=1, **kwargs)+++class Clamp(nn.Module):+ def forward(self, x: torch.Tensor) -> torch.Tensor:+ return torch.tanh(x / 3) * 3+++class MemBlock(nn.Module):+ """Residual block whose conv also sees the previous frame's input (the temporal memory)."""++ def __init__(self, n_in: int, n_out: int):+ super().__init__()+ self.conv = nn.Sequential(+ conv(n_in * 2, n_out), nn.ReLU(inplace=True), conv(n_out, n_out), nn.ReLU(inplace=True), conv(n_out, n_out)+ )+ self.skip = nn.Conv2d(n_in, n_out, 1, bias=False) if n_in != n_out else nn.Identity()+ self.act = nn.ReLU(inplace=True)++ def forward(self, x: torch.Tensor, past: torch.Tensor) -> torch.Tensor:+ return self.act(self.conv(torch.cat([x, past], 1)) + self.skip(x))+++class TGrow(nn.Module):+ """Temporal upsampling: a 1x1 conv to `stride` channel groups, reshaped into frames."""++ def __init__(self, n_f: int, stride: int):+ super().__init__()+ self.stride = stride+ self.conv = nn.Conv2d(n_f, n_f * stride, 1, bias=False)++ def forward(self, x: torch.Tensor) -> torch.Tensor:+ _nt, c, h, w = x.shape+ return self.conv(x).reshape(-1, c, h, w)+++_LAST_STAGE_CHANNELS: Final = 64+"""Width of a TAEHV decoder's last two stages, which run at a half and at the full resolution."""++_LIVE_ACTIVATIONS_PER_FRAME: Final = 2.25+"""Full-resolution activations a TAEHV decode holds at once per output frame, read off the decoder below.++The peak is the convolution after the last `TGrow`: its input, every output frame at full resolution, and its output+are live together, two per output frame. The last memory block's `past` is still referenced: half the output frames+plus one frame of padding, at half resolution, at most a quarter more per output frame. Earlier stages hold less.+"""++_CONV_WORKSPACE_ACTIVATIONS_PER_FRAME: Final = 2+"""The convolutions' workspace on top, in activation-sized buffers per output frame. Measured with cuDNN on an RTX 4090+(fp16 and bf16, single latents and two-frame windows): one latent decoded at 1024x1024 grew `max_memory_allocated` by+2145 MiB for taew2_1, 536 MiB for taew2_2 and 266 MiB for taeltx2_3, 16.75, 16.76 and 33.3 activations of their+full-resolution stage. Their structure holds 8.75, 8.75 and 17.25 (four, four and eight output frames): two more per+output frame, and a two-frame window takes twice that. It depends on the algorithm the backend picks and is unmeasured+on MIOpen, MPS and XPU; there, as everywhere at the default settings, the 3 GB `device_working_mem_gb` floor still+covers the whole bound.+"""+++class TaehvDecoder(TinyAutoencoderDecoder):+ """The base TAEHV decoder for one latent space.++ Called as a module, it decodes `(B, C, h, w)` latents as single-frame videos and returns one RGB+ frame each; `decode_window` returns the last frame of a window of latent frames. `decode_video`+ decodes `(N, T, C, h, w)` latents as upstream does.+ """++ def __init__(+ self,+ latent_channels: int,+ patch_size: int = 1,+ time_upscale: tuple[bool, bool, bool] = (False, True, True),+ space_upscale: tuple[bool, bool, bool] = (True, True, True),+ ):+ super().__init__()+ n_f = (256, 128, 64, 64)+ t = [2 if up else 1 for up in time_upscale]+ s = [2 if up else 1 for up in space_upscale]+ self.decoder = nn.Sequential(+ Clamp(), conv(latent_channels, n_f[0]), nn.ReLU(inplace=True),+ MemBlock(n_f[0], n_f[0]), MemBlock(n_f[0], n_f[0]), MemBlock(n_f[0], n_f[0]), nn.Upsample(scale_factor=s[0]), TGrow(n_f[0], t[0]), conv(n_f[0], n_f[1], bias=False),+ MemBlock(n_f[1], n_f[1]), MemBlock(n_f[1], n_f[1]), MemBlock(n_f[1], n_f[1]), nn.Upsample(scale_factor=s[1]), TGrow(n_f[1], t[1]), conv(n_f[1], n_f[2], bias=False),+ MemBlock(n_f[2], n_f[2]), MemBlock(n_f[2], n_f[2]), MemBlock(n_f[2], n_f[2]), nn.Upsample(scale_factor=s[2]), TGrow(n_f[2], t[2]), conv(n_f[2], n_f[3], bias=False),+ nn.ReLU(inplace=True), conv(n_f[3], 3 * patch_size**2),+ ) # fmt: skip+ self.latent_channels = latent_channels+ self.patch_size = patch_size+ self.spatial_compression = s[0] * s[1] * s[2] * patch_size+ self.t_upscale = t[0] * t[1] * t[2]+ self.frames_to_trim = self.t_upscale - 1+ # Every latent frame decodes `t_upscale` frames through the full-resolution stages, which is what an+ # 8x decoder pays for. Measured for one latent (RTX 4090, fp16, `decode_preview`): taew2_1 needs+ # 2145 MiB and 63 ms at 1024 but 536 MiB and 22 ms at 512; the 16x and 32x decoders run those stages+ # at a half or a quarter of the edge and stay at 536 MiB (taew2_2) and 266 MiB (taeltx2_3) at 1024,+ # under TAESD's 640 MiB. A window of latent frames costs about that per frame: Wan video's+ # two-frame window doubles the memory (see `PREVIEW_LATENT_WINDOW` in `wan_video_denoise.py`).+ self.max_preview_edge = 512 if patch_size == 1 else 1024++ def preview_working_memory_bytes(self, height: int, width: int, frames: int) -> int:+ """2181 MiB for taew2_1 at 1024x1024 in fp16, 549 MiB at its 512 cap, the activations and workspace again per+ latent frame of a window."""+ output_frames = frames * self.t_upscale+ stage_pixels = height * width * (self.spatial_compression // self.patch_size) ** 2+ activation_bytes = _LAST_STAGE_CHANNELS * stage_pixels * next(self.parameters()).element_size()+ per_frame = _LIVE_ACTIVATIONS_PER_FRAME + _CONV_WORKSPACE_ACTIVATIONS_PER_FRAME+ return math.ceil(per_frame * output_frames * activation_bytes) + PREVIEW_FIXED_ALLOWANCE_BYTES++ def _decode_frames(self, x: torch.Tensor) -> torch.Tensor:+ """`(N, T, C, h, w)` latents to `(N, T * t_upscale, 3, H, W)` frames in [0, 1], untrimmed.++ Parallel over time: each memory block sees the previous frame's input, frame 0 sees zeros.+ """+ n = x.shape[0]+ x = x.flatten(0, 1)+ for block in self.decoder:+ if isinstance(block, MemBlock):+ nt, c, h, w = x.shape+ t = nt // n+ past = F.pad(x.view(n, t, c, h, w), (0, 0, 0, 0, 0, 0, 1, 0))[:, :t].reshape(x.shape)+ x = block(x, past)+ else:+ x = block(x)+ frames = F.pixel_shuffle(x, self.patch_size).clamp_(0, 1)+ return frames.view(n, -1, *frames.shape[1:])++ def decode_video(self, latents: torch.Tensor) -> torch.Tensor:+ """`(N, T, C, h, w)` latents to `(N, T * t_upscale - frames_to_trim, 3, H, W)` frames.++ The first `frames_to_trim` outputs are causal warm-up that the reference VAEs do not produce.+ """+ return self._decode_frames(latents)[:, self.frames_to_trim :]++ def decode_window(self, window: torch.Tensor) -> torch.Tensor:+ """The last output frame of a `(B, C, T, h, w)` latent window, decoded after the frames before it."""+ return self.decode_video(window.transpose(1, 2))[:, -1]++ def forward(self, latents: torch.Tensor) -> torch.Tensor:+ # One latent frame decodes to `t_upscale` frames, of which exactly one survives the trim.+ return self.decode_window(latents.unsqueeze(2))diff --git a/invokeai/backend/tiny_autoencoder/taesd.py b/invokeai/backend/tiny_autoencoder/taesd.pyindex a704b9f4c1..0b97a83485 100644--- a/invokeai/backend/tiny_autoencoder/taesd.py+++ b/invokeai/backend/tiny_autoencoder/taesd.py@@ -37,9 +37,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE."""+from typing import Final+import torchimport torch.nn as nn+from invokeai.backend.tiny_autoencoder.decoder import PREVIEW_FIXED_ALLOWANCE_BYTES, TinyAutoencoderDecoder+def conv(n_in: int, n_out: int, **kwargs) -> nn.Conv2d:return nn.Conv2d(n_in, n_out, 3, padding=1, **kwargs)@@ -72,13 +76,45 @@ class Block(nn.Module):return self.fuse(self.conv(x) + self.skip(x))-class TaesdDecoder(nn.Sequential):+_LAST_STAGE_CHANNELS: Final = 64+"""Width of a TAESD decoder's full-resolution stage, the last `Block` and the convolution before it."""++_LIVE_ACTIVATIONS: Final = 3+"""Full-resolution activations a TAESD decode holds at once, read off the decoder above.++The peak is in the last `Block`, the only one at full resolution. Its input stays referenced while its conv branch+runs, and `nn.ReLU` is not in place, so each layer of the branch has its own input and output live next to the block's+input: three tensors. Adding the branch's output to the input (the skip is an identity) and fusing the sum holds three+again. Every earlier stage runs at half resolution or less. TAEQI2.1's last stage runs at half resolution and holds a+quarter of this; the bound reserves it the same.+"""++_CONV_WORKSPACE_ACTIVATIONS: Final = 2+"""The convolutions' workspace on top, in activation-sized buffers. Measured with cuDNN on an RTX 4090 (fp16 and bf16):+`max_memory_allocated` grew by 640 MiB over a 1024x1024 decode, five activations, two more than the structure holds.+It depends on the algorithm the backend picks and is unmeasured on MIOpen, MPS and XPU; there, as everywhere at the+default settings, the 3 GB `device_working_mem_gb` floor still covers the whole bound.+"""+++class TaesdDecoder(TinyAutoencoderDecoder, nn.Sequential):"""An upstream decoder `nn.Sequential`, and what its input and output look like."""def __init__(self, *layers: nn.Module, latent_channels: int, spatial_compression: int):super().__init__(*layers)self.latent_channels = latent_channelsself.spatial_compression = spatial_compression+ # At 1024 a decode costs ~640 MiB of VRAM for the 8x TAEs (~160 MiB for TAEQI2.1) and ~25 ms (RTX+ # 4090, fp16) at any generation size; uncapped, 2048 costs ~2.5 GiB and ~100 ms. Decoding at full+ # size and scaling down would look better (SDXL 36.3 vs 30.7 dB against the VAE) but carries that+ # uncapped cost, so `decode_preview` area-downsamples the latent instead.+ self.max_preview_edge = 1024++ def preview_working_memory_bytes(self, height: int, width: int, frames: int) -> int:+ """645 MiB at 1024x1024 in fp16. `frames` is always 1: a TAESD decoder decodes no windows."""+ pixels = height * width * self.spatial_compression**2+ activation_bytes = _LAST_STAGE_CHANNELS * pixels * next(self.parameters()).element_size()+ return (_LIVE_ACTIVATIONS + _CONV_WORKSPACE_ACTIVATIONS) * activation_bytes + PREVIEW_FIXED_ALLOWANCE_BYTESdef Decoder(latent_channels: int = 4, use_midblock_gn: bool = False, image_channels: int = 3) -> TaesdDecoder:diff --git a/invokeai/frontend/api/openapi.json b/invokeai/frontend/api/openapi.jsonindex c5abef0f9f..526641d067 100644--- a/invokeai/frontend/api/openapi.json+++ b/invokeai/frontend/api/openapi.json@@ -1625,6 +1625,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -2191,6 +2197,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -2757,6 +2769,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -3368,6 +3386,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -4006,6 +4030,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -5519,6 +5549,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -21289,6 +21325,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -64400,7 +64442,7 @@"tiny_autoencoder_previews": {"type": "boolean","title": "Tiny Autoencoder Previews",- "description": "Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs about 25 ms and 0.65 GB of transient VRAM on an RTX 4090; not recommended on CPU-only installs, where one takes about 2 s.",+ "description": "Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs a few tens of ms and up to about 1.1 GB of transient VRAM on an RTX 4090 (image decoders 0.15-0.65 GB, Wan video windows up to 1.1 GB); not recommended on CPU-only installs, where one takes about 2 s.","default": false},"attention_type": {@@ -64753,7 +64795,7 @@"additionalProperties": false,"type": "object","title": "InvokeAIAppConfig",- "description": "Invoke's global app configuration.\n\nTypically, you won't need to interact with this class directly. Instead, use the `get_config` function from `invokeai.app.services.config` to get a singleton config object.\n\nAttributes:\n host: IP address to bind to. Use `0.0.0.0` to serve to your local network.\n port: Port to bind to.\n allow_origins: Allowed CORS origins.\n allow_credentials: Allow CORS credentials.\n allow_methods: Methods allowed for CORS.\n allow_headers: Headers allowed for CORS.\n ssl_certfile: SSL certificate file for HTTPS. See https://www.uvicorn.dev/settings/#https.\n ssl_keyfile: SSL key file for HTTPS. See https://www.uvicorn.dev/settings/#https.\n show_donation_link: Show the Donate to InvokeAI link in the frontend menus.\n log_tokenization: Enable logging of parsed prompt tokens.\n patchmatch: Enable patchmatch inpaint code.\n models_dir: Path to the models directory.\n convert_cache_dir: Path to the converted models cache directory (DEPRECATED, but do not delete because it is needed for migration from previous versions).\n download_cache_dir: Path to the directory that contains dynamically downloaded models.\n legacy_conf_dir: Path to directory of legacy checkpoint config files.\n db_dir: Path to InvokeAI databases directory.\n db_url: URL of a MySQL 8.4+ or MariaDB 10.11+ database to use instead of the SQLite database in `db_dir`, e.g. `mariadb+pymysql://invokeai:[email protected]/invokeai`. Needs the `mysql` extra. One InvokeAI process uses a database at a time. Read at startup only.\n db_synchronous: SQLite durability setting. `full`, the default and what InvokeAI has always used, flushes every commit to disk. `normal` acknowledges commits without waiting for that flush - measured at roughly 12x shorter commits on an SSD - and cannot corrupt the database under WAL, which is why it is refused, with a warning, when WAL is unavailable for the database file. What `normal` gives up is the most recent transactions on a power loss or OS crash: a just-written image record or queue status, not the image file itself.<br>Valid values: `full`, `normal`\n outputs_dir: Path to directory for outputs.\n image_subfolder_strategy: Strategy for organizing images into subfolders. 'flat' stores all images in a single folder. 'date' organizes by YYYY/MM/DD. 'type' organizes by image category. 'hash' uses first 2 characters of UUID for filesystem performance.<br>Valid values: `flat`, `date`, `type`, `hash`\n custom_nodes_dir: Path to directory for custom nodes.\n style_presets_dir: Path to directory for style presets.\n prompt_files_dir: Path to the directory holding prompt list files readable by the Prompts from File node. The node cannot read outside this directory.\n workflow_thumbnails_dir: Path to directory for workflow thumbnails.\n log_handlers: Log handler. Valid options are \"console\", \"file=<path>\", \"syslog=path|address:host:port\", \"http=<url>\".\n log_format: Log format. Use \"plain\" for text-only, \"color\" for colorized output, \"legacy\" for 2.3-style logging and \"syslog\" for syslog-style.<br>Valid values: `plain`, `color`, `syslog`, `legacy`\n log_level: Emit logging messages at this level or higher.<br>Valid values: `debug`, `info`, `warning`, `error`, `critical`\n log_sql: Log SQL queries. `log_level` must be `debug` for this to do anything. Extremely verbose.\n log_level_network: Log level for network-related messages. 'info' and 'debug' are very verbose.<br>Valid values: `debug`, `info`, `warning`, `error`, `critical`\n use_memory_db: Use in-memory database. Useful for development.\n dev_reload: Automatically reload when Python sources are changed. Does not reload node definitions.\n profile_graphs: Enable graph profiling using `cProfile`.\n profile_prefix: An optional prefix for profile output files.\n profiles_dir: Path to profiles output directory.\n max_cache_ram_gb: The maximum amount of CPU RAM to use for model caching in GB. If unset, the limit will be configured based on the available RAM. In most cases, it is recommended to leave this unset.\n max_cache_vram_gb: The amount of VRAM to use for model caching in GB. If unset, the limit will be configured based on the available VRAM and the device_working_mem_gb. In most cases, it is recommended to leave this unset.\n reserve_vram_gb: The amount of VRAM (in GB) to subtract from the model cache's available memory budget. Defaults to 0.\n log_memory_usage: If True, a memory snapshot will be captured before and after every model cache operation, and the result will be logged (at debug level). There is a time cost to capturing the memory snapshots, so it is recommended to only enable this feature if you are actively inspecting the model cache's behaviour.\n model_cache_keep_alive_min: How long to keep models in cache after last use, in minutes. A value of 0 (the default) means models are kept in cache indefinitely. If no model generations occur within the timeout period, the model cache is cleared using the same logic as the 'Clear Model Cache' button.\n device_working_mem_gb: The amount of working memory to keep available on the compute device (in GB). Has no effect if running on CPU. If you are experiencing OOM errors, try increasing this value.\n enable_partial_loading: Enable partial loading of models. This enables models to run with reduced VRAM requirements (at the cost of slower speed) by streaming the model from RAM to VRAM as its used. In some edge cases, partial loading can cause models to run more slowly if they were previously being fully loaded into VRAM.\n keep_ram_copy_of_weights: Whether to keep a full RAM copy of a model's weights when the model is loaded in VRAM. Keeping a RAM copy increases average RAM usage, but speeds up model switching and LoRA patching (assuming there is sufficient RAM). Set this to False if RAM pressure is consistently high.\n offload_on_architecture_switch: When a session uses main models of another architecture than the previous one on the same GPU, move every model it does not use from VRAM to RAM before it runs. Models both sessions use stay. Switching back reloads the moved models from RAM, which costs a few seconds per switch when both architectures would have fit in VRAM together; turn this off if you alternate between such models.\n clear_vram_after_session: After every queue item (each image of a batch), move the models held in VRAM to RAM and return the freed memory to the GPU driver. The models stay cached in RAM; the next item reloads them from there, which costs a few seconds (more with keep_ram_copy_of_weights off). Changes nothing where VRAM is system memory (CPU, MPS, integrated GPUs). Turn this on if a generation that runs fine the first time runs out of memory, or slows down sharply because the GPU spills into shared memory, when it is repeated.\n fp8_compute: Keep ComfyUI 'scaled fp8' checkpoints quantized instead of dequantizing them at load, and run their matmuls on the fp8 tensor cores (requires an Ada/SM 8.9 or newer NVIDIA GPU, or a ROCm GPU that passes an fp8 matmul probe; falls back automatically otherwise). Speeds up denoising and keeps the transformer at fp8 size - FP8 Storage alone also keeps it at that size, without the speedup - but quantizes activations as well, so images will differ from previous versions at the same seed. Reproducibility also requires the model to be FULLY resident in VRAM: a layer whose weights are still in RAM falls back to the dequantized path, and since which layers are resident shifts from run to run, the same seed then yields visibly different images. For repeatable output, ensure the model loads at 100% (e.g. enable_partial_loading=false with enough free VRAM).\n fp8_compute_full_precision_hints: Honor the per-layer 'full_precision_matrix_mult' flags that some scaled-fp8 checkpoints ship. Those layers then dequantize on every forward instead of using the fp8 tensor cores, which can cost a large part of the fp8_compute speedup - on checkpoints that mark many layers, most of it. Set to false to run every quantized layer on the fp8 tensor cores, ignoring the producer's instruction; faster, but the marked layers were flagged as numerically sensitive, so quality may suffer. Only has an effect when fp8_compute is enabled.\n int8_compute: Run the matmuls of ComfyUI int8 builds quantized with convrot ('int8_tensorwise' with 'convrot') on the int8 tensor cores instead of dequantizing their weights on every forward (requires an NVIDIA GPU with compute capability 8.0 or newer and Triton; falls back automatically otherwise, including on AMD, Apple and Intel GPUs and the CPU). Speeds up denoising with these builds, but quantizes activations per token as well, so images will differ from the dequantized path at the same seed. The kernels are tuned once per layer shape and token-count bucket: about 35 seconds for the first image after enabling it, about 1-5 seconds for a later size in a new token-count bucket, cached on disk across restarts.\n ram: DEPRECATED: This setting is no longer used. It has been replaced by `max_cache_ram_gb`, but most users will not need to use this config since automatic cache size limits should work well in most cases. This config setting will be removed once the new model cache behavior is stable.\n vram: DEPRECATED: This setting is no longer used. It has been replaced by `max_cache_vram_gb`, but most users will not need to use this config since automatic cache size limits should work well in most cases. This config setting will be removed once the new model cache behavior is stable.\n lazy_offload: DEPRECATED: This setting is no longer used. Lazy-offloading is enabled by default. This config setting will be removed once the new model cache behavior is stable.\n pytorch_cuda_alloc_conf: Configure the Torch CUDA memory allocator. This will impact peak reserved VRAM usage and performance. Setting to \"backend:cudaMallocAsync\" works well on many systems. The optimal configuration is highly dependent on the system configuration (device type, VRAM, CUDA driver version, etc.), so must be tuned experimentally. Unset on a ROCm build of PyTorch on Windows, \"expandable_segments:True\" is used.\n device: Preferred execution device. `auto` will choose the device depending on the hardware platform and the installed torch capabilities.<br>Valid values: `auto`, `cpu`, `cuda`, `mps`, `xpu`, `cuda:N`, `xpu:N` (where N is a device number)\n precision: Floating point precision. `float16` will consume half the memory of `float32` but produce slightly lower-quality images. The `auto` setting will guess the proper precision based on your video card and operating system.<br>Valid values: `auto`, `float16`, `bfloat16`, `float32`\n rocm_aotriton_experimental: Use AOTriton's fused (flash and memory-efficient) attention kernels on AMD GPUs that PyTorch marks experimental for them, such as the RX 7600/7700/7800 series, Ryzen AI 300/Max and the RX 9060 series, by setting TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL. Without them, attention on those GPUs runs on the slower math kernel, which also needs far more memory. `auto` turns them on only with a ROCm 10 build of PyTorch, and only when every GPU used for generation is one they were measured correct on (so far gfx1200, the RX 9060 series); `on` and `off` decide for any build and GPU. A TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL value already set in the environment takes precedence. Has no effect on other GPUs.<br>Valid values: `auto`, `on`, `off`\n sequential_guidance: Whether to calculate guidance in serial instead of in parallel, lowering memory requirements.\n noise_dtype: The dtype seeded noise is drawn in for SD1.5/SDXL, SD3, FLUX.1, FLUX.2, CogView4 and the Z-Image seed variance enhancer. `float32` draws the same noise on every platform. `float16` is the half-precision draw of earlier versions: on macOS it keeps the images your seeds gave before this update; on Windows and Linux both values give (nearly) the same images, and images made before the update cannot be reproduced there.<br>Valid values: `float32`, `float16`\n wan_memory_optimization: Enable experimental Wan memory optimizations at the cost of slower generation.\n pid_memory_optimization: Enable experimental PiD decode memory optimizations. Roughly halves the peak activation memory of a PiD decode; in exchange the decoded image changes slightly, because neither the chunked pixel pathway nor the float32 sampler intermediates are bit-exact with the default path.\n tiny_autoencoder_previews: Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs about 25 ms and 0.65 GB of transient VRAM on an RTX 4090; not recommended on CPU-only installs, where one takes about 2 s.\n attention_type: Attention type.<br>Valid values: `auto`, `normal`, `xformers`, `sliced`, `torch-sdp`\n attention_slice_size: Slice size, valid when attention_type==\"sliced\".<br>Valid values: `auto`, `balanced`, `max`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`\n attention_backend: Attention kernel for the attention inside diffusion models. `auto` uses PyTorch's exact SDPA kernels ranked flash, cuDNN, memory-efficient, math, taking the first one the GPU and build support for each call; it never selects a quantized one. `sage` uses SageAttention 2 for the models listed in the SageAttention docs: faster, most at high resolutions and for video, but quantized, so images differ slightly from `auto` at the same seed. SageAttention is installed separately and needs an NVIDIA GPU with compute capability 8.0 or newer; masked attention, text encoders and VAEs keep PyTorch SDPA. `cudnn`, `flash`, `efficient` and `math` rank that PyTorch kernel first for all attention on CUDA and ROCm GPUs, ahead of the `auto` order. That is never exclusive: a call the kernel cannot serve runs on the next kernel, and the log reports that once per node type and reason (not for the PiD decoder, whose attention is ranked the same but not reported). `math` materializes the full attention score matrix, so it is slow and needs much more memory, which the working-memory estimates of most model families do not reserve, so generations can run out of memory; it is meant for debugging. Images can differ slightly between kernels.<br>Valid values: `auto`, `sage`, `cudnn`, `flash`, `efficient`, `math`\n force_tiled_decode: Whether to enable tiled VAE decode (reduces memory consumption with some performance penalty). A tiled decode is not pixel-identical to a single-pass one: a VAE decoder normalises and attends over the whole image, so the difference is spread across it rather than confined to the tile seams. Also tiles the encode. Read by the SD1.5/SDXL, FLUX.1, FLUX.2, Z-Image, Qwen-Image and Qwen-Image-2.1 VAE nodes, the Anima encode, the Z-Image control encode and the Krea-2 style reference; other model families ignore it.\n auto_tiled_decode: Decode large images in tiles when an untiled decode's estimated working memory would take most of the GPU's memory (FLUX.1, FLUX.2, Z-Image, Qwen-Image, Qwen-Image-2.1, Krea-2 and Wan decodes, and Qwen-Image-2.1 encodes). Turn off to decode untiled unless tiling is requested; the FLUX.1, FLUX.2 and Z-Image decodes then still retry tiled after running out of memory. Anima keeps tiling a decode too large for its GPU either way, because tiling is what makes that case fast there.\n pil_compress_level: The compress_level setting of PIL.Image.save(), used for PNG encoding. All settings are lossless. 0 = no compression, 1 = fastest with slightly larger filesize, 9 = slowest with smallest filesize. 1 is typically the best setting.\n max_queue_size: Maximum number of items in the session queue.\n session_queue_mode: Session queue mode. Use 'FIFO' for traditional first-in-first-out, or 'round_robin' to serve each user's jobs in turn. In single-user mode, FIFO is always used regardless of this setting.<br>Valid values: `FIFO`, `round_robin`\n clear_queue_on_startup: Empties session queue on startup. If true, disables `max_queue_history`.\n max_queue_history: Keep the last N completed, failed, and canceled queue items. Older items are deleted on startup. Set to 0 to prune all terminal items. Ignored if `clear_queue_on_startup` is true.\n allow_nodes: List of nodes to allow. Omit to allow all.\n deny_nodes: List of nodes to deny. Omit to deny none.\n node_cache_size: How many cached nodes to keep in memory.\n hashing_algorithm: Model hashing algorthim for model installs. 'blake3_multi' is best for SSDs. 'blake3_single' is best for spinning disk HDDs. 'random' disables hashing, instead assigning a UUID to models. Useful when using a memory db to reduce model installation time, or if you don't care about storing stable hashes for models. Alternatively, any other hashlib algorithm is accepted, though these are not nearly as performant as blake3.<br>Valid values: `blake3_multi`, `blake3_single`, `random`, `md5`, `sha1`, `sha224`, `sha256`, `sha384`, `sha512`, `blake2b`, `blake2s`, `sha3_224`, `sha3_256`, `sha3_384`, `sha3_512`, `shake_128`, `shake_256`\n remote_api_tokens: List of regular expression and token pairs used when downloading models from URLs. The download URL is tested against the regex, and if it matches, the token is provided in as a Bearer token.\n scan_models_on_startup: Scan the models directory on startup, registering orphaned models. This is typically only used in conjunction with `use_memory_db` for testing purposes.\n allow_private_download_urls: Allow the download queue to fetch from loopback, link-local and private-network addresses. Disabled by default so that a download URL cannot be used to reach services that are only reachable from the server. Enable this only if you install models from a mirror on your own network.\n download_proxy: Optional HTTP proxy for model downloads. The proxy must enforce the public-address policy because proxy-side DNS cannot be checked by InvokeAI.\n unsafe_disable_picklescan: UNSAFE. Disable the picklescan security check during model installation. Recommended only for development and testing purposes. This will allow arbitrary code execution during model installation, so should never be used in production.\n allow_unknown_models: Allow installation of models that we are unable to identify. If enabled, models will be marked as `unknown` in the database, and will not have any metadata associated with them. If disabled, unknown models will be rejected during installation.\n multiuser: Enable multiuser support. When disabled, the application runs in single-user mode using a default system account with administrator privileges. When enabled, requires user authentication and authorization.\n strict_password_checking: Enforce strict password requirements. When True, passwords must contain uppercase, lowercase, and numbers. When False (default), any password is accepted but its strength (weak/moderate/strong) is reported to the user.\n image_index_enabled: Maintain a semantic embedding index of gallery images and videos, used by the image map and semantic search features.\n image_index_model: Name of the installed CLIP Vision or SigLIP model used to embed gallery images and video thumbnails. Changing the model discards embeddings computed by the previous model.\n image_index_device: Set to `cpu` to compute image embeddings on the CPU with a service-local copy of the model - avoids VRAM use and lets indexing run during generations. Any other value is ignored: embeddings otherwise run on the model cache's device, pausing while generations are in progress.\n image_index_batch_size: Number of gallery items embedded per batch by the image index worker.\n external_alibabacloud_api_key: API key for Alibaba Cloud DashScope image generation.\n external_alibabacloud_base_url: Base URL override for Alibaba Cloud DashScope image generation.\n external_atlascloud_api_key: API key for Atlas Cloud image generation.\n external_atlascloud_base_url: Base URL override for Atlas Cloud image generation.\n external_gemini_api_key: API key for Gemini image generation.\n external_openai_api_key: API key for OpenAI image generation.\n external_gemini_base_url: Base URL override for Gemini image generation.\n external_openai_base_url: Base URL override for OpenAI image generation.\n external_seedream_api_key: API key for Seedream image generation.\n external_seedream_base_url: Base URL override for Seedream image generation.\n base_url: Public base path when running behind a reverse proxy under a sub-path, e.g. `/invoke`. Set only when the proxy PRESERVES the sub-path (the backend receives `/invoke/api/...`). Leave unset when the proxy strips the sub-path or when serving at the domain root.\n forwarded_allow_ips: Comma-separated list of IPs (or `*`) allowed to set X-Forwarded-* headers. Set to the reverse proxy's IP. Only used when `base_url` is set.\n http_compression_level: Compression level for gzipped HTTP API responses. 0 disables response compression entirely, 1 is fastest, 9 (the default) is smallest. Compression runs on the event loop and blocks the whole server while it works, and level 9 costs about 5.5x the time of level 1 for 0.4 percentage points of extra compression, so lowering this makes the app noticeably more responsive on large libraries. Set to 0 when a reverse proxy already compresses responses."+ "description": "Invoke's global app configuration.\n\nTypically, you won't need to interact with this class directly. Instead, use the `get_config` function from `invokeai.app.services.config` to get a singleton config object.\n\nAttributes:\n host: IP address to bind to. Use `0.0.0.0` to serve to your local network.\n port: Port to bind to.\n allow_origins: Allowed CORS origins.\n allow_credentials: Allow CORS credentials.\n allow_methods: Methods allowed for CORS.\n allow_headers: Headers allowed for CORS.\n ssl_certfile: SSL certificate file for HTTPS. See https://www.uvicorn.dev/settings/#https.\n ssl_keyfile: SSL key file for HTTPS. See https://www.uvicorn.dev/settings/#https.\n show_donation_link: Show the Donate to InvokeAI link in the frontend menus.\n log_tokenization: Enable logging of parsed prompt tokens.\n patchmatch: Enable patchmatch inpaint code.\n models_dir: Path to the models directory.\n convert_cache_dir: Path to the converted models cache directory (DEPRECATED, but do not delete because it is needed for migration from previous versions).\n download_cache_dir: Path to the directory that contains dynamically downloaded models.\n legacy_conf_dir: Path to directory of legacy checkpoint config files.\n db_dir: Path to InvokeAI databases directory.\n db_url: URL of a MySQL 8.4+ or MariaDB 10.11+ database to use instead of the SQLite database in `db_dir`, e.g. `mariadb+pymysql://invokeai:[email protected]/invokeai`. Needs the `mysql` extra. One InvokeAI process uses a database at a time. Read at startup only.\n db_synchronous: SQLite durability setting. `full`, the default and what InvokeAI has always used, flushes every commit to disk. `normal` acknowledges commits without waiting for that flush - measured at roughly 12x shorter commits on an SSD - and cannot corrupt the database under WAL, which is why it is refused, with a warning, when WAL is unavailable for the database file. What `normal` gives up is the most recent transactions on a power loss or OS crash: a just-written image record or queue status, not the image file itself.<br>Valid values: `full`, `normal`\n outputs_dir: Path to directory for outputs.\n image_subfolder_strategy: Strategy for organizing images into subfolders. 'flat' stores all images in a single folder. 'date' organizes by YYYY/MM/DD. 'type' organizes by image category. 'hash' uses first 2 characters of UUID for filesystem performance.<br>Valid values: `flat`, `date`, `type`, `hash`\n custom_nodes_dir: Path to directory for custom nodes.\n style_presets_dir: Path to directory for style presets.\n prompt_files_dir: Path to the directory holding prompt list files readable by the Prompts from File node. The node cannot read outside this directory.\n workflow_thumbnails_dir: Path to directory for workflow thumbnails.\n log_handlers: Log handler. Valid options are \"console\", \"file=<path>\", \"syslog=path|address:host:port\", \"http=<url>\".\n log_format: Log format. Use \"plain\" for text-only, \"color\" for colorized output, \"legacy\" for 2.3-style logging and \"syslog\" for syslog-style.<br>Valid values: `plain`, `color`, `syslog`, `legacy`\n log_level: Emit logging messages at this level or higher.<br>Valid values: `debug`, `info`, `warning`, `error`, `critical`\n log_sql: Log SQL queries. `log_level` must be `debug` for this to do anything. Extremely verbose.\n log_level_network: Log level for network-related messages. 'info' and 'debug' are very verbose.<br>Valid values: `debug`, `info`, `warning`, `error`, `critical`\n use_memory_db: Use in-memory database. Useful for development.\n dev_reload: Automatically reload when Python sources are changed. Does not reload node definitions.\n profile_graphs: Enable graph profiling using `cProfile`.\n profile_prefix: An optional prefix for profile output files.\n profiles_dir: Path to profiles output directory.\n max_cache_ram_gb: The maximum amount of CPU RAM to use for model caching in GB. If unset, the limit will be configured based on the available RAM. In most cases, it is recommended to leave this unset.\n max_cache_vram_gb: The amount of VRAM to use for model caching in GB. If unset, the limit will be configured based on the available VRAM and the device_working_mem_gb. In most cases, it is recommended to leave this unset.\n reserve_vram_gb: The amount of VRAM (in GB) to subtract from the model cache's available memory budget. Defaults to 0.\n log_memory_usage: If True, a memory snapshot will be captured before and after every model cache operation, and the result will be logged (at debug level). There is a time cost to capturing the memory snapshots, so it is recommended to only enable this feature if you are actively inspecting the model cache's behaviour.\n model_cache_keep_alive_min: How long to keep models in cache after last use, in minutes. A value of 0 (the default) means models are kept in cache indefinitely. If no model generations occur within the timeout period, the model cache is cleared using the same logic as the 'Clear Model Cache' button.\n device_working_mem_gb: The amount of working memory to keep available on the compute device (in GB). Has no effect if running on CPU. If you are experiencing OOM errors, try increasing this value.\n enable_partial_loading: Enable partial loading of models. This enables models to run with reduced VRAM requirements (at the cost of slower speed) by streaming the model from RAM to VRAM as its used. In some edge cases, partial loading can cause models to run more slowly if they were previously being fully loaded into VRAM.\n keep_ram_copy_of_weights: Whether to keep a full RAM copy of a model's weights when the model is loaded in VRAM. Keeping a RAM copy increases average RAM usage, but speeds up model switching and LoRA patching (assuming there is sufficient RAM). Set this to False if RAM pressure is consistently high.\n offload_on_architecture_switch: When a session uses main models of another architecture than the previous one on the same GPU, move every model it does not use from VRAM to RAM before it runs. Models both sessions use stay. Switching back reloads the moved models from RAM, which costs a few seconds per switch when both architectures would have fit in VRAM together; turn this off if you alternate between such models.\n clear_vram_after_session: After every queue item (each image of a batch), move the models held in VRAM to RAM and return the freed memory to the GPU driver. The models stay cached in RAM; the next item reloads them from there, which costs a few seconds (more with keep_ram_copy_of_weights off). Changes nothing where VRAM is system memory (CPU, MPS, integrated GPUs). Turn this on if a generation that runs fine the first time runs out of memory, or slows down sharply because the GPU spills into shared memory, when it is repeated.\n fp8_compute: Keep ComfyUI 'scaled fp8' checkpoints quantized instead of dequantizing them at load, and run their matmuls on the fp8 tensor cores (requires an Ada/SM 8.9 or newer NVIDIA GPU, or a ROCm GPU that passes an fp8 matmul probe; falls back automatically otherwise). Speeds up denoising and keeps the transformer at fp8 size - FP8 Storage alone also keeps it at that size, without the speedup - but quantizes activations as well, so images will differ from previous versions at the same seed. Reproducibility also requires the model to be FULLY resident in VRAM: a layer whose weights are still in RAM falls back to the dequantized path, and since which layers are resident shifts from run to run, the same seed then yields visibly different images. For repeatable output, ensure the model loads at 100% (e.g. enable_partial_loading=false with enough free VRAM).\n fp8_compute_full_precision_hints: Honor the per-layer 'full_precision_matrix_mult' flags that some scaled-fp8 checkpoints ship. Those layers then dequantize on every forward instead of using the fp8 tensor cores, which can cost a large part of the fp8_compute speedup - on checkpoints that mark many layers, most of it. Set to false to run every quantized layer on the fp8 tensor cores, ignoring the producer's instruction; faster, but the marked layers were flagged as numerically sensitive, so quality may suffer. Only has an effect when fp8_compute is enabled.\n int8_compute: Run the matmuls of ComfyUI int8 builds quantized with convrot ('int8_tensorwise' with 'convrot') on the int8 tensor cores instead of dequantizing their weights on every forward (requires an NVIDIA GPU with compute capability 8.0 or newer and Triton; falls back automatically otherwise, including on AMD, Apple and Intel GPUs and the CPU). Speeds up denoising with these builds, but quantizes activations per token as well, so images will differ from the dequantized path at the same seed. The kernels are tuned once per layer shape and token-count bucket: about 35 seconds for the first image after enabling it, about 1-5 seconds for a later size in a new token-count bucket, cached on disk across restarts.\n ram: DEPRECATED: This setting is no longer used. It has been replaced by `max_cache_ram_gb`, but most users will not need to use this config since automatic cache size limits should work well in most cases. This config setting will be removed once the new model cache behavior is stable.\n vram: DEPRECATED: This setting is no longer used. It has been replaced by `max_cache_vram_gb`, but most users will not need to use this config since automatic cache size limits should work well in most cases. This config setting will be removed once the new model cache behavior is stable.\n lazy_offload: DEPRECATED: This setting is no longer used. Lazy-offloading is enabled by default. This config setting will be removed once the new model cache behavior is stable.\n pytorch_cuda_alloc_conf: Configure the Torch CUDA memory allocator. This will impact peak reserved VRAM usage and performance. Setting to \"backend:cudaMallocAsync\" works well on many systems. The optimal configuration is highly dependent on the system configuration (device type, VRAM, CUDA driver version, etc.), so must be tuned experimentally. Unset on a ROCm build of PyTorch on Windows, \"expandable_segments:True\" is used.\n device: Preferred execution device. `auto` will choose the device depending on the hardware platform and the installed torch capabilities.<br>Valid values: `auto`, `cpu`, `cuda`, `mps`, `xpu`, `cuda:N`, `xpu:N` (where N is a device number)\n precision: Floating point precision. `float16` will consume half the memory of `float32` but produce slightly lower-quality images. The `auto` setting will guess the proper precision based on your video card and operating system.<br>Valid values: `auto`, `float16`, `bfloat16`, `float32`\n rocm_aotriton_experimental: Use AOTriton's fused (flash and memory-efficient) attention kernels on AMD GPUs that PyTorch marks experimental for them, such as the RX 7600/7700/7800 series, Ryzen AI 300/Max and the RX 9060 series, by setting TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL. Without them, attention on those GPUs runs on the slower math kernel, which also needs far more memory. `auto` turns them on only with a ROCm 10 build of PyTorch, and only when every GPU used for generation is one they were measured correct on (so far gfx1200, the RX 9060 series); `on` and `off` decide for any build and GPU. A TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL value already set in the environment takes precedence. Has no effect on other GPUs.<br>Valid values: `auto`, `on`, `off`\n sequential_guidance: Whether to calculate guidance in serial instead of in parallel, lowering memory requirements.\n noise_dtype: The dtype seeded noise is drawn in for SD1.5/SDXL, SD3, FLUX.1, FLUX.2, CogView4 and the Z-Image seed variance enhancer. `float32` draws the same noise on every platform. `float16` is the half-precision draw of earlier versions: on macOS it keeps the images your seeds gave before this update; on Windows and Linux both values give (nearly) the same images, and images made before the update cannot be reproduced there.<br>Valid values: `float32`, `float16`\n wan_memory_optimization: Enable experimental Wan memory optimizations at the cost of slower generation.\n pid_memory_optimization: Enable experimental PiD decode memory optimizations. Roughly halves the peak activation memory of a PiD decode; in exchange the decoded image changes slightly, because neither the chunked pixel pathway nor the float32 sampler intermediates are bit-exact with the default path.\n tiny_autoencoder_previews: Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs a few tens of ms and up to about 1.1 GB of transient VRAM on an RTX 4090 (image decoders 0.15-0.65 GB, Wan video windows up to 1.1 GB); not recommended on CPU-only installs, where one takes about 2 s.\n attention_type: Attention type.<br>Valid values: `auto`, `normal`, `xformers`, `sliced`, `torch-sdp`\n attention_slice_size: Slice size, valid when attention_type==\"sliced\".<br>Valid values: `auto`, `balanced`, `max`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`\n attention_backend: Attention kernel for the attention inside diffusion models. `auto` uses PyTorch's exact SDPA kernels ranked flash, cuDNN, memory-efficient, math, taking the first one the GPU and build support for each call; it never selects a quantized one. `sage` uses SageAttention 2 for the models listed in the SageAttention docs: faster, most at high resolutions and for video, but quantized, so images differ slightly from `auto` at the same seed. SageAttention is installed separately and needs an NVIDIA GPU with compute capability 8.0 or newer; masked attention, text encoders and VAEs keep PyTorch SDPA. `cudnn`, `flash`, `efficient` and `math` rank that PyTorch kernel first for all attention on CUDA and ROCm GPUs, ahead of the `auto` order. That is never exclusive: a call the kernel cannot serve runs on the next kernel, and the log reports that once per node type and reason (not for the PiD decoder, whose attention is ranked the same but not reported). `math` materializes the full attention score matrix, so it is slow and needs much more memory, which the working-memory estimates of most model families do not reserve, so generations can run out of memory; it is meant for debugging. Images can differ slightly between kernels.<br>Valid values: `auto`, `sage`, `cudnn`, `flash`, `efficient`, `math`\n force_tiled_decode: Whether to enable tiled VAE decode (reduces memory consumption with some performance penalty). A tiled decode is not pixel-identical to a single-pass one: a VAE decoder normalises and attends over the whole image, so the difference is spread across it rather than confined to the tile seams. Also tiles the encode. Read by the SD1.5/SDXL, FLUX.1, FLUX.2, Z-Image, Qwen-Image and Qwen-Image-2.1 VAE nodes, the Anima encode, the Z-Image control encode and the Krea-2 style reference; other model families ignore it.\n auto_tiled_decode: Decode large images in tiles when an untiled decode's estimated working memory would take most of the GPU's memory (FLUX.1, FLUX.2, Z-Image, Qwen-Image, Qwen-Image-2.1, Krea-2 and Wan decodes, and Qwen-Image-2.1 encodes). Turn off to decode untiled unless tiling is requested; the FLUX.1, FLUX.2 and Z-Image decodes then still retry tiled after running out of memory. Anima keeps tiling a decode too large for its GPU either way, because tiling is what makes that case fast there.\n pil_compress_level: The compress_level setting of PIL.Image.save(), used for PNG encoding. All settings are lossless. 0 = no compression, 1 = fastest with slightly larger filesize, 9 = slowest with smallest filesize. 1 is typically the best setting.\n max_queue_size: Maximum number of items in the session queue.\n session_queue_mode: Session queue mode. Use 'FIFO' for traditional first-in-first-out, or 'round_robin' to serve each user's jobs in turn. In single-user mode, FIFO is always used regardless of this setting.<br>Valid values: `FIFO`, `round_robin`\n clear_queue_on_startup: Empties session queue on startup. If true, disables `max_queue_history`.\n max_queue_history: Keep the last N completed, failed, and canceled queue items. Older items are deleted on startup. Set to 0 to prune all terminal items. Ignored if `clear_queue_on_startup` is true.\n allow_nodes: List of nodes to allow. Omit to allow all.\n deny_nodes: List of nodes to deny. Omit to deny none.\n node_cache_size: How many cached nodes to keep in memory.\n hashing_algorithm: Model hashing algorthim for model installs. 'blake3_multi' is best for SSDs. 'blake3_single' is best for spinning disk HDDs. 'random' disables hashing, instead assigning a UUID to models. Useful when using a memory db to reduce model installation time, or if you don't care about storing stable hashes for models. Alternatively, any other hashlib algorithm is accepted, though these are not nearly as performant as blake3.<br>Valid values: `blake3_multi`, `blake3_single`, `random`, `md5`, `sha1`, `sha224`, `sha256`, `sha384`, `sha512`, `blake2b`, `blake2s`, `sha3_224`, `sha3_256`, `sha3_384`, `sha3_512`, `shake_128`, `shake_256`\n remote_api_tokens: List of regular expression and token pairs used when downloading models from URLs. The download URL is tested against the regex, and if it matches, the token is provided in as a Bearer token.\n scan_models_on_startup: Scan the models directory on startup, registering orphaned models. This is typically only used in conjunction with `use_memory_db` for testing purposes.\n allow_private_download_urls: Allow the download queue to fetch from loopback, link-local and private-network addresses. Disabled by default so that a download URL cannot be used to reach services that are only reachable from the server. Enable this only if you install models from a mirror on your own network.\n download_proxy: Optional HTTP proxy for model downloads. The proxy must enforce the public-address policy because proxy-side DNS cannot be checked by InvokeAI.\n unsafe_disable_picklescan: UNSAFE. Disable the picklescan security check during model installation. Recommended only for development and testing purposes. This will allow arbitrary code execution during model installation, so should never be used in production.\n allow_unknown_models: Allow installation of models that we are unable to identify. If enabled, models will be marked as `unknown` in the database, and will not have any metadata associated with them. If disabled, unknown models will be rejected during installation.\n multiuser: Enable multiuser support. When disabled, the application runs in single-user mode using a default system account with administrator privileges. When enabled, requires user authentication and authorization.\n strict_password_checking: Enforce strict password requirements. When True, passwords must contain uppercase, lowercase, and numbers. When False (default), any password is accepted but its strength (weak/moderate/strong) is reported to the user.\n image_index_enabled: Maintain a semantic embedding index of gallery images and videos, used by the image map and semantic search features.\n image_index_model: Name of the installed CLIP Vision or SigLIP model used to embed gallery images and video thumbnails. Changing the model discards embeddings computed by the previous model.\n image_index_device: Set to `cpu` to compute image embeddings on the CPU with a service-local copy of the model - avoids VRAM use and lets indexing run during generations. Any other value is ignored: embeddings otherwise run on the model cache's device, pausing while generations are in progress.\n image_index_batch_size: Number of gallery items embedded per batch by the image index worker.\n external_alibabacloud_api_key: API key for Alibaba Cloud DashScope image generation.\n external_alibabacloud_base_url: Base URL override for Alibaba Cloud DashScope image generation.\n external_atlascloud_api_key: API key for Atlas Cloud image generation.\n external_atlascloud_base_url: Base URL override for Atlas Cloud image generation.\n external_gemini_api_key: API key for Gemini image generation.\n external_openai_api_key: API key for OpenAI image generation.\n external_gemini_base_url: Base URL override for Gemini image generation.\n external_openai_base_url: Base URL override for OpenAI image generation.\n external_seedream_api_key: API key for Seedream image generation.\n external_seedream_base_url: Base URL override for Seedream image generation.\n base_url: Public base path when running behind a reverse proxy under a sub-path, e.g. `/invoke`. Set only when the proxy PRESERVES the sub-path (the backend receives `/invoke/api/...`). Leave unset when the proxy strips the sub-path or when serving at the domain root.\n forwarded_allow_ips: Comma-separated list of IPs (or `*`) allowed to set X-Forwarded-* headers. Set to the reverse proxy's IP. Only used when `base_url` is set.\n http_compression_level: Compression level for gzipped HTTP API responses. 0 disables response compression entirely, 1 is fastest, 9 (the default) is smallest. Compression runs on the event loop and blocks the whole server while it works, and level 9 costs about 5.5x the time of level 1 for 0.4 percentage points of extra compression, so lowering this makes the app noticeably more responsive on large libraries. Set to 0 when a reverse proxy already compresses responses."},"InvokeAIAppConfigWithSetFields": {"properties": {@@ -92354,6 +92396,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -93166,6 +93214,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -93908,6 +93962,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -94461,6 +94521,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -95511,6 +95577,12 @@{"$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_QwenImage21_Config"},+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_Wan_Config"+ },+ {+ "$ref": "#/components/schemas/TinyAutoencoder_Checkpoint_LTX2_Config"+ },{"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"},@@ -115956,6 +116028,147 @@],"title": "TinyAutoencoder_Checkpoint_Flux2_Config"},+ "TinyAutoencoder_Checkpoint_LTX2_Config": {+ "properties": {+ "key": {+ "type": "string",+ "title": "Key",+ "description": "A unique key for this model."+ },+ "hash": {+ "type": "string",+ "title": "Hash",+ "description": "The hash of the model file(s)."+ },+ "path": {+ "type": "string",+ "title": "Path",+ "description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."+ },+ "file_size": {+ "type": "integer",+ "title": "File Size",+ "description": "The size of the model in bytes."+ },+ "name": {+ "type": "string",+ "title": "Name",+ "description": "Name of the model."+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description",+ "description": "Model description"+ },+ "source": {+ "type": "string",+ "title": "Source",+ "description": "The original source of the model (path, URL or repo_id)."+ },+ "source_type": {+ "$ref": "#/components/schemas/ModelSourceType",+ "description": "The type of source"+ },+ "source_api_response": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Source Api Response",+ "description": "The original API response from the source, as stringified JSON."+ },+ "source_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Source Url",+ "description": "Optional URL for the model (e.g. download page or model page)."+ },+ "cover_image": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cover Image",+ "description": "Url for image to preview model"+ },+ "config_path": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Config Path",+ "description": "Path to the config for this model, if any."+ },+ "type": {+ "type": "string",+ "const": "tiny_autoencoder",+ "title": "Type",+ "default": "tiny_autoencoder"+ },+ "format": {+ "type": "string",+ "const": "checkpoint",+ "title": "Format",+ "default": "checkpoint"+ },+ "latent_channels": {+ "type": "integer",+ "title": "Latent Channels",+ "description": "Latent channels the decoder consumes."+ },+ "base": {+ "type": "string",+ "const": "ltx-2",+ "title": "Base",+ "default": "ltx-2"+ }+ },+ "type": "object",+ "required": [+ "key",+ "hash",+ "path",+ "file_size",+ "name",+ "description",+ "source",+ "source_type",+ "source_api_response",+ "source_url",+ "cover_image",+ "config_path",+ "type",+ "format",+ "latent_channels",+ "base"+ ],+ "title": "TinyAutoencoder_Checkpoint_LTX2_Config"+ },"TinyAutoencoder_Checkpoint_QwenImage21_Config": {"properties": {"key": {@@ -116520,6 +116733,148 @@],"title": "TinyAutoencoder_Checkpoint_SDXL_Config"},+ "TinyAutoencoder_Checkpoint_Wan_Config": {+ "properties": {+ "key": {+ "type": "string",+ "title": "Key",+ "description": "A unique key for this model."+ },+ "hash": {+ "type": "string",+ "title": "Hash",+ "description": "The hash of the model file(s)."+ },+ "path": {+ "type": "string",+ "title": "Path",+ "description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."+ },+ "file_size": {+ "type": "integer",+ "title": "File Size",+ "description": "The size of the model in bytes."+ },+ "name": {+ "type": "string",+ "title": "Name",+ "description": "Name of the model."+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description",+ "description": "Model description"+ },+ "source": {+ "type": "string",+ "title": "Source",+ "description": "The original source of the model (path, URL or repo_id)."+ },+ "source_type": {+ "$ref": "#/components/schemas/ModelSourceType",+ "description": "The type of source"+ },+ "source_api_response": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Source Api Response",+ "description": "The original API response from the source, as stringified JSON."+ },+ "source_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Source Url",+ "description": "Optional URL for the model (e.g. download page or model page)."+ },+ "cover_image": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cover Image",+ "description": "Url for image to preview model"+ },+ "config_path": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Config Path",+ "description": "Path to the config for this model, if any."+ },+ "type": {+ "type": "string",+ "const": "tiny_autoencoder",+ "title": "Type",+ "default": "tiny_autoencoder"+ },+ "format": {+ "type": "string",+ "const": "checkpoint",+ "title": "Format",+ "default": "checkpoint"+ },+ "latent_channels": {+ "type": "integer",+ "title": "Latent Channels",+ "description": "Latent channels the decoder consumes."+ },+ "base": {+ "type": "string",+ "const": "wan",+ "title": "Base",+ "default": "wan"+ }+ },+ "type": "object",+ "required": [+ "key",+ "hash",+ "path",+ "file_size",+ "name",+ "description",+ "source",+ "source_type",+ "source_api_response",+ "source_url",+ "cover_image",+ "config_path",+ "type",+ "format",+ "latent_channels",+ "base"+ ],+ "title": "TinyAutoencoder_Checkpoint_Wan_Config",+ "description": "taew2_1 (16 channels, also Qwen-Image, Krea-2, Anima) or taew2_2 (48, TI2V-5B): `latent_channels` decides."+ },"TransformerField": {"properties": {"transformer": {diff --git a/invokeai/frontend/api/schema.ts b/invokeai/frontend/api/schema.tsindex 4ef1a6ab02..0fa6455520 100644--- a/invokeai/frontend/api/schema.ts+++ b/invokeai/frontend/api/schema.ts@@ -5895,7 +5895,7 @@ export type components = {* @enum {string}*/AnimaVariantType: "anima_qwen3" | "anima_qwen35";- 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_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];+ AnyModelConfig: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];/*** AppVersion* @description App Version Response@@ -24461,7 +24461,7 @@ export type components = {* noise_dtype: The dtype seeded noise is drawn in for SD1.5/SDXL, SD3, FLUX.1, FLUX.2, CogView4 and the Z-Image seed variance enhancer. `float32` draws the same noise on every platform. `float16` is the half-precision draw of earlier versions: on macOS it keeps the images your seeds gave before this update; on Windows and Linux both values give (nearly) the same images, and images made before the update cannot be reproduced there.<br>Valid values: `float32`, `float16`* wan_memory_optimization: Enable experimental Wan memory optimizations at the cost of slower generation.* pid_memory_optimization: Enable experimental PiD decode memory optimizations. Roughly halves the peak activation memory of a PiD decode; in exchange the decoded image changes slightly, because neither the chunked pixel pathway nor the float32 sampler intermediates are bit-exact with the default path.- * tiny_autoencoder_previews: Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs about 25 ms and 0.65 GB of transient VRAM on an RTX 4090; not recommended on CPU-only installs, where one takes about 2 s.+ * tiny_autoencoder_previews: Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs a few tens of ms and up to about 1.1 GB of transient VRAM on an RTX 4090 (image decoders 0.15-0.65 GB, Wan video windows up to 1.1 GB); not recommended on CPU-only installs, where one takes about 2 s.* attention_type: Attention type.<br>Valid values: `auto`, `normal`, `xformers`, `sliced`, `torch-sdp`* attention_slice_size: Slice size, valid when attention_type=="sliced".<br>Valid values: `auto`, `balanced`, `max`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`* attention_backend: Attention kernel for the attention inside diffusion models. `auto` uses PyTorch's exact SDPA kernels ranked flash, cuDNN, memory-efficient, math, taking the first one the GPU and build support for each call; it never selects a quantized one. `sage` uses SageAttention 2 for the models listed in the SageAttention docs: faster, most at high resolutions and for video, but quantized, so images differ slightly from `auto` at the same seed. SageAttention is installed separately and needs an NVIDIA GPU with compute capability 8.0 or newer; masked attention, text encoders and VAEs keep PyTorch SDPA. `cudnn`, `flash`, `efficient` and `math` rank that PyTorch kernel first for all attention on CUDA and ROCm GPUs, ahead of the `auto` order. That is never exclusive: a call the kernel cannot serve runs on the next kernel, and the log reports that once per node type and reason (not for the PiD decoder, whose attention is ranked the same but not reported). `math` materializes the full attention score matrix, so it is slow and needs much more memory, which the working-memory estimates of most model families do not reserve, so generations can run out of memory; it is meant for debugging. Images can differ slightly between kernels.<br>Valid values: `auto`, `sage`, `cudnn`, `flash`, `efficient`, `math`@@ -24935,7 +24935,7 @@ export type components = {pid_memory_optimization?: boolean;/*** Tiny Autoencoder Previews- * @description Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs about 25 ms and 0.65 GB of transient VRAM on an RTX 4090; not recommended on CPU-only installs, where one takes about 2 s.+ * @description Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs a few tens of ms and up to about 1.1 GB of transient VRAM on an RTX 4090 (image decoders 0.15-0.65 GB, Wan video windows up to 1.1 GB); not recommended on CPU-only installs, where one takes about 2 s.* @default false*/tiny_autoencoder_previews?: boolean;@@ -39866,7 +39866,7 @@ export type components = {* Config* @description The installed model's config*/- config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];+ config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];};/*** ModelInstallDownloadProgressEvent@@ -40032,7 +40032,7 @@ export type components = {* Config Out* @description After successful installation, this will hold the configuration object.*/- config_out?: (components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"]) | null;+ config_out?: (components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"]) | null;/*** Inplace* @description Leave model in its current location; otherwise install under models directory@@ -40139,7 +40139,7 @@ export type components = {* Config* @description The model's config*/- config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];+ config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];/*** @description The submodel type, if any* @default null@@ -40166,7 +40166,7 @@ export type components = {* Config* @description The model's config*/- config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];+ config: components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];/*** @description The submodel type, if any* @default null@@ -40393,7 +40393,7 @@ export type components = {*/ModelsList: {/** Models */- models: (components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"])[];+ models: (components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"])[];};/*** MossImageConditioningField@@ -51356,6 +51356,89 @@ export type components = {*/base: "flux2";};+ /** TinyAutoencoder_Checkpoint_LTX2_Config */+ TinyAutoencoder_Checkpoint_LTX2_Config: {+ /**+ * Key+ * @description A unique key for this model.+ */+ key: string;+ /**+ * Hash+ * @description The hash of the model file(s).+ */+ hash: string;+ /**+ * Path+ * @description Path to the model on the filesystem. Relative paths are relative to the Invoke root directory.+ */+ path: string;+ /**+ * File Size+ * @description The size of the model in bytes.+ */+ file_size: number;+ /**+ * Name+ * @description Name of the model.+ */+ name: string;+ /**+ * Description+ * @description Model description+ */+ description: string | null;+ /**+ * Source+ * @description The original source of the model (path, URL or repo_id).+ */+ source: string;+ /** @description The type of source */+ source_type: components["schemas"]["ModelSourceType"];+ /**+ * Source Api Response+ * @description The original API response from the source, as stringified JSON.+ */+ source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;+ /**+ * Cover Image+ * @description Url for image to preview model+ */+ cover_image: string | null;+ /**+ * Config Path+ * @description Path to the config for this model, if any.+ */+ config_path: string | null;+ /**+ * Type+ * @default tiny_autoencoder+ * @constant+ */+ type: "tiny_autoencoder";+ /**+ * Format+ * @default checkpoint+ * @constant+ */+ format: "checkpoint";+ /**+ * Latent Channels+ * @description Latent channels the decoder consumes.+ */+ latent_channels: number;+ /**+ * Base+ * @default ltx-2+ * @constant+ */+ base: "ltx-2";+ };/** TinyAutoencoder_Checkpoint_QwenImage21_Config */TinyAutoencoder_Checkpoint_QwenImage21_Config: {/**@@ -51688,6 +51771,92 @@ export type components = {*/base: "sdxl";};+ /**+ * TinyAutoencoder_Checkpoint_Wan_Config+ * @description taew2_1 (16 channels, also Qwen-Image, Krea-2, Anima) or taew2_2 (48, TI2V-5B): `latent_channels` decides.+ */+ TinyAutoencoder_Checkpoint_Wan_Config: {+ /**+ * Key+ * @description A unique key for this model.+ */+ key: string;+ /**+ * Hash+ * @description The hash of the model file(s).+ */+ hash: string;+ /**+ * Path+ * @description Path to the model on the filesystem. Relative paths are relative to the Invoke root directory.+ */+ path: string;+ /**+ * File Size+ * @description The size of the model in bytes.+ */+ file_size: number;+ /**+ * Name+ * @description Name of the model.+ */+ name: string;+ /**+ * Description+ * @description Model description+ */+ description: string | null;+ /**+ * Source+ * @description The original source of the model (path, URL or repo_id).+ */+ source: string;+ /** @description The type of source */+ source_type: components["schemas"]["ModelSourceType"];+ /**+ * Source Api Response+ * @description The original API response from the source, as stringified JSON.+ */+ source_api_response: string | null;+ /**+ * Source Url+ * @description Optional URL for the model (e.g. download page or model page).+ */+ source_url: string | null;+ /**+ * Cover Image+ * @description Url for image to preview model+ */+ cover_image: string | null;+ /**+ * Config Path+ * @description Path to the config for this model, if any.+ */+ config_path: string | null;+ /**+ * Type+ * @default tiny_autoencoder+ * @constant+ */+ type: "tiny_autoencoder";+ /**+ * Format+ * @default checkpoint+ * @constant+ */+ format: "checkpoint";+ /**+ * Latent Channels+ * @description Latent channels the decoder consumes.+ */+ latent_channels: number;+ /**+ * Base+ * @default wan+ * @constant+ */+ base: "wan";+ };/** TransformerField */TransformerField: {/** @description Info to load Transformer submodel */@@ -59017,7 +59186,7 @@ export interface operations {[name: string]: unknown;};content: {- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];};};/** @description Validation Error */@@ -59049,7 +59218,7 @@ export interface operations {[name: string]: unknown;};content: {- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];};};/** @description Validation Error */@@ -59101,7 +59270,7 @@ export interface operations {* "upcast_attention": false* }*/- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];};};/** @description Bad request */@@ -59215,7 +59384,7 @@ export interface operations {* "upcast_attention": false* }*/- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];};};/** @description Bad request */@@ -59288,7 +59457,7 @@ export interface operations {* "upcast_attention": false* }*/- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];};};/** @description Bad request */@@ -60082,7 +60251,7 @@ export interface operations {* "upcast_attention": false* }*/- "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];+ "application/json": components["schemas"]["Main_Diffusers_SD1_Config"] | components["schemas"]["Main_Diffusers_SD2_Config"] | components["schemas"]["Main_Diffusers_SDXL_Config"] | components["schemas"]["Main_Diffusers_SDXLRefiner_Config"] | components["schemas"]["Main_Diffusers_SD3_Config"] | components["schemas"]["Main_Diffusers_FLUX_Config"] | components["schemas"]["Main_Diffusers_Flux2_Config"] | components["schemas"]["Main_Diffusers_CogView4_Config"] | components["schemas"]["Main_Diffusers_QwenImage_Config"] | components["schemas"]["Main_Diffusers_QwenImage21_Config"] | components["schemas"]["Main_Diffusers_Wan_Config"] | components["schemas"]["Main_Diffusers_ZImage_Config"] | components["schemas"]["Main_Diffusers_ErnieImage_Config"] | components["schemas"]["Main_Diffusers_Ideogram4_Config"] | components["schemas"]["Main_Diffusers_Krea2_Config"] | components["schemas"]["Main_Diffusers_Flux3_Config"] | components["schemas"]["Main_Diffusers_MiniMaxH3_Config"] | components["schemas"]["Main_Diffusers_LTX2_Config"] | components["schemas"]["Main_Diffusers_MossImage_Config"] | components["schemas"]["Main_Checkpoint_SD1_Config"] | components["schemas"]["Main_Checkpoint_SD2_Config"] | components["schemas"]["Main_Checkpoint_SDXL_Config"] | components["schemas"]["Main_Checkpoint_SDXLRefiner_Config"] | components["schemas"]["Main_Checkpoint_Flux2_Config"] | components["schemas"]["Main_Checkpoint_FLUX_Config"] | components["schemas"]["Main_Checkpoint_QwenImage_Config"] | components["schemas"]["Main_Checkpoint_QwenImage21_Config"] | components["schemas"]["Main_Checkpoint_Wan_Config"] | components["schemas"]["Main_Checkpoint_ZImage_Config"] | components["schemas"]["Main_Checkpoint_ErnieImage_Config"] | components["schemas"]["Main_Checkpoint_Ideogram4_Config"] | components["schemas"]["Main_Checkpoint_Krea2_Config"] | components["schemas"]["Main_Checkpoint_Flux3_Config"] | components["schemas"]["Main_Checkpoint_Anima_Config"] | components["schemas"]["Main_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Main_Checkpoint_LTX2_Config"] | components["schemas"]["Main_Checkpoint_MossImage_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_QwenImage21_Config"] | components["schemas"]["Main_GGUF_Wan_Config"] | components["schemas"]["Main_GGUF_ZImage_Config"] | components["schemas"]["Main_GGUF_Krea2_Config"] | components["schemas"]["Main_GGUF_Flux3_Config"] | components["schemas"]["Main_GGUF_Ideogram4_Config"] | components["schemas"]["Main_GGUF_ErnieImage_Config"] | components["schemas"]["Main_GGUF_LTX2_Config"] | components["schemas"]["Main_GGUF_MossImage_Config"] | components["schemas"]["Main_GGUF_Anima_Config"] | components["schemas"]["Main_SDNQ_Diffusers_Flux2_Config"] | components["schemas"]["Main_SDNQ_Diffusers_FLUX_Config"] | components["schemas"]["Main_SDNQ_Diffusers_ZImage_Config"] | components["schemas"]["VAE_Checkpoint_SD1_Config"] | components["schemas"]["VAE_Checkpoint_SD2_Config"] | components["schemas"]["VAE_Checkpoint_SDXL_Config"] | components["schemas"]["VAE_Checkpoint_FLUX_Config"] | components["schemas"]["VAE_Checkpoint_SD3_Config"] | components["schemas"]["VAE_Checkpoint_Flux2_Config"] | components["schemas"]["VAE_Checkpoint_Wan_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage_Config"] | components["schemas"]["VAE_Checkpoint_Anima_Config"] | components["schemas"]["VAE_Checkpoint_QwenImage21_Config"] | components["schemas"]["VAE_Diffusers_SD1_Config"] | components["schemas"]["VAE_Diffusers_SDXL_Config"] | components["schemas"]["VAE_Diffusers_FLUX_Config"] | components["schemas"]["VAE_Diffusers_SD3_Config"] | components["schemas"]["VAE_Diffusers_Flux2_Config"] | components["schemas"]["VAE_Diffusers_Wan_Config"] | components["schemas"]["VAE_Diffusers_QwenImage21_Config"] | components["schemas"]["PiDDecoder_Checkpoint_FLUX_Config"] | components["schemas"]["PiDDecoder_Checkpoint_Flux2_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SD3_Config"] | components["schemas"]["PiDDecoder_Checkpoint_SDXL_Config"] | components["schemas"]["PiDDecoder_Checkpoint_QwenImage_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD1_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SDXL_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_SD3_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_FLUX_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Flux2_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_QwenImage21_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_Wan_Config"] | components["schemas"]["TinyAutoencoder_Checkpoint_LTX2_Config"] | components["schemas"]["ControlNet_Checkpoint_SD1_Config"] | components["schemas"]["ControlNet_Checkpoint_SD2_Config"] | components["schemas"]["ControlNet_Checkpoint_SDXL_Config"] | components["schemas"]["ControlNet_Checkpoint_FLUX_Config"] | components["schemas"]["ControlNet_Checkpoint_ZImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Anima_Config"] | components["schemas"]["ControlNet_Checkpoint_QwenImage_Config"] | components["schemas"]["ControlNet_Checkpoint_Flux2_Config"] | components["schemas"]["ControlNet_Diffusers_SD1_Config"] | components["schemas"]["ControlNet_Diffusers_SD2_Config"] | components["schemas"]["ControlNet_Diffusers_SDXL_Config"] | components["schemas"]["ControlNet_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_SD1_Config"] | components["schemas"]["LoRA_LyCORIS_SD2_Config"] | components["schemas"]["LoRA_LyCORIS_SDXL_Config"] | components["schemas"]["LoRA_LyCORIS_Flux2_Config"] | components["schemas"]["LoRA_LyCORIS_FLUX_Config"] | components["schemas"]["LoRA_LyCORIS_ZImage_Config"] | components["schemas"]["LoRA_LyCORIS_Krea2_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage_Config"] | components["schemas"]["LoRA_LyCORIS_QwenImage21_Config"] | components["schemas"]["LoRA_LyCORIS_Flux3_Config"] | components["schemas"]["LoRA_LyCORIS_LTX2_Config"] | components["schemas"]["LoRA_LyCORIS_MiniMaxH3_Config"] | components["schemas"]["LoRA_LyCORIS_Wan_Config"] | components["schemas"]["LoRA_LyCORIS_Anima_Config"] | components["schemas"]["LoRA_OMI_SDXL_Config"] | components["schemas"]["LoRA_OMI_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_SD1_Config"] | components["schemas"]["LoRA_Diffusers_SD2_Config"] | components["schemas"]["LoRA_Diffusers_SDXL_Config"] | components["schemas"]["LoRA_Diffusers_Flux2_Config"] | components["schemas"]["LoRA_Diffusers_FLUX_Config"] | components["schemas"]["LoRA_Diffusers_Flux3_Config"] | components["schemas"]["LoRA_Diffusers_ZImage_Config"] | components["schemas"]["ControlLoRA_LyCORIS_FLUX_Config"] | components["schemas"]["T5Encoder_T5Encoder_Config"] | components["schemas"]["T5Encoder_BnBLLMint8_Config"] | components["schemas"]["T5Encoder_SDNQ_Config"] | components["schemas"]["T5Encoder_GGUF_Config"] | components["schemas"]["T5Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config"] | components["schemas"]["Qwen3VLEncoder_Checkpoint_Config"] | components["schemas"]["Qwen3VLEncoder_GGUF_Config"] | components["schemas"]["Qwen3VLEncoder_Qwen3VLEncoder_Config"] | components["schemas"]["Qwen35Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_Qwen3Encoder_Config"] | components["schemas"]["Qwen3Encoder_Checkpoint_Config"] | components["schemas"]["Qwen3Encoder_GGUF_Config"] | components["schemas"]["Qwen3Encoder_SDNQ_Folder_Config"] | components["schemas"]["MistralEncoder_Diffusers_Config"] | components["schemas"]["MistralEncoder_Checkpoint_Config"] | components["schemas"]["MistralEncoder_GGUF_Config"] | components["schemas"]["Gemma2Encoder_Gemma2Encoder_Config"] | components["schemas"]["Gemma4Encoder_Gemma4Encoder_LTX2_Config"] | components["schemas"]["Gemma4Encoder_GGUF_LTX2_Config"] | components["schemas"]["Gemma2Encoder_GGUF_Config"] | components["schemas"]["QwenVLEncoder_Diffusers_Config"] | components["schemas"]["QwenVLEncoder_Checkpoint_Config"] | components["schemas"]["WanT5Encoder_WanT5Encoder_Config"] | components["schemas"]["TI_File_SD1_Config"] | components["schemas"]["TI_File_SD2_Config"] | components["schemas"]["TI_File_SDXL_Config"] | components["schemas"]["TI_Folder_SD1_Config"] | components["schemas"]["TI_Folder_SD2_Config"] | components["schemas"]["TI_Folder_SDXL_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD1_Config"] | components["schemas"]["IPAdapter_InvokeAI_SD2_Config"] | components["schemas"]["IPAdapter_InvokeAI_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD1_Config"] | components["schemas"]["IPAdapter_Checkpoint_SD2_Config"] | components["schemas"]["IPAdapter_Checkpoint_SDXL_Config"] | components["schemas"]["IPAdapter_Checkpoint_FLUX_Config"] | components["schemas"]["IPAdapter_Checkpoint_Anima_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"]["CLIPEmbed_Checkpoint_G_Config"] | components["schemas"]["CLIPEmbed_Checkpoint_L_Config"] | components["schemas"]["CLIPVision_Diffusers_Config"] | components["schemas"]["SigLIP_Diffusers_Config"] | components["schemas"]["FLUXRedux_Checkpoint_Config"] | components["schemas"]["LTX2DurationHead_Checkpoint_Config"] | components["schemas"]["LlavaOnevision_Diffusers_Config"] | components["schemas"]["TextLLM_Diffusers_Config"] | components["schemas"]["TextLLM_Checkpoint_Config"] | components["schemas"]["ExternalApiModelConfig"] | components["schemas"]["Unknown_Config"];};};/** @description Bad request */diff --git a/tests/app/invocations/test_krea2_denoise.py b/tests/app/invocations/test_krea2_denoise.pyindex 24281c0460..82124911c7 100644--- a/tests/app/invocations/test_krea2_denoise.py+++ b/tests/app/invocations/test_krea2_denoise.py@@ -659,6 +659,27 @@ def test_run_diffusion_applies_mixed_cfg_only_at_enabled_steps(monkeypatch, tmp_assert transformer.conditioning_values == [1.0, 0.0, 1.0]+def test_every_preview_is_sent_while_the_transformer_is_locked(monkeypatch, tmp_path) -> None:+ """A Tiny AutoEncoder preview places its TAE next to the locked model; before the lock there is none to fit."""+ _patch_runtime(monkeypatch)+ transformer = _Transformer()+ context = _runtime_context(tmp_path, transformer)+ events: list[str] = []++ @contextmanager+ def locked(**_kwargs):+ events.append("lock")+ yield ({}, transformer)+ events.append("unlock")++ context.models.load = lambda _identifier: SimpleNamespace(model=transformer, model_on_device=locked)+ context.util.sd_step_callback = lambda *_args: events.append("preview")++ _runtime_invocation(cfg_scale=1.0)._run_diffusion(context)++ assert events == ["lock", "preview", "preview", "preview", "unlock"]++def test_run_diffusion_treats_an_empty_negative_collection_as_absent(monkeypatch, tmp_path) -> None:_patch_runtime(monkeypatch)transformer = _Transformer()diff --git a/tests/app/invocations/test_qwen_image_control.py b/tests/app/invocations/test_qwen_image_control.pyindex 3b745994ea..ba29794e5e 100644--- a/tests/app/invocations/test_qwen_image_control.py+++ b/tests/app/invocations/test_qwen_image_control.py@@ -386,6 +386,37 @@ def test_the_branch_is_locked_with_the_same_reservation_and_hooked_inside_the_exassert _hook_count(transformer) == 0+def test_the_first_preview_is_sent_once_the_transformer_and_the_branch_are_locked(tmp_path) -> None:+ """A Tiny AutoEncoder preview places its TAE next to the locked models; before the locks there are none to fit."""+ transformer, branch, vae = _tiny_transformer(), _tiny_branch(), _tiny_vae()+ events: list[str] = []++ def locking(name: str, model):+ def lock(working_mem_bytes=None):+ events.append(f"lock {name}")+ return nullcontext((None, model))++ return lock++ context = _context(+ tmp_path,+ _loaded(transformer, locking("transformer", transformer)),+ _loaded(branch, locking("branch", branch)),+ _loaded(vae, _yielding(vae)),+ )++ def preview(*_args) -> None:+ events.append("preview")+ raise _Stop++ context.util.sd_step_callback.side_effect = preview++ with pytest.raises(_Stop):+ _denoise()._run_diffusion(context)++ assert events == ["lock transformer", "lock branch", "preview"]++class _GateRecordingTransformer(QwenImageTransformer2DModel):"""The real class, so the node's isinstance checks hold and the real hooks land on its blocks, with the forwardreplaced: no bfloat16 matmul on the CPU, and a record of the control gate at every call."""diff --git a/tests/app/invocations/test_qwen_image_denoise.py b/tests/app/invocations/test_qwen_image_denoise.pyindex 158e745015..d8713068ec 100644--- a/tests/app/invocations/test_qwen_image_denoise.py+++ b/tests/app/invocations/test_qwen_image_denoise.py@@ -1,6 +1,7 @@"""Tests for the Qwen Image denoise invocation."""import json+from contextlib import contextmanagerfrom pathlib import Pathfrom types import SimpleNamespace@@ -327,3 +328,62 @@ def test_an_explicit_shift_reaches_the_scheduler(monkeypatch, tmp_path) -> None:mu = _run_to_scheduler(monkeypatch, tmp_path / "qwen-image.gguf", 4096, 4096, shift=3.0)assert mu == pytest.approx(1.0986122886681098, abs=1e-12) # ln 3+++def test_the_first_preview_is_sent_inside_the_transformer_lock(monkeypatch, tmp_path) -> None:+ """A Tiny AutoEncoder preview places its TAE next to the locked model; before the lock there is none to fit."""+ monkeypatch.setattr(qwen_image_denoise, "QwenImageTransformer2DModel", _TinyQwenImageTransformer)+ monkeypatch.setattr(qwen_image_denoise.TorchDevice, "choose_torch_device", lambda: torch.device("cpu"))+ events: list[str] = []++ class _Previewed(Exception):+ """Ends the run at the first preview: what follows needs a real transformer."""++ class _Transformer(_TinyQwenImageTransformer):+ def modules(self):+ return iter(())++ @contextmanager+ def lock(**_kwargs):+ events.append("lock")+ try:+ yield ({}, _Transformer())+ finally:+ events.append("unlock")++ def preview(*_args) -> None:+ events.append("preview")+ raise _Previewed++ conditioning = ConditioningFieldData(conditionings=[QwenImageConditioningInfo(prompt_embeds=torch.zeros(1, 4, 8))])+ context = SimpleNamespace(+ models=SimpleNamespace(+ load=lambda _identifier: SimpleNamespace(model=_Transformer(), model_on_device=lock),+ get_config=lambda _identifier: SimpleNamespace(),+ get_absolute_path=lambda _config: tmp_path / "qwen-image.gguf",+ ),+ conditioning=SimpleNamespace(load=lambda _name: conditioning),+ util=SimpleNamespace(sd_step_callback=preview),+ )+ node = QwenImageDenoiseInvocation.model_construct(+ latents=None,+ reference_latents=None,+ denoise_mask=None,+ control=None,+ denoising_start=0.0,+ denoising_end=1.0,+ transformer=SimpleNamespace(transformer=SimpleNamespace(), loras=[]),+ positive_conditioning=SimpleNamespace(conditioning_name="positive"),+ negative_conditioning=None,+ cfg_scale=1.0,+ width=64,+ height=64,+ steps=2,+ seed=0,+ shift=None,+ )++ with pytest.raises(_Previewed):+ node._run_diffusion(context)++ assert events == ["lock", "preview", "unlock"]diff --git a/tests/app/invocations/test_wan_denoise.py b/tests/app/invocations/test_wan_denoise.pyindex f3846663ca..c4dc2bb80b 100644--- a/tests/app/invocations/test_wan_denoise.py+++ b/tests/app/invocations/test_wan_denoise.py@@ -563,6 +563,63 @@ class TestWanDenoiseShapes:assert torch.allclose(latents, expected, atol=1e-5)+ @pytest.mark.parametrize(+ ("num_frames", "window"),+ [(17, slice(1, 3)), (5, slice(0, 2)), (1, slice(0, 1))],+ ids=["5-latents", "2-latents", "1-latent"],+ )+ def test_video_previews_carry_the_middle_latent_frame_after_the_one_before_it(+ self, num_frames: int, window: slice, fake_model_root+ ) -> None:+ """With a zero-velocity transformer the latents stay the initial noise, so the window is checkable.++ 17 frames are 5 latent frames: the middle one is 2, and the window is frames 1 and 2. A single+ latent frame has no frame before it; the field allows no fewer than 5 frames, so that case is+ built without validation to exercise the window's clamp.+ """+ from invokeai.backend.wan.sampling_utils import make_noise++ ctx = _build_context(+ _ZeroTransformer(),+ variant=WanVariantType.T2V_A14B,+ model_root=fake_model_root,+ pos_cond=_make_conditioning(),+ neg_cond=None,+ )+ fields = {+ "id": "test",+ "transformer": _wan_transformer_field(),+ "positive_conditioning": WanConditioningField(conditioning_name="pos"),+ "negative_conditioning": None,+ "ref_image": None,+ "width": 64,+ "height": 64,+ "num_frames": 5,+ "steps": 2,+ "guidance_scale": 1.0,+ "seed": 42,+ }+ # `model_copy` does not validate, which is what lets the 1-frame case past the field's minimum.+ invocation = WanVideoDenoiseInvocation(**fields).model_copy(update={"num_frames": num_frames})++ invocation._run_diffusion(ctx)++ noise = make_noise(+ batch_size=1,+ latent_channels=16,+ height=64,+ width=64,+ spatial_scale_factor=8,+ device=torch.device("cpu"),+ dtype=torch.float32,+ seed=42,+ num_latent_frames=(num_frames - 1) // 4 + 1,+ )+ previews = [call.args[0].latents for call in ctx.util.sd_step_callback.call_args_list]+ assert [call.args[1] for call in ctx.util.sd_step_callback.call_args_list] == [BaseModelType.Wan] * 2+ assert all(p.shape == (1, 16, window.stop - window.start, 8, 8) for p in previews)+ assert all(torch.allclose(p, noise[:, :, window], atol=1e-5) for p in previews)+class TestWanDenoiseDualExpert:"""Verify the A14B dual-expert MoE swap behaves correctly."""diff --git a/tests/app/services/model_manager/test_model_record_changes.py b/tests/app/services/model_manager/test_model_record_changes.pyindex 206555aa56..cdffb1a26a 100644--- a/tests/app/services/model_manager/test_model_record_changes.py+++ b/tests/app/services/model_manager/test_model_record_changes.py@@ -3,6 +3,7 @@ instances of the model exactly when the change affects how it loads. The load fethemselves to is covered by `tests/app/services/model_load/test_stale_model_load_fence.py`."""import gc+import reimport threadingimport timefrom pathlib import Path@@ -44,7 +45,13 @@ from invokeai.backend.model_manager.taxonomy import (Qwen35VariantType,SubModelType,)-from invokeai.backend.tiny_autoencoder.checkpoint import TaesdLayout+from invokeai.backend.tiny_autoencoder.checkpoint import (+ TAELTX2_3,+ TAEW2_1,+ TAEW2_2,+ TaehvLayout,+ TinyAutoencoderLayout,+)from invokeai.backend.util.logging import InvokeAILoggerfrom tests.backend.model_manager.load.state_dicts import (clip_g_comfy_keys,@@ -54,7 +61,15 @@ from tests.backend.model_manager.load.state_dicts import (from tests.backend.model_manager.load.state_dicts.utils import write_header_only_safetensorsfrom tests.fixtures.spandrel_models import write_compact_upscalerfrom tests.fixtures.sqlite_database import create_mock_sqlite_database-from tests.fixtures.tiny_autoencoders import TAEF2, TAEQI2_1, TAESD, TAESD3, diffusers_weights, native_weights+from tests.fixtures.tiny_autoencoders import (+ TAEF2,+ TAEQI2_1,+ TAESD,+ TAESD3,+ diffusers_weights,+ native_weights,+ taehv_weights,+)KEY = "model-key"MODEL_PATH = "sd-1/main/model.safetensors"@@ -492,24 +507,31 @@ def test_reidentify_keeps_a_backbone_only_the_install_source_names(harness: _Harassert harness.manager.reidentify_model(KEY).base is BaseModelType.StableDiffusion3-def _write_tae(path: Path, layout: TaesdLayout, combined: bool) -> None:- native = native_weights(layout, dtype=torch.float16)+def _write_tae(path: Path, layout: TinyAutoencoderLayout, combined: bool = True) -> None:+ """A TAESD file in the combined or native layout, or a TAEHV file (which has only one)."""path.parent.mkdir(parents=True, exist_ok=True)+ if isinstance(layout, TaehvLayout):+ save_file(taehv_weights(layout, dtype=torch.float16), path)+ return+ native = native_weights(layout, dtype=torch.float16)save_file(diffusers_weights(native) if combined else native, path)-# The four Tiny AutoEncoders that share their latent space with another base, so only a name can say which they are.+# The Tiny AutoEncoders whose weights do not say which they are, so only a name can: the four that share their latent+# space with another base, and the two whose network is also published as an unsupported twin._NAME_AMBIGUOUS_TAES = [pytest.param("taesd", TAESD, False, BaseModelType.StableDiffusion1, id="taesd"),pytest.param("taesdxl", TAESD, False, BaseModelType.StableDiffusionXL, id="taesdxl"),pytest.param("taesd3", TAESD3, True, BaseModelType.StableDiffusion3, id="taesd3"),pytest.param("taef1", TAESD3, True, BaseModelType.Flux, id="taef1"),+ pytest.param("taew2_1", TAEW2_1, True, BaseModelType.Wan, id="taew2_1"),+ pytest.param("taeltx2_3", TAELTX2_3, True, BaseModelType.LTX2, id="taeltx2_3"),]@pytest.mark.parametrize(("folder", "layout", "combined", "base"), _NAME_AMBIGUOUS_TAES)def test_reidentify_keeps_the_base_a_local_install_read_off_the_folder_it_came_from(- harness: _Harness, folder: str, layout: TaesdLayout, combined: bool, base: BaseModelType+ harness: _Harness, folder: str, layout: TinyAutoencoderLayout, combined: bool, base: BaseModelType) -> None:"""The install moves the file into a folder named for its key and keeps its generic name. The folder that named theTAE survives only in the recorded source path."""@@ -526,21 +548,33 @@ def test_reidentify_keeps_the_base_a_local_install_read_off_the_folder_it_came_f_TAE_STARTERS = [m for m in STARTER_MODELS if m.type is ModelType.TinyAutoencoder]+# What each published TAE's file holds, by the TAE's name.+_PUBLISHED_TAE_LAYOUTS: dict[str, tuple[TinyAutoencoderLayout, bool]] = {+ "taesd": (TAESD, False),+ "taesdxl": (TAESD, False),+ "taesd3": (TAESD3, True),+ "taef1": (TAESD3, True),+ "taef2": (TAEF2, True),+ "taeqi2_1": (TAEQI2_1, True),+ "taew2_1": (TAEW2_1, True),+ "taew2_2": (TAEW2_2, True),+ "taeltx2_3": (TAELTX2_3, True),+}[email protected]("starter", _TAE_STARTERS, ids=lambda m: m.name)++def _tae_name(starter: StarterModel) -> str:+ """The TAE's name: its Hugging Face repo, or its file in the TAEHV GitHub repo."""+ match = re.search(r"madebyollin/(?:taehv/raw/[0-9a-f]+/safetensors/)?(?P<name>\w+)", starter.source)+ assert match is not None, starter.source+ return match["name"]++[email protected]("starter", _TAE_STARTERS, ids=_tae_name)def test_reidentify_keeps_the_base_of_a_tiny_autoencoder_starter(harness: _Harness, starter: StarterModel) -> None:"""A starter downloads to a file named like its URL, filed under the base the starter sets, then moved into a foldernamed for its key. TAESD3 and TAEF1 publish the same generic file name; their URLs name them."""- layouts = {- BaseModelType.StableDiffusion1: (TAESD, False),- BaseModelType.StableDiffusionXL: (TAESD, False),- BaseModelType.StableDiffusion3: (TAESD3, True),- BaseModelType.Flux: (TAESD3, True),- BaseModelType.Flux2: (TAEF2, True),- BaseModelType.QwenImage21: (TAEQI2_1, True),- }path = harness.models_path / KEY / starter.source.rsplit("/", 1)[-1]- _write_tae(path, *layouts[starter.base])+ _write_tae(path, *_PUBLISHED_TAE_LAYOUTS[_tae_name(starter)])installed = ModelConfigFactory.from_model_on_disk(path,{diff --git a/tests/app/util/test_tiny_autoencoder_previews.py b/tests/app/util/test_tiny_autoencoder_previews.pyindex b281ee556e..a4f71812f8 100644--- a/tests/app/util/test_tiny_autoencoder_previews.py+++ b/tests/app/util/test_tiny_autoencoder_previews.py@@ -13,11 +13,12 @@ from invokeai.app.services.session_processor.session_processor_common import Profrom invokeai.app.services.shared.invocation_context import InvocationContextData, UtilInterfacefrom invokeai.app.util import tiny_autoencoder_previewsfrom invokeai.app.util.step_callback import render_linear_preview-from invokeai.app.util.tiny_autoencoder_previews import TinyAutoencoderPreviews+from invokeai.app.util.tiny_autoencoder_previews import TinyAutoencoderPreviews, tiny_autoencoder_starters+from invokeai.backend.architectures import resolve_latent_spacefrom invokeai.backend.model_manager.load.model_cache.model_cache import MODEL_LOAD_LOCKfrom invokeai.backend.model_manager.taxonomy import BaseModelType, ModelTypefrom invokeai.backend.stable_diffusion.extensions.preview import PipelineIntermediateState-from invokeai.backend.tiny_autoencoder import preview+from invokeai.backend.tiny_autoencoder.checkpoint import TAEW2_1, build_taehv_decoderfrom invokeai.backend.tiny_autoencoder.taesd import DecoderLOGGER_NAME = "test.tiny_autoencoder_previews"@@ -245,8 +246,8 @@ def test_the_tae_lock_reserves_the_working_memory_of_a_decode() -> None:previews.render(BaseModelType.StableDiffusion1, _sample(height=16, width=24))# One lock for the invocation, keeping three live 64-channel float32 activations of the 128 x 192 image and two- # of convolution workspace free.- assert load.loaded.working_mem_requests == [(3 + 2) * 64 * (128 * 192) * 4]+ # of convolution workspace free, and the fixed 5 MiB allowance.+ assert load.loaded.working_mem_requests == [(3 + 2) * 64 * (128 * 192) * 4 + 5 * 2**20]def test_tae_frame_is_full_resolution_and_reports_the_linear_display_size() -> None:@@ -261,9 +262,10 @@ def test_tae_frame_is_full_resolution_and_reports_the_linear_display_size() -> Nassert image.mode == "RGB"-def test_capped_tae_frame_still_reports_the_full_generation_size(monkeypatch: pytest.MonkeyPatch) -> None:- monkeypatch.setattr(preview, "MAX_PREVIEW_EDGE", 96)- previews = _previews(_services(_Store([_tae_config()]), _load()))+def test_capped_tae_frame_still_reports_the_full_generation_size() -> None:+ decoder = _decoder()+ decoder.max_preview_edge = 96+ previews = _previews(_services(_Store([_tae_config()]), _load(decoder)))image, size = previews.render(BaseModelType.StableDiffusion1, _sample(height=32, width=48))@@ -301,9 +303,9 @@ def test_family_without_any_tae_is_told_so_rather_than_sent_to_the_starters(caplog: pytest.LogCaptureFixture,) -> None:previews = _previews(_services(_Store([_tae_config()]), _load()))- wan_sample = torch.randn(1, 16, 8, 8, generator=torch.Generator().manual_seed(0))+ cogview4_sample = torch.randn(1, 16, 8, 8, generator=torch.Generator().manual_seed(0))- previews.render(BaseModelType.Wan, wan_sample)+ previews.render(BaseModelType.CogView4, cogview4_sample)[info] = _messages(caplog, logging.INFO)assert "has no Tiny AutoEncoder" in info and "starter" not in info@@ -568,3 +570,74 @@ def test_frames_after_the_tae_fell_back_to_linear_return_to_the_stores_interval(assert len(decodes) == 3# Only the frames after a TAE frame wait for the TAE's device; once it fell back, there is none to wait for.assert len(syncs) == 2+++def _wan_window(frames: int = 2) -> torch.Tensor:+ """What the Wan video denoiser reports: the middle latent frame and the one before it."""+ return torch.randn(1, 16, frames, 6, 8, generator=torch.Generator().manual_seed(3))+++def test_a_latent_window_renders_linearly_as_its_last_frame() -> None:+ window = _wan_window()++ image, size = render_linear_preview(BaseModelType.Wan, window)+ last, last_size = render_linear_preview(BaseModelType.Wan, window[:, :, -1])++ assert np.array_equal(np.asarray(image), np.asarray(last))+ assert size == last_size == (64, 48)+++def test_a_latent_window_is_decoded_by_the_video_tae_of_its_space() -> None:+ torch.manual_seed(0)+ taew2_1 = build_taehv_decoder(TAEW2_1).eval()+ config = SimpleNamespace(+ key="taew2_1", name="TAEW2.1", type=ModelType.TinyAutoencoder, base=BaseModelType.Wan, latent_channels=16+ )+ load = _load(taew2_1)+ previews = _previews(_services(_Store([config]), load))+ window = _wan_window()++ image, size = previews.render(BaseModelType.Wan, window)++ with torch.inference_mode():+ last = taew2_1.decode_video(window.transpose(1, 2))[0, -1]+ expected = last.clamp(0, 1).mul(255).round().to(torch.uint8).permute(1, 2, 0).numpy()+ assert np.array_equal(np.asarray(image), expected)+ assert size == (64, 48)+ # The lock keeps the whole window's decode free: two latent frames, four output frames each, of the 48 x 64+ # image, at 2.25 live float32 activations and 2 of workspace per output frame, and the fixed 5 MiB allowance.+ assert load.loaded.working_mem_requests == [(2.25 + 2) * 64 * (48 * 64) * 4 * 8 + 5 * 2**20]+++def test_a_missing_tae_names_the_starter_of_its_space_even_under_another_base(caplog: pytest.LogCaptureFixture) -> None:+ """Anima denoises in the Wan 2.1 VAE's space, whose TAE is filed under Wan in the starter list."""+ previews = _previews(_services(_Store([]), _load()))+ anima_sample = torch.randn(1, 16, 8, 8, generator=torch.Generator().manual_seed(0))++ previews.render(BaseModelType.Anima, anima_sample)++ [info] = _messages(caplog, logging.INFO)+ assert "anima" in info+ assert "the TAEW2.1 (Wan 2.1 VAE preview decoder) starter model (listed under wan)" in info+++def _space_of(base: BaseModelType, channels: int):+ return resolve_latent_space(base, torch.zeros(1, channels, 2, 2))+++ ("base", "channels", "starters"),+ [+ (BaseModelType.StableDiffusion2, 4, ["TAESD (SD 1.x/2.x preview decoder)"]),+ (BaseModelType.ZImage, 16, ["TAEF1 (FLUX.1 preview decoder)"]),+ (BaseModelType.Ideogram4, 32, ["TAEF2 (FLUX.2 preview decoder)"]),+ (BaseModelType.QwenImage21, 64, ["TAEQI2.1 (Qwen-Image-2.1 preview decoder)"]),+ (BaseModelType.Anima, 16, ["TAEW2.1 (Wan 2.1 VAE preview decoder)"]),+ (BaseModelType.Wan, 48, ["TAEW2.2 (Wan 2.2 TI2V-5B preview decoder)"]),+ (BaseModelType.LTX2, 128, ["TAELTX2.3 (LTX-2.5 preview decoder)"]),+ (BaseModelType.CogView4, 16, []),+ (BaseModelType.MiniMaxH3, 24, []),+ ],+)+def test_the_starters_that_install_a_tae_for_a_space(base: BaseModelType, channels: int, starters: list[str]) -> None:+ assert [starter.name for starter in tiny_autoencoder_starters(_space_of(base, channels))] == startersdiff --git a/tests/backend/minimax_h3/test_taeh3_reference_outputs.py b/tests/backend/minimax_h3/test_taeh3_reference_outputs.pynew file mode 100644index 0000000000..f0a860cb9b--- /dev/null+++ b/tests/backend/minimax_h3/test_taeh3_reference_outputs.py@@ -0,0 +1,40 @@+"""taeh3 decodes as it did before it was built on the shared TAEHV decoder.++The expected values were recorded from the standalone taeh3 decoder (before the refactor) with the+weights and latents below; the refactored module reproduced them bit for bit. The tolerance only+absorbs convolution kernels that differ by platform.+"""++import math++import torch++from invokeai.backend.minimax_h3.taehv_decoder import TAEH3Decoder+++def _reference_decoder() -> TAEH3Decoder:+ """Seeded, fan-in scaled weights, independent of the order the modules are built in."""+ decoder = TAEH3Decoder().eval()+ generator = torch.Generator().manual_seed(0)+ weights = {}+ for key, value in sorted(decoder.state_dict().items()):+ fan_in = math.prod(value.shape[1:]) if value.dim() > 1 else 1+ scale = 1.0 if value.dim() > 1 else 0.1+ weights[key] = torch.randn(value.shape, generator=generator) / math.sqrt(fan_in) * scale+ weights["decoder.22.bias"] = weights["decoder.22.bias"] + 0.5+ decoder.load_state_dict(weights)+ return decoder+++def test_taeh3_frames_are_unchanged() -> None:+ latents = torch.randn(1, 24, 2, 2, 3, generator=torch.Generator().manual_seed(1))++ frames = _reference_decoder().decode(latents)++ assert frames.shape == (1, 8, 3, 32, 48)+ expected_frame_means = [0.519209, 0.494186, 0.548441, 0.484827, 0.507649, 0.504651, 0.540373, 0.488824]+ expected_pixels = [0.581767, 0.545331, 0.750652, 0.845425, 0.612469, 0.713125, 0.634564, 0.710431]+ expected_last_rgb = [0.353935, 0.205887, 0.245434]+ torch.testing.assert_close(frames.mean(dim=(2, 3, 4))[0], torch.tensor(expected_frame_means), rtol=0, atol=2e-5)+ torch.testing.assert_close(frames[0, :, 0, 5, 7], torch.tensor(expected_pixels), rtol=0, atol=2e-5)+ torch.testing.assert_close(frames[0, -1, :, 20, 30], torch.tensor(expected_last_rgb), rtol=0, atol=2e-5)diff --git a/tests/backend/model_manager/configs/test_tiny_autoencoder_config.py b/tests/backend/model_manager/configs/test_tiny_autoencoder_config.pyindex 28f3966ac1..ace11338fe 100644--- a/tests/backend/model_manager/configs/test_tiny_autoencoder_config.py+++ b/tests/backend/model_manager/configs/test_tiny_autoencoder_config.py@@ -2,10 +2,12 @@Files are written at the published shapes, so every other config class -- the VAEs, Spandrel, theLoRA and main-model heuristics -- also gets its say, and "exactly one match" proves they stay out.-The weights decide the latent space; within the two spaces two bases share (4 channels: SD 1 / SDXL,-16: SD3 / FLUX.1) the base override, then the TAE's published name, decides, and nothing else may.+The weights decide the latent space; where a network is not specific to one base (4 channels: SD 1 /+SDXL, 16: SD3 / FLUX.1, taew2_1's network: also HunyuanVideo and CogVideoX) the base override, then the+TAE's published name, decides, and nothing else may."""+import refrom pathlib import Pathfrom typing import Any@@ -13,6 +15,7 @@ import pytestimport torchfrom safetensors.torch import save_file+from invokeai.backend.architectures import LatentSpaceFacet, requirefrom invokeai.backend.model_manager.configs.base import Config_Basefrom invokeai.backend.model_manager.configs.factory import ModelClassificationResult, ModelConfigFactoryfrom invokeai.backend.model_manager.configs.identification_utils import InvalidMatchError@@ -20,7 +23,13 @@ from invokeai.backend.model_manager.load.model_loader_registry import ModelLoadefrom invokeai.backend.model_manager.load.model_loaders.tiny_autoencoder import TinyAutoencoderLoaderfrom invokeai.backend.model_manager.starter_models import STARTER_MODELS, StarterModelfrom invokeai.backend.model_manager.taxonomy import BaseModelType, ModelFormat, ModelType-from invokeai.backend.tiny_autoencoder.checkpoint import TaesdLayout+from invokeai.backend.tiny_autoencoder.checkpoint import (+ TAELTX2_3,+ TAEW2_1,+ TAEW2_2,+ TaehvLayout,+ TinyAutoencoderLayout,+)from tests.fixtures.tiny_autoencoders import (TAEF2,TAEQI2_1,@@ -28,6 +37,7 @@ from tests.fixtures.tiny_autoencoders import (TAESD3,diffusers_weights,native_weights,+ taehv_weights,tinier_weights,)@@ -48,7 +58,11 @@ def _zeros(sd: dict[str, torch.Tensor]) -> dict[str, torch.Tensor]:return {key: torch.zeros(value.shape, dtype=torch.float16) for key, value in sd.items()}-def _write(path: Path, layout: TaesdLayout, combined: bool) -> Path:+def _write(path: Path, layout: TinyAutoencoderLayout, combined: bool = True) -> Path:+ """A TAESD file in the combined or native layout, or a TAEHV file (which has only one)."""+ if isinstance(layout, TaehvLayout):+ save_file(_zeros(taehv_weights(layout)), path)+ return pathnative = native_weights(layout)save_file(_zeros(diffusers_weights(native) if combined else native), path)return path@@ -76,10 +90,13 @@ def _single_tae(result: ModelClassificationResult) -> Any:# The two families no other base shares need no name at all.("preview.safetensors", TAEF2, True, BaseModelType.Flux2),("preview.safetensors", TAEQI2_1, True, BaseModelType.QwenImage21),+ ("taew2_1.safetensors", TAEW2_1, True, BaseModelType.Wan),+ ("preview.safetensors", TAEW2_2, True, BaseModelType.Wan),+ ("taeltx2_3.safetensors", TAELTX2_3, True, BaseModelType.LTX2),],)def test_each_published_tae_is_filed_under_its_base_and_nothing_else_matches(- tmp_path: Path, filename: str, layout: TaesdLayout, combined: bool, base: BaseModelType+ tmp_path: Path, filename: str, layout: TinyAutoencoderLayout, combined: bool, base: BaseModelType) -> None:config = _single_tae(_identify(_write(tmp_path / filename, layout, combined)))@@ -142,7 +159,7 @@ def test_a_base_override_decides_within_the_shared_family(tmp_path: Path, base:],)def test_a_shared_family_file_nothing_names_is_refused_not_guessed(- tmp_path: Path, filename: str, layout: TaesdLayout+ tmp_path: Path, filename: str, layout: TinyAutoencoderLayout) -> None:result = _identify(_write(tmp_path / filename, layout, combined=True))@@ -189,38 +206,129 @@ def test_a_tae_in_a_file_type_the_loader_does_not_read_is_not_installed_as_one(tassert result.config is None or result.config.type is not ModelType.TinyAutoencoder-# What each madebyollin repo publishes, independent of the starter entries: the base its latents belong to,-# and the layout (native decoder-only for taesd/taesdxl, combined otherwise).-_PUBLISHED_TAES: dict[str, tuple[BaseModelType, TaesdLayout, bool]] = {+_TAEW2_1_URL = (+ "https://github.com/madebyollin/taehv/raw/62f7591f59dfbb4c3c02b7a621d180a9eeaba26c/safetensors/taew2_1.safetensors"+)+++ ("layout", "twins"),+ [+ (TAEW2_1, ("HunyuanVideo (taehv)", "CogVideoX (taecvx)", "Open-Sora (taeos1_3)")),+ (TAELTX2_3, ("LTX-2 (taeltx_2)",)),+ ],+ ids=["taew2_1", "taeltx2_3"],+)+def test_a_network_with_unsupported_twins_is_refused_unless_named_or_overridden(+ tmp_path: Path, layout: TaehvLayout, twins: tuple[str, ...]+) -> None:+ """taew2_1's network is also published as taehv and taecvx, taeltx2_3's as taeltx_2."""+ result = _identify(_write(tmp_path / "preview.safetensors", layout))++ assert result.config is None+ assert result.invalid_matches+ assert all(all(twin in str(e) for twin in twins) and "starter models" in str(e) for e in result.invalid_matches)+++ ("filename", "refusal"),+ [+ ("taehv.safetensors", "HunyuanVideo preview decoder"),+ ("taecvx_decoder.pth", "CogVideoX preview decoder"),+ ("taeos1_3.safetensors", "Open-Sora 1.3 preview decoder"),+ ],+)[email protected]("override", [{}, {"base": BaseModelType.Wan.value}], ids=["no-override", "wan-override"])+def test_a_file_named_for_a_hunyuanvideo_or_cogvideox_twin_is_refused_whatever_the_override(+ tmp_path: Path, filename: str, refusal: str, override: dict[str, Any]+) -> None:+ path = tmp_path / filename+ if path.suffix == ".pth":+ torch.save(taehv_weights(TAEW2_1), path)+ else:+ _write(path, TAEW2_1)++ result = _identify(path, **override)++ assert result.config is None+ assert result.invalid_matches+ assert all(refusal in str(e) and "rename" not in str(e) for e in result.invalid_matches)+++def test_the_taew2_1_starter_url_names_its_file_not_the_taehv_repository(tmp_path: Path) -> None:+ """`.../madebyollin/taehv/raw/<sha>/safetensors/taew2_1.safetensors`: the last segment is the most specific."""+ path = _write(tmp_path / "preview.safetensors", TAEW2_1)++ config = _single_tae(_identify(path, source=_TAEW2_1_URL, source_type="url"))++ assert (config.base, config.latent_channels) == (BaseModelType.Wan, 16)+++def test_an_ltx_2_override_files_an_unnamed_taeltx2_3(tmp_path: Path) -> None:+ path = _write(tmp_path / "preview.safetensors", TAELTX2_3)++ assert _single_tae(_identify(path, base=BaseModelType.LTX2.value)).base is BaseModelType.LTX2+++def test_a_wan_override_files_an_unnamed_taew2_1(tmp_path: Path) -> None:+ path = _write(tmp_path / "preview.safetensors", TAEW2_1)++ config = _single_tae(_identify(path, base=BaseModelType.Wan.value))++ assert (config.base, config.latent_channels) == (BaseModelType.Wan, 16)+++def test_taeh3_is_left_to_the_minimax_h3_preview_path(tmp_path: Path) -> None:+ taeh3 = TaehvLayout(latent_channels=24, patch_size=2, time_upscale=TAEW2_1.time_upscale)++ result = _identify(_write(tmp_path / "taeh3.safetensors", taeh3))++ assert not any(config.type is ModelType.TinyAutoencoder for config in result.all_matches)+ assert not result.invalid_matches+++# What each published TAE behind a starter is, independent of the starter entries: the base its latents+# belong to, and the layout (TAESD: native decoder-only for taesd/taesdxl, combined otherwise).+_PUBLISHED_TAES: dict[str, tuple[BaseModelType, TinyAutoencoderLayout, bool]] = {"taesd": (BaseModelType.StableDiffusion1, TAESD, False),"taesdxl": (BaseModelType.StableDiffusionXL, TAESD, False),"taesd3": (BaseModelType.StableDiffusion3, TAESD3, True),"taef1": (BaseModelType.Flux, TAESD3, True),"taef2": (BaseModelType.Flux2, TAEF2, True),"taeqi2_1": (BaseModelType.QwenImage21, TAEQI2_1, True),+ "taew2_1": (BaseModelType.Wan, TAEW2_1, True),+ "taew2_2": (BaseModelType.Wan, TAEW2_2, True),+ "taeltx2_3": (BaseModelType.LTX2, TAELTX2_3, True),}_TAE_STARTERS = [m for m in STARTER_MODELS if m.type is ModelType.TinyAutoencoder]-def _repo(starter: StarterModel) -> str:- return starter.source.removeprefix("https://huggingface.co/madebyollin/").split("/", 1)[0]+def _tae_name(starter: StarterModel) -> str:+ """The TAE's name: its Hugging Face repo, or its file in the TAEHV GitHub repo."""+ match = re.search(r"madebyollin/(?:taehv/raw/[0-9a-f]+/safetensors/)?(?P<name>\w+)", starter.source)+ assert match is not None, starter.source+ return match["name"]-def test_every_tae_config_has_exactly_one_starter() -> None:- config_bases = {- c.model_fields["base"].default- for c in Config_Base.CONFIG_CLASSES- if c.model_fields["type"].default is ModelType.TinyAutoencoder- }+def test_every_space_a_tae_can_be_filed_under_has_exactly_one_starter() -> None:+ """One starter per `(base, latent channels)` a TAE config accepts: Wan has two, one per latent space."""+ fileable = set()+ for config in Config_Base.CONFIG_CLASSES:+ if config.model_fields["type"].default is ModelType.TinyAutoencoder:+ base = config.model_fields["base"].default+ facet = require(base, LatentSpaceFacet)+ fileable |= {(base, space.channels) for space in (facet.primary, *facet.alternates)}+ starter_spaces = [(base, layout.latent_channels) for base, layout, _ in _PUBLISHED_TAES.values()]- assert sorted(_repo(m) for m in _TAE_STARTERS) == sorted(_PUBLISHED_TAES)- assert {base for base, _, _ in _PUBLISHED_TAES.values()} == config_bases+ assert sorted(_tae_name(m) for m in _TAE_STARTERS) == sorted(_PUBLISHED_TAES)+ assert len(starter_spaces) == len(set(starter_spaces))+ assert set(starter_spaces) == fileable[email protected]("starter", _TAE_STARTERS, ids=_repo)[email protected]("starter", _TAE_STARTERS, ids=_tae_name)def test_a_starter_install_identifies_round_trips_and_has_a_loader(tmp_path: Path, starter: StarterModel) -> None:"""The payload is the one the starter installer sends: base, type, format, name, description."""- base, layout, combined = _PUBLISHED_TAES[_repo(starter)]+ base, layout, combined = _PUBLISHED_TAES[_tae_name(starter)]path = _write(tmp_path / starter.source.rsplit("/", 1)[-1], layout, combined)payload = {"base": starter.base.value,@@ -238,3 +346,83 @@ def test_a_starter_install_identifies_round_trips_and_has_a_loader(tmp_path: Patassert ModelConfigFactory.from_json(config.model_dump_json()) == configimplementation, _, _ = ModelLoaderRegistry.get_implementation(config, None)assert implementation is TinyAutoencoderLoader+++_TAELTX_2_URL = (+ "https://github.com/madebyollin/taehv/raw/62f7591f59dfbb4c3c02b7a621d180a9eeaba26c/safetensors/taeltx_2.safetensors"+)+++ ("filename", "overrides"),+ [+ ("taeltx_2.safetensors", {}),+ ("taeltx2.pth", {}),+ ("diffusion_pytorch_model.safetensors", {"source": _TAELTX_2_URL, "source_type": "url"}),+ # Not even an explicit LTX-2 base installs it: it previews LTX-2.5 worse than the linear projection.+ ("taeltx_2.safetensors", {"base": BaseModelType.LTX2.value}),+ ],+)+def test_taeltx_2_is_refused_by_name_with_the_decoder_to_install(+ tmp_path: Path, filename: str, overrides: dict[str, Any]+) -> None:+ path = tmp_path / filename+ if path.suffix == ".pth":+ torch.save(taehv_weights(TAELTX2_3), path)+ else:+ _write(path, TAELTX2_3)++ result = _identify(path, **overrides)++ assert result.config is None+ assert result.invalid_matches+ assert all("LTX-2.5 needs taeltx2_3" in str(e) for e in result.invalid_matches)+++ "filename",+ [+ "taeltx2_3.safetensors",+ "taeltx2.3.safetensors",+ "taeltx2-3.safetensors",+ "taeltx_2_3.safetensors",+ "TAELTX2.3.pth",+ ],+)+def test_taeltx2_3_is_accepted_under_its_spellings(tmp_path: Path, filename: str) -> None:+ path = tmp_path / filename+ if path.suffix == ".pth":+ torch.save(taehv_weights(TAELTX2_3), path)+ else:+ _write(path, TAELTX2_3)++ assert _single_tae(_identify(path)).base is BaseModelType.LTX2+++def test_an_ltx_name_that_runs_the_digits_together_is_unnamed_not_taeltx_2(tmp_path: Path) -> None:+ """`taeltx23` is neither TAELTX2.3's spelling nor taeltx_2: it is refused as unnamed unless a base is given."""+ path = _write(tmp_path / "taeltx23.safetensors", TAELTX2_3)++ result = _identify(path)++ assert result.config is None+ assert result.invalid_matches+ assert all("nothing in its name says which it is" in str(e) for e in result.invalid_matches)+ assert _single_tae(_identify(path, base=BaseModelType.LTX2.value)).base is BaseModelType.LTX2+++def test_taeltx2_followed_by_another_number_is_still_taeltx_2(tmp_path: Path) -> None:+ result = _identify(_write(tmp_path / "taeltx2_30.safetensors", TAELTX2_3))++ assert result.config is None+ assert all("LTX-2.5 needs taeltx2_3" in str(e) for e in result.invalid_matches)+++def test_taeltx2_3_in_a_folder_named_for_taeltx_2_is_accepted(tmp_path: Path) -> None:+ """The file's own name is the more specific evidence."""+ folder = tmp_path / "taeltx_2"+ folder.mkdir()++ config = _single_tae(_identify(_write(folder / "taeltx2_3.safetensors", TAELTX2_3)))++ assert config.base is BaseModelType.LTX2diff --git a/tests/backend/model_manager/load/test_tiny_autoencoder_loader.py b/tests/backend/model_manager/load/test_tiny_autoencoder_loader.pyindex 0828734896..16c0e638b5 100644--- a/tests/backend/model_manager/load/test_tiny_autoencoder_loader.py+++ b/tests/backend/model_manager/load/test_tiny_autoencoder_loader.py@@ -1,4 +1,4 @@-"""Loading a Tiny AutoEncoder: the decoder a file holds, from either layout or a ComfyUI `.pth`."""+"""Loading a Tiny AutoEncoder: the decoder a file holds, from any published layout or a ComfyUI `.pth`."""from pathlib import Pathfrom types import SimpleNamespace@@ -11,19 +11,23 @@ from invokeai.backend.model_manager.configs.factory import ModelConfigFactoryfrom invokeai.backend.model_manager.configs.tiny_autoencoder import (TinyAutoencoder_Checkpoint_Config_Base,TinyAutoencoder_Checkpoint_FLUX_Config,+ TinyAutoencoder_Checkpoint_LTX2_Config,TinyAutoencoder_Checkpoint_QwenImage21_Config,TinyAutoencoder_Checkpoint_SD1_Config,+ TinyAutoencoder_Checkpoint_Wan_Config,)from invokeai.backend.model_manager.load.model_loaders.tiny_autoencoder import TinyAutoencoderLoader-from invokeai.backend.tiny_autoencoder.taesd import TaesdDecoder-from tests.fixtures.tiny_autoencoders import TAEQI2_1, TAESD, TAESD3, diffusers_weights, native_weights+from invokeai.backend.tiny_autoencoder.checkpoint import TAELTX2_3, TAEW2_2+from invokeai.backend.tiny_autoencoder.decoder import TinyAutoencoderDecoder+from invokeai.backend.tiny_autoencoder.taehv import TaehvDecoder+from tests.fixtures.tiny_autoencoders import TAEQI2_1, TAESD, TAESD3, diffusers_weights, native_weights, taehv_weightsdef _load(path: Path,config_class: type[TinyAutoencoder_Checkpoint_Config_Base] = TinyAutoencoder_Checkpoint_SD1_Config,dtype: torch.dtype = torch.float32,-) -> TaesdDecoder:+) -> TinyAutoencoderDecoder:loader = object.__new__(TinyAutoencoderLoader)loader._torch_dtype = dtypeloader._logger = SimpleNamespace(info=lambda *_a, **_k: None, warning=lambda *_a, **_k: None)@@ -31,7 +35,7 @@ def _load(return loader._load_model(config)-def _assert_holds(decoder: TaesdDecoder, native: dict[str, torch.Tensor]) -> None:+def _assert_holds(decoder: TinyAutoencoderDecoder, native: dict[str, torch.Tensor]) -> None:loaded = decoder.state_dict()assert loaded.keys() == native.keys()for key, value in native.items():@@ -111,5 +115,34 @@ def test_a_checkpoint_that_is_not_exactly_the_decoder_is_refused(tmp_path: Path,sd["18.conv.6.weight"] = torch.zeros(64, 64, 3, 3)save_file(sd, tmp_path / "taesd_decoder.safetensors")- with pytest.raises(ValueError, match="not a TAESD decoder"):+ with pytest.raises(ValueError, match="not a supported Tiny AutoEncoder"):_load(tmp_path / "taesd_decoder.safetensors")+++ ("layout", "config_class", "compression"),+ [(TAEW2_2, TinyAutoencoder_Checkpoint_Wan_Config, 16), (TAELTX2_3, TinyAutoencoder_Checkpoint_LTX2_Config, 32)],+ ids=["taew2_2", "taeltx"],+)+def test_a_taehv_checkpoint_loads_its_decoder_and_drops_the_encoder(+ tmp_path: Path, layout, config_class, compression: int+) -> None:+ published = taehv_weights(layout, dtype=torch.float16)+ save_file(published, tmp_path / "tae.safetensors")++ decoder = _load(tmp_path / "tae.safetensors", config_class)++ assert isinstance(decoder, TaehvDecoder)+ _assert_holds(decoder, {k: v for k, v in published.items() if k.startswith("decoder.")})+ assert decoder.spatial_compression == compression+ assert all(p.dtype == torch.float32 for p in decoder.parameters())+ assert not decoder.training+++def test_a_taehv_checkpoint_with_a_tensor_the_decoder_lacks_is_refused(tmp_path: Path) -> None:+ sd = taehv_weights(TAEW2_2)+ sd["decoder.17.conv.6.weight"] = torch.zeros(64, 64, 3, 3)+ save_file(sd, tmp_path / "taew2_2.safetensors")++ with pytest.raises(ValueError, match="not a supported Tiny AutoEncoder"):+ _load(tmp_path / "taew2_2.safetensors", TinyAutoencoder_Checkpoint_Wan_Config)diff --git a/tests/backend/tiny_autoencoder/test_checkpoint.py b/tests/backend/tiny_autoencoder/test_checkpoint.pyindex 17962d8823..937ece25d9 100644--- a/tests/backend/tiny_autoencoder/test_checkpoint.py+++ b/tests/backend/tiny_autoencoder/test_checkpoint.py@@ -1,14 +1,22 @@-"""Reading a TAESD checkpoint: which decoder it holds, in either published layout, and what it is not."""+"""Reading a TAE checkpoint: which decoder it holds, in any published layout, and what it is not."""import pytestimport torchfrom invokeai.backend.tiny_autoencoder.checkpoint import (+ TAELTX2_3,+ TAEW2_1,+ TAEW2_2,+ TaehvLayout,TaesdLayout,build_taesd_decoder,+ build_tiny_autoencoder_decoder,+ detect_taehv_layout,detect_taesd_layout,+ detect_tiny_autoencoder_layout,is_tinier_taesd,taesd_decoder_state_dict,+ tiny_autoencoder_state_dict,)from tests.fixtures.tiny_autoencoders import (TAEF2,@@ -17,6 +25,7 @@ from tests.fixtures.tiny_autoencoders import (TAESD3,diffusers_weights,native_weights,+ taehv_weights,tinier_weights,)@@ -104,3 +113,68 @@ def test_what_is_not_exactly_a_taesd_decoder_is_not_detected(make) -> None:assert detect_taesd_layout(sd) is Noneassert not is_tinier_taesd(sd)+++TAEHV_LAYOUTS = [TAEW2_1, TAEW2_2, TAELTX2_3]++[email protected]("layout", TAEHV_LAYOUTS, ids=["taew2_1", "taew2_2", "taeltx"])+def test_taehv_files_are_detected_from_shapes_alone_and_not_as_taesd(layout: TaehvLayout) -> None:+ sd = _on_meta(taehv_weights(layout))++ assert detect_taehv_layout(sd) == layout+ assert detect_tiny_autoencoder_layout(sd) == layout+ assert detect_taesd_layout(sd) is None++[email protected]("layout", LAYOUTS, ids=lambda layout: f"{layout.arch}-{layout.latent_channels}")+def test_taesd_files_are_not_detected_as_taehv(layout: TaesdLayout) -> None:+ native = native_weights(layout)++ assert detect_taehv_layout(_on_meta(native)) is None+ assert detect_taehv_layout(_on_meta(diffusers_weights(native))) is None+ assert detect_tiny_autoencoder_layout(_on_meta(native)) == layout+++def test_the_taehv_decoder_weights_are_everything_but_the_encoder() -> None:+ sd = taehv_weights(TAEW2_1)++ decoder_sd = tiny_autoencoder_state_dict(sd, TAEW2_1)++ assert not any(key.startswith("encoder.") for key in decoder_sd)+ build_tiny_autoencoder_decoder(TAEW2_1).load_state_dict(decoder_sd, strict=True)+++def _taehv_with(**changes) -> dict[str, torch.Tensor]:+ """A TAEHV checkpoint of a network no supported base uses: `TaehvLayout` fields changed from taew2_1's."""+ return taehv_weights(TaehvLayout(**{**vars(TAEW2_1), **changes}))+++def _truncated_taehv() -> dict[str, torch.Tensor]:+ sd = taehv_weights(TAEW2_2)+ del sd["decoder.17.conv.4.bias"]+ return sd+++def _extended_taehv() -> dict[str, torch.Tensor]:+ sd = taehv_weights(TAEW2_2)+ sd["decoder.23.weight"] = torch.zeros(3, 3, 3, 3)+ return sd+++ "make",+ [+ # taeh3: MiniMax H3 keeps its own preview path.+ lambda: _taehv_with(latent_channels=24, patch_size=2),+ # taehv1_5: 32 channels at 16x, which no architecture denoises in.+ lambda: _taehv_with(latent_channels=32, patch_size=2),+ # LTX's width with Wan's temporal strides.+ lambda: _taehv_with(latent_channels=128, patch_size=4),+ _truncated_taehv,+ _extended_taehv,+ ],+ ids=["taeh3", "taehv1_5", "ltx-width-wan-strides", "truncated", "extended"],+)+def test_taehv_networks_no_supported_base_uses_are_not_detected(make) -> None:+ assert detect_tiny_autoencoder_layout(_on_meta(make())) is Nonediff --git a/tests/backend/tiny_autoencoder/test_preview.py b/tests/backend/tiny_autoencoder/test_preview.pyindex 4a2d91372d..6165782e0a 100644--- a/tests/backend/tiny_autoencoder/test_preview.py+++ b/tests/backend/tiny_autoencoder/test_preview.py@@ -12,13 +12,16 @@ from invokeai.backend.model_manager.configs.tiny_autoencoder import (TinyAutoencoder_Checkpoint_Config_Base,TinyAutoencoder_Checkpoint_Flux2_Config,TinyAutoencoder_Checkpoint_FLUX_Config,+ TinyAutoencoder_Checkpoint_LTX2_Config,TinyAutoencoder_Checkpoint_SD1_Config,TinyAutoencoder_Checkpoint_SD3_Config,TinyAutoencoder_Checkpoint_SDXL_Config,- is_tiny_autoencoder_supported,+ TinyAutoencoder_Checkpoint_Wan_Config,)from invokeai.backend.model_manager.taxonomy import BaseModelTypefrom invokeai.backend.tiny_autoencoder import preview+from invokeai.backend.tiny_autoencoder.checkpoint import TAELTX2_3, TAEW2_1, TAEW2_2, build_taehv_decoder+from invokeai.backend.tiny_autoencoder.decoder import TinyAutoencoderDecoderfrom invokeai.backend.tiny_autoencoder.preview import (decode_preview,decode_working_memory_bytes,@@ -33,6 +36,9 @@ def taesd() -> TaesdDecoder:return Decoder(4).eval()+MIB = 2**20++def _latent(*shape: int, seed: int = 1) -> torch.Tensor:return torch.randn(*shape, generator=torch.Generator().manual_seed(seed))@@ -62,7 +68,7 @@ def test_a_latent_of_another_width_is_refused(taesd: TaesdDecoder) -> None:def test_an_oversized_latent_is_area_downsampled_to_the_cap(taesd: TaesdDecoder, monkeypatch) -> None:"""A latent of 2x2-constant blocks, halved by the cap, decodes exactly as the latent it was made from."""- monkeypatch.setattr(preview, "MAX_PREVIEW_EDGE", 48)+ monkeypatch.setattr(taesd, "max_preview_edge", 48)small = _latent(4, 4, 6)large = small.repeat_interleave(2, dim=-2).repeat_interleave(2, dim=-1)@@ -74,7 +80,7 @@ def test_an_oversized_latent_is_area_downsampled_to_the_cap(taesd: TaesdDecoder,def test_the_cap_bounds_the_longest_edge_of_any_aspect(taesd: TaesdDecoder, monkeypatch) -> None:- monkeypatch.setattr(preview, "MAX_PREVIEW_EDGE", 64)+ monkeypatch.setattr(taesd, "max_preview_edge", 64)image = decode_preview(taesd, _latent(4, 6, 16))@@ -104,10 +110,10 @@ def test_a_latent_the_cap_does_not_divide_is_area_downsampled(MPS pools such a size on the CPU. The decoder here is float64, which that detour pools at float32 and must handback at the decoder's own width."""- monkeypatch.setattr(preview, "MAX_PREVIEW_EDGE", 48)if pooled_on_cpu:monkeypatch.setattr(preview, "_POOLING_NEEDS_DIVISIBLE_SIZES", frozenset({"cpu"}))decoder = copy.deepcopy(taesd).double()+ decoder.max_preview_edge = 48large = _latent(4, 6, 9).double()pooled: list[tuple[torch.device, torch.dtype]] = []interpolate = torch.nn.functional.interpolate@@ -128,14 +134,15 @@ def test_a_latent_the_cap_does_not_divide_is_area_downsampled(def test_a_decode_reserves_its_full_resolution_activations_at_the_capped_size(taesd: TaesdDecoder, monkeypatch) -> None:- monkeypatch.setattr(preview, "MAX_PREVIEW_EDGE", 48)+ monkeypatch.setattr(taesd, "max_preview_edge", 48)half = copy.deepcopy(taesd).half()- # Three live 64-channel activations and two of convolution workspace per output pixel, at the element size.- assert decode_working_memory_bytes(taesd, _latent(4, 3, 5)) == (3 + 2) * 64 * (24 * 40) * 4- assert decode_working_memory_bytes(half, _latent(4, 3, 5)) == (3 + 2) * 64 * (24 * 40) * 2+ # Three live 64-channel activations and two of convolution workspace per output pixel, at the element size, and+ # the fixed 5 MiB allowance.+ assert decode_working_memory_bytes(taesd, _latent(4, 3, 5)) == (3 + 2) * 64 * (24 * 40) * 4 + 5 * MIB+ assert decode_working_memory_bytes(half, _latent(4, 3, 5)) == (3 + 2) * 64 * (24 * 40) * 2 + 5 * MIB# 12 x 18 latents exceed the cap and are decoded at 4 x 6.- assert decode_working_memory_bytes(taesd, _latent(1, 4, 12, 18)) == (3 + 2) * 64 * (32 * 48) * 4+ assert decode_working_memory_bytes(taesd, _latent(1, 4, 12, 18)) == (3 + 2) * 64 * (32 * 48) * 4 + 5 * MIB@pytest.fixture(scope="module")@@ -146,7 +153,7 @@ def taeqi() -> TaesdDecoder:def test_the_cap_is_applied_at_the_decoders_own_compression(taeqi: TaesdDecoder, monkeypatch) -> None:"""An 8 x 4 latent fits a 96 cap at 8x (64 x 32) but not at TAEQI2.1's 16x, where it is scaled by 3/4."""- monkeypatch.setattr(preview, "MAX_PREVIEW_EDGE", 96)+ monkeypatch.setattr(taeqi, "max_preview_edge", 96)image = decode_preview(taeqi, _latent(64, 8, 4))@@ -221,7 +228,10 @@ SDXL_TAE = _record(TinyAutoencoder_Checkpoint_SDXL_Config, 4, "taesdxl")SD3_TAE = _record(TinyAutoencoder_Checkpoint_SD3_Config, 16, "taesd3")FLUX_TAE = _record(TinyAutoencoder_Checkpoint_FLUX_Config, 16, "taef1")FLUX2_TAE = _record(TinyAutoencoder_Checkpoint_Flux2_Config, 32, "taef2")-INSTALLED = [SD1_TAE, SDXL_TAE, SD3_TAE, FLUX_TAE, FLUX2_TAE]+WAN16_TAE = _record(TinyAutoencoder_Checkpoint_Wan_Config, 16, "taew2_1")+WAN48_TAE = _record(TinyAutoencoder_Checkpoint_Wan_Config, 48, "taew2_2")+LTX2_TAE = _record(TinyAutoencoder_Checkpoint_LTX2_Config, 128, "taeltx2_3")+INSTALLED = [SD1_TAE, SDXL_TAE, SD3_TAE, FLUX_TAE, FLUX2_TAE, WAN16_TAE, WAN48_TAE, LTX2_TAE]@pytest.mark.parametrize(@@ -233,7 +243,14 @@ INSTALLED = [SD1_TAE, SDXL_TAE, SD3_TAE, FLUX_TAE, FLUX2_TAE](BaseModelType.StableDiffusion3, 16, SD3_TAE),(BaseModelType.ErnieImage, 32, FLUX2_TAE),(BaseModelType.CogView4, 16, None),- (BaseModelType.QwenImage, 16, None),+ # The Wan 2.1 VAE's space, shared by four architectures; Wan's 48-channel space is TI2V-5B's alone.+ (BaseModelType.Wan, 16, WAN16_TAE),+ (BaseModelType.QwenImage, 16, WAN16_TAE),+ (BaseModelType.Krea2, 16, WAN16_TAE),+ (BaseModelType.Anima, 16, WAN16_TAE),+ (BaseModelType.Wan, 48, WAN48_TAE),+ (BaseModelType.LTX2, 128, LTX2_TAE),+ (BaseModelType.MiniMaxH3, 24, None),],)def test_a_tae_serves_every_architecture_sharing_its_latent_space(@@ -253,16 +270,147 @@ def test_the_choice_among_fitting_taes_is_by_name_then_key_whatever_the_order()@pytest.mark.parametrize(- ("base", "channels", "supported"),+ ("layout", "latent", "image_size"),+ [+ # 8x: an 8 x 6 latent is 64 x 48 pixels, inside the cap.+ (TAEW2_1, (16, 8, 6), (48, 64)),+ # 16x and 32x: the same latent edge is 128 and 256 pixels, so the latent is halved and quartered.+ (TAEW2_2, (48, 8, 6), (48, 64)),+ (TAELTX2_3, (128, 8, 4), (32, 64)),+ ],+ ids=["taew2_1", "taew2_2", "taeltx"],+)+def test_a_taehv_preview_is_one_rgb_frame_capped_at_its_compression(+ layout, latent: tuple[int, int, int], image_size: tuple[int, int]+) -> None:+ torch.manual_seed(0)+ decoder = build_taehv_decoder(layout).eval()+ decoder.max_preview_edge = 64++ image = decode_preview(decoder, _latent(*latent))++ assert image.mode == "RGB"+ assert image.size == image_size+++class _Stop(Exception):+ pass+++def _first_conv_input(decoder: TinyAutoencoderDecoder, latent: torch.Tensor) -> tuple[int, ...]:+ """The latent shape the decoder's first convolution receives, without paying for the decode."""+ seen: list[tuple[int, ...]] = []++ def record(_module: torch.nn.Module, args: tuple[torch.Tensor, ...]) -> None:+ seen.append(tuple(args[0].shape))+ raise _Stop++ first_conv = next(m for m in decoder.modules() if isinstance(m, torch.nn.Conv2d))+ handle = first_conv.register_forward_pre_hook(record)+ try:+ with pytest.raises(_Stop):+ decode_preview(decoder, latent)+ finally:+ handle.remove()+ return seen[0]+++ ("layout", "latent", "decoded"),[- (BaseModelType.StableDiffusion2, 4, True),- (BaseModelType.ZImage, 16, True),- (BaseModelType.Ideogram4, 32, True),- (BaseModelType.QwenImage21, 64, True),- (BaseModelType.CogView4, 16, False),- (BaseModelType.QwenImage, 16, False),- (BaseModelType.LTX2, 128, False),+ # 1024 pixels at 8x: taew2_1 caps at 512, so the latent is halved.+ (TAEW2_1, (16, 128, 96), (1, 16, 64, 48)),+ # 1024 pixels at 16x and 32x: taew2_2 and taeltx2_3 decode them as they are.+ (TAEW2_2, (48, 64, 48), (1, 48, 64, 48)),+ (TAELTX2_3, (128, 32, 24), (1, 128, 32, 24)),],+ ids=["taew2_1", "taew2_2", "taeltx2_3"],)-def test_whether_any_tae_decodes_a_space(base: BaseModelType, channels: int, supported: bool) -> None:- assert is_tiny_autoencoder_supported(_space(base, channels)) is supported+def test_each_decoder_brings_its_own_preview_edge(layout, latent: tuple[int, ...], decoded: tuple[int, ...]) -> None:+ decoder = build_taehv_decoder(layout).eval()++ assert _first_conv_input(decoder, torch.zeros(latent)) == decoded++[email protected](scope="module")+def taew2_1() -> TinyAutoencoderDecoder:+ torch.manual_seed(0)+ return build_taehv_decoder(TAEW2_1).eval()+++def test_a_latent_window_decodes_to_the_last_frame_of_its_video(taew2_1: TinyAutoencoderDecoder) -> None:+ window = _latent(1, 16, 2, 3, 4)++ image = decode_preview(taew2_1, window)++ with torch.inference_mode():+ last = taew2_1.decode_video(window.transpose(1, 2))[0, -1]+ expected = last.clamp(0, 1).mul(255).round().to(torch.uint8).permute(1, 2, 0).numpy()+ assert np.array_equal(np.asarray(image), expected)+++def test_a_one_frame_window_decodes_like_the_single_latent(taew2_1: TinyAutoencoderDecoder) -> None:+ latent = _latent(1, 16, 3, 4)++ assert np.array_equal(+ np.asarray(decode_preview(taew2_1, latent.unsqueeze(2))), np.asarray(decode_preview(taew2_1, latent))+ )+++def test_a_capped_window_pools_each_frame_in_space_and_keeps_them_all(+ taew2_1: TinyAutoencoderDecoder, monkeypatch+) -> None:+ seen: list[torch.Tensor] = []++ def record(window: torch.Tensor) -> torch.Tensor:+ seen.append(window)+ raise _Stop++ monkeypatch.setattr(taew2_1, "max_preview_edge", 16)+ monkeypatch.setattr(taew2_1, "decode_window", record)+ window = _latent(1, 16, 2, 4, 4)++ with pytest.raises(_Stop):+ decode_preview(taew2_1, window)++ [pooled] = seen+ assert pooled.shape == (1, 16, 2, 2, 2)+ for frame in range(2):+ expected = torch.nn.functional.avg_pool2d(window[:, :, frame], 2)+ torch.testing.assert_close(pooled[:, :, frame], expected)+++def test_a_taesd_decoder_refuses_a_latent_window(taesd: TaesdDecoder) -> None:+ with pytest.raises(ValueError, match="not a \\(B, C, T, h, w\\) window"):+ decode_preview(taesd, _latent(1, 4, 2, 3, 3))+++ ("layout", "latent", "frames_per_latent", "stage_pixels"),+ [+ # 8x, no patches: the full-resolution stage is the image, 32 x 48 pixels; four frames per latent frame.+ (TAEW2_1, (1, 16, 4, 6), 4, 32 * 48),+ # 16x with 2x2 patches: the stage runs at half the 64 x 96 image.+ (TAEW2_2, (1, 48, 4, 6), 4, 32 * 48),+ # 32x with 4x4 patches and eight frames per latent frame: a quarter of the 128 x 192 image.+ (TAELTX2_3, (1, 128, 4, 6), 8, 32 * 48),+ ],+ ids=["taew2_1", "taew2_2", "taeltx2_3"],+)+def test_a_video_decode_reserves_its_live_activations_and_workspace_per_output_frame(+ layout, latent: tuple[int, ...], frames_per_latent: int, stage_pixels: int+) -> None:+ decoder = build_taehv_decoder(layout)++ # 2.25 live 64-channel float32 activations and 2 of workspace per output frame of the full-resolution stage, and+ # the fixed 5 MiB allowance.+ per_output_frame = (2.25 + 2) * 64 * stage_pixels * 4+ assert decode_working_memory_bytes(decoder, _latent(*latent)) == per_output_frame * frames_per_latent + 5 * MIB+ window = _latent(latent[0], latent[1], 2, *latent[2:])+ assert decode_working_memory_bytes(decoder, window) == per_output_frame * frames_per_latent * 2 + 5 * MIB+++def test_a_video_decode_is_priced_at_its_own_cap(taew2_1: TinyAutoencoderDecoder) -> None:+ """taew2_1's 512-pixel cap decodes a 128 x 128 latent (1024 pixels) at 64 x 64."""+ expected = (2.25 + 2) * 64 * 512 * 512 * 4 * 4 + 5 * MIB+ assert decode_working_memory_bytes(taew2_1, _latent(1, 16, 128, 128)) == expecteddiff --git a/tests/backend/tiny_autoencoder/test_taehv.py b/tests/backend/tiny_autoencoder/test_taehv.pynew file mode 100644index 0000000000..44889e9f04--- /dev/null+++ b/tests/backend/tiny_autoencoder/test_taehv.py@@ -0,0 +1,103 @@+"""The vendored TAEHV decoder: key layout against the released checkpoints, and single-frame decoding."""++import pytest+import torch++from invokeai.backend.tiny_autoencoder.checkpoint import TAELTX2_3, TAEW2_1, TAEW2_2, build_taehv_decoder+from invokeai.backend.tiny_autoencoder.taehv import TaehvDecoder+++def _conv(index: int, n_out: int, n_in: int, bias: bool = True) -> dict[str, tuple[int, ...]]:+ shapes = {f"decoder.{index}.weight": (n_out, n_in, 3, 3)}+ if bias:+ shapes[f"decoder.{index}.bias"] = (n_out,)+ return shapes+++def _memblock(index: int, n: int) -> dict[str, tuple[int, ...]]:+ """A MemBlock's first conv also reads the previous frame, so it takes twice the channels."""+ return {+ f"decoder.{index}.conv.0.weight": (n, 2 * n, 3, 3),+ f"decoder.{index}.conv.0.bias": (n,),+ f"decoder.{index}.conv.2.weight": (n, n, 3, 3),+ f"decoder.{index}.conv.2.bias": (n,),+ f"decoder.{index}.conv.4.weight": (n, n, 3, 3),+ f"decoder.{index}.conv.4.bias": (n,),+ }+++def _published(latent: int, out: int, tgrow: tuple[int, int, int]) -> dict[str, tuple[int, ...]]:+ """Transcribed from the published headers: 256/128/64 stages, TGrow 1x1 convs (out channels `tgrow`) at 7, 13, 19."""+ shapes = _conv(1, 256, latent)+ for stage, (first, width, next_width) in enumerate(((3, 256, 128), (9, 128, 64), (15, 64, 64))):+ for i in range(first, first + 3):+ shapes |= _memblock(i, width)+ shapes[f"decoder.{first + 4}.conv.weight"] = (tgrow[stage], width, 1, 1)+ shapes |= _conv(first + 5, next_width, width, bias=False)+ return shapes | _conv(22, out, 64)+++# madebyollin/taehv@62f7591 safetensors/<name>.safetensors, decoder half (64 of 128 tensors each).+RELEASED_LAYOUTS = {+ "taew2_1": (TAEW2_1, _published(latent=16, out=3, tgrow=(256, 256, 128))),+ "taew2_2": (TAEW2_2, _published(latent=48, out=12, tgrow=(256, 256, 128))),+ "taeltx2_3": (TAELTX2_3, _published(latent=128, out=48, tgrow=(512, 256, 128))),+}++[email protected]("name", RELEASED_LAYOUTS)+def test_decoder_keys_and_shapes_match_the_released_checkpoint(name: str) -> None:+ layout, expected = RELEASED_LAYOUTS[name]++ actual = {key: tuple(value.shape) for key, value in build_taehv_decoder(layout).state_dict().items()}++ assert len(expected) == 64+ assert actual == expected+++def _decoder(layout, seed: int = 0) -> TaehvDecoder:+ torch.manual_seed(seed)+ return build_taehv_decoder(layout).eval()+++def _latent(*shape: int, seed: int = 1) -> torch.Tensor:+ return torch.randn(*shape, generator=torch.Generator().manual_seed(seed))+++ ("layout", "compression"),+ [(TAEW2_1, 8), (TAEW2_2, 16), (TAELTX2_3, 32)],+ ids=["taew2_1", "taew2_2", "taeltx"],+)+def test_a_latent_decodes_to_one_frame_at_the_declared_compression(layout, compression: int) -> None:+ decoder = _decoder(layout)++ with torch.inference_mode():+ image = decoder(_latent(1, layout.latent_channels, 2, 3))++ assert decoder.spatial_compression == compression+ assert image.shape == (1, 3, 2 * compression, 3 * compression)++[email protected](("layout", "frames"), [(TAEW2_1, 2 * 4 - 3), (TAELTX2_3, 2 * 8 - 7)], ids=["taew2", "taeltx"])+def test_a_video_drops_the_causal_warm_up_frames(layout, frames: int) -> None:+ """Upstream `decode_video`: T latents give T * t_upscale frames, less the first t_upscale - 1."""+ with torch.inference_mode():+ video = _decoder(layout).decode_video(_latent(1, 2, layout.latent_channels, 1, 1))++ assert video.shape[:3] == (1, frames, 3)++[email protected]("layout", [TAEW2_1, TAELTX2_3], ids=["taew2", "taeltx"])+def test_the_single_frame_is_the_last_of_the_untrimmed_decode(layout) -> None:+ """The kept frame is decoded after, and with the memory of, the warm-up frames trimmed before it."""+ decoder = _decoder(layout)+ latent = _latent(1, layout.latent_channels, 2, 2)++ with torch.inference_mode():+ frame = decoder(latent)+ untrimmed = decoder._decode_frames(latent.unsqueeze(1))++ assert untrimmed.shape[1] == decoder.t_upscale+ torch.testing.assert_close(frame, untrimmed[:, -1], rtol=0, atol=0)+ assert not torch.allclose(frame, untrimmed[:, 0])diff --git a/tests/fixtures/tiny_autoencoders.py b/tests/fixtures/tiny_autoencoders.pyindex 27734940cf..9e3e72ad7b 100644--- a/tests/fixtures/tiny_autoencoders.py+++ b/tests/fixtures/tiny_autoencoders.py@@ -1,12 +1,18 @@-"""TAESD decoder weights at the published shapes, in both published key layouts.+"""TAE checkpoints at the published shapes: TAESD in both key layouts, TAEHV in its one.-The shapes come from the decoder module, which `tests/backend/tiny_autoencoder/test_taesd.py` pins-against the real checkpoints' headers; that test is what makes these fixtures faithful.+The shapes come from the decoder modules, which `tests/backend/tiny_autoencoder/test_taesd.py` and+`test_taehv.py` pin against the real checkpoints' headers; those tests are what make these fixtures+faithful."""import torch-from invokeai.backend.tiny_autoencoder.checkpoint import TaesdLayout, build_taesd_decoder+from invokeai.backend.tiny_autoencoder.checkpoint import (+ TaehvLayout,+ TaesdLayout,+ build_taehv_decoder,+ build_taesd_decoder,+)TAESD = TaesdLayout(latent_channels=4, arch="default", image_channels=3)"""taesd / taesdxl."""@@ -47,3 +53,38 @@ def tinier_weights() -> dict[str, torch.Tensor]:combined[f"{prefix}1.bias"] = torch.zeros(channels * 2, dtype=torch.float16)combined[f"{prefix}3.weight"] = torch.zeros(channels, channels * 2, 1, 1, dtype=torch.float16)return combined+++def taehv_weights(layout: TaehvLayout, seed: int = 0, dtype: torch.dtype = torch.float32) -> dict[str, torch.Tensor]:+ """A published TAEHV checkpoint: the decoder with seeded random weights, next to an encoder."""+ torch.manual_seed(seed)+ decoder = build_taehv_decoder(layout)+ sd = {key: value.to(dtype).contiguous() for key, value in decoder.state_dict().items()}+ # Identification and loading must drop the encoder whatever it holds; zeros at its real shapes.+ sd |= {key: torch.zeros(shape, dtype=dtype) for key, shape in taehv_encoder_shapes(layout).items()}+ return sd+++def taehv_encoder_shapes(layout: TaehvLayout) -> dict[str, tuple[int, ...]]:+ """The 64 encoder tensors of a published TAEHV file, transcribed from the taew2_1, taew2_2, taeltx_2 and+ taeltx2_3 headers at madebyollin/taehv@62f7591: three 64-wide stages, each opened by a TPool 1x1 conv+ (`64 * stride` inputs) and a stride-2 conv, with the decoder's temporal strides in reverse."""+ shapes: dict[str, tuple[int, ...]] = {+ "encoder.0.weight": (64, 3 * layout.patch_size**2, 3, 3),+ "encoder.0.bias": (64,),+ }+ for pool, downscales in zip((2, 7, 12), reversed(layout.time_upscale), strict=True):+ shapes[f"encoder.{pool}.conv.weight"] = (64, 64 * (2 if downscales else 1), 1, 1)+ shapes[f"encoder.{pool + 1}.weight"] = (64, 64, 3, 3)+ for block in range(pool + 2, pool + 5):+ shapes |= {+ f"encoder.{block}.conv.0.weight": (64, 128, 3, 3),+ f"encoder.{block}.conv.0.bias": (64,),+ f"encoder.{block}.conv.2.weight": (64, 64, 3, 3),+ f"encoder.{block}.conv.2.bias": (64,),+ f"encoder.{block}.conv.4.weight": (64, 64, 3, 3),+ f"encoder.{block}.conv.4.bias": (64,),+ }+ shapes["encoder.17.weight"] = (layout.latent_channels, 64, 3, 3)+ shapes["encoder.17.bias"] = (layout.latent_channels,)+ return shapes