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(flux3): run the prompt upsampler inside FLUX.3 generations (#10219)
Alexander Eichhorn033317f500ea
diff --git a/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-3.mdx b/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-3.mdxindex f833ad9689..b44e67b6ff 100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-3.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-3.mdx@@ -213,7 +213,8 @@ disabled with *FLUX.3 needs a prompt to place regional guidance in its layout. Eguidance layers.*The boxes are added when the generation runs, as the box table described below, so dynamic prompts and batches vary-the prompt in front of them. The caption FLUX.3 encoded is saved in the image's metadata as `flux3_caption`; recalling+the prompt in front of them. With the [prompt upsampler](#prompt-upsampler-in-generation) on, the upsampler receives+the boxes instead and keeps them in the box table it writes. The caption FLUX.3 encoded is saved in the image's metadata as `flux3_caption`; recallingthe image restores the prompt you typed.## Layout and box edits in the prompt@@ -255,9 +256,11 @@ a 9B vision-language model, fine-tuned from Qwen3.5-9B and released under Apache| **FLUX.3 Prompt Upsampler** | ≈ 17.5 GiB (bf16) | `black-forest-labs/flux-3-image-klein-pup`, not gated || **FLUX.3 Prompt Upsampler (int8)** | ≈ 9.1 GiB | ComfyUI's `int8_convrot` file from the gated `flux-3-image-klein-comfy` repository |-Use it in [Expand Prompt](/users-guide/image-generation/prompt-tools/#the-flux3-prompt-upsampler) with Black Forest-Labs' `t2i` system prompt. It rewrites your text prompt in the prompt box before you generate; generation does not-run it on its own, and in the Generate panel Expand Prompt does not send it your reference images.+Use it in two places. [Expand Prompt](/users-guide/image-generation/prompt-tools/#the-flux3-prompt-upsampler) has a+built-in system prompt for it and rewrites your text prompt in the prompt box before you generate; in the Generate+panel it does not send the upsampler your reference images. The+[prompt upsampler in generation](#prompt-upsampler-in-generation) runs it inside every generation, with the reference+images and Regional Guidance boxes.The int8 file takes about 10.7 GiB once loaded, against 17.5 GiB for the bf16 model, because its language model keepsits weights in int8; it dequantizes them for every token it generates. With@@ -293,6 +296,95 @@ Before this release, InvokeAI did not install the upsampler as a Text LLM: the fComfyUI single files, bf16 and int8, were identified as Qwen3.5 encoders. Use **Re-identify model** in the ModelManager on such an install.+## Prompt upsampler in generation++The prompt upsampler can run as part of every FLUX.3 generation. It rewrites your prompt into the long caption FLUX.3+is trained on, and the text encoder then encodes that caption. Install one of the+[upsampler models](#prompt-upsampler-model) first.++**How to use:** switch on **Prompt upsampler** in the **Render** section of the Generate panel for a FLUX.3 model. It+is off by default. The **Prompt Upsampler** slot is always part of **Components** for FLUX.3 models and is required+only while the switch is on: Invoke is blocked until you pick a Text LLM that reads images there. Choosing another+model family clears the pick like any other component; the switch setting is kept. The slot lists every installed Text+LLM that reads images, but the system prompts are the ones the Black Forest Labs upsampler was trained with, so pick+**FLUX.3 Prompt Upsampler** or **FLUX.3 Prompt Upsampler (int8)**. The switch works in Generate and on the Canvas.++Only the positive prompt is rewritten. The negative prompt of Klein Base with CFG is encoded as you wrote it.++### What the upsampler sees++The upsampler gets what the generation has, and the mode follows:++- **Prompt only**: it expands the prompt into a caption.+- **Prompt and reference images**: an edit. It writes the edit instruction from the images, which it sees in the+ order they are attached. They are prepared as Black Forest Labs does: over white, 1 MP for one image, 724² each for+ two, 512² each from three, saved as JPEG at quality 92.+- **Either of these with a layout**: there are Regional Guidance layers on the Canvas, or the prompt ends with a+ [box table](#layout-and-box-edits-in-the-prompt).++With a layout, the ids and boxes of the regions, and of the rows of a box table you typed at the end of the prompt, are+kept exactly in the box table the upsampler returns. The descriptions are the upsampler's: the text you typed for a+region tells it what goes there, but the row's description in the caption is what it wrote. It may add rows of its own+for other elements of the scene. Without reference images the regions are object rows; with reference images they are+rows that place new content in the output, the same rule as without the upsampler. A blank prompt with regions is+refused, as it is without the upsampler.++### Metadata and recall++The caption that was encoded is saved in the image's metadata as `flux3_caption`, and the upsampler model as+`flux3_prompt_upsampler`. Recalling the image restores the prompt you typed, not the caption, turns the switch on and+selects the model if it is installed. Recalling a FLUX.3 image made without the upsampler turns the switch off and+keeps your model pick.++### Repeatability and cost++Decoding is greedy, so on the same machine and settings the same prompt, images, regions and model give the same+caption. Another GPU, driver or torch version, or another `attention_backend`, can change a caption after some tokens,+and so the image that the recalled settings give. When only the seed, or another setting outside the upsampler's+inputs, changes, the caption comes from the node cache and the upsampler does not run again. Every new prompt is one+upsampler run, each [Dynamic Prompts](/users-guide/image-generation/prompting-guide/#dynamic-prompts) variant+included.++The upsampler is moved out of VRAM when its run is over, so the text encoder and the transformer do not share VRAM with+it. It stays in RAM if the RAM cache has room. Once the upsampler is writing, a cancel stops it between two tokens; a+cancel while its model is still loading takes effect when the load is done.++Measured on an RTX 4090 (24 GB) on Windows with Klein bf16 as a single file at 1024 × 1024 and 16 steps, the fp8+Qwen3-VL 4B encoder, the default working memory, `reserve_vram_gb: 1` and no other program computing on the GPU (its+utilization was 0-6 % before each run). The desktop and other open programs still held some VRAM. Each figure is the+median of three runs after one warm-up.++- **The upsampler node alone, bf16 model already in the RAM cache:** 15.9 s for a text prompt (a caption of 300+ tokens), 13.6 s with one reference image (224 tokens), 14.0 s with two (228 tokens), 27.0 s for a layout with two+ regions (649 tokens) and 16.2 s for a layout with one reference image and one region (287 tokens). Each includes+ about 2.5 s to move the model from RAM into VRAM. VRAM peaked at 19.5-20.3 GiB by `nvidia-smi`, of which about 1.8+ GiB was held by the desktop.+- **The upsampler node alone, int8 file, without int8 Compute:** 34.5 s for the text prompt, 32.8 s with one reference+ image and 64.0 s for the layout with two regions. VRAM peaked at 13.5-14.3 GiB, of which about 2.4 GiB was held by the+ desktop and other open programs.+- **A whole generation with the bf16 upsampler** and `max_cache_ram_gb: 40`: a text prompt took 8.4 s without the+ upsampler and 28.6 s with it; an edit of one reference image took 15.6 s without and 33.7 s with it. The upsampler+ added about 18-20 s per new prompt.+- A cancel took effect 0.5 s after it was requested. A repeat with unchanged inputs came from the node cache in under a+ second, without loading the model.++The models you use together should fit in the RAM cache. Unset, `max_cache_ram_gb` is half the system RAM minus 2 GB,+but with a dedicated GPU it is capped at the GPU's VRAM minus `device_working_mem_gb`: about 21 GB on a 24 GB card with+the default working memory. On such a card the default holds neither of the sets given next, and models are read from+disk again for every new prompt until you set `max_cache_ram_gb` higher, system RAM permitting. Loaded, the bf16+upsampler is 17.5 GiB, the bf16 transformer 10.3 GiB, the fp8 text encoder 4.1 GiB and the VAE 0.2 GiB: 32.1 GiB+together, or 25.3 GiB with the int8 upsampler (10.7 GiB). With `max_cache_ram_gb: 24` the bf16 set did not fit: models+were dropped from the RAM cache and read from disk again for every new prompt, and the same text-prompt generation took+40.5 s instead of 28.6 s. Size [`max_cache_ram_gb`](/configuration/optimization/low-vram-mode/#settings) for the models+you use together, or use the int8 upsampler or a smaller transformer build.++### Fidelity to the reference++The node follows diffusers' implementation: greedy decoding and no presence penalty, which Black Forest Labs' own+reference applies for text-to-image. For a text prompt, one and two reference images, and a layout with and without a+reference image, the caption matched diffusers' token for token when diffusers ran with the same attention kernel+order as InvokeAI.+## PiD super-resolution decodeFLUX.3 latents are FLUX.2 latents, so the FLUX.2 PiD decoders decode them. See@@ -304,6 +396,7 @@ FLUX.3 latents are FLUX.2 latents, so the FLUX.2 PiD decoders decode them. See| --- | --- || **Main Model - FLUX.3** | Loads the transformer, encoder and VAE || **Apply LoRA - FLUX.3** / **Apply LoRA Collection - FLUX.3** | Apply one LoRA, or a collection of them, to the transformer |+| **Prompt Upsampler - FLUX.3** | Writes the caption FLUX.3 encodes with the [prompt upsampler](#prompt-upsampler-in-generation). Takes the prompt, the upsampler model, optional reference images and optional regions. It takes the place of **Layout Prompt - FLUX.3**, and its **Reference Images** input takes the same collection as the denoise node's || **Layout Prompt - FLUX.3** | Adds boxes to a prompt as its box table, or to the table it already ends with: object rows, or with **Edit Targets** on, rows that place new content in the output of an edit. Each region is a description and a box `[y_min, x_min, y_max, x_max]` from 0 to 1000. Generate and Canvas graphs pass the prompt through it, turn on Edit Targets when reference images are attached, and fill its regions from regional guidance on the Canvas; the regions input has no editor widget || **Prompt - FLUX.3** | Encodes the prompt || **Denoise - FLUX.3** | Runs the diffusion; takes the VAE, optional reference images and, for Klein Base, CFG and a negative prompt |diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/generate-panel.mdx b/docs/src/content/docs/Users Guide/04.Image Generation/generate-panel.mdxindex 4b99ea11fe..a8b133c044 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/generate-panel.mdx+++ b/docs/src/content/docs/Users Guide/04.Image Generation/generate-panel.mdx@@ -62,6 +62,7 @@ Some families add their own controls to the Render section:* **Shift** (Z-Image, Qwen Image) — an override for the sampling schedule's timestep shift, from 0.1 to 10. Left on auto, the model derives it from the image size; Qwen Image's Lightning LoRAs are trained for `3`.* **Seed variance** (Krea-2, Z-Image) — perturbs the prompt conditioning so nearby seeds give more varied images; **Variance strength** and **Randomized channels** set how much.* **Conditioning rebalance** (Krea-2) — see [Krea-2](/users-guide/models/local-models/krea-2/).+* **Prompt upsampler** (FLUX.3) — rewrites the prompt into a detailed caption before each generation, reading reference images and Regional Guidance boxes; see [FLUX.3](/users-guide/models/local-models/flux-3/#prompt-upsampler-in-generation).* **Low-noise guidance** (Wan) — guidance for the low-noise expert; left unset, it reuses the main guidance.* **Skip layers (negative branch)** (MOSS-Image) — the transformer blocks the negative-prompt pass leaves out; see [MOSS-Image](/users-guide/models/local-models/moss-image/#skip-layers).diff --git a/docs/src/content/docs/Users Guide/04.Image Generation/prompt-tools.md b/docs/src/content/docs/Users Guide/04.Image Generation/prompt-tools.mdindex 3a3d2e8fb6..c2373bba55 100644--- a/docs/src/content/docs/Users Guide/04.Image Generation/prompt-tools.md+++ b/docs/src/content/docs/Users Guide/04.Image Generation/prompt-tools.md@@ -22,7 +22,7 @@ Takes your short prompt and expands it into a detailed, vivid description suitab### System prompts-InvokeAI ships with a **Default** system prompt and several tuned for particular model families, such as FLUX.2, Z-Image, Qwen Image, Krea-2 and MOSS-Image. To add your own, click the gear button next to the System prompt selector (**Manage system prompts**) and choose **New**. A system prompt has a **Name**, the **Instructions** given to the language model, and an optional **Max output length** in tokens (300 by default).+InvokeAI ships with a **Default** system prompt and several tuned for particular model families, such as FLUX.2, Z-Image, Qwen Image, Krea-2, MOSS-Image and the FLUX.3 prompt upsampler. To add your own, click the gear button next to the System prompt selector (**Manage system prompts**) and choose **New**. A system prompt has a **Name**, the **Instructions** given to the language model, and an optional **Max output length** in tokens (300 by default).You can duplicate, edit and delete your own system prompts. Shared system prompts, including the built-in ones, are marked **Shared**. On a multi-user installation only administrators can edit them, and changes apply to every user.@@ -38,16 +38,11 @@ Install by pasting the HuggingFace ID into the Model Manager. The model is autom### The FLUX.3 prompt upsampler-Black Forest Labs' [prompt upsampler for FLUX.3](/users-guide/models/local-models/flux-3/#prompt-upsampler-model) is a Text LLM. Install **FLUX.3 Prompt Upsampler** (~17.5 GiB) or **FLUX.3 Prompt Upsampler (int8)** (~9.1 GiB) from the starter models and pick it in Expand Prompt. It rewrites your text prompt: in the Generate panel, Expand Prompt sends it no reference images. Where Expand Prompt does send an image, such as the Video panel's first frame, it reads that image like any Text LLM that can. The [FLUX.3 page](/users-guide/models/local-models/flux-3/#prompt-upsampler-model) lists how fast each build ran and how much VRAM it took on an RTX 4090.+Black Forest Labs' [prompt upsampler for FLUX.3](/users-guide/models/local-models/flux-3/#prompt-upsampler-model) is a Text LLM. Install **FLUX.3 Prompt Upsampler** (~17.5 GiB) or **FLUX.3 Prompt Upsampler (int8)** (~9.1 GiB) from the starter models and pick it in Expand Prompt. Expand Prompt rewrites your text prompt only: in the Generate panel it sends the upsampler no reference images. Where Expand Prompt does send an image, such as the Video panel's first frame, it reads that image like any Text LLM that can. The [FLUX.3 page](/users-guide/models/local-models/flux-3/#prompt-upsampler-model) lists how fast each build ran and how much VRAM it took on an RTX 4090.-Expand Prompt sends the model the system prompt you pick. The upsampler was trained with Black Forest Labs' four system prompts, published in its [`system_prompts.json`](https://huggingface.co/black-forest-labs/flux-3-image-klein-pup/raw/3f3edb52b2c55de0d49feab28598b68f7f8e4830/system_prompts.json); `t2i` is the one for rewriting a text-to-image prompt. To use it:+Expand Prompt ships the system prompt **FLUX.3 Prompt Upsampler**, Black Forest Labs' `t2i` prompt from the upsampler's [`system_prompts.json`](https://huggingface.co/black-forest-labs/flux-3-image-klein-pup/raw/3f3edb52b2c55de0d49feab28598b68f7f8e4830/system_prompts.json), with a **Max output length** of 1024 tokens. With a FLUX.3 model selected, Expand Prompt preselects it together with an installed FLUX.3 upsampler, either starter build, and names the starter model to install when none is. A model or system prompt you pick in the open popover overrides the suggestion.-1. Open **Manage system prompts** next to the System prompt selector and choose **New**.-2. Paste the text of the `t2i` entry as the **Instructions**. The file is JSON, so undo its escapes as you paste: each `\n` becomes a line break and each `\"` a plain `"`.-3. Set **Max output length** to about 1024 tokens, so a long caption is not cut off.-4. Choose this system prompt whenever you expand a prompt with the upsampler.--Expand Prompt samples its rewrite, so repeated expansions differ; Black Forest Labs' own pipeline decodes greedily.+Expand Prompt samples its rewrite, so repeated expansions differ; Black Forest Labs' own pipeline decodes greedily. For edits with reference images and for Regional Guidance boxes, use the [prompt upsampler switch in generation](/users-guide/models/local-models/flux-3/#prompt-upsampler-in-generation), which reads both.### Prompt enhancement for LTX-2.5diff --git a/invokeai/app/invocations/flux3/flux3_prompt_upsampler.py b/invokeai/app/invocations/flux3/flux3_prompt_upsampler.pynew file mode 100644index 0000000000..d870ad9eb0--- /dev/null+++ b/invokeai/app/invocations/flux3/flux3_prompt_upsampler.py@@ -0,0 +1,134 @@+import torch++from invokeai.app.invocations.baseinvocation import BaseInvocation, Classification, invocation+from invokeai.app.invocations.fields import FluxKontextConditioningField, Input, InputField, UIComponent+from invokeai.app.invocations.model import ModelIdentifierField+from invokeai.app.invocations.primitives import StringOutput+from invokeai.app.services.session_processor.session_processor_common import CanceledException+from invokeai.app.services.shared.invocation_context import InvocationContext+from invokeai.backend.flux3.layout import Flux3LayoutRegion, flux3_locked_rows+from invokeai.backend.flux3.prompt_upsampler import (+ FLUX3_UPSAMPLER_MAX_NEW_TOKENS,+ PromptUpsamplerCanceled,+ prepare_upsampler_references,+ upsample_flux3_prompt,+)+from invokeai.backend.flux3.ref_images import FLUX3_MAX_REFERENCE_IMAGES+from invokeai.backend.model_manager.taxonomy import ModelType+from invokeai.backend.text_llm_pipeline import load_text_llm_tokenizer_and_processor+++@invocation(+ "flux3_prompt_upsampler",+ title="Prompt Upsampler - FLUX.3",+ tags=["prompt", "upsampler", "layout", "flux3", "flux"],+ category="conditioning",+ version="1.0.0",+ classification=Classification.Prototype,+ # Deliberately NOT idle_gpu_offloadable, for the reason the ERNIE-Image prompt enhancer gives: this runs an+ # autoregressive `generate()` of up to `max_new_tokens` on every execution, a cost that never amortizes into a+ # borrowed device's model cache the way an encoder forward does.+)+class Flux3PromptUpsamplerInvocation(BaseInvocation):+ """Writes the caption FLUX.3 encodes with Black Forest Labs' prompt upsampler.++ The upsampler sees what the generation sees: the prompt, the reference images of an edit and the canvas regions of+ a layout. The mode follows the inputs (text-to-image, edit, and each with a layout). Regions replace the Layout+ Prompt node's: they and the rows of a box table that ends the prompt are kept exactly in the answer's box table.+ Decoding is greedy, so the same inputs give the same caption.+ """++ prompt: str = InputField(+ default="",+ description="The request to expand into the caption, optionally ending with a box table of its own.",+ ui_component=UIComponent.Textarea,+ )+ upsampler_model: ModelIdentifierField = InputField(+ title="Prompt Upsampler",+ description="The FLUX.3 prompt upsampler: a Text LLM that can read images.",+ ui_model_type=ModelType.TextLLM,+ )+ reference_images: FluxKontextConditioningField | list[FluxKontextConditioningField] | None = InputField(+ default=None,+ description="Reference images of an edit, in attachment order (up to 10), the ones the denoiser receives.",+ input=Input.Connection,+ title="Reference Images",+ )+ regions: list[Flux3LayoutRegion] = InputField(+ default=[],+ description="Boxes on the 0-1000 grid across the image, assembled from Canvas Regional Guidance layers. "+ "Object rows, or with reference images rows that place new content in the output.",+ )+ max_new_tokens: int = InputField(+ default=FLUX3_UPSAMPLER_MAX_NEW_TOKENS,+ ge=64,+ le=FLUX3_UPSAMPLER_MAX_NEW_TOKENS,+ description="The most tokens the caption may take.",+ )++ @torch.no_grad()+ def invoke(self, context: InvocationContext) -> StringOutput:+ references = self._reference_fields()+ self._require_vision_text_llm(context)+ if len(references) > FLUX3_MAX_REFERENCE_IMAGES:+ raise ValueError(f"FLUX.3 takes at most {FLUX3_MAX_REFERENCE_IMAGES} reference images.")++ request, locked_rows = flux3_locked_rows(self.prompt, self.regions, edit_targets=bool(references))+ images = prepare_upsampler_references([context.images.get_pil(field.image.image_name) for field in references])+ mode = ("i2i" if images else "t2i") + ("_bbox" if locked_rows else "")++ # Loaded before the model so reading them does not hold it on the device. A processor also for a request+ # without images: one path serves every mode.+ _, processor = load_text_llm_tokenizer_and_processor(+ lambda submodel: context.models.load(self.upsampler_model, submodel), with_processor=True+ )+ assert processor is not None++ context.util.signal_progress("Loading the prompt upsampler")+ try:+ loaded = context.models.load(self.upsampler_model)+ with loaded.model_on_device() as (_, model):+ try:+ caption = upsample_flux3_prompt(+ model,+ processor,+ request,+ images=images,+ locked_rows=locked_rows,+ max_new_tokens=self.max_new_tokens,+ # compute_device honours cpu_only and is stable under partial loading, where the first parameter+ # may sit on the CPU.+ device=loaded.compute_device,+ is_canceled=context.util.is_canceled,+ on_progress=lambda tokens: context.util.signal_progress(+ f"Upsampling the prompt ({tokens} tokens)"+ ),+ )+ except PromptUpsamplerCanceled as e:+ raise CanceledException from e+ finally:+ # Outside the `with`, which holds the model locked. The cache would make room for the text encoder and the+ # transformer by itself, but by splitting the largest unlocked model against each model that loads next;+ # moving the upsampler out whole leaves them their VRAM. The cost is a re-stream of the upsampler into+ # VRAM on its next run (about 2.5 s on an RTX 4090).+ context.models.offload_from_vram(self.upsampler_model)++ # The caption is a user's prompt, and can run to 15 KB.+ context.logger.info(f"FLUX.3 prompt upsampler ({mode}) wrote a caption of {len(caption)} characters")+ context.logger.debug(f"FLUX.3 prompt upsampler caption: {caption!r}")+ return StringOutput(value=caption)++ def _reference_fields(self) -> list[FluxKontextConditioningField]:+ if self.reference_images is None:+ return []+ if isinstance(self.reference_images, list):+ return self.reference_images+ return [self.reference_images]++ def _require_vision_text_llm(self, context: InvocationContext) -> None:+ config = context.models.get_config(self.upsampler_model)+ if config.type is not ModelType.TextLLM or not getattr(config, "supports_images", False):+ raise ValueError(+ f"'{config.name}' cannot be the FLUX.3 prompt upsampler: choose an installed Text LLM that reads "+ "images, such as the black-forest-labs flux-3-image-klein-pup model."+ )diff --git a/invokeai/app/services/shared/sqlite_migrator/migrations/migration_2026_11_09_add_flux3_prompt_upsampler_system_prompt.py b/invokeai/app/services/shared/sqlite_migrator/migrations/migration_2026_11_09_add_flux3_prompt_upsampler_system_prompt.pynew file mode 100644index 0000000000..d4aef8dc48--- /dev/null+++ b/invokeai/app/services/shared/sqlite_migrator/migrations/migration_2026_11_09_add_flux3_prompt_upsampler_system_prompt.py@@ -0,0 +1,81 @@+"""Seed the "FLUX.3 Prompt Upsampler" system prompt for the Expand Prompt button.++The text is Black Forest Labs' ``t2i`` system prompt for its FLUX.3 prompt upsampler, ``system_prompts.json`` of+https://huggingface.co/black-forest-labs/flux-3-image-klein-pup at commit ``3f3edb52b2c55de0d49feab28598b68f7f8e4830``,+Apache-2.0 (see ``invokeai/backend/flux3/NOTICE.md``), verbatim and frozen here: a migration must not import code that+can change. Only ``t2i`` is seeded. Expand Prompt sends neither reference images nor a locked box table, which the+other three modes (``i2i``, ``t2i_bbox``, ``i2i_bbox``) need; the Prompt Upsampler node sends those itself.++Same fixed-UUID, insert-if-absent shape as the earlier system-prompt seeds: a prompt the user has since edited or+deleted stays edited or deleted.+"""++from sqlalchemy import column, exists, insert, select, table, true++from invokeai.app.services.shared.database.types import now_text+from invokeai.app.services.shared.sqlite_migrator.sqlite_migrator_common import (+ PortableMigration,+ PortableMigrationContext,+)++FLUX3_PROMPT_UPSAMPLER_PROMPT_ID = "0f8f5b2e-1c9e-4f2a-9a4e-1f1f1f1f0012"+FLUX3_PROMPT_UPSAMPLER_PROMPT_NAME = "FLUX.3 Prompt Upsampler"++FLUX3_PROMPT_UPSAMPLER_MAX_TOKENS = 1024+"""Room for a long caption: the prompt asks for 100 to 350 words, more for complex scenes."""++FLUX3_PROMPT_UPSAMPLER_PROMPT_CONTENT = """You are the prompt upsampler of a text-to-image model. Expand the user's short request into ONE detailed, self-contained caption: the exact text the image model receives. Output only the caption, with no greetings, explanations, refusals, questions, Markdown, headings, JSON, coordinates, ids or angle-bracket tokens, and no quotes around it. If the input is not clearly an image request, caption a visualization of its concept. The request may begin with a "TARGET CANVAS: W:H" line: compose for that canvas (wide spreads content sideways, tall stacks it) and never mention the ratio or the canvas.++Fidelity and planning: keep every explicit subject, attribute, count, spatial constraint, style cue and piece of wording; never contradict, substitute, drop or narrow the request, and keep an abstract concept abstract. Decide everything left open as ONE concrete, consistent plan; never offer alternatives or hedge. Never re-express a stated constraint through another mechanism; add camera optics (depth of field, bokeh, blur) only when asked for or implied. Without a stated style, plan an actual photograph and open with the medium convention ("Full-color outdoor photograph, ...", "Full-color indoor photograph, ...", "Studio photograph, ...", "Close-up photograph, ..."); keep "Photorealistic" for renders, and turn "photorealistic" or "realistic" requests for photos into the photograph convention. Give a photograph a few ordinary, non-ideal specifics drawn from the scene's own objects instead of the stock-photo ideal. Do not invent names, brands, logos or celebrities; keep user-named ones. A long request keeps its content but not its wording: drop appraisal and sales vocabulary, turn moods into observable physical facts, and add only new concrete content with positions. Time of day is lighting, not rendered text.++Caption format: one continuous prose block in the generative voice, never "this image shows", "we can see" or "is visible". Lead with medium and style, then scene, lighting and camera, then the subjects with concrete colors, materials and state. Every person in focus gets an observable profile: ethnicity, gender, age range, skin tone ("fair skin", "brown skin"), hair and clothing. Make the layout reconstructable from words: frame-relative positions (frame-left, frame-right, upper, lower, foreground, midground, background), sentence-initial anchors ("On the left, ...", "In the background, ..."), relations (holds, faces, behind) and a consistent order; describe up to about ten instances one by one, beyond that give the exact count and arrangement. Out-of-focus or distant planes are shapes, colors and silhouettes, never identities or readable text, and the background takes about a sixth of the caption. Be definite: no hedging adverbs, no quality or emotion judgments, no closing sentence about mood; state negations as what is present. Rendered text: transcribe every wording verbatim inside double quotes in its original language and script, keep the line breaks of multi-line text, and give its typography, color and placement; author concrete, domain-correct wording when the request needs text it does not supply, and name canonical structures (calendar, keyboard, periodic table) exactly with their full layout. All prose is English; only quoted text keeps its language. Typical length is 100 to 350 words, more for complex scenes.++Output only the caption."""++_system_prompts = table(+ "system_prompts",+ column("id"),+ column("name"),+ column("content"),+ column("user_id"),+ column("is_public"),+ column("max_tokens"),+ column("created_at"),+ column("updated_at"),+)+++def _add_flux3_prompt_upsampler_system_prompt(context: PortableMigrationContext) -> None:+ already_there = context.conn.execute(+ select(exists().where(_system_prompts.c.id == FLUX3_PROMPT_UPSAMPLER_PROMPT_ID))+ ).scalar()+ if already_there:+ return+ # Only SQLite declares defaults for the timestamps; on a server the application supplies them, as here.+ created_at = now_text()+ context.conn.execute(+ insert(_system_prompts).values(+ id=FLUX3_PROMPT_UPSAMPLER_PROMPT_ID,+ name=FLUX3_PROMPT_UPSAMPLER_PROMPT_NAME,+ content=FLUX3_PROMPT_UPSAMPLER_PROMPT_CONTENT,+ user_id="system",+ is_public=true(),+ max_tokens=FLUX3_PROMPT_UPSAMPLER_MAX_TOKENS,+ created_at=created_at,+ updated_at=created_at,+ )+ )+++def build_migration() -> PortableMigration:+ """Seed the FLUX.3 prompt upsampler's system prompt.++ Depends on the migration that adds ``system_prompts.max_tokens``, which the row sets. That one is SQLite-only;+ a server database starts from the frozen cutover schema with every SQLite-only migration recorded as applied, so+ the dependency holds on every backend.+ """+ return PortableMigration(+ id="2026_11_09_add_flux3_prompt_upsampler_system_prompt",+ depends_on="2026_09_09_add_system_prompt_max_tokens",+ callback=_add_flux3_prompt_upsampler_system_prompt,+ )diff --git a/invokeai/backend/flux3/NOTICE.md b/invokeai/backend/flux3/NOTICE.mdindex eedd4de8e9..462f2092d9 100644--- a/invokeai/backend/flux3/NOTICE.md+++ b/invokeai/backend/flux3/NOTICE.md@@ -14,5 +14,12 @@ files are unchanged at the repository head `bfc8889a4497f846416f253a3972a1941ac6apart from a default value in `app.py` that `layout.py` does not use. Where it differs from thereference is listed in its module docstring.+`prompt_upsampler.py` drives the prompt upsampler as `Upsampler.upsample` of `src/flux3/pup.py` does, through+diffusers' port of it (`modular_pipelines/flux3/prompt_upsampler.py`, Apache-2.0), whose system prompts, scaffolds and+box-table helpers it uses. The seeded "FLUX.3 Prompt Upsampler" system prompt+(`invokeai/app/services/shared/sqlite_migrator/migrations/migration_2026_11_09_add_flux3_prompt_upsampler_system_prompt.py`)+is the `t2i` entry of `system_prompts.json` of https://huggingface.co/black-forest-labs/flux-3-image-klein-pup at commit+`3f3edb52b2c55de0d49feab28598b68f7f8e4830`, verbatim, under the same license.+The FLUX.3 model **weights** are not covered by this license; they are released under the FLUXKommunity License v1.0.diff --git a/invokeai/backend/flux3/layout.py b/invokeai/backend/flux3/layout.pyindex 7c0ad82905..164eead45f 100644--- a/invokeai/backend/flux3/layout.py+++ b/invokeai/backend/flux3/layout.py@@ -92,8 +92,25 @@ def build_flux3_layout_prompt(prompt: str, regions: Sequence[Flux3LayoutRegion],"""if not regions:return prompt+ caption, rows = flux3_locked_rows(prompt, regions, edit_targets=edit_targets)+ return f"{caption} {json.dumps(rows, ensure_ascii=False)}"+++def flux3_locked_rows(+ prompt: str, regions: Sequence[Flux3LayoutRegion], *, edit_targets: bool = False+) -> tuple[str, list[dict[str, Any]]]:+ """``(caption, rows)``: the box table ``build_flux3_layout_prompt`` appends to the caption, as rows.++ The rows are those of a box table that ends the prompt, kept as they are, then one row per region, written and+ numbered as ``build_flux3_layout_prompt`` does. Unlike it, a prompt that ends with a box table has rows without+ regions. The caption is stripped when there are rows; a prompt with neither table nor regions comes back unchanged+ with no rows.+ Raises ValueError when there are rows and the caption is blank: the boxes place parts of the scene it describes.+ """found = _detect_box_table(prompt)+ if found is None and not regions:+ return prompt, []caption, rows = found if found is not None else (prompt, [])caption = caption.strip()if not caption:@@ -110,7 +127,7 @@ def build_flux3_layout_prompt(prompt: str, regions: Sequence[Flux3LayoutRegion],)else:rows.append({"id": row_id, "bbox": region.bbox, "desc": region.desc})- return f"{caption} {json.dumps(rows, ensure_ascii=False)}"+ return caption, rowsdef _detect_box_table(prompt: str) -> tuple[str, list[dict[str, Any]]] | None:diff --git a/invokeai/backend/flux3/prompt_upsampler.py b/invokeai/backend/flux3/prompt_upsampler.pynew file mode 100644index 0000000000..e4d595d177--- /dev/null+++ b/invokeai/backend/flux3/prompt_upsampler.py@@ -0,0 +1,143 @@+"""The FLUX.3 prompt upsampler: a vision-language model that writes the caption FLUX.3 encodes.++Black Forest Labs' upsampler (a Qwen3.5-9B fine-tune) sees the request, the reference images of an edit and the+boxes of a layout. This module builds its chat as diffusers' ``upsample_prompt`` does (``modular_pipelines/flux3/+prompt_upsampler.py``, which adapts ``Upsampler.upsample`` of+github.com/black-forest-labs/flux-3-image-klein, Apache-2.0, see ``NOTICE.md``), runs one greedy generation and+reconciles the answer with the locked rows. It differs from+``upsample_prompt`` only in what a graph needs: generation can be cancelled and reports its progress.++The system prompts, the scaffolds, the box-table helpers and the reference preprocessing are diffusers' own, used+rather than copied so they cannot drift. Importing that module loads transformers' Qwen3.5 modeling, which every node+module would then pay for at server start, so ``_reference`` imports it on first use. That is the only place.+"""++from collections.abc import Callable, Sequence+from typing import Any++import torch+from PIL.Image import Image+from transformers import PreTrainedModel, ProcessorMixin, StoppingCriteria, StoppingCriteriaList++# Equals diffusers' ``MAX_NEW_TOKENS``, the reference's budget for one caption; a test keeps them equal.+FLUX3_UPSAMPLER_MAX_NEW_TOKENS = 3584++# Tokens between two progress reports.+PROGRESS_TOKEN_INTERVAL = 16+++class PromptUpsamplerCanceled(Exception):+ """Generation was stopped by the caller's cancel check; no caption was produced."""+++def _reference():+ from diffusers.modular_pipelines.flux3 import prompt_upsampler++ return prompt_upsampler+++def prepare_upsampler_references(images: Sequence[Image]) -> list[Image]:+ """The reference images as the upsampler sees them: over white, within the pixel budget for their count, re-encoded+ as JPEG. Raises ValueError for more than ten, or an aspect ratio above 200:1."""+ return _reference().prepare_references(list(images))+++class _GenerationWatch(StoppingCriteria):+ """Polls the cancel check and reports the generated token count, once per generated token."""++ def __init__(+ self,+ prompt_length: int,+ is_canceled: Callable[[], bool] | None,+ on_progress: Callable[[int], None] | None,+ ) -> None:+ super().__init__()+ self._prompt_length = prompt_length+ self._is_canceled = is_canceled+ self._on_progress = on_progress+ self.canceled = False++ def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs: Any) -> torch.BoolTensor:+ if self._is_canceled is not None and self._is_canceled():+ self.canceled = True+ generated = input_ids.shape[1] - self._prompt_length+ if self._on_progress is not None and generated % PROGRESS_TOKEN_INTERVAL == 0:+ self._on_progress(generated)+ return torch.full((input_ids.shape[0],), self.canceled, dtype=torch.bool, device=input_ids.device)+++def upsample_flux3_prompt(+ model: PreTrainedModel,+ processor: ProcessorMixin,+ request: str,+ *,+ images: Sequence[Image] = (),+ locked_rows: Sequence[dict[str, Any]] = (),+ max_new_tokens: int = FLUX3_UPSAMPLER_MAX_NEW_TOKENS,+ device: torch.device,+ is_canceled: Callable[[], bool] | None = None,+ on_progress: Callable[[int], None] | None = None,+) -> str:+ """The caption for ``request``, written from the prepared reference ``images`` (an edit) and around the+ ``locked_rows`` of a layout, which the answer is reconciled with.++ The mode, and so the system prompt, follows the arguments: t2i, i2i, t2i_bbox or i2i_bbox. One greedy generation+ of at most ``max_new_tokens``, ended by the model's own end-of-turn tokens.++ Args:+ model: The loaded upsampler, on ``device``.+ processor: Its processor, which carries the tokenizer and the chat template.+ request: The prompt. With locked rows, the caption they belong to, without its box table.+ images: The reference images, from ``prepare_upsampler_references``, in attachment order.+ locked_rows: The box-table rows to keep, as ``flux3_locked_rows`` returns them.+ max_new_tokens: The most tokens the caption may take.+ device: Where the inputs go; the model's compute device.+ is_canceled: Polled once per generated token.+ on_progress: Called with the generated token count every ``PROGRESS_TOKEN_INTERVAL`` tokens.++ Raises:+ PromptUpsamplerCanceled: ``is_canceled`` returned true; nothing is returned or reconciled.+ RuntimeError: The model answered with nothing.+ """+ reference = _reference()+ locked = [dict(row) for row in locked_rows]+ mode = ("i2i" if images else "t2i") + ("_bbox" if locked else "")+ if locked:+ request = reference.format_layout_request(request, locked)++ # Parts throughout: processor chat templates do not take plain strings.+ if images:+ scaffold = reference.I2I_SCAFFOLD[bool(locked)].format(instruction=request)+ content = [{"type": "image", "image": image} for image in images] + [{"type": "text", "text": scaffold}]+ else:+ content = [{"type": "text", "text": request}]+ messages = [+ {"role": "system", "content": [{"type": "text", "text": reference.SYSTEM_PROMPTS[mode]}]},+ {"role": "user", "content": content},+ ]+ # The processor renders the template and expands the image placeholders in one call, for a transformers folder's+ # processor and the vendored single-file one alike. Token ids stay integral; pixels take the model's dtype.+ inputs = processor.apply_chat_template(+ messages,+ add_generation_prompt=True,+ tokenize=True,+ return_dict=True,+ return_tensors="pt",+ enable_thinking=False,+ ).to(device=device, dtype=model.dtype)++ prompt_length = inputs["input_ids"].shape[1]+ watch = _GenerationWatch(prompt_length, is_canceled, on_progress)+ generated = model.generate(+ **inputs,+ max_new_tokens=max_new_tokens,+ do_sample=False,+ stopping_criteria=StoppingCriteriaList([watch]),+ )+ # The watch cut generation short: what came out is a partial caption.+ if watch.canceled:+ raise PromptUpsamplerCanceled+ caption = processor.decode(generated[0, prompt_length:], skip_special_tokens=True).strip()+ if not caption:+ raise RuntimeError("The FLUX.3 prompt upsampler returned an empty caption.")+ return reference.reconcile_boxes(caption, locked) if locked else captiondiff --git a/invokeai/backend/model_manager/starter_models/flux3.py b/invokeai/backend/model_manager/starter_models/flux3.pyindex a58e8b9ec3..f9f9ad5e09 100644--- a/invokeai/backend/model_manager/starter_models/flux3.py+++ b/invokeai/backend/model_manager/starter_models/flux3.py@@ -158,17 +158,21 @@ flux3_klein_gguf_q8_0 = StarterModel()# The prompt upsampler: a Qwen3.5-9B vision-language fine-tune that rewrites a short request into the caption FLUX.3 is-# trained on. A Text LLM, so it serves Expand Prompt, which sends it the system prompt the user picks. Its own+# trained on. A Text LLM, so it serves Expand Prompt (with the seeded "FLUX.3 Prompt Upsampler" system prompt) and the+# FLUX.3 prompt upsampler switch in generation. Its own# repository is Apache-2.0 and not gated; the int8 file comes from the gated Comfy repository, under that repository's# license.-_UPSAMPLER_SYSTEM_PROMPT = "Use it with the 't2i' system prompt from the model's system_prompts.json."+_UPSAMPLER_USE = (+ 'Serves Expand Prompt with the built-in "FLUX.3 Prompt Upsampler" system prompt, and the FLUX.3 prompt upsampler '+ "switch in generation."+)flux3_prompt_upsampler = StarterModel(name="FLUX.3 Prompt Upsampler",base=BaseModelType.Any,source="black-forest-labs/flux-3-image-klein-pup",- description="FLUX.3 Image Klein's prompt upsampler (Qwen3.5-9B): a Text LLM for Expand Prompt that rewrites a "- f"short prompt into a detailed FLUX.3 caption. {_UPSAMPLER_SYSTEM_PROMPT} bf16, ~17.5GB. Apache-2.0.",+ description="FLUX.3 Image Klein's prompt upsampler (Qwen3.5-9B): a Text LLM that rewrites a "+ f"short prompt into a detailed FLUX.3 caption. {_UPSAMPLER_USE} bf16, ~17.5GB. Apache-2.0.",type=ModelType.TextLLM,)@@ -180,10 +184,10 @@ flux3_prompt_upsampler_int8 = StarterModel(base=BaseModelType.Any,source="https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/""feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors",- description="The FLUX.3 prompt upsampler as one ComfyUI int8_convrot file, a Text LLM for Expand Prompt. It "+ description="The FLUX.3 prompt upsampler as one ComfyUI int8_convrot file, a Text LLM. It ""needs about 10.7GB of memory instead of 17.5GB, but dequantizes its int8 language-model weights for every generated ""token unless int8 Compute runs them on int8 kernels; use the bf16 model where it fits. "- f"{_UPSAMPLER_SYSTEM_PROMPT} ~9.1GB. The Comfy repository is gated under the FLUX Kommunity License: accept it on "+ f"{_UPSAMPLER_USE} ~9.1GB. The Comfy repository is gated under the FLUX Kommunity License: accept it on ""Hugging Face first.",type=ModelType.TextLLM,format=ModelFormat.Checkpoint,diff --git a/invokeai/frontend/api/openapi.json b/invokeai/frontend/api/openapi.jsonindex 65b12ba19a..1e78200cf0 100644--- a/invokeai/frontend/api/openapi.json+++ b/invokeai/frontend/api/openapi.json@@ -41794,6 +41794,130 @@"title": "Flux3ModelLoaderOutput","type": "object"},+ "Flux3PromptUpsamplerInvocation": {+ "category": "conditioning",+ "class": "invocation",+ "classification": "prototype",+ "description": "Writes the caption FLUX.3 encodes with Black Forest Labs' prompt upsampler.\n\nThe upsampler sees what the generation sees: the prompt, the reference images of an edit and the canvas regions of\na layout. The mode follows the inputs (text-to-image, edit, and each with a layout). Regions replace the Layout\nPrompt node's: they and the rows of a box table that ends the prompt are kept exactly in the answer's box table.\nDecoding is greedy, so the same inputs give the same caption.",+ "node_pack": "invokeai",+ "properties": {+ "id": {+ "description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",+ "field_kind": "node_attribute",+ "title": "Id",+ "type": "string"+ },+ "is_intermediate": {+ "default": false,+ "description": "Whether or not this is an intermediate invocation.",+ "field_kind": "node_attribute",+ "input": "direct",+ "orig_required": true,+ "title": "Is Intermediate",+ "type": "boolean",+ "ui_hidden": false,+ "ui_type": "IsIntermediate"+ },+ "use_cache": {+ "default": true,+ "description": "Whether or not to use the cache",+ "field_kind": "node_attribute",+ "title": "Use Cache",+ "type": "boolean"+ },+ "prompt": {+ "default": "",+ "description": "The request to expand into the caption, optionally ending with a box table of its own.",+ "field_kind": "input",+ "input": "any",+ "orig_default": "",+ "orig_required": false,+ "title": "Prompt",+ "type": "string",+ "ui_component": "textarea"+ },+ "upsampler_model": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ModelIdentifierField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The FLUX.3 prompt upsampler: a Text LLM that can read images.",+ "field_kind": "input",+ "input": "any",+ "orig_required": true,+ "title": "Prompt Upsampler",+ "ui_model_type": ["text_llm"]+ },+ "reference_images": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/FluxKontextConditioningField"+ },+ {+ "items": {+ "$ref": "#/components/schemas/FluxKontextConditioningField"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Reference images of an edit, in attachment order (up to 10), the ones the denoiser receives.",+ "field_kind": "input",+ "input": "connection",+ "orig_default": null,+ "orig_required": false,+ "title": "Reference Images"+ },+ "regions": {+ "default": [],+ "description": "Boxes on the 0-1000 grid across the image, assembled from Canvas Regional Guidance layers. Object rows, or with reference images rows that place new content in the output.",+ "field_kind": "input",+ "input": "any",+ "items": {+ "$ref": "#/components/schemas/Flux3LayoutRegion"+ },+ "orig_default": [],+ "orig_required": false,+ "title": "Regions",+ "type": "array"+ },+ "max_new_tokens": {+ "default": 3584,+ "description": "The most tokens the caption may take.",+ "field_kind": "input",+ "input": "any",+ "maximum": 3584,+ "minimum": 64,+ "orig_default": 3584,+ "orig_required": false,+ "title": "Max New Tokens",+ "type": "integer"+ },+ "type": {+ "const": "flux3_prompt_upsampler",+ "default": "flux3_prompt_upsampler",+ "field_kind": "node_attribute",+ "title": "type",+ "type": "string"+ }+ },+ "required": ["type", "id"],+ "tags": ["prompt", "upsampler", "layout", "flux3", "flux"],+ "title": "Prompt Upsampler - FLUX.3",+ "type": "object",+ "version": "1.0.0",+ "output": {+ "$ref": "#/components/schemas/StringOutput"+ }+ },"Flux3TextEncoderInvocation": {"category": "conditioning","class": "invocation",@@ -47763,6 +47887,9 @@{"$ref": "#/components/schemas/Flux3ModelLoaderInvocation"},+ {+ "$ref": "#/components/schemas/Flux3PromptUpsamplerInvocation"+ },{"$ref": "#/components/schemas/Flux3TextEncoderInvocation"},@@ -58522,6 +58649,9 @@{"$ref": "#/components/schemas/Flux3ModelLoaderInvocation"},+ {+ "$ref": "#/components/schemas/Flux3PromptUpsamplerInvocation"+ },{"$ref": "#/components/schemas/Flux3TextEncoderInvocation"},@@ -60254,6 +60384,9 @@{"$ref": "#/components/schemas/Flux3ModelLoaderInvocation"},+ {+ "$ref": "#/components/schemas/Flux3PromptUpsamplerInvocation"+ },{"$ref": "#/components/schemas/Flux3TextEncoderInvocation"},@@ -61454,6 +61587,9 @@"flux3_model_loader": {"$ref": "#/components/schemas/Flux3ModelLoaderOutput"},+ "flux3_prompt_upsampler": {+ "$ref": "#/components/schemas/StringOutput"+ },"flux3_text_encoder": {"$ref": "#/components/schemas/Flux3ConditioningOutput"},@@ -62381,6 +62517,7 @@"flux3_lora_collection_loader","flux3_lora_loader","flux3_model_loader",+ "flux3_prompt_upsampler","flux3_text_encoder","flux_control_lora_loader","flux_controlnet",@@ -63033,6 +63170,9 @@{"$ref": "#/components/schemas/Flux3ModelLoaderInvocation"},+ {+ "$ref": "#/components/schemas/Flux3PromptUpsamplerInvocation"+ },{"$ref": "#/components/schemas/Flux3TextEncoderInvocation"},@@ -64350,6 +64490,9 @@{"$ref": "#/components/schemas/Flux3ModelLoaderInvocation"},+ {+ "$ref": "#/components/schemas/Flux3PromptUpsamplerInvocation"+ },{"$ref": "#/components/schemas/Flux3TextEncoderInvocation"},diff --git a/invokeai/frontend/api/schema.ts b/invokeai/frontend/api/schema.tsindex ef9c30f2b8..151cd326f5 100644--- a/invokeai/frontend/api/schema.ts+++ b/invokeai/frontend/api/schema.ts@@ -16330,6 +16330,70 @@ export type components = {*/type: "flux3_model_loader_output";};+ /**+ * Prompt Upsampler - FLUX.3+ * @description Writes the caption FLUX.3 encodes with Black Forest Labs' prompt upsampler.+ *+ * The upsampler sees what the generation sees: the prompt, the reference images of an edit and the canvas regions of+ * a layout. The mode follows the inputs (text-to-image, edit, and each with a layout). Regions replace the Layout+ * Prompt node's: they and the rows of a box table that ends the prompt are kept exactly in the answer's box table.+ * Decoding is greedy, so the same inputs give the same caption.+ */+ Flux3PromptUpsamplerInvocation: {+ /**+ * Id+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.+ */+ id: string;+ /**+ * Is Intermediate+ * @description Whether or not this is an intermediate invocation.+ * @default false+ */+ is_intermediate?: boolean;+ /**+ * Use Cache+ * @description Whether or not to use the cache+ * @default true+ */+ use_cache?: boolean;+ /**+ * Prompt+ * @description The request to expand into the caption, optionally ending with a box table of its own.+ * @default+ */+ prompt?: string;+ /**+ * Prompt Upsampler+ * @description The FLUX.3 prompt upsampler: a Text LLM that can read images.+ * @default null+ */+ upsampler_model?: components["schemas"]["ModelIdentifierField"] | null;+ /**+ * Reference Images+ * @description Reference images of an edit, in attachment order (up to 10), the ones the denoiser receives.+ * @default null+ */+ reference_images?: components["schemas"]["FluxKontextConditioningField"] | components["schemas"]["FluxKontextConditioningField"][] | null;+ /**+ * Regions+ * @description Boxes on the 0-1000 grid across the image, assembled from Canvas Regional Guidance layers. Object rows, or with reference images rows that place new content in the output.+ * @default []+ */+ regions?: components["schemas"]["Flux3LayoutRegion"][];+ /**+ * Max New Tokens+ * @description The most tokens the caption may take.+ * @default 3584+ */+ max_new_tokens?: number;+ /**+ * type+ * @default flux3_prompt_upsampler+ * @constant+ */+ type: "flux3_prompt_upsampler";+ };/*** Prompt - FLUX.3* @description Encodes a prompt for FLUX.3 with the Qwen3-VL 4B text encoder.@@ -19234,7 +19298,7 @@ export type components = {* @description The nodes in this graph*/nodes?: {- [key: string]: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaIPAdapterInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["AtlasCloudImageGenerationInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanLogicInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ClarityInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CollectionCartesianInvocation"] | components["schemas"]["CollectionConcatInvocation"] | components["schemas"]["CollectionZipInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ContrastDehazeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageLoRACollectionLoader"] | components["schemas"]["ErnieImageLoRALoaderInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2ControlInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["Flux3DenoiseInvocation"] | components["schemas"]["Flux3LayoutPromptInvocation"] | components["schemas"]["Flux3LoRACollectionLoader"] | components["schemas"]["Flux3LoRALoaderInvocation"] | components["schemas"]["Flux3ModelLoaderInvocation"] | components["schemas"]["Flux3TextEncoderInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["ForInvocation"] | components["schemas"]["ForReturnInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4LoRACollectionLoader"] | components["schemas"]["Ideogram4LoRALoaderInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2StyleReferenceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LTX2AudioConditioningInvocation"] | components["schemas"]["LTX2DenoiseInvocation"] | components["schemas"]["LTX2DurationInvocation"] | components["schemas"]["LTX2ExtendConditioningInvocation"] | components["schemas"]["LTX2IdealDimensionsInvocation"] | components["schemas"]["LTX2ImageConditioningInvocation"] | components["schemas"]["LTX2LatentUpsampleInvocation"] | components["schemas"]["LTX2LatentsToVideoInvocation"] | components["schemas"]["LTX2LoRACollectionLoader"] | components["schemas"]["LTX2LoRALoaderInvocation"] | components["schemas"]["LTX2ModelLoaderInvocation"] | components["schemas"]["LTX2TextEncoderInvocation"] | components["schemas"]["LTX2VideoConditioningInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3HybridOverlayInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MossImageDenoiseInvocation"] | components["schemas"]["MossImageLayoutPromptInvocation"] | components["schemas"]["MossImageModelLoaderInvocation"] | components["schemas"]["MossImageTextEncoderInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImage21DenoiseInvocation"] | components["schemas"]["QwenImage21ImageToLatentsInvocation"] | components["schemas"]["QwenImage21LatentsToImageInvocation"] | components["schemas"]["QwenImage21LoRACollectionLoader"] | components["schemas"]["QwenImage21LoRALoaderInvocation"] | components["schemas"]["QwenImage21ModelLoaderInvocation"] | components["schemas"]["QwenImage21TextEncoderInvocation"] | components["schemas"]["QwenImageControlInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3LoRACollectionLoader"] | components["schemas"]["SD3LoRALoaderInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StateEmptyInvocation"] | components["schemas"]["StateGetInvocation"] | components["schemas"]["StateMergeInvocation"] | components["schemas"]["StateSetInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TextureInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ [key: string]: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaIPAdapterInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["AtlasCloudImageGenerationInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanLogicInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ClarityInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CollectionCartesianInvocation"] | components["schemas"]["CollectionConcatInvocation"] | components["schemas"]["CollectionZipInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ContrastDehazeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageLoRACollectionLoader"] | components["schemas"]["ErnieImageLoRALoaderInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2ControlInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["Flux3DenoiseInvocation"] | components["schemas"]["Flux3LayoutPromptInvocation"] | components["schemas"]["Flux3LoRACollectionLoader"] | components["schemas"]["Flux3LoRALoaderInvocation"] | components["schemas"]["Flux3ModelLoaderInvocation"] | components["schemas"]["Flux3PromptUpsamplerInvocation"] | components["schemas"]["Flux3TextEncoderInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["ForInvocation"] | components["schemas"]["ForReturnInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4LoRACollectionLoader"] | components["schemas"]["Ideogram4LoRALoaderInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2StyleReferenceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LTX2AudioConditioningInvocation"] | components["schemas"]["LTX2DenoiseInvocation"] | components["schemas"]["LTX2DurationInvocation"] | components["schemas"]["LTX2ExtendConditioningInvocation"] | components["schemas"]["LTX2IdealDimensionsInvocation"] | components["schemas"]["LTX2ImageConditioningInvocation"] | components["schemas"]["LTX2LatentUpsampleInvocation"] | components["schemas"]["LTX2LatentsToVideoInvocation"] | components["schemas"]["LTX2LoRACollectionLoader"] | components["schemas"]["LTX2LoRALoaderInvocation"] | components["schemas"]["LTX2ModelLoaderInvocation"] | components["schemas"]["LTX2TextEncoderInvocation"] | components["schemas"]["LTX2VideoConditioningInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3HybridOverlayInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MossImageDenoiseInvocation"] | components["schemas"]["MossImageLayoutPromptInvocation"] | components["schemas"]["MossImageModelLoaderInvocation"] | components["schemas"]["MossImageTextEncoderInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImage21DenoiseInvocation"] | components["schemas"]["QwenImage21ImageToLatentsInvocation"] | components["schemas"]["QwenImage21LatentsToImageInvocation"] | components["schemas"]["QwenImage21LoRACollectionLoader"] | components["schemas"]["QwenImage21LoRALoaderInvocation"] | components["schemas"]["QwenImage21ModelLoaderInvocation"] | components["schemas"]["QwenImage21TextEncoderInvocation"] | components["schemas"]["QwenImageControlInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3LoRACollectionLoader"] | components["schemas"]["SD3LoRALoaderInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StateEmptyInvocation"] | components["schemas"]["StateGetInvocation"] | components["schemas"]["StateMergeInvocation"] | components["schemas"]["StateSetInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TextureInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];};/*** Edges@@ -24273,7 +24337,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaIPAdapterInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["AtlasCloudImageGenerationInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanLogicInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ClarityInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CollectionCartesianInvocation"] | components["schemas"]["CollectionConcatInvocation"] | components["schemas"]["CollectionZipInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ContrastDehazeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageLoRACollectionLoader"] | components["schemas"]["ErnieImageLoRALoaderInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2ControlInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["Flux3DenoiseInvocation"] | components["schemas"]["Flux3LayoutPromptInvocation"] | components["schemas"]["Flux3LoRACollectionLoader"] | components["schemas"]["Flux3LoRALoaderInvocation"] | components["schemas"]["Flux3ModelLoaderInvocation"] | components["schemas"]["Flux3TextEncoderInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["ForInvocation"] | components["schemas"]["ForReturnInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4LoRACollectionLoader"] | components["schemas"]["Ideogram4LoRALoaderInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2StyleReferenceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LTX2AudioConditioningInvocation"] | components["schemas"]["LTX2DenoiseInvocation"] | components["schemas"]["LTX2DurationInvocation"] | components["schemas"]["LTX2ExtendConditioningInvocation"] | components["schemas"]["LTX2IdealDimensionsInvocation"] | components["schemas"]["LTX2ImageConditioningInvocation"] | components["schemas"]["LTX2LatentUpsampleInvocation"] | components["schemas"]["LTX2LatentsToVideoInvocation"] | components["schemas"]["LTX2LoRACollectionLoader"] | components["schemas"]["LTX2LoRALoaderInvocation"] | components["schemas"]["LTX2ModelLoaderInvocation"] | components["schemas"]["LTX2TextEncoderInvocation"] | components["schemas"]["LTX2VideoConditioningInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3HybridOverlayInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MossImageDenoiseInvocation"] | components["schemas"]["MossImageLayoutPromptInvocation"] | components["schemas"]["MossImageModelLoaderInvocation"] | components["schemas"]["MossImageTextEncoderInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImage21DenoiseInvocation"] | components["schemas"]["QwenImage21ImageToLatentsInvocation"] | components["schemas"]["QwenImage21LatentsToImageInvocation"] | components["schemas"]["QwenImage21LoRACollectionLoader"] | components["schemas"]["QwenImage21LoRALoaderInvocation"] | components["schemas"]["QwenImage21ModelLoaderInvocation"] | components["schemas"]["QwenImage21TextEncoderInvocation"] | components["schemas"]["QwenImageControlInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3LoRACollectionLoader"] | components["schemas"]["SD3LoRALoaderInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StateEmptyInvocation"] | components["schemas"]["StateGetInvocation"] | components["schemas"]["StateMergeInvocation"] | components["schemas"]["StateSetInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TextureInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaIPAdapterInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["AtlasCloudImageGenerationInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanLogicInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ClarityInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CollectionCartesianInvocation"] | components["schemas"]["CollectionConcatInvocation"] | components["schemas"]["CollectionZipInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ContrastDehazeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageLoRACollectionLoader"] | components["schemas"]["ErnieImageLoRALoaderInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2ControlInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["Flux3DenoiseInvocation"] | components["schemas"]["Flux3LayoutPromptInvocation"] | components["schemas"]["Flux3LoRACollectionLoader"] | components["schemas"]["Flux3LoRALoaderInvocation"] | components["schemas"]["Flux3ModelLoaderInvocation"] | components["schemas"]["Flux3PromptUpsamplerInvocation"] | components["schemas"]["Flux3TextEncoderInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["ForInvocation"] | components["schemas"]["ForReturnInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4LoRACollectionLoader"] | components["schemas"]["Ideogram4LoRALoaderInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2StyleReferenceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LTX2AudioConditioningInvocation"] | components["schemas"]["LTX2DenoiseInvocation"] | components["schemas"]["LTX2DurationInvocation"] | components["schemas"]["LTX2ExtendConditioningInvocation"] | components["schemas"]["LTX2IdealDimensionsInvocation"] | components["schemas"]["LTX2ImageConditioningInvocation"] | components["schemas"]["LTX2LatentUpsampleInvocation"] | components["schemas"]["LTX2LatentsToVideoInvocation"] | components["schemas"]["LTX2LoRACollectionLoader"] | components["schemas"]["LTX2LoRALoaderInvocation"] | components["schemas"]["LTX2ModelLoaderInvocation"] | components["schemas"]["LTX2TextEncoderInvocation"] | components["schemas"]["LTX2VideoConditioningInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3HybridOverlayInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MossImageDenoiseInvocation"] | components["schemas"]["MossImageLayoutPromptInvocation"] | components["schemas"]["MossImageModelLoaderInvocation"] | components["schemas"]["MossImageTextEncoderInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImage21DenoiseInvocation"] | components["schemas"]["QwenImage21ImageToLatentsInvocation"] | components["schemas"]["QwenImage21LatentsToImageInvocation"] | components["schemas"]["QwenImage21LoRACollectionLoader"] | components["schemas"]["QwenImage21LoRALoaderInvocation"] | components["schemas"]["QwenImage21ModelLoaderInvocation"] | components["schemas"]["QwenImage21TextEncoderInvocation"] | components["schemas"]["QwenImageControlInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3LoRACollectionLoader"] | components["schemas"]["SD3LoRALoaderInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StateEmptyInvocation"] | components["schemas"]["StateGetInvocation"] | components["schemas"]["StateMergeInvocation"] | components["schemas"]["StateSetInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TextureInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -24355,7 +24419,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaIPAdapterInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["AtlasCloudImageGenerationInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanLogicInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ClarityInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CollectionCartesianInvocation"] | components["schemas"]["CollectionConcatInvocation"] | components["schemas"]["CollectionZipInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ContrastDehazeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageLoRACollectionLoader"] | components["schemas"]["ErnieImageLoRALoaderInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2ControlInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["Flux3DenoiseInvocation"] | components["schemas"]["Flux3LayoutPromptInvocation"] | components["schemas"]["Flux3LoRACollectionLoader"] | components["schemas"]["Flux3LoRALoaderInvocation"] | components["schemas"]["Flux3ModelLoaderInvocation"] | components["schemas"]["Flux3TextEncoderInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["ForInvocation"] | components["schemas"]["ForReturnInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4LoRACollectionLoader"] | components["schemas"]["Ideogram4LoRALoaderInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2StyleReferenceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LTX2AudioConditioningInvocation"] | components["schemas"]["LTX2DenoiseInvocation"] | components["schemas"]["LTX2DurationInvocation"] | components["schemas"]["LTX2ExtendConditioningInvocation"] | components["schemas"]["LTX2IdealDimensionsInvocation"] | components["schemas"]["LTX2ImageConditioningInvocation"] | components["schemas"]["LTX2LatentUpsampleInvocation"] | components["schemas"]["LTX2LatentsToVideoInvocation"] | components["schemas"]["LTX2LoRACollectionLoader"] | components["schemas"]["LTX2LoRALoaderInvocation"] | components["schemas"]["LTX2ModelLoaderInvocation"] | components["schemas"]["LTX2TextEncoderInvocation"] | components["schemas"]["LTX2VideoConditioningInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3HybridOverlayInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MossImageDenoiseInvocation"] | components["schemas"]["MossImageLayoutPromptInvocation"] | components["schemas"]["MossImageModelLoaderInvocation"] | components["schemas"]["MossImageTextEncoderInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImage21DenoiseInvocation"] | components["schemas"]["QwenImage21ImageToLatentsInvocation"] | components["schemas"]["QwenImage21LatentsToImageInvocation"] | components["schemas"]["QwenImage21LoRACollectionLoader"] | components["schemas"]["QwenImage21LoRALoaderInvocation"] | components["schemas"]["QwenImage21ModelLoaderInvocation"] | components["schemas"]["QwenImage21TextEncoderInvocation"] | components["schemas"]["QwenImageControlInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3LoRACollectionLoader"] | components["schemas"]["SD3LoRALoaderInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StateEmptyInvocation"] | components["schemas"]["StateGetInvocation"] | components["schemas"]["StateMergeInvocation"] | components["schemas"]["StateSetInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TextureInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaIPAdapterInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["AtlasCloudImageGenerationInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanLogicInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ClarityInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CollectionCartesianInvocation"] | components["schemas"]["CollectionConcatInvocation"] | components["schemas"]["CollectionZipInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ContrastDehazeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageLoRACollectionLoader"] | components["schemas"]["ErnieImageLoRALoaderInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2ControlInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["Flux3DenoiseInvocation"] | components["schemas"]["Flux3LayoutPromptInvocation"] | components["schemas"]["Flux3LoRACollectionLoader"] | components["schemas"]["Flux3LoRALoaderInvocation"] | components["schemas"]["Flux3ModelLoaderInvocation"] | components["schemas"]["Flux3PromptUpsamplerInvocation"] | components["schemas"]["Flux3TextEncoderInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["ForInvocation"] | components["schemas"]["ForReturnInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4LoRACollectionLoader"] | components["schemas"]["Ideogram4LoRALoaderInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2StyleReferenceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LTX2AudioConditioningInvocation"] | components["schemas"]["LTX2DenoiseInvocation"] | components["schemas"]["LTX2DurationInvocation"] | components["schemas"]["LTX2ExtendConditioningInvocation"] | components["schemas"]["LTX2IdealDimensionsInvocation"] | components["schemas"]["LTX2ImageConditioningInvocation"] | components["schemas"]["LTX2LatentUpsampleInvocation"] | components["schemas"]["LTX2LatentsToVideoInvocation"] | components["schemas"]["LTX2LoRACollectionLoader"] | components["schemas"]["LTX2LoRALoaderInvocation"] | components["schemas"]["LTX2ModelLoaderInvocation"] | components["schemas"]["LTX2TextEncoderInvocation"] | components["schemas"]["LTX2VideoConditioningInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3HybridOverlayInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MossImageDenoiseInvocation"] | components["schemas"]["MossImageLayoutPromptInvocation"] | components["schemas"]["MossImageModelLoaderInvocation"] | components["schemas"]["MossImageTextEncoderInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImage21DenoiseInvocation"] | components["schemas"]["QwenImage21ImageToLatentsInvocation"] | components["schemas"]["QwenImage21LatentsToImageInvocation"] | components["schemas"]["QwenImage21LoRACollectionLoader"] | components["schemas"]["QwenImage21LoRALoaderInvocation"] | components["schemas"]["QwenImage21ModelLoaderInvocation"] | components["schemas"]["QwenImage21TextEncoderInvocation"] | components["schemas"]["QwenImageControlInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3LoRACollectionLoader"] | components["schemas"]["SD3LoRALoaderInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StateEmptyInvocation"] | components["schemas"]["StateGetInvocation"] | components["schemas"]["StateMergeInvocation"] | components["schemas"]["StateSetInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TextureInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -24496,6 +24560,7 @@ export type components = {flux3_lora_collection_loader: components["schemas"]["Flux3LoRALoaderOutput"];flux3_lora_loader: components["schemas"]["Flux3LoRALoaderOutput"];flux3_model_loader: components["schemas"]["Flux3ModelLoaderOutput"];+ flux3_prompt_upsampler: components["schemas"]["StringOutput"];flux3_text_encoder: components["schemas"]["Flux3ConditioningOutput"];flux_control_lora_loader: components["schemas"]["FluxControlLoRALoaderOutput"];flux_controlnet: components["schemas"]["FluxControlNetOutput"];@@ -24824,7 +24889,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaIPAdapterInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["AtlasCloudImageGenerationInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanLogicInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ClarityInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CollectionCartesianInvocation"] | components["schemas"]["CollectionConcatInvocation"] | components["schemas"]["CollectionZipInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ContrastDehazeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageLoRACollectionLoader"] | components["schemas"]["ErnieImageLoRALoaderInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2ControlInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["Flux3DenoiseInvocation"] | components["schemas"]["Flux3LayoutPromptInvocation"] | components["schemas"]["Flux3LoRACollectionLoader"] | components["schemas"]["Flux3LoRALoaderInvocation"] | components["schemas"]["Flux3ModelLoaderInvocation"] | components["schemas"]["Flux3TextEncoderInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["ForInvocation"] | components["schemas"]["ForReturnInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4LoRACollectionLoader"] | components["schemas"]["Ideogram4LoRALoaderInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2StyleReferenceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LTX2AudioConditioningInvocation"] | components["schemas"]["LTX2DenoiseInvocation"] | components["schemas"]["LTX2DurationInvocation"] | components["schemas"]["LTX2ExtendConditioningInvocation"] | components["schemas"]["LTX2IdealDimensionsInvocation"] | components["schemas"]["LTX2ImageConditioningInvocation"] | components["schemas"]["LTX2LatentUpsampleInvocation"] | components["schemas"]["LTX2LatentsToVideoInvocation"] | components["schemas"]["LTX2LoRACollectionLoader"] | components["schemas"]["LTX2LoRALoaderInvocation"] | components["schemas"]["LTX2ModelLoaderInvocation"] | components["schemas"]["LTX2TextEncoderInvocation"] | components["schemas"]["LTX2VideoConditioningInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3HybridOverlayInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MossImageDenoiseInvocation"] | components["schemas"]["MossImageLayoutPromptInvocation"] | components["schemas"]["MossImageModelLoaderInvocation"] | components["schemas"]["MossImageTextEncoderInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImage21DenoiseInvocation"] | components["schemas"]["QwenImage21ImageToLatentsInvocation"] | components["schemas"]["QwenImage21LatentsToImageInvocation"] | components["schemas"]["QwenImage21LoRACollectionLoader"] | components["schemas"]["QwenImage21LoRALoaderInvocation"] | components["schemas"]["QwenImage21ModelLoaderInvocation"] | components["schemas"]["QwenImage21TextEncoderInvocation"] | components["schemas"]["QwenImageControlInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3LoRACollectionLoader"] | components["schemas"]["SD3LoRALoaderInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StateEmptyInvocation"] | components["schemas"]["StateGetInvocation"] | components["schemas"]["StateMergeInvocation"] | components["schemas"]["StateSetInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TextureInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaIPAdapterInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["AtlasCloudImageGenerationInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanLogicInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ClarityInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CollectionCartesianInvocation"] | components["schemas"]["CollectionConcatInvocation"] | components["schemas"]["CollectionZipInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ContrastDehazeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageLoRACollectionLoader"] | components["schemas"]["ErnieImageLoRALoaderInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2ControlInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["Flux3DenoiseInvocation"] | components["schemas"]["Flux3LayoutPromptInvocation"] | components["schemas"]["Flux3LoRACollectionLoader"] | components["schemas"]["Flux3LoRALoaderInvocation"] | components["schemas"]["Flux3ModelLoaderInvocation"] | components["schemas"]["Flux3PromptUpsamplerInvocation"] | components["schemas"]["Flux3TextEncoderInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["ForInvocation"] | components["schemas"]["ForReturnInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4LoRACollectionLoader"] | components["schemas"]["Ideogram4LoRALoaderInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2StyleReferenceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LTX2AudioConditioningInvocation"] | components["schemas"]["LTX2DenoiseInvocation"] | components["schemas"]["LTX2DurationInvocation"] | components["schemas"]["LTX2ExtendConditioningInvocation"] | components["schemas"]["LTX2IdealDimensionsInvocation"] | components["schemas"]["LTX2ImageConditioningInvocation"] | components["schemas"]["LTX2LatentUpsampleInvocation"] | components["schemas"]["LTX2LatentsToVideoInvocation"] | components["schemas"]["LTX2LoRACollectionLoader"] | components["schemas"]["LTX2LoRALoaderInvocation"] | components["schemas"]["LTX2ModelLoaderInvocation"] | components["schemas"]["LTX2TextEncoderInvocation"] | components["schemas"]["LTX2VideoConditioningInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3HybridOverlayInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MossImageDenoiseInvocation"] | components["schemas"]["MossImageLayoutPromptInvocation"] | components["schemas"]["MossImageModelLoaderInvocation"] | components["schemas"]["MossImageTextEncoderInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImage21DenoiseInvocation"] | components["schemas"]["QwenImage21ImageToLatentsInvocation"] | components["schemas"]["QwenImage21LatentsToImageInvocation"] | components["schemas"]["QwenImage21LoRACollectionLoader"] | components["schemas"]["QwenImage21LoRALoaderInvocation"] | components["schemas"]["QwenImage21ModelLoaderInvocation"] | components["schemas"]["QwenImage21TextEncoderInvocation"] | components["schemas"]["QwenImageControlInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3LoRACollectionLoader"] | components["schemas"]["SD3LoRALoaderInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StateEmptyInvocation"] | components["schemas"]["StateGetInvocation"] | components["schemas"]["StateMergeInvocation"] | components["schemas"]["StateSetInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TextureInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source node@@ -24929,7 +24994,7 @@ export type components = {* Invocation* @description The ID of the invocation*/- invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaIPAdapterInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["AtlasCloudImageGenerationInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanLogicInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ClarityInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CollectionCartesianInvocation"] | components["schemas"]["CollectionConcatInvocation"] | components["schemas"]["CollectionZipInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ContrastDehazeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageLoRACollectionLoader"] | components["schemas"]["ErnieImageLoRALoaderInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2ControlInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["Flux3DenoiseInvocation"] | components["schemas"]["Flux3LayoutPromptInvocation"] | components["schemas"]["Flux3LoRACollectionLoader"] | components["schemas"]["Flux3LoRALoaderInvocation"] | components["schemas"]["Flux3ModelLoaderInvocation"] | components["schemas"]["Flux3TextEncoderInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["ForInvocation"] | components["schemas"]["ForReturnInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4LoRACollectionLoader"] | components["schemas"]["Ideogram4LoRALoaderInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2StyleReferenceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LTX2AudioConditioningInvocation"] | components["schemas"]["LTX2DenoiseInvocation"] | components["schemas"]["LTX2DurationInvocation"] | components["schemas"]["LTX2ExtendConditioningInvocation"] | components["schemas"]["LTX2IdealDimensionsInvocation"] | components["schemas"]["LTX2ImageConditioningInvocation"] | components["schemas"]["LTX2LatentUpsampleInvocation"] | components["schemas"]["LTX2LatentsToVideoInvocation"] | components["schemas"]["LTX2LoRACollectionLoader"] | components["schemas"]["LTX2LoRALoaderInvocation"] | components["schemas"]["LTX2ModelLoaderInvocation"] | components["schemas"]["LTX2TextEncoderInvocation"] | components["schemas"]["LTX2VideoConditioningInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3HybridOverlayInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MossImageDenoiseInvocation"] | components["schemas"]["MossImageLayoutPromptInvocation"] | components["schemas"]["MossImageModelLoaderInvocation"] | components["schemas"]["MossImageTextEncoderInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImage21DenoiseInvocation"] | components["schemas"]["QwenImage21ImageToLatentsInvocation"] | components["schemas"]["QwenImage21LatentsToImageInvocation"] | components["schemas"]["QwenImage21LoRACollectionLoader"] | components["schemas"]["QwenImage21LoRALoaderInvocation"] | components["schemas"]["QwenImage21ModelLoaderInvocation"] | components["schemas"]["QwenImage21TextEncoderInvocation"] | components["schemas"]["QwenImageControlInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3LoRACollectionLoader"] | components["schemas"]["SD3LoRALoaderInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StateEmptyInvocation"] | components["schemas"]["StateGetInvocation"] | components["schemas"]["StateMergeInvocation"] | components["schemas"]["StateSetInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TextureInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];+ invocation: components["schemas"]["AddInvocation"] | components["schemas"]["AlibabaCloudImageGenerationInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["AnimaDenoiseInvocation"] | components["schemas"]["AnimaDenoiseMetaInvocation"] | components["schemas"]["AnimaIPAdapterInvocation"] | components["schemas"]["AnimaImageToLatentsInvocation"] | components["schemas"]["AnimaLLLiteInvocation"] | components["schemas"]["AnimaLatentsToImageInvocation"] | components["schemas"]["AnimaLoRACollectionLoader"] | components["schemas"]["AnimaLoRALoaderInvocation"] | components["schemas"]["AnimaModelLoaderInvocation"] | components["schemas"]["AnimaTextEncoderInvocation"] | components["schemas"]["ApplyMaskTensorToImageInvocation"] | components["schemas"]["ApplyMaskToImageInvocation"] | components["schemas"]["AtlasCloudImageGenerationInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanLogicInvocation"] | components["schemas"]["BoundingBoxInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["CallSavedWorkflowInvocation"] | components["schemas"]["CannyEdgeDetectionInvocation"] | components["schemas"]["CanvasOutputInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["CanvasV2MaskAndCropInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ClarityInvocation"] | components["schemas"]["CogView4DenoiseInvocation"] | components["schemas"]["CogView4ImageToLatentsInvocation"] | components["schemas"]["CogView4LatentsToImageInvocation"] | components["schemas"]["CogView4ModelLoaderInvocation"] | components["schemas"]["CogView4TextEncoderInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CollectionCartesianInvocation"] | components["schemas"]["CollectionConcatInvocation"] | components["schemas"]["CollectionZipInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ColorMapInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ContentShuffleInvocation"] | components["schemas"]["ContrastDehazeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["CropImageToBoundingBoxInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["DWOpenposeDetectionInvocation"] | components["schemas"]["DecodeInvisibleWatermarkInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DenoiseLatentsMetaInvocation"] | components["schemas"]["DepthAnythingDepthEstimationInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["ErnieImageDenoiseInvocation"] | components["schemas"]["ErnieImageLoRACollectionLoader"] | components["schemas"]["ErnieImageLoRALoaderInvocation"] | components["schemas"]["ErnieImageModelLoaderInvocation"] | components["schemas"]["ErnieImagePromptEnhancerInvocation"] | components["schemas"]["ErnieImageTextEncoderInvocation"] | components["schemas"]["ErnieImageVaeDecodeInvocation"] | components["schemas"]["ExpandMaskWithFadeInvocation"] | components["schemas"]["ExtractVideoRangeInvocation"] | components["schemas"]["FLUXLoRACollectionLoader"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FloatBatchInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["FloatGenerator"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["Flux2ControlInvocation"] | components["schemas"]["Flux2DenoiseInvocation"] | components["schemas"]["Flux2DevLoRACollectionLoader"] | components["schemas"]["Flux2DevLoRALoaderInvocation"] | components["schemas"]["Flux2DevModelLoaderInvocation"] | components["schemas"]["Flux2DevTextEncoderInvocation"] | components["schemas"]["Flux2KleinLoRACollectionLoader"] | components["schemas"]["Flux2KleinLoRALoaderInvocation"] | components["schemas"]["Flux2KleinModelLoaderInvocation"] | components["schemas"]["Flux2KleinTextEncoderInvocation"] | components["schemas"]["Flux2PiDDecodeInvocation"] | components["schemas"]["Flux2VaeDecodeInvocation"] | components["schemas"]["Flux2VaeEncodeInvocation"] | components["schemas"]["Flux3DenoiseInvocation"] | components["schemas"]["Flux3LayoutPromptInvocation"] | components["schemas"]["Flux3LoRACollectionLoader"] | components["schemas"]["Flux3LoRALoaderInvocation"] | components["schemas"]["Flux3ModelLoaderInvocation"] | components["schemas"]["Flux3PromptUpsamplerInvocation"] | components["schemas"]["Flux3TextEncoderInvocation"] | components["schemas"]["FluxControlLoRALoaderInvocation"] | components["schemas"]["FluxControlNetInvocation"] | components["schemas"]["FluxDenoiseInvocation"] | components["schemas"]["FluxDenoiseLatentsMetaInvocation"] | components["schemas"]["FluxFillInvocation"] | components["schemas"]["FluxIPAdapterInvocation"] | components["schemas"]["FluxKontextConcatenateImagesInvocation"] | components["schemas"]["FluxKontextInvocation"] | components["schemas"]["FluxLoRALoaderInvocation"] | components["schemas"]["FluxModelLoaderInvocation"] | components["schemas"]["FluxPiDDecodeInvocation"] | components["schemas"]["FluxReduxInvocation"] | components["schemas"]["FluxTextEncoderInvocation"] | components["schemas"]["FluxVaeDecodeInvocation"] | components["schemas"]["FluxVaeEncodeInvocation"] | components["schemas"]["ForInvocation"] | components["schemas"]["ForReturnInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["GeminiImageGenerationInvocation"] | components["schemas"]["Gemma2EncoderLoaderInvocation"] | components["schemas"]["GetMaskBoundingBoxInvocation"] | components["schemas"]["GroundingDinoInvocation"] | components["schemas"]["HEDEdgeDetectionInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["Ideogram4CaptionBuilderInvocation"] | components["schemas"]["Ideogram4DenoiseInvocation"] | components["schemas"]["Ideogram4LatentsToImageInvocation"] | components["schemas"]["Ideogram4LoRACollectionLoader"] | components["schemas"]["Ideogram4LoRALoaderInvocation"] | components["schemas"]["Ideogram4ModelLoaderInvocation"] | components["schemas"]["Ideogram4TextEncoderInvocation"] | components["schemas"]["IfInvocation"] | components["schemas"]["ImageBatchInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageGenerator"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageNoiseInvocation"] | components["schemas"]["ImagePanelLayoutInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["IntegerBatchInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["IntegerGenerator"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["InvokeAdjustImageHuePlusInvocation"] | components["schemas"]["InvokeEquivalentAchromaticLightnessInvocation"] | components["schemas"]["InvokeImageBlendInvocation"] | components["schemas"]["InvokeImageCompositorInvocation"] | components["schemas"]["InvokeImageDilateOrErodeInvocation"] | components["schemas"]["InvokeImageEnhanceInvocation"] | components["schemas"]["InvokeImageValueThresholdsInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["Krea2ConditioningRebalanceInvocation"] | components["schemas"]["Krea2DenoiseInvocation"] | components["schemas"]["Krea2LoRACollectionLoader"] | components["schemas"]["Krea2LoRALoaderInvocation"] | components["schemas"]["Krea2ModelLoaderInvocation"] | components["schemas"]["Krea2SeedVarianceInvocation"] | components["schemas"]["Krea2StyleReferenceInvocation"] | components["schemas"]["Krea2TextEncoderInvocation"] | components["schemas"]["LTX2AudioConditioningInvocation"] | components["schemas"]["LTX2DenoiseInvocation"] | components["schemas"]["LTX2DurationInvocation"] | components["schemas"]["LTX2ExtendConditioningInvocation"] | components["schemas"]["LTX2IdealDimensionsInvocation"] | components["schemas"]["LTX2ImageConditioningInvocation"] | components["schemas"]["LTX2LatentUpsampleInvocation"] | components["schemas"]["LTX2LatentsToVideoInvocation"] | components["schemas"]["LTX2LoRACollectionLoader"] | components["schemas"]["LTX2LoRALoaderInvocation"] | components["schemas"]["LTX2ModelLoaderInvocation"] | components["schemas"]["LTX2TextEncoderInvocation"] | components["schemas"]["LTX2VideoConditioningInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["LineartAnimeEdgeDetectionInvocation"] | components["schemas"]["LineartEdgeDetectionInvocation"] | components["schemas"]["LlavaOnevisionVllmInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["MLSDDetectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["MaskTensorToImageInvocation"] | components["schemas"]["MediaPipeFaceDetectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["MetadataFieldExtractorInvocation"] | components["schemas"]["MetadataFromImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["MetadataItemLinkedInvocation"] | components["schemas"]["MetadataToBoolCollectionInvocation"] | components["schemas"]["MetadataToBoolInvocation"] | components["schemas"]["MetadataToControlnetsInvocation"] | components["schemas"]["MetadataToFloatCollectionInvocation"] | components["schemas"]["MetadataToFloatInvocation"] | components["schemas"]["MetadataToIPAdaptersInvocation"] | components["schemas"]["MetadataToIntegerCollectionInvocation"] | components["schemas"]["MetadataToIntegerInvocation"] | components["schemas"]["MetadataToLorasCollectionInvocation"] | components["schemas"]["MetadataToLorasInvocation"] | components["schemas"]["MetadataToModelInvocation"] | components["schemas"]["MetadataToSDXLLorasInvocation"] | components["schemas"]["MetadataToSDXLModelInvocation"] | components["schemas"]["MetadataToSchedulerInvocation"] | components["schemas"]["MetadataToStringCollectionInvocation"] | components["schemas"]["MetadataToStringInvocation"] | components["schemas"]["MetadataToT2IAdaptersInvocation"] | components["schemas"]["MetadataToVAEInvocation"] | components["schemas"]["MiniMaxH3DenoiseInvocation"] | components["schemas"]["MiniMaxH3FrameConditioningInvocation"] | components["schemas"]["MiniMaxH3HybridOverlayInvocation"] | components["schemas"]["MiniMaxH3IdealDimensionsInvocation"] | components["schemas"]["MiniMaxH3ImageReferenceInvocation"] | components["schemas"]["MiniMaxH3LatentsToImageInvocation"] | components["schemas"]["MiniMaxH3LatentsToVideoInvocation"] | components["schemas"]["MiniMaxH3LoRACollectionLoader"] | components["schemas"]["MiniMaxH3LoRALoaderInvocation"] | components["schemas"]["MiniMaxH3ModelLoaderInvocation"] | components["schemas"]["MiniMaxH3ReferenceConditioningInvocation"] | components["schemas"]["MiniMaxH3TextEncoderInvocation"] | components["schemas"]["MiniMaxH3VideoReferenceInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["MossImageDenoiseInvocation"] | components["schemas"]["MossImageLayoutPromptInvocation"] | components["schemas"]["MossImageModelLoaderInvocation"] | components["schemas"]["MossImageTextEncoderInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["NormalMapInvocation"] | components["schemas"]["OklabUnsharpMaskInvocation"] | components["schemas"]["OklchImageHueAdjustmentInvocation"] | components["schemas"]["OpenAIImageGenerationInvocation"] | components["schemas"]["PBRMapsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["PasteImageIntoBoundingBoxInvocation"] | components["schemas"]["PiDDecoderLoaderInvocation"] | components["schemas"]["PiDUpscaleInvocation"] | components["schemas"]["PiDiNetEdgeDetectionInvocation"] | components["schemas"]["PromptTemplateInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["QwenImage21DenoiseInvocation"] | components["schemas"]["QwenImage21ImageToLatentsInvocation"] | components["schemas"]["QwenImage21LatentsToImageInvocation"] | components["schemas"]["QwenImage21LoRACollectionLoader"] | components["schemas"]["QwenImage21LoRALoaderInvocation"] | components["schemas"]["QwenImage21ModelLoaderInvocation"] | components["schemas"]["QwenImage21TextEncoderInvocation"] | components["schemas"]["QwenImageControlInvocation"] | components["schemas"]["QwenImageDenoiseInvocation"] | components["schemas"]["QwenImageImageToLatentsInvocation"] | components["schemas"]["QwenImageLatentsToImageInvocation"] | components["schemas"]["QwenImageLoRACollectionLoader"] | components["schemas"]["QwenImageLoRALoaderInvocation"] | components["schemas"]["QwenImageModelLoaderInvocation"] | components["schemas"]["QwenImagePiDDecodeInvocation"] | components["schemas"]["QwenImageTextEncoderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["SD3DenoiseInvocation"] | components["schemas"]["SD3ImageToLatentsInvocation"] | components["schemas"]["SD3LatentsToImageInvocation"] | components["schemas"]["SD3LoRACollectionLoader"] | components["schemas"]["SD3LoRALoaderInvocation"] | components["schemas"]["SD3PiDDecodeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLPiDDecodeInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["SaveImageToFileInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["Sd3ModelLoaderInvocation"] | components["schemas"]["Sd3TextEncoderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["SeedreamImageGenerationInvocation"] | components["schemas"]["SegmentAnythingInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["SpandrelImageToImageAutoscaleInvocation"] | components["schemas"]["SpandrelImageToImageInvocation"] | components["schemas"]["StateEmptyInvocation"] | components["schemas"]["StateGetInvocation"] | components["schemas"]["StateMergeInvocation"] | components["schemas"]["StateSetInvocation"] | components["schemas"]["StringBatchInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["StringGenerator"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["TextLLMInvocation"] | components["schemas"]["TextLLMWithPresetInvocation"] | components["schemas"]["TextureInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["TiledMultiDiffusionDenoiseLatents"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["VideoConcatInvocation"] | components["schemas"]["VideoFrameExtractInvocation"] | components["schemas"]["VideoInvocation"] | components["schemas"]["WanDenoiseInvocation"] | components["schemas"]["WanI2VIdealDimensionsInvocation"] | components["schemas"]["WanImageToLatentsInvocation"] | components["schemas"]["WanLatentsToImageInvocation"] | components["schemas"]["WanLatentsToVideoInvocation"] | components["schemas"]["WanLoRACollectionLoader"] | components["schemas"]["WanLoRALoaderInvocation"] | components["schemas"]["WanModelLoaderInvocation"] | components["schemas"]["WanRefImageEncoderInvocation"] | components["schemas"]["WanTI2VIdealDimensionsInvocation"] | components["schemas"]["WanTextEncoderInvocation"] | components["schemas"]["WanVideoDenoiseInvocation"] | components["schemas"]["WorkflowReturnGetInvocation"] | components["schemas"]["WorkflowReturnInvocation"] | components["schemas"]["WorkflowReturnValueInvocation"] | components["schemas"]["ZImageControlInvocation"] | components["schemas"]["ZImageDenoiseInvocation"] | components["schemas"]["ZImageDenoiseMetaInvocation"] | components["schemas"]["ZImageImageToLatentsInvocation"] | components["schemas"]["ZImageLatentsToImageInvocation"] | components["schemas"]["ZImageLoRACollectionLoader"] | components["schemas"]["ZImageLoRALoaderInvocation"] | components["schemas"]["ZImageModelLoaderInvocation"] | components["schemas"]["ZImagePiDDecodeInvocation"] | components["schemas"]["ZImageSeedVarianceEnhancerInvocation"] | components["schemas"]["ZImageTextEncoderInvocation"];/*** Invocation Source Id* @description The ID of the prepared invocation's source nodediff --git a/invokeai/frontend/webv2/public/locales/en.json b/invokeai/frontend/webv2/public/locales/en.jsonindex c13139e1a0..0fa3642849 100644--- a/invokeai/frontend/webv2/public/locales/en.json+++ b/invokeai/frontend/webv2/public/locales/en.json@@ -3558,6 +3558,8 @@"animaInpaintAdapterWeight": "Inpaint adapter weight","animaInpaintAdapterEnabled": "Use inpaint adapter","animaInpaintAdapterOffHelp": "Off: inpainting runs without the adapter. Your selection is kept.",+ "flux3PromptUpsampler": "Prompt upsampler",+ "flux3PromptUpsamplerHelp": "Expands the prompt into a detailed caption, reading reference images and regions; pick its 9B model under Components.","switchedModel": "Switched to {{name}}","modelMissingPlaceholder": "{{name}} (not installed)","chooseAnotherModel": "Choose another model",@@ -3624,6 +3626,7 @@"componentSourceModel": "Component source","concepts_one": "{{count}} concept","concepts_other": "{{count}} concepts",+ "flux3PromptUpsamplerModel": "Prompt upsampler","gemma2EncoderModel": "Gemma-2 encoder","guidance": "Guidance","hiDiffusion": "HiDiffusion",diff --git a/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/flux3LayoutCanvasGraphs.json b/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/flux3LayoutCanvasGraphs.jsonindex 02e5f14497..14c6d89284 100644--- a/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/flux3LayoutCanvasGraphs.json+++ b/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/flux3LayoutCanvasGraphs.json@@ -1002,5 +1002,654 @@]}}+ },+ "upsampled_edit": {+ "edges": [+ {+ "destination": {+ "field": "vae",+ "node_id": "canvas_output"+ },+ "source": {+ "field": "vae",+ "node_id": "model_loader"+ }+ },+ {+ "destination": {+ "field": "latents",+ "node_id": "canvas_output"+ },+ "source": {+ "field": "latents",+ "node_id": "denoise_latents"+ }+ },+ {+ "destination": {+ "field": "transformer",+ "node_id": "denoise_latents"+ },+ "source": {+ "field": "transformer",+ "node_id": "model_loader"+ }+ },+ {+ "destination": {+ "field": "qwen3_vl_encoder",+ "node_id": "pos_cond"+ },+ "source": {+ "field": "qwen3_vl_encoder",+ "node_id": "model_loader"+ }+ },+ {+ "destination": {+ "field": "vae",+ "node_id": "denoise_latents"+ },+ "source": {+ "field": "vae",+ "node_id": "model_loader"+ }+ },+ {+ "destination": {+ "field": "prompt",+ "node_id": "prompt_upsampler"+ },+ "source": {+ "field": "value",+ "node_id": "positive_prompt"+ }+ },+ {+ "destination": {+ "field": "prompt",+ "node_id": "pos_cond"+ },+ "source": {+ "field": "value",+ "node_id": "prompt_upsampler"+ }+ },+ {+ "destination": {+ "field": "positive_conditioning",+ "node_id": "denoise_latents"+ },+ "source": {+ "field": "conditioning",+ "node_id": "pos_cond"+ }+ },+ {+ "destination": {+ "field": "seed",+ "node_id": "denoise_latents"+ },+ "source": {+ "field": "value",+ "node_id": "seed"+ }+ },+ {+ "destination": {+ "field": "item",+ "node_id": "flux2_kontext_collect_0_i"+ },+ "source": {+ "field": "kontext_cond",+ "node_id": "flux_kontext_0_i"+ }+ },+ {+ "destination": {+ "field": "kontext_conditioning",+ "node_id": "denoise_latents"+ },+ "source": {+ "field": "collection",+ "node_id": "flux2_kontext_collect_0_i"+ }+ },+ {+ "destination": {+ "field": "reference_images",+ "node_id": "prompt_upsampler"+ },+ "source": {+ "field": "collection",+ "node_id": "flux2_kontext_collect_0_i"+ }+ },+ {+ "destination": {+ "field": "seed",+ "node_id": "core_metadata_0_i"+ },+ "source": {+ "field": "value",+ "node_id": "seed"+ }+ },+ {+ "destination": {+ "field": "positive_prompt",+ "node_id": "core_metadata_0_i"+ },+ "source": {+ "field": "value",+ "node_id": "positive_prompt"+ }+ },+ {+ "destination": {+ "field": "negative_prompt",+ "node_id": "core_metadata_0_i"+ },+ "source": {+ "field": "value",+ "node_id": "negative_prompt"+ }+ },+ {+ "destination": {+ "field": "metadata",+ "node_id": "canvas_output"+ },+ "source": {+ "field": "metadata",+ "node_id": "core_metadata_0_i"+ }+ },+ {+ "destination": {+ "field": "flux3_caption",+ "node_id": "core_metadata_0_i"+ },+ "source": {+ "field": "value",+ "node_id": "prompt_upsampler"+ }+ }+ ],+ "id": "flux3_upsampled_canvas_edit",+ "nodes": {+ "negative_prompt": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "negative_prompt",+ "type": "string"+ },+ "positive_prompt": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "positive_prompt",+ "type": "string"+ },+ "seed": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "seed",+ "type": "integer"+ },+ "model_loader": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "model_loader",+ "model": {+ "base": "flux3",+ "format": "diffusers",+ "key": "flux3-model",+ "name": "FLUX.3 Klein",+ "type": "main",+ "variant": "flux3_klein",+ "hash": "blake3:flux3"+ },+ "type": "flux3_model_loader"+ },+ "prompt_upsampler": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "prompt_upsampler",+ "type": "flux3_prompt_upsampler",+ "upsampler_model": {+ "base": "any",+ "key": "pup",+ "name": "FLUX.3 Prompt Upsampler",+ "type": "text_llm",+ "hash": "blake3:pup"+ },+ "regions": [+ {+ "bbox": [+ 63,+ 250,+ 313,+ 750+ ],+ "desc": "a red kite reading \"Éole\""+ },+ {+ "bbox": [+ 625,+ 667,+ 1000,+ 1000+ ],+ "desc": "a dog digging in the sand"+ }+ ]+ },+ "pos_cond": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "pos_cond",+ "type": "flux3_text_encoder"+ },+ "denoise_latents": {+ "is_intermediate": true,+ "use_cache": true,+ "cfg_scale": 1,+ "denoising_end": 1,+ "denoising_start": 0,+ "height": 1024,+ "id": "denoise_latents",+ "steps": 16,+ "type": "flux3_denoise",+ "width": 768+ },+ "canvas_output": {+ "is_intermediate": true,+ "use_cache": false,+ "id": "canvas_output",+ "type": "flux2_vae_decode"+ },+ "flux_kontext_0_i": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "flux_kontext_0_i",+ "image": {+ "image_name": "beach.png"+ },+ "type": "flux_kontext"+ },+ "flux2_kontext_collect_0_i": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "flux2_kontext_collect_0_i",+ "type": "collect"+ },+ "core_metadata_0_i": {+ "is_intermediate": true,+ "use_cache": true,+ "cfg_scale": 1,+ "cfg_rescale_multiplier": 0,+ "generation_mode": "flux3_txt2img",+ "height": 1024,+ "id": "core_metadata_0_i",+ "model": {+ "base": "flux3",+ "format": "diffusers",+ "key": "flux3-model",+ "name": "FLUX.3 Klein",+ "type": "main",+ "variant": "flux3_klein",+ "hash": "blake3:flux3"+ },+ "rand_device": "cpu",+ "scheduler": "euler",+ "seamless_x": false,+ "seamless_y": false,+ "steps": 16,+ "type": "core_metadata",+ "width": 768,+ "flux3_prompt_upsampler": {+ "base": "any",+ "key": "pup",+ "name": "FLUX.3 Prompt Upsampler",+ "type": "text_llm",+ "hash": "blake3:pup"+ },+ "clip_skip": 0,+ "ref_images": [+ {+ "config": {+ "image": {+ "original": {+ "image": {+ "height": 768,+ "image_name": "beach.png",+ "width": 512+ }+ }+ },+ "type": "flux2_reference_image"+ },+ "id": "beach",+ "isEnabled": true+ }+ ],+ "control_layers": [],+ "controlnets": [],+ "t2iAdapters": [],+ "regions": [+ {+ "bbox": [+ 63,+ 250,+ 313,+ 750+ ],+ "desc": "a red kite reading \"Éole\""+ },+ {+ "bbox": [+ 625,+ 667,+ 1000,+ 1000+ ],+ "desc": "a dog digging in the sand"+ }+ ]+ }+ }+ },+ "upsampled_txt2img": {+ "edges": [+ {+ "destination": {+ "field": "vae",+ "node_id": "canvas_output"+ },+ "source": {+ "field": "vae",+ "node_id": "model_loader"+ }+ },+ {+ "destination": {+ "field": "latents",+ "node_id": "canvas_output"+ },+ "source": {+ "field": "latents",+ "node_id": "denoise_latents"+ }+ },+ {+ "destination": {+ "field": "transformer",+ "node_id": "denoise_latents"+ },+ "source": {+ "field": "transformer",+ "node_id": "model_loader"+ }+ },+ {+ "destination": {+ "field": "qwen3_vl_encoder",+ "node_id": "pos_cond"+ },+ "source": {+ "field": "qwen3_vl_encoder",+ "node_id": "model_loader"+ }+ },+ {+ "destination": {+ "field": "vae",+ "node_id": "denoise_latents"+ },+ "source": {+ "field": "vae",+ "node_id": "model_loader"+ }+ },+ {+ "destination": {+ "field": "prompt",+ "node_id": "prompt_upsampler"+ },+ "source": {+ "field": "value",+ "node_id": "positive_prompt"+ }+ },+ {+ "destination": {+ "field": "prompt",+ "node_id": "pos_cond"+ },+ "source": {+ "field": "value",+ "node_id": "prompt_upsampler"+ }+ },+ {+ "destination": {+ "field": "positive_conditioning",+ "node_id": "denoise_latents"+ },+ "source": {+ "field": "conditioning",+ "node_id": "pos_cond"+ }+ },+ {+ "destination": {+ "field": "seed",+ "node_id": "denoise_latents"+ },+ "source": {+ "field": "value",+ "node_id": "seed"+ }+ },+ {+ "destination": {+ "field": "seed",+ "node_id": "core_metadata_0_i"+ },+ "source": {+ "field": "value",+ "node_id": "seed"+ }+ },+ {+ "destination": {+ "field": "positive_prompt",+ "node_id": "core_metadata_0_i"+ },+ "source": {+ "field": "value",+ "node_id": "positive_prompt"+ }+ },+ {+ "destination": {+ "field": "negative_prompt",+ "node_id": "core_metadata_0_i"+ },+ "source": {+ "field": "value",+ "node_id": "negative_prompt"+ }+ },+ {+ "destination": {+ "field": "metadata",+ "node_id": "canvas_output"+ },+ "source": {+ "field": "metadata",+ "node_id": "core_metadata_0_i"+ }+ },+ {+ "destination": {+ "field": "flux3_caption",+ "node_id": "core_metadata_0_i"+ },+ "source": {+ "field": "value",+ "node_id": "prompt_upsampler"+ }+ }+ ],+ "id": "flux3_upsampled_canvas_txt2img",+ "nodes": {+ "negative_prompt": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "negative_prompt",+ "type": "string"+ },+ "positive_prompt": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "positive_prompt",+ "type": "string"+ },+ "seed": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "seed",+ "type": "integer"+ },+ "model_loader": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "model_loader",+ "model": {+ "base": "flux3",+ "format": "diffusers",+ "key": "flux3-model",+ "name": "FLUX.3 Klein",+ "type": "main",+ "variant": "flux3_klein",+ "hash": "blake3:flux3"+ },+ "type": "flux3_model_loader"+ },+ "prompt_upsampler": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "prompt_upsampler",+ "type": "flux3_prompt_upsampler",+ "upsampler_model": {+ "base": "any",+ "key": "pup",+ "name": "FLUX.3 Prompt Upsampler",+ "type": "text_llm",+ "hash": "blake3:pup"+ },+ "regions": [+ {+ "bbox": [+ 63,+ 250,+ 313,+ 750+ ],+ "desc": "a red kite reading \"Éole\""+ },+ {+ "bbox": [+ 625,+ 667,+ 1000,+ 1000+ ],+ "desc": "a dog digging in the sand"+ }+ ]+ },+ "pos_cond": {+ "is_intermediate": true,+ "use_cache": true,+ "id": "pos_cond",+ "type": "flux3_text_encoder"+ },+ "denoise_latents": {+ "is_intermediate": true,+ "use_cache": true,+ "cfg_scale": 1,+ "denoising_end": 1,+ "denoising_start": 0,+ "height": 1024,+ "id": "denoise_latents",+ "steps": 16,+ "type": "flux3_denoise",+ "width": 768+ },+ "canvas_output": {+ "is_intermediate": true,+ "use_cache": false,+ "id": "canvas_output",+ "type": "flux2_vae_decode"+ },+ "core_metadata_0_i": {+ "is_intermediate": true,+ "use_cache": true,+ "cfg_scale": 1,+ "cfg_rescale_multiplier": 0,+ "generation_mode": "flux3_txt2img",+ "height": 1024,+ "id": "core_metadata_0_i",+ "model": {+ "base": "flux3",+ "format": "diffusers",+ "key": "flux3-model",+ "name": "FLUX.3 Klein",+ "type": "main",+ "variant": "flux3_klein",+ "hash": "blake3:flux3"+ },+ "rand_device": "cpu",+ "scheduler": "euler",+ "seamless_x": false,+ "seamless_y": false,+ "steps": 16,+ "type": "core_metadata",+ "width": 768,+ "flux3_prompt_upsampler": {+ "base": "any",+ "key": "pup",+ "name": "FLUX.3 Prompt Upsampler",+ "type": "text_llm",+ "hash": "blake3:pup"+ },+ "clip_skip": 0,+ "control_layers": [],+ "controlnets": [],+ "t2iAdapters": [],+ "regions": [+ {+ "bbox": [+ 63,+ 250,+ 313,+ 750+ ],+ "desc": "a red kite reading \"Éole\""+ },+ {+ "bbox": [+ 625,+ 667,+ 1000,+ 1000+ ],+ "desc": "a dog digging in the sand"+ }+ ]+ }+ }}}diff --git a/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.json b/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.jsonindex dbd6f93810..042f7722a7 100644--- a/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.json+++ b/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.json@@ -171,6 +171,7 @@"flux3_layout_prompt","flux3_lora_collection_loader","flux3_model_loader",+ "flux3_prompt_upsampler","flux3_text_encoder","flux_kontext","img_nsfw",@@ -709,6 +710,7 @@},"core_metadata": {"inputs": [+ "flux3_caption","ideogram4_caption","moss_image_layout_prompt","negative_prompt",@@ -744,6 +746,7 @@"dype_scale": [3],+ "flux3_prompt_upsampler": [],"generation_mode": ["anima_txt2img","cogview4_txt2img",@@ -1568,6 +1571,24 @@"vae"]},+ "flux3_prompt_upsampler": {+ "inputs": [+ "prompt",+ "reference_images"+ ],+ "literalInputs": {+ "is_intermediate": [+ true+ ],+ "upsampler_model": [],+ "use_cache": [+ true+ ]+ },+ "outputs": [+ "value"+ ]+ },"flux3_text_encoder": {"inputs": ["prompt",diff --git a/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.test.ts b/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.test.tsindex 512153310e..d26b9ef822 100644--- a/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.test.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.test.ts@@ -21,12 +21,14 @@ import type {import {coerceSchedulerForGraph,+ getComponentPolicyContext,getComponentSectionPolicy,getAutoFlux2ComponentSourceModel,getDefaultGenerateSettings,getGenerateModelSelectionResult,getGenerationDimensions,getGenerateInvocationIssues,+ getGenerationModelAvailabilityIssues,getGenerationModelAvailabilityReasons,getGenerationUiPolicy,getGenerationValidationIssues,@@ -44,6 +46,7 @@ import {isGenerateModelSelectable,isLossyModelSwitch,isModelFromRepo,+ isSuggestedExpandPromptModel,isSupportedGenerateModel,QWEN_IMAGE_21_GGUF_VISION_TOWER_REASON,QWEN_IMAGE_21_NO_VISION_TOWER_REASON,@@ -209,6 +212,137 @@ describe('architecture policy, read from the backend capability table', () => {expect(coerceSchedulerForGraph(zbase, 'lcm')).toBe('euler');});+ it('suggests the FLUX.3 prompt upsampler to Expand Prompt, whichever build is installed', () => {+ const suggestion = getImageExpandPromptSuggestion(createModel('flux3'));++ expect(suggestion).toMatchObject({+ image: null,+ imageSystemPromptId: null,+ modelName: 'FLUX.3 Prompt Upsampler',+ systemPromptId: '0f8f5b2e-1c9e-4f2a-9a4e-1f1f1f1f0012',+ });+ const isSuggested = (source: string) => isSuggestedExpandPromptModel(source, suggestion!);+ const comfyFile = 'qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors';+ const comfyRepo = 'https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve';++ // The bf16 folder: its repo, or a local copy of it.+ expect(isSuggested('black-forest-labs/flux-3-image-klein-pup')).toBe(true);+ expect(isSuggested('/models/flux-3-image-klein-pup')).toBe(true);+ // ComfyUI's int8 file: the pinned starter URL, or an in-place install of the downloaded file.+ expect(isSuggested(`${comfyRepo}/feef60b0/text_encoders/${comfyFile}`)).toBe(true);+ expect(isSuggested(`/models/${comfyFile}`)).toBe(true);+ // An in-place install on Windows records a backslash path.+ expect(isSuggested(`D:\\models\\${comfyFile}`)).toBe(true);+ expect(isSuggested(`/models/${comfyFile.toUpperCase()}`)).toBe(true);+ // ComfyUI's bf16 file is the same model.+ expect(isSuggested(`${comfyRepo}/feef60b0/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_bf16.safetensors`)).toBe(+ true+ );+ expect(isSuggested(`D:\\models\\qwen3.5_9b_flux3_prompt_upsampler_bf16.safetensors`)).toBe(true);+ // Other files of the same repositories are not the upsampler.+ expect(isSuggested('black-forest-labs/flux-3-image-klein-comfy')).toBe(false);+ expect(isSuggested(`${comfyRepo}/feef60b0/text_encoders/qwen3_vl_4b.safetensors`)).toBe(false);+ expect(isSuggested('google/gemma-4-E4B-it')).toBe(false);+ // MOSS-Image keeps matching by repository alone.+ const moss = getImageExpandPromptSuggestion(createModel('moss-image'))!;++ expect(isSuggestedExpandPromptModel('google/gemma-4-E4B-it', moss)).toBe(true);+ expect(isSuggestedExpandPromptModel(`/models/${comfyFile}`, moss)).toBe(false);+ });++ describe('the FLUX.3 prompt upsampler component', () => {+ const klein = createModel('flux3', { format: 'diffusers', variant: 'flux3_klein' });+ const llm = (overrides: Record<string, unknown> = {}) => ({+ base: 'any',+ key: 'pup',+ name: 'FLUX.3 Prompt Upsampler',+ supports_images: true,+ type: 'text_llm',+ ...overrides,+ });+ const slotFor = (settings: GenerateSettings) =>+ getComponentSectionPolicy(klein, settings).slots.find((slot) => slot.key === 'flux3PromptUpsamplerModel');+ const issues = (settings: GenerateSettings) =>+ getGenerationValidationIssues(klein, settings).filter(+ (issue) => issue.target.field === 'flux3PromptUpsamplerModel'+ );+ const notInstalled = (settings: GenerateSettings, installed: readonly unknown[]) =>+ getGenerationModelAvailabilityIssues(klein, settings, installed as never).filter(+ (issue) => issue.id === 'components:notInstalled:flux3PromptUpsamplerModel'+ );++ it('always has a slot, required once the switch is on, and then only for a model that reads images', () => {+ const off = createSettings(klein);++ expect(slotFor(off)?.required?.(getComponentPolicyContext(klein, off))).toBe(false);+ expect(issues(off)).toEqual([]);++ const on = createSettings(klein, { flux3PromptUpsamplerEnabled: true });++ expect(slotFor(on)?.required?.(getComponentPolicyContext(klein, on))).toBe(true);+ expect(issues(on)).toEqual([+ expect.objectContaining({+ message: 'Generate needs a Prompt Upsampler model while Prompt upsampler is on.',+ target: { field: 'flux3PromptUpsamplerModel', section: 'components' },+ }),+ ]);+ expect(issues({ ...on, flux3PromptUpsamplerModel: llm() })).toEqual([]);+ // A text-only LLM cannot read the reference images, so it does not satisfy the slot.+ expect(issues({ ...on, flux3PromptUpsamplerModel: llm({ supports_images: false }) })).toHaveLength(1);+ expect(issues({ ...on, flux3PromptUpsamplerModel: llm({ type: 'llava_onevision' }) })).toHaveLength(1);+ // Off, the pick is kept but nothing is required of it.+ expect(issues({ ...on, flux3PromptUpsamplerEnabled: false })).toEqual([]);+ });++ it('asks for an uninstalled pick only while the switch is on', () => {+ const on = createSettings(klein, { flux3PromptUpsamplerEnabled: true, flux3PromptUpsamplerModel: llm() });++ expect(notInstalled(on, [klein])).toEqual([+ expect.objectContaining({+ fix: { key: 'flux3PromptUpsamplerModel', kind: 'clearModel' },+ id: 'components:notInstalled:flux3PromptUpsamplerModel',+ message: 'Prompt upsampler "FLUX.3 Prompt Upsampler" is not installed. Choose another, or clear it.',+ target: { section: 'components' },+ }),+ ]);+ expect(notInstalled(on, [klein, llm()])).toEqual([]);+ // Off, nothing loads the pick, so it may stay uninstalled; turning the switch on asks for it again.+ expect(notInstalled({ ...on, flux3PromptUpsamplerEnabled: false }, [klein])).toEqual([]);+ });++ it('lists only Text LLMs that read images', () => {+ const on = createSettings(klein, { flux3PromptUpsamplerEnabled: true });+ const slot = slotFor(on)!;+ const ctx = getComponentPolicyContext(klein, on);++ expect(slot.modelTypes).toEqual(['text_llm']);+ expect(slot.filter?.(llm() as never, ctx)).toBe(true);+ expect(slot.filter?.(llm({ supports_images: false }) as never, ctx)).toBe(false);+ expect(slot.filter?.(llm({ supports_images: undefined }) as never, ctx)).toBe(false);+ });++ it('follows the standard component handling on a model switch, while the switch itself stays', () => {+ const settings = createSettings(klein, {+ flux3PromptUpsamplerEnabled: true,+ flux3PromptUpsamplerModel: llm(),+ });+ const flux = createModel('flux');+ const away = getGenerateModelSelectionResult({ currentValues: settings, model: flux, models: [] });++ // A family without the slot clears the pick and reports it, like any other component, so a pick that is no+ // longer installed cannot block another family.+ expect(away.settings).toMatchObject({ flux3PromptUpsamplerEnabled: true, flux3PromptUpsamplerModel: null });+ expect(away.changes).toContainEqual({ kind: 'removed', subject: 'flux3PromptUpsamplerModel' });+ // Within FLUX.3 the pick stays, with the switch off too.+ const off = { ...settings, flux3PromptUpsamplerEnabled: false };++ expect(+ getGenerateModelSelectionResult({ currentValues: off, model: klein, models: [] }).settings+ .flux3PromptUpsamplerModel+ ).toEqual(llm());+ });+ });+it('suggests the MOSS-Image prompt enhancer to Expand Prompt and nothing for other image bases', () => {expect(getImageExpandPromptSuggestion(createModel('moss-image'))).toEqual({image: null,@@ -906,6 +1040,24 @@ describe('component policies', () => {expect(getComponentSectionPolicy(model, createSettings(model)).slots).toEqual([]);});+ it('asks for uninstalled PiD components only while PiD is on', () => {+ const sdxl = createModel('sdxl');+ const settings = createSettings(sdxl, {+ gemma2EncoderModel: { base: 'any', key: 'gemma2', name: 'Gemma 2', type: 'gemma2_encoder' },+ pidDecoderModel: { base: 'sdxl', key: 'pid', name: 'PiD SDXL', type: 'pid_decoder' },+ pidMode: 'fit',+ });+ const ids = (values: GenerateSettings) =>+ getGenerationModelAvailabilityIssues(sdxl, values, [sdxl as never]).map(({ id }) => id);++ expect(ids(settings)).toEqual([+ 'components:notInstalled:pidDecoderModel',+ 'components:notInstalled:gemma2EncoderModel',+ ]);+ // Off, nothing loads the picks, so they may stay uninstalled until PiD is turned on again.+ expect(ids({ ...settings, pidMode: 'off' })).toEqual([]);+ });+it('keeps concepts but clears incompatible selections when the selected model changes', () => {const model = createModel('sdxl');const settings = createSettings(createModel('sd-1'), {@@ -2384,6 +2536,25 @@ describe('Anima inpaint adapter slot', () => {});});+describe('Anima inpaint adapter availability', () => {+ it('asks for an uninstalled adapter only while the adapter is enabled', () => {+ const anima = createModel('anima');+ const adapter: ComponentModelConfig = {+ base: 'anima',+ cond_in_channels: 4,+ key: 'anima-inpaint',+ name: 'Anima LLLite Inpainting',+ type: 'controlnet',+ };+ const settings = createSettings(anima, { animaInpaintAdapterEnabled: true, animaInpaintAdapterModel: adapter });+ const ids = (values: GenerateSettings) =>+ getGenerationModelAvailabilityIssues(anima, values, [anima as never]).map(({ id }) => id);++ expect(ids(settings)).toEqual(['components:notInstalled:animaInpaintAdapterModel']);+ expect(ids({ ...settings, animaInpaintAdapterEnabled: false })).toEqual([]);+ });+});+describe('FLUX.3 policies', () => {const KLEIN_CFG_REASON = 'FLUX.3 Klein samples without CFG. Set CFG Scale to 1, or use FLUX.3 Klein Base for CFG.';diff --git a/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.ts b/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.tsindex 3f949ab016..b268d16684 100644--- a/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/baseGenerationPolicies.ts@@ -35,6 +35,7 @@ import {getCompatibleDiffusersComponentSource,isBundledMainForBase,isAnimaInpaintAdapter,+ isVisionTextLlm,isAnimaQwen35Encoder,isAnimaQwen3Encoder,isClipVariant,@@ -400,10 +401,29 @@ export const isModelFromRepo = (source: string | null | undefined, repoId: strinreturn folder.toLowerCase() === wanted.split('/').pop();};+/**+ * Whether an installed model's source is the single file `fileName`: a Hugging Face file URL or a local path ending in+ * it. Case-insensitive.+ */+const isModelFromFile = (source: string | null | undefined, fileName: string): boolean => {+ const file = source?.split('::')[0]!.split(/[?#]/)[0]!.split(/[/\\]/).pop();+ return Boolean(file) && file!.toLowerCase() === fileName.toLowerCase();+};++/** Whether an installed model's source is the model Expand Prompt suggests, in any of its builds. */+export const isSuggestedExpandPromptModel = (+ source: string | null | undefined,+ suggestion: Pick<ExpandPromptSuggestion, 'modelFileNames' | 'modelSource'>+): boolean =>+ (suggestion.modelSource !== null && isModelFromRepo(source, suggestion.modelSource)) ||+ (suggestion.modelFileNames ?? []).some((fileName) => isModelFromFile(source, fileName));+/** A family's released prompt enhancer, which Expand Prompt preselects for a text-only rewrite. */interface ImagePromptEnhancer {/** Starter source of the enhancer model; an installed text LLM with this source is preselected. */modelSource: string;+ /** Single-file builds of the same model, which Expand Prompt preselects too. */+ modelFileNames?: readonly string[];/** The starter model's name, for the hint shown when it is not installed. */modelName: string;/** Seeded public system prompt. */@@ -417,6 +437,17 @@ const IMAGE_PROMPT_ENHANCERS: Partial<Record<string, ImagePromptEnhancer>> = {modelSource: 'google/gemma-4-E4B-it',systemPromptId: '0f8f5b2e-1c9e-4f2a-9a4e-1f1f1f1f0011',},+ // The text-only rewrite uses BFL's `t2i` system prompt; reference images and boxes only reach the upsampler node.+ // The bf16 folder and ComfyUI's two single files (int8 convrot, bf16) are the same model.+ flux3: {+ modelFileNames: [+ 'qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors',+ 'qwen3.5_9b_flux3_prompt_upsampler_bf16.safetensors',+ ],+ modelName: 'FLUX.3 Prompt Upsampler',+ modelSource: 'black-forest-labs/flux-3-image-klein-pup',+ systemPromptId: '0f8f5b2e-1c9e-4f2a-9a4e-1f1f1f1f0012',+ },};/** What Expand Prompt starts from for this image family, or null when the family ships no enhancer. */@@ -428,6 +459,7 @@ export const getImageExpandPromptSuggestion = (? {image: null,imageSystemPromptId: null,+ modelFileNames: enhancer.modelFileNames,modelName: enhancer.modelName,modelSource: enhancer.modelSource,systemPromptId: enhancer.systemPromptId,@@ -560,6 +592,8 @@ export const getDefaultGenerateSettings = (model?: GenerateModelConfig): GeneratanimaInpaintAdapterModel: null,animaInpaintAdapterEnabled: true,animaInpaintAdapterWeight: DEFAULT_ANIMA_INPAINT_ADAPTER_WEIGHT,+ flux3PromptUpsamplerEnabled: false,+ flux3PromptUpsamplerModel: null,wanT5EncoderModel: null,ideogram4UnconditionalModel: null,wanLowNoiseModel: null,@@ -655,6 +689,7 @@ export type GenerateComponentValueKey =| 'qwen3VLVisionTowerModel'| 'qwen35EncoderModel'| 'animaInpaintAdapterModel'+ | 'flux3PromptUpsamplerModel'| 'wanT5EncoderModel'| 'wanLowNoiseModel'| 'ideogram4UnconditionalModel'@@ -666,7 +701,11 @@ export type GenerateComponentValueKey =/** The settings component slot rules read beyond the selected components themselves. */export type ComponentPolicySettings = Pick<GenerateSettings,- 'componentSourceModel' | 'pidMode' | 'qwen3VLEncoderModel'+ | 'animaInpaintAdapterEnabled'+ | 'componentSourceModel'+ | 'flux3PromptUpsamplerEnabled'+ | 'pidMode'+ | 'qwen3VLEncoderModel'>;export interface ComponentPolicyContext {@@ -681,10 +720,17 @@ export interface ComponentSlotPolicy {modelTypes: readonly ModelTaxonomyType[];valueKind: 'component' | 'vae' | 'main';helpText?: string;+ /** Shown while the slot is empty and not required; a required slot always asks for a component. */placeholder?: string;defaultOpen?: boolean;filter?: (candidate: ModelConfig, ctx: ComponentPolicyContext) => boolean;required?: (ctx: ComponentPolicyContext) => boolean;+ /**+ * Whether a generation may load the selection. A slot behind a switch keeps its selection while the switch is off,+ * and nothing loads it then, so a kept selection that is no longer installed does not block Invoke. Absent, a set+ * selection is always in use.+ */+ inUse?: (ctx: ComponentPolicyContext) => boolean;missingMessage?: string;/*** Reported whenever the selected value fails `filter`, required or not, so a saved selection the graph cannot use@@ -748,6 +794,7 @@ const TYPE_QWEN3_VL_VISION_TOWER: ModelTaxonomyType[] = ['qwen3_vl_vision_tower'const TYPE_QWEN35: ModelTaxonomyType[] = ['qwen3_5_encoder'];const TYPE_WAN_T5: ModelTaxonomyType[] = ['wan_t5_encoder'];const TYPE_CONTROLNET: ModelTaxonomyType[] = ['controlnet'];+const TYPE_TEXT_LLM: ModelTaxonomyType[] = ['text_llm'];const TYPE_PID_DECODER: ModelTaxonomyType[] = ['pid_decoder'];const TYPE_GEMMA2: ModelTaxonomyType[] = ['gemma2_encoder'];const TYPE_T5: ModelTaxonomyType[] = ['t5_encoder'];@@ -843,8 +890,29 @@ const animaInpaintAdapterSlot = (): ComponentSlotPolicy =>helpText: 'Optional 4-channel ControlNet-LLLite adapter, used only when inpainting or outpainting on the Canvas.',placeholder: 'None',filter: wrapFilter(isAnimaInpaintAdapter),+ inUse: (ctx) => ctx.settings.animaInpaintAdapterEnabled,+ });++const isFlux3PromptUpsamplerOn = (ctx: ComponentPolicyContext): boolean => ctx.settings.flux3PromptUpsamplerEnabled;++/** Exposed before the switch is on, like PiD's; required only while it is. The node reads images, so the model must see them. */+const flux3PromptUpsamplerSlot = (): ComponentSlotPolicy =>+ slot({+ key: 'flux3PromptUpsamplerModel',+ label: 'Prompt Upsampler',+ modelTypes: TYPE_TEXT_LLM,+ valueKind: 'component',+ placeholder: 'None',+ helpText:+ 'The FLUX.3 Prompt Upsampler starter model (bf16 or int8), used while Prompt upsampler is on. Other Text LLMs that read images run, but are not trained for its instructions.',+ filter: (candidate) => isVisionTextLlm(candidate),+ required: isFlux3PromptUpsamplerOn,+ inUse: isFlux3PromptUpsamplerOn,+ missingMessage: 'Generate needs a Prompt Upsampler model while Prompt upsampler is on.',});+const isPidOn = (ctx: ComponentPolicyContext): boolean => getIsPidActive(ctx.settings.pidMode, ctx.model.base);+/** Expose PiD slots before enabling it; Z-Image uses FLUX's decoder. */const pidDecoderSlot = (): ComponentSlotPolicy =>slot({@@ -855,7 +923,8 @@ const pidDecoderSlot = (): ComponentSlotPolicy =>helpText: 'Required while PiD is on. Must match the main model’s base.',filter: (candidate, ctx) =>candidate.type === 'pid_decoder' && candidate.base === getPidDecoderBaseForMainBase(ctx.model.base),- required: (ctx) => getIsPidActive(ctx.settings.pidMode, ctx.model.base),+ required: isPidOn,+ inUse: isPidOn,missingMessage: 'Generate needs a PiD decoder while PiD is on.',});@@ -867,7 +936,8 @@ const gemma2EncoderSlot = (): ComponentSlotPolicy =>valueKind: 'component',helpText: 'Required while PiD is on. Shared by every PiD decoder.',filter: (candidate) => candidate.type === 'gemma2_encoder',- required: (ctx) => getIsPidActive(ctx.settings.pidMode, ctx.model.base),+ required: isPidOn,+ inUse: isPidOn,missingMessage: 'Generate needs a Gemma-2 encoder while PiD is on.',});@@ -1212,6 +1282,7 @@ const getBaseComponentSectionPolicy = (required: (ctx) => ctx.model.format !== 'diffusers',missingMessage: 'Generate needs a Qwen3-VL Encoder for non-Diffusers FLUX.3 models.',},+ flux3PromptUpsamplerSlot(),]);case 'krea-2':// Bundled Krea models supply components; standalone models need a separate encoder and VAE.@@ -1422,6 +1493,7 @@ export const getComponentPolicyContext = (qwen3VLVisionTowerModel: settings.qwen3VLVisionTowerModel,qwen35EncoderModel: settings.qwen35EncoderModel,animaInpaintAdapterModel: settings.animaInpaintAdapterModel,+ flux3PromptUpsamplerModel: settings.flux3PromptUpsamplerModel,wanT5EncoderModel: settings.wanT5EncoderModel,wanLowNoiseModel: settings.wanLowNoiseModel,ideogram4UnconditionalModel: settings.ideogram4UnconditionalModel,@@ -1444,6 +1516,7 @@ const COMPONENT_SETTING_LABELS: Record<GenerateComponentValueKey, string> = {qwen3VLVisionTowerModel: 'Qwen3-VL vision tower',qwen35EncoderModel: 'Qwen3.5 encoder',animaInpaintAdapterModel: 'Inpaint adapter',+ flux3PromptUpsamplerModel: 'Prompt upsampler',wanT5EncoderModel: 'Wan T5 encoder',wanLowNoiseModel: 'Low-noise expert',ideogram4UnconditionalModel: 'Unconditional transformer',@@ -2238,7 +2311,10 @@ const referenceImageTarget = (referenceImageId: string): GenerationIssue['targetsection: 'guidance',});-/** Installed-model checks: the main model, its components, concepts and enabled references must all be installed. */+/**+ * Installed-model checks: the main model, the components the generation can load, concepts and enabled references must+ * all be installed.+ */export const getGenerationModelAvailabilityIssues = (model: GenerateModelConfig,settings: GenerateSettings,@@ -2258,10 +2334,20 @@ export const getGenerationModelAvailabilityIssues = ();}+ const componentContext = getComponentPolicyContext(model, settings);+ const slotsByKey = new Map(+ getComponentSectionPolicy(model, settings).slots.map((slotPolicy) => [slotPolicy.key, slotPolicy])+ );+for (const key of GENERATE_COMPONENT_VALUE_KEYS) {const value = settings[key];- if (value && !hasModelKey(models, value.key, value.type)) {+ // A selection nothing loads (its switch is off) may stay uninstalled; turning the switch on asks for it again.+ if (!value || slotsByKey.get(key)?.inUse?.(componentContext) === false) {+ continue;+ }++ if (!hasModelKey(models, value.key, value.type)) {issues.push(issue(`components:notInstalled:${key}`,diff --git a/invokeai/frontend/webv2/src/features/generation/core/canvas/compileCanvasGraph.test.ts b/invokeai/frontend/webv2/src/features/generation/core/canvas/compileCanvasGraph.test.tsindex e64871ba13..5a1e7b47ac 100644--- a/invokeai/frontend/webv2/src/features/generation/core/canvas/compileCanvasGraph.test.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/canvas/compileCanvasGraph.test.ts@@ -2740,6 +2740,47 @@ describe('compileCanvasGraph — regional guidance', () => {}});+ const upsampler = {+ base: 'any',+ key: 'pup',+ name: 'FLUX.3 Prompt Upsampler',+ supports_images: true,+ type: 'text_llm',+ };+ const upsamplerSettings = {+ flux3PromptUpsamplerEnabled: true,+ flux3PromptUpsamplerModel: upsampler,+ positivePrompt: 'a beach at noon',+ };++ it('hands the FLUX.3 regions to the prompt upsampler and records its caption once', () => {+ const { backendGraph } = compile(flux3Model, 'txt2img', {+ regionalGuidance: flux3Regions(),+ settings: upsamplerSettings,+ });++ expect(backendGraph.nodes.layout_prompt).toBeUndefined();+ expect(backendGraph.nodes.prompt_upsampler?.regions).toEqual(FLUX3_ROWS);+ const metadata = getNodeByType(backendGraph, 'core_metadata')!;+ expect(backendGraph.edges.filter((edge) => edge.destination.field === 'flux3_caption')).toEqual([+ expect.objectContaining({ source: { field: 'value', node_id: 'prompt_upsampler' } }),+ ]);+ expect(getEdge(backendGraph, metadata.id, 'flux3_caption')).toBeDefined();+ // The regions are recorded for recall as they are with the layout node.+ expect(metadata.regions).toEqual(FLUX3_ROWS);+ });++ it('still upsamples the prompt when no FLUX.3 region can be placed', () => {+ const { backendGraph } = compile(flux3Model, 'txt2img', {+ regionalGuidance: [region('outside', { maskBounds: { height: 50, width: 50, x: 900, y: 10 } })],+ settings: upsamplerSettings,+ });++ expect(backendGraph.nodes.prompt_upsampler).not.toHaveProperty('regions');+ expect(getEdge(backendGraph, 'pos_cond', 'prompt')?.source.node_id).toBe('prompt_upsampler');+ expect(backendGraph.edges.filter((edge) => edge.destination.field === 'flux3_caption')).toHaveLength(1);+ });+it('writes the FLUX.3 layout canvas graphs the backend validates', async () => {const clock = vi.spyOn(Date, 'now').mockReturnValue(0);const random = vi.spyOn(Math, 'random').mockReturnValue(0.5);@@ -2769,8 +2810,27 @@ describe('compileCanvasGraph — regional guidance', () => {let txt2img: BackendGraphContract;let inpaint: BackendGraphContract;let edit: BackendGraphContract;+ let upsampledTxt2img: BackendGraphContract;+ let upsampledEdit: BackendGraphContract;try {const settings = { positivePrompt: 'a beach at noon' };+ const upsampled = {+ ...settings,+ flux3PromptUpsamplerEnabled: true,+ flux3PromptUpsamplerModel: {+ base: 'any',+ hash: 'blake3:pup',+ key: 'pup',+ name: 'FLUX.3 Prompt Upsampler',+ supports_images: true,+ type: 'text_llm',+ },+ };+ upsampledTxt2img = compile(model, 'txt2img', { regionalGuidance: regions, settings: upsampled }).backendGraph;+ upsampledEdit = compile(model, 'txt2img', {+ regionalGuidance: regions,+ settings: { ...upsampled, referenceImages: [reference] },+ }).backendGraph;txt2img = compile(model, 'txt2img', { regionalGuidance: regions, settings }).backendGraph;inpaint = compile(model, 'inpaint', { regionalGuidance: regions, settings }).backendGraph;edit = compile(model, 'txt2img', {@@ -2787,6 +2847,8 @@ describe('compileCanvasGraph — regional guidance', () => {edit: { ...edit, id: 'flux3_layout_canvas_edit' },inpaint: { ...inpaint, id: 'flux3_layout_canvas_inpaint' },txt2img: { ...txt2img, id: 'flux3_layout_canvas_txt2img' },+ upsampled_edit: { ...upsampledEdit, id: 'flux3_upsampled_canvas_edit' },+ upsampled_txt2img: { ...upsampledTxt2img, id: 'flux3_upsampled_canvas_txt2img' },};await expect(`${JSON.stringify(fixture, null, 2)}\n`).toMatchFileSnapshot('../__snapshots__/flux3LayoutCanvasGraphs.json'diff --git a/invokeai/frontend/webv2/src/features/generation/core/canvas/compileCanvasGraph.ts b/invokeai/frontend/webv2/src/features/generation/core/canvas/compileCanvasGraph.tsindex d2df20c10f..4922fa91e9 100644--- a/invokeai/frontend/webv2/src/features/generation/core/canvas/compileCanvasGraph.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/canvas/compileCanvasGraph.ts@@ -370,7 +370,8 @@ const recordCanvasInputs = (graph: BackendGraphContract, input: CompileCanvasGrabegin_step_percent: control.begin_step_percent,end_step_percent: control.end_step_percent,}));- const layoutRegions = graph.nodes.layout_prompt?.regions ?? graph.nodes.caption_builder?.regions;+ const layoutRegions =+ graph.nodes.layout_prompt?.regions ?? graph.nodes.prompt_upsampler?.regions ?? graph.nodes.caption_builder?.regions;if (Array.isArray(layoutRegions) && layoutRegions.length > 0) {metadata.regions = layoutRegions;} else if (!['moss-image', 'ideogram-4', 'flux3'].includes(input.model.base)) {@@ -991,7 +992,8 @@ const toFlux3Region = (region: RegionalGuidanceInput, options: AddLayoutRegionsO* FLUX.3 regions: each becomes a row of the box table that ends the caption, boxed around its mask and normalized to* the bbox like Ideogram 4's. The base graph's `layout_prompt` appends them at run time, as object rows or, when the* builder wired reference images, as edit rows for the output; core metadata then records the caption encoded. Regions- * the table cannot place are left out, and without any the graph stays untouched.+ * the table cannot place are left out, and without any the graph stays untouched. With the prompt upsampler on, the+ * `prompt_upsampler` node takes the layout node's place and the same elements.*/const addFlux3LayoutRegions = (family: FamilyGraph, options: AddLayoutRegionsOptions): void => {const { graph, layoutPrompt } = family;@@ -1004,7 +1006,8 @@ const addFlux3LayoutRegions = (family: FamilyGraph, options: AddLayoutRegionsOpt}layoutPrompt.regions = regions;const metadata = findMetadataNode(graph);- if (metadata) {+ // The prompt upsampler's builder records its own caption.+ if (metadata && layoutPrompt.type === 'flux3_layout_prompt') {addEdge(graph, layoutPrompt, 'value', metadata, 'flux3_caption');}};diff --git a/invokeai/frontend/webv2/src/features/generation/core/componentCompatibility.ts b/invokeai/frontend/webv2/src/features/generation/core/componentCompatibility.tsindex d321e6e588..ac54e9e33a 100644--- a/invokeai/frontend/webv2/src/features/generation/core/componentCompatibility.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/componentCompatibility.ts@@ -14,6 +14,8 @@ export type GenerateComponentCandidate = {/** VAE latent width. Only `wan` ships more than one, and its two are different decoders. */latent_channels?: number | null;submodels?: Record<string, unknown> | null;+ /** Text LLMs only: whether the model reads images. */+ supports_images?: unknown;type: string;variant?: unknown;};@@ -92,6 +94,10 @@ export const isZImageQwen3Encoder: GenerateComponentFilter = (model) =>/** The optional 4-channel ControlNet-LLLite adapter the canvas feeds during Anima inpainting and outpainting. */export const isAnimaInpaintAdapter: GenerateComponentFilter = (model) => isAnimaInpaintAdapterModel(model);+/** The FLUX.3 prompt upsampler reads reference images, so a text-only LLM cannot serve it. */+export const isVisionTextLlm: GenerateComponentFilter = (model) =>+ model.type === 'text_llm' && model.supports_images === true;+/** Ministral and Mistral encoders require distinct variants. */const MINISTRAL_3B_VARIANT = 'ministral3_3b';diff --git a/invokeai/frontend/webv2/src/features/generation/core/graph.test.ts b/invokeai/frontend/webv2/src/features/generation/core/graph.test.tsindex e3f8dfbae3..85d29004e9 100644--- a/invokeai/frontend/webv2/src/features/generation/core/graph.test.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/graph.test.ts@@ -1987,6 +1987,101 @@ describe('FLUX.3 graphs', () => {expect(getEdge(withDisabledReference, 'denoise_latents', 'kontext_conditioning')).toBeUndefined();expect(withDisabledReference.nodes.layout_prompt).not.toHaveProperty('edit_targets');});++ describe('with the prompt upsampler on', () => {+ const upsampler = {+ base: 'any',+ key: 'pup',+ name: 'FLUX.3 Prompt Upsampler',+ supports_images: true,+ type: 'text_llm',+ };+ const upsample = (model: MainModelConfig, overrides: Partial<GenerateSettings> = {}) =>+ compile(model, { flux3PromptUpsamplerEnabled: true, flux3PromptUpsamplerModel: upsampler, ...overrides });++ it('replaces the layout node and sends the typed prompt through the upsampler to the encoder', () => {+ const graph = upsample(kleinModel);+ const metadata = getNodeByType(graph, 'core_metadata')!;++ expect(graph.nodes.layout_prompt).toBeUndefined();+ expect(graph.nodes.prompt_upsampler).toMatchObject({+ type: 'flux3_prompt_upsampler',+ upsampler_model: { key: 'pup', name: 'FLUX.3 Prompt Upsampler', type: 'text_llm' },+ });+ // The node derives edit targets from its reference images and keeps its default token budget.+ expect(graph.nodes.prompt_upsampler).not.toHaveProperty('edit_targets');+ expect(graph.nodes.prompt_upsampler).not.toHaveProperty('max_new_tokens');+ expect(getEdge(graph, 'prompt_upsampler', 'prompt')?.source).toEqual({+ field: 'value',+ node_id: 'positive_prompt',+ });+ expect(getEdge(graph, 'pos_cond', 'prompt')?.source).toEqual({ field: 'value', node_id: 'prompt_upsampler' });+ // Metadata records the caption encoded and the model that wrote it; the prompt as typed stays in+ // `positive_prompt`, which recall restores.+ expect(getEdge(graph, metadata.id, 'flux3_caption')?.source).toEqual({+ field: 'value',+ node_id: 'prompt_upsampler',+ });+ expect(getEdge(graph, metadata.id, 'positive_prompt')?.source.node_id).toBe('positive_prompt');+ expect(metadata.flux3_prompt_upsampler).toMatchObject({ key: 'pup' });+ expect(getEdge(graph, 'prompt_upsampler', 'reference_images')).toBeUndefined();+ });++ it('feeds the collect that reaches the denoiser to the upsampler as well', () => {+ const graph = upsample(kleinModel, {+ referenceImages: [reference('a'), reference('off', false), reference('b')],+ });+ const toDenoiser = getEdge(graph, 'denoise_latents', 'kontext_conditioning');++ expect(toDenoiser).toBeDefined();+ expect(getEdge(graph, 'prompt_upsampler', 'reference_images')?.source).toEqual(toDenoiser?.source);+ expect(denoiserReferenceOrder(graph)).toEqual(['a.png', 'b.png']);+ });++ it('does not read a disabled reference', () => {+ const graph = upsample(kleinModel, { referenceImages: [reference('off', false)] });++ expect(getEdge(graph, 'prompt_upsampler', 'reference_images')).toBeUndefined();+ });++ it('upsamples only the positive prompt of Klein Base, whose negative branch is untouched', () => {+ const graph = upsample(kleinBaseModel);++ expect(getEdge(graph, 'neg_cond', 'prompt')?.source).toEqual({ field: 'value', node_id: 'negative_prompt' });+ expect(getEdge(graph, 'denoise_latents', 'negative_conditioning')?.source.node_id).toBe('neg_cond');+ expect(graph.edges.filter((edge) => edge.source.node_id === 'prompt_upsampler')).toHaveLength(2);+ });++ it('builds the layout graph while switched off, keeping the pick', () => {+ // Pin the minted ids so the two graphs compare whole.+ const clock = vi.spyOn(Date, 'now').mockReturnValue(0);+ const random = vi.spyOn(Math, 'random').mockReturnValue(0.5);+ try {+ const off = compile(kleinModel, { flux3PromptUpsamplerEnabled: false, flux3PromptUpsamplerModel: upsampler });++ expect(off).toEqual(compile(kleinModel));+ } finally {+ clock.mockRestore();+ random.mockRestore();+ }+ });++ it('refuses to compile without a model that reads images', () => {+ expect(() => upsample(kleinModel, { flux3PromptUpsamplerModel: null })).toThrow(/prompt upsampler/i);+ expect(() =>+ upsample(kleinModel, { flux3PromptUpsamplerModel: { ...upsampler, supports_images: false } })+ ).toThrow(/prompt upsampler/i);+ });++ it('is not run for another family', () => {+ const graph = compile({ ...kleinModel, base: 'flux2', key: 'k2', variant: 'klein_4b' } as MainModelConfig, {+ flux3PromptUpsamplerEnabled: true,+ flux3PromptUpsamplerModel: upsampler,+ });++ expect(getNodeByType(graph, 'flux3_prompt_upsampler')).toBeUndefined();+ });+ });});describe('ERNIE-Image graphs', () => {diff --git a/invokeai/frontend/webv2/src/features/generation/core/graph.ts b/invokeai/frontend/webv2/src/features/generation/core/graph.tsindex 6b2d32f887..59f3013dc5 100644--- a/invokeai/frontend/webv2/src/features/generation/core/graph.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/graph.ts@@ -42,6 +42,7 @@ import {isQwen3Vl8bVisionTower,isMossImageQwen35Encoder,isQwen3Vl4bEncoder,+ isVisionTextLlm,isSelfContainedSDNQFlux1Pipeline,isVaeCompatibleWithGenerateModel,isZImageQwen3Encoder,@@ -221,11 +222,11 @@ const addFluxKontextReferenceImages = (settings: GenerateSettings,denoise: BackendInvocationContract,type: 'flux2_reference_image' | 'flux_kontext_reference_image'-) => {+): BackendInvocationContract | null => {const refs = getEnabledReferenceImages(settings.referenceImages, type);if (refs.length === 0) {- return;+ return null;}let prevCollect: BackendInvocationContract | null = null;@@ -257,6 +258,8 @@ const addFluxKontextReferenceImages = (if (prevCollect) {addEdge(graph, prevCollect, 'collection', denoise, 'kontext_conditioning');}++ return prevCollect;};const getDiffusersSource = (settings: GenerateSettings, model: MainModelConfig): MainModelConfig | undefined =>@@ -1879,8 +1882,21 @@ const buildFlux3Graph = (]): modelLoader;// Canvas regions become a box table at the end of the prompt here, at run time, so batch prompt variation still- // flows through `positive_prompt`. Without regions the prompt passes through unchanged.- const layoutPrompt: BackendInvocationContract = addNode(graph, { id: 'layout_prompt', type: 'flux3_layout_prompt' });+ // flows through `positive_prompt`. Without regions the prompt passes through unchanged. The prompt upsampler takes+ // this place when it is on: it takes the regions itself and also reads the reference images.+ const upsamplerModel = settings.flux3PromptUpsamplerEnabled+ ? requireComponent(+ getCompatibleComponent(settings.flux3PromptUpsamplerModel, isVisionTextLlm),+ 'FLUX.3 prompt upsampler model'+ )+ : null;+ const layoutPrompt: BackendInvocationContract = upsamplerModel+ ? addNode(graph, {+ id: 'prompt_upsampler',+ type: 'flux3_prompt_upsampler',+ upsampler_model: toModelIdentifier(upsamplerModel),+ })+ : addNode(graph, { id: 'layout_prompt', type: 'flux3_layout_prompt' });const posCond = addNode(graph, { id: 'pos_cond', type: 'flux3_text_encoder' });const negCond = useCfg ? addNode(graph, { id: 'neg_cond', type: 'flux3_text_encoder' }) : null;const denoiseSize = getDenoiseSize(settings, model);@@ -1921,22 +1937,28 @@ const buildFlux3Graph = (}addEdge(graph, seed, 'value', denoise, 'seed');- addFluxKontextReferenceImages(graph, settings, denoise, 'flux2_reference_image');- // With reference images FLUX.3 edits them, and its boxes mark where new content goes in the output.- if (- graph.edges.some(- (edge) => edge.destination.node_id === denoise.id && edge.destination.field === 'kontext_conditioning'- )- ) {+ const referenceCollect = addFluxKontextReferenceImages(graph, settings, denoise, 'flux2_reference_image');+ if (upsamplerModel) {+ // The upsampler derives edit targets from the images it receives; one collect feeds it and the denoiser.+ if (referenceCollect) {+ addEdge(graph, referenceCollect, 'collection', layoutPrompt, 'reference_images');+ }+ } else if (referenceCollect) {+ // With reference images FLUX.3 edits them, and its boxes mark where new content goes in the output.layoutPrompt.edit_targets = true;}- addMetadata(graph, output, settings, model, 'flux3_txt2img', projectSettings, {+ const metadata = addMetadata(graph, output, settings, model, 'flux3_txt2img', projectSettings, {// FLUX.3 offers no scheduler: its denoise node always runs the reference Euler sampler.scheduler: 'euler',+ ...(upsamplerModel ? { flux3_prompt_upsampler: toModelIdentifier(upsamplerModel) } : {}),qwen3_vl_encoder: qwen3VlEncoderModel ?? undefined,vae: vaeModel ?? undefined,...(shouldUsePidDecode(settings, model.base) ? getPidMetadata(settings) : {}),});+ if (upsamplerModel) {+ // Metadata records the caption encoded, not the prompt typed (recall restores `positive_prompt`).+ addEdge(graph, layoutPrompt, 'value', metadata, 'flux3_caption');+ }addReferenceImageMetadata(graph, output, settings);return {diff --git a/invokeai/frontend/webv2/src/features/generation/core/graphCoverage.testing.ts b/invokeai/frontend/webv2/src/features/generation/core/graphCoverage.testing.tsindex d4dac256f9..f0809bdcb7 100644--- a/invokeai/frontend/webv2/src/features/generation/core/graphCoverage.testing.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/graphCoverage.testing.ts@@ -110,6 +110,7 @@ export const candidatesForSlot = (slot: ComponentSlotPolicy): ModelIdentifierContype,variant: variant ?? null,...(branch ? { branch } : {}),+ ...(type === 'text_llm' ? { supports_images: true } : {}),...(latentChannels ? { latent_channels: latentChannels } : {}),});}@@ -277,13 +278,24 @@ const tunedReferenceImagesFor = (export const tunedSettingsFor = (base: SupportedGenerateBase, shape: ModelShape) => {const { filled, model, settings } = satisfiedSettingsFor(base, shape);const image = { original: { image: { height: 1024, image_name: 'style-reference.png', width: 1024 } } };+ // Only a graph with the FLUX.3 prompt upsampler switched on contains its node, so switch it on and pick a model.+ const upsamplerOn = { ...settings, flux3PromptUpsamplerEnabled: base === 'flux3' };+ const upsamplerSlot = getComponentSectionPolicy(model, upsamplerOn).slots.find(+ (slot) => slot.key === 'flux3PromptUpsamplerModel'+ );+ const upsamplerModel =+ upsamplerSlot &&+ candidatesForSlot(upsamplerSlot).find((c) =>+ upsamplerSlot.filter?.(c, buildContext(model, upsamplerOn, [upsamplerSlot]))+ );return {filled,model,projectSettings: { useCpuNoise: true, useNsfwChecker: true, useWatermark: true },settings: {- ...settings,+ ...upsamplerOn,+ flux3PromptUpsamplerModel: upsamplerModel ?? null,// CFG above 1 adds the negative prompt, which Qwen-Image-2.1 also encodes with the references.cfgScale: base === 'qwen-image-2-1' ? 4 : settings.cfgScale,// Exercise explicit zero overrides as well as the default automatic metadata contract.diff --git a/invokeai/frontend/webv2/src/features/generation/core/settings.test.ts b/invokeai/frontend/webv2/src/features/generation/core/settings.test.tsindex e5e498b106..39d0840095 100644--- a/invokeai/frontend/webv2/src/features/generation/core/settings.test.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/settings.test.ts@@ -540,6 +540,38 @@ describe('normalizeGenerateSettings', () => {});});+describe('the FLUX.3 prompt upsampler settings', () => {+ const upsampler = {+ base: 'any',+ key: 'pup',+ name: 'FLUX.3 Prompt Upsampler',+ supports_images: true,+ type: 'text_llm',+ };++ it('defaults a project saved without them to off with no model, and keeps what a later one stored', () => {+ expect(normalizeGenerateSettings(legacyStoredValues)).toMatchObject({+ flux3PromptUpsamplerEnabled: false,+ flux3PromptUpsamplerModel: null,+ });+ expect(+ normalizeGenerateSettings({+ ...legacyStoredValues,+ flux3PromptUpsamplerEnabled: true,+ flux3PromptUpsamplerModel: upsampler,+ })+ ).toMatchObject({ flux3PromptUpsamplerEnabled: true, flux3PromptUpsamplerModel: upsampler });+ // Only a real `true` turns it on, and a malformed model is dropped.+ expect(+ normalizeGenerateSettings({+ ...legacyStoredValues,+ flux3PromptUpsamplerEnabled: 'yes',+ flux3PromptUpsamplerModel: { key: 'no-name' },+ })+ ).toMatchObject({ flux3PromptUpsamplerEnabled: false, flux3PromptUpsamplerModel: null });+ });+});+describe('the Anima inpaint adapter settings', () => {it('defaults the weight, clamps it to the node bounds, and drops a malformed adapter', () => {expect(normalizeGenerateSettings(legacyStoredValues)).toMatchObject({@@ -670,6 +702,16 @@ describe('Generate widget value snapshots', () => {expect(synced.loras[0]?.model).toBe(currentLora);});+ it('refreshes the saved prompt upsampler from the catalog and clones it', () => {+ const upsampler = { base: 'any', key: 'pup', name: 'Old Upsampler', type: 'text_llm' };+ const saved = { ...values, flux3PromptUpsamplerModel: upsampler };+ const renamed = { ...upsampler, name: 'Renamed' };++ expect(syncGenerateWidgetValuesWithModels(saved, [model, renamed]).flux3PromptUpsamplerModel).toBe(renamed);+ expect(cloneGenerateWidgetValues(saved).flux3PromptUpsamplerModel).toEqual(upsampler);+ expect(cloneGenerateWidgetValues(saved).flux3PromptUpsamplerModel).not.toBe(upsampler);+ });+it('notices a CPU Only change on the GGUF encoder and its tower, and the policy then blocks references', () => {const qwen21: MainModelConfig = {base: 'qwen-image-2-1',diff --git a/invokeai/frontend/webv2/src/features/generation/core/settings.ts b/invokeai/frontend/webv2/src/features/generation/core/settings.tsindex 5e62d67853..4aac923623 100644--- a/invokeai/frontend/webv2/src/features/generation/core/settings.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/settings.ts@@ -681,6 +681,7 @@ export const cloneGenerateWidgetValues = (qwen3VLVisionTowerModel: values.qwen3VLVisionTowerModel ? { ...values.qwen3VLVisionTowerModel } : null,qwen35EncoderModel: values.qwen35EncoderModel ? { ...values.qwen35EncoderModel } : null,animaInpaintAdapterModel: values.animaInpaintAdapterModel ? { ...values.animaInpaintAdapterModel } : null,+ flux3PromptUpsamplerModel: values.flux3PromptUpsamplerModel ? { ...values.flux3PromptUpsamplerModel } : null,wanT5EncoderModel: values.wanT5EncoderModel ? { ...values.wanT5EncoderModel } : null,wanLowNoiseModel: values.wanLowNoiseModel ? { ...values.wanLowNoiseModel } : null,ideogram4UnconditionalModel: values.ideogram4UnconditionalModel ? { ...values.ideogram4UnconditionalModel } : null,@@ -781,6 +782,7 @@ export const syncGenerateWidgetValuesWithModels = (qwen3VLVisionTowerModel: syncModelIdentifierWithModels(values.qwen3VLVisionTowerModel, modelsByKey),qwen35EncoderModel: syncModelIdentifierWithModels(values.qwen35EncoderModel, modelsByKey),animaInpaintAdapterModel: syncModelIdentifierWithModels(values.animaInpaintAdapterModel, modelsByKey),+ flux3PromptUpsamplerModel: syncModelIdentifierWithModels(values.flux3PromptUpsamplerModel, modelsByKey),referenceImages: syncReferenceImagesWithModels(values.referenceImages, models),refinerModel: isMainModelConfig(refinerModel) ? refinerModel : values.refinerModel,t5EncoderModel: syncModelIdentifierWithModels(values.t5EncoderModel, modelsByKey),@@ -801,6 +803,7 @@ export const syncGenerateWidgetValuesWithModels = (nextValues.qwen3VLVisionTowerModel === values.qwen3VLVisionTowerModel &&nextValues.qwen35EncoderModel === values.qwen35EncoderModel &&nextValues.animaInpaintAdapterModel === values.animaInpaintAdapterModel &&+ nextValues.flux3PromptUpsamplerModel === values.flux3PromptUpsamplerModel &&nextValues.referenceImages === values.referenceImages &&nextValues.componentSourceModel === values.componentSourceModel &&nextValues.refinerModel === values.refinerModel &&@@ -1014,6 +1017,8 @@ export const normalizeGenerateSettings = (values: unknown): GenerateSettings | nqwen3VLVisionTowerModel: getModelIdentifierOrNull(values.qwen3VLVisionTowerModel),qwen35EncoderModel: getModelIdentifierOrNull(values.qwen35EncoderModel),animaInpaintAdapterModel: getModelIdentifierOrNull(values.animaInpaintAdapterModel),+ flux3PromptUpsamplerEnabled: values.flux3PromptUpsamplerEnabled === true,+ flux3PromptUpsamplerModel: getModelIdentifierOrNull(values.flux3PromptUpsamplerModel),// Projects saved before the toggle existed wired the adapter whenever one was selected.animaInpaintAdapterEnabled: values.animaInpaintAdapterEnabled !== false,animaInpaintAdapterWeight: clampAnimaInpaintAdapterWeight(diff --git a/invokeai/frontend/webv2/src/features/generation/core/types.ts b/invokeai/frontend/webv2/src/features/generation/core/types.tsindex 2a4a3f81e3..9e7d4acc8a 100644--- a/invokeai/frontend/webv2/src/features/generation/core/types.ts+++ b/invokeai/frontend/webv2/src/features/generation/core/types.ts@@ -110,6 +110,8 @@ export interface ImageWithDims {export interface ExpandPromptSuggestion {/** Source of the family's released enhancer, preselected when an installed text LLM has it. */modelSource: string | null;+ /** File names of single-file builds of the same model, matched against the end of an installed model's source. */+ modelFileNames?: readonly string[];/** How the model is listed among the starter models, for the hint shown when it is not installed. */modelName: string | null;/** For a text-only rewrite. */@@ -283,6 +285,13 @@ export interface GenerateSettings {/** Off skips the adapter on the canvas and keeps the selected model and weight. */animaInpaintAdapterEnabled: boolean;animaInpaintAdapterWeight: number;+ /**+ * FLUX.3: rewrite the prompt into the detailed caption the model is trained on before every generation. Off skips+ * the upsampler and keeps the selected model; other families never run it.+ */+ flux3PromptUpsamplerEnabled: boolean;+ /** A Text LLM that can read images; required while `flux3PromptUpsamplerEnabled` is on. */+ flux3PromptUpsamplerModel: ComponentModelConfig | null;/** Wan 2.2's UMT5-XXL text encoder. */wanT5EncoderModel: ComponentModelConfig | null;/** The low-noise expert is optional; the selected expert can span the full schedule. */diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsxindex f4d3236ba2..74fd806da7 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx@@ -46,6 +46,8 @@ const selectComponentSettings = pickGenerateSettings(['clipGEmbedModel','clipLEmbedModel','componentSourceModel',+ 'flux3PromptUpsamplerEnabled',+ 'flux3PromptUpsamplerModel','gemma2EncoderModel','ideogram4UnconditionalModel','mistralEncoderModel',@@ -82,6 +84,7 @@ const getComponentPolicyContext = (qwen3VLVisionTowerModel: settings.qwen3VLVisionTowerModel,qwen35EncoderModel: settings.qwen35EncoderModel,animaInpaintAdapterModel: settings.animaInpaintAdapterModel,+ flux3PromptUpsamplerModel: settings.flux3PromptUpsamplerModel,wanT5EncoderModel: settings.wanT5EncoderModel,wanLowNoiseModel: settings.wanLowNoiseModel,ideogram4UnconditionalModel: settings.ideogram4UnconditionalModel,@@ -129,8 +132,9 @@ const ComponentPicker = ({isClearablemodelTypes={modelTypes}placeholder={- slot.placeholder ??- (isRequired ? t('widgets.generate.selectComponent') : t('widgets.generate.modelDefault'))+ isRequired+ ? t('widgets.generate.selectComponent')+ : (slot.placeholder ?? t('widgets.generate.modelDefault'))}value={selectedValue}onChange={onChange}diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsxindex 99bb828a40..993d5e4fb5 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsx@@ -102,6 +102,7 @@ const selectRenderSettings = pickGenerateSettings(['fluxDypeExponent','fluxDypePreset','fluxDypeScale',+ 'flux3PromptUpsamplerEnabled','ideogram4ColorPalette','ideogram4GuidanceScale','ideogram4Mu',@@ -344,6 +345,20 @@ const WanLowNoiseGuidanceField = ({ onCommit, settings }: RenderFieldsProps) =>);};+/** Off by default: every new prompt loads a 9B model. The model slot appears in Components while this is on. */+const Flux3PromptUpsamplerField = ({ onCommit, settings }: RenderFieldsProps) => {+ const { t } = useTranslation();++ return (+ <GenerateToggleSwitch+ checked={settings.flux3PromptUpsamplerEnabled}+ helpText={t('widgets.generate.flux3PromptUpsamplerHelp')}+ label={t('widgets.generate.flux3PromptUpsampler')}+ onCheckedChange={(flux3PromptUpsamplerEnabled) => onCommit({ flux3PromptUpsamplerEnabled })}+ />+ );+};+/*** Perturbs conditioning between seeds — a variation concern, so it sits by the seed. Krea-2 and Z-Image each have* their own enhancer node with the same three settings.@@ -707,6 +722,7 @@ export const GenerateRenderSection = ({/>) : null}{familyBase === 'flux' ? <FluxDypeFields settings={settings} onCommit={onCommit} /> : null}+ {familyBase === 'flux3' ? <Flux3PromptUpsamplerField settings={settings} onCommit={onCommit} /> : null}{uiPolicy.schedulerVisible ? (<GenerateFieldContextMenufieldLabel={t('widgets.generate.scheduler')}diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateSettingsForm.browser.test.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateSettingsForm.browser.test.tsxindex e9eb28eb8e..30758bc349 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateSettingsForm.browser.test.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateSettingsForm.browser.test.tsx@@ -602,6 +602,100 @@ describe('GenerateSettingsForm required components', () => {});});+describe('GenerateSettingsForm FLUX.3 prompt upsampler', () => {+ const KLEIN = {+ ...MODEL,+ base: 'flux3',+ format: 'diffusers',+ key: 'flux3-klein',+ name: 'FLUX.3 Klein',+ variant: 'flux3_klein',+ } as GenerationModelCatalogItem;+ const VISION_LLM = {+ base: 'any',+ key: 'pup',+ name: 'FLUX.3 Prompt Upsampler',+ supports_images: true,+ type: 'text_llm',+ } as unknown as GenerationModelCatalogItem;+ const TEXT_ONLY_LLM = { ...VISION_LLM, key: 'qwen', name: 'Qwen', supports_images: false };+ const switchLabel = 'widgets.generate.flux3PromptUpsampler';+ const upsamplerSwitch = () =>+ [...host!.querySelectorAll<HTMLInputElement>('input[type="checkbox"]')].find(+ (input) => input.labels?.[0]?.textContent === switchLabel+ );+ const upsamplerSlot = () => host!.querySelector<HTMLElement>('[data-component-types="text_llm"]');+ const slotError = () =>+ upsamplerSlot()?.closest('[data-scope="field"]')?.querySelector('[role="alert"]')?.textContent;+ const useKlein = async () => {+ stableGroups.models.catalog = [MODEL, KLEIN, VISION_LLM, TEXT_ONLY_LLM];+ await renderAdapter(buildAdapter());+ await settle(() =>+ storedValues().patchSnapshot({ ...getDefaultGenerateSettings(KLEIN as never), modelKey: KLEIN.key })+ );+ };++ it('is offered to FLUX.3 only, and off by default with its slot present but not asking for a model', async () => {+ stableGroups.models.catalog = [MODEL, KLEIN, VISION_LLM];+ await renderAdapter(buildAdapter());++ expect(upsamplerSwitch()).toBeUndefined();++ await useKlein();++ expect(upsamplerSwitch()?.checked).toBe(false);+ expect(upsamplerSlot()?.getAttribute('data-component-placeholder')).toBe('None');+ expect(upsamplerSlot()?.getAttribute('aria-invalid')).not.toBe('true');+ expect(slotError()).toBeUndefined();+ });++ it('makes the slot required when turned on, lists vision Text LLMs only, and clears its reason once one is picked', async () => {+ await useKlein();++ await userEvent.click(upsamplerSwitch()!.labels![0]!);+ await settle(flushGenerateDrafts);++ expect(storedValues().getSnapshot()).toMatchObject({ flux3PromptUpsamplerEnabled: true });+ expect(upsamplerSlot()?.getAttribute('data-component-placeholder')).toBe('widgets.generate.selectComponent');+ expect(upsamplerSlot()?.getAttribute('aria-invalid')).toBe('true');+ expect(slotError()).toBe('Generate needs a Prompt Upsampler model while Prompt upsampler is on.');+ expect(+ [...upsamplerSlot()!.querySelectorAll('[data-component-pick]')].map((pick) =>+ pick.getAttribute('data-component-pick')+ )+ ).toEqual([VISION_LLM.key]);++ await settle(() => upsamplerSlot()!.querySelector<HTMLElement>('[data-component-pick="pup"]')?.click());+ await settle(flushGenerateDrafts);++ expect(storedValues().getSnapshot()).toMatchObject({ flux3PromptUpsamplerModel: { key: 'pup' } });+ expect(upsamplerSlot()?.getAttribute('aria-invalid')).not.toBe('true');+ expect(slotError()).toBeUndefined();+ });++ it('stops requiring the slot when switched off, keeping the pick for the next time', async () => {+ await useKlein();+ await settle(() =>+ storedValues().patchSnapshot({+ flux3PromptUpsamplerEnabled: true,+ flux3PromptUpsamplerModel: VISION_LLM as never,+ })+ );++ expect(upsamplerSwitch()?.checked).toBe(true);+ expect(upsamplerSlot()?.getAttribute('data-component-value')).toBe('pup');++ await userEvent.click(upsamplerSwitch()!.labels![0]!);+ await settle(flushGenerateDrafts);++ expect(upsamplerSlot()?.getAttribute('data-component-value')).toBe('pup');+ expect(storedValues().getSnapshot()).toMatchObject({+ flux3PromptUpsamplerEnabled: false,+ flux3PromptUpsamplerModel: { key: 'pup' },+ });+ });+});+describe('GenerateSettingsForm render isolation', () => {it('preserves a settled weight draft when removing another concept from an already open menu', async () => {const first: LoraModelConfig = { base: 'sdxl', key: 'ink', name: 'Ink', type: 'lora' };diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/ExpandPromptSuggestion.browser.test.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/ExpandPromptSuggestion.browser.test.tsxindex 00c4117046..facbdb3a5f 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/ExpandPromptSuggestion.browser.test.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/ExpandPromptSuggestion.browser.test.tsx@@ -5,6 +5,7 @@ import type { ChangeEvent } from 'react';import { ChakraProvider } from '@chakra-ui/react';import { DndContext } from '@dnd-kit/core';+import { getImageExpandPromptSuggestion } from '@features/generation/core/baseGenerationPolicies';import { expandPrompt, imageToPrompt } from '@features/generation/data/promptUtilities';import { PositivePromptField } from '@features/generation/ui/promptFields/PositivePromptField';import { QueryClient, QueryClientProvider } from '@tanstack/react-query';@@ -62,6 +63,28 @@ const MOSS_SUGGESTION: ExpandPromptSuggestion = {systemPromptId: MOSS_PROMPT_ID,};+const FLUX3_PROMPT_ID = '0f8f5b2e-1c9e-4f2a-9a4e-1f1f1f1f0012';+// The suggestion the real policy hands Expand Prompt for a FLUX.3 main model.+const FLUX3_SUGGESTION = getImageExpandPromptSuggestion({+ base: 'flux3',+ key: 'klein',+ name: 'FLUX.3 Klein',+ type: 'main',+} as never)!;+const FLUX3_FOLDER = {+ ...ENHANCER,+ key: 'pup-bf16',+ name: 'FLUX.3 Prompt Upsampler',+ source: 'black-forest-labs/flux-3-image-klein-pup',+};+const FLUX3_COMFY_FILE = {+ ...ENHANCER,+ key: 'pup-int8',+ name: 'FLUX.3 Prompt Upsampler (int8)',+ source:+ 'https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors',+};+const prompt = (id: string, content: string) => ({content,id,@@ -78,6 +101,7 @@ const PROMPTS = [prompt('t2v', 'T2V'),prompt('i2v', 'I2V'),prompt(MOSS_PROMPT_ID, 'MOSS'),+ prompt(FLUX3_PROMPT_ID, 'FLUX3'),];const FRAME = { height: 512, image_name: 'frame.png', width: 768 };@@ -699,3 +723,27 @@ it("starts another project from its own saved Image to Prompt model, not the preawait act(() => renderField(null, savedModels({ imageToPromptModelKey: 'llava-a' }), undefined, 'project-2'));expect(select('text llm')?.value).toBe('llava-a');});++it.each([+ ['the bf16 folder', FLUX3_FOLDER],+ ["ComfyUI's int8 file", FLUX3_COMFY_FILE],+])(+ 'preselects the FLUX.3 prompt upsampler installed as %s and rewrites text-only with its system prompt',+ async (_, model) => {+ catalog = [TEXT_ONLY, ENHANCER, model];+ await renderAndOpen(FLUX3_SUGGESTION, savedModels());++ expect(select('text llm')?.value).toBe(model.key);+ expect(document.body.textContent).not.toContain('is not installed');+ const request = await runExpand();+ expect(request).toMatchObject({ model_key: model.key, system_prompt: 'FLUX3' });+ expect(request.image_name).toBeUndefined();+ }+);++it('points to the FLUX.3 Prompt Upsampler starter model when neither build is installed', async () => {+ await renderAndOpen(FLUX3_SUGGESTION, savedModels({ expandPromptModelKey: 'e2b' }));++ expect(select('text llm')?.value).toBe('e2b');+ expect(document.body.textContent).toContain('FLUX.3 Prompt Upsampler is not installed');+});diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsxindex 14c17edf75..93ab9e8045 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsx@@ -28,7 +28,7 @@ import {Text,} from '@chakra-ui/react';import { galleryImageUrls } from '@features/gallery/utility';-import { isModelFromRepo } from '@features/generation/core/baseGenerationPolicies';+import { isSuggestedExpandPromptModel } from '@features/generation/core/baseGenerationPolicies';import { filterPromptHistory } from '@features/generation/core/promptHistory';import { resolveSelectedSystemPromptId } from '@features/generation/core/systemPrompts';import { llmTaskProgressStore } from '@features/generation/data/llmTaskProgress';@@ -681,7 +681,7 @@ const ExpandPromptButton = ({const textLlmModels = models.filter((model) => model.type === 'text_llm');const suggestedModelKey = suggestion?.modelSource? (textLlmModels.find((model) =>- isModelFromRepo(typeof model.source === 'string' ? model.source : null, suggestion.modelSource ?? '')+ isSuggestedExpandPromptModel(typeof model.source === 'string' ? model.source : null, suggestion))?.key ?? null): null;const onSaveModelKey = savedPromptModels?.onChange;diff --git a/invokeai/frontend/webv2/src/workbench/canvas-operations/importGalleryImages.test.ts b/invokeai/frontend/webv2/src/workbench/canvas-operations/importGalleryImages.test.tsindex 3a7efa0cba..2626e22b62 100644--- a/invokeai/frontend/webv2/src/workbench/canvas-operations/importGalleryImages.test.ts+++ b/invokeai/frontend/webv2/src/workbench/canvas-operations/importGalleryImages.test.ts@@ -115,6 +115,8 @@ const setModel = (project: Project, base: GenerateWidgetValues['model']['base'])animaInpaintAdapterModel: null,animaInpaintAdapterEnabled: true,animaInpaintAdapterWeight: 1,+ flux3PromptUpsamplerEnabled: false,+ flux3PromptUpsamplerModel: null,wanT5EncoderModel: null,wanLowNoiseModel: null,ideogram4UnconditionalModel: null,diff --git a/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.test.ts b/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.test.tsindex 9471b3db04..be865e8fbc 100644--- a/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.test.ts+++ b/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.test.ts@@ -152,6 +152,8 @@ const createValues = (overrides: Partial<GenerateWidgetValues> = {}): GenerateWianimaInpaintAdapterModel: null,animaInpaintAdapterEnabled: true,animaInpaintAdapterWeight: 1,+ flux3PromptUpsamplerEnabled: false,+ flux3PromptUpsamplerModel: null,wanT5EncoderModel: null,wanLowNoiseModel: null,ideogram4UnconditionalModel: null,@@ -2319,6 +2321,108 @@ describe('anima inpaint adapter', () => {});});+describe('FLUX.3 prompt upsampler recall', () => {+ const flux3Model: MainModelConfig = {+ base: 'flux3',+ format: 'diffusers',+ key: 'flux3-klein',+ name: 'FLUX.3 Klein',+ type: 'main',+ variant: 'flux3_klein',+ };+ const upsampler: ComponentModelConfig = {+ base: 'any',+ key: 'pup',+ name: 'FLUX.3 Prompt Upsampler',+ supports_images: true,+ type: 'text_llm',+ };+ const models = [flux3Model, upsampler];+ const recall = (+ metadata: Record<string, unknown>,+ currentValues: GenerateWidgetValues,+ supportedModels = [flux3Model, sd1Model]+ ) =>+ buildImageRecallSettings({+ currentValues,+ image,+ kind: 'all',+ metadata,+ models: [...models, sd1Model],+ supportedModels,+ vaeModels: [],+ });+ const recordedBy = (settings: Partial<GenerateWidgetValues>) => {+ const generated = compileGenerateGraph(+ {+ ...createValues({ cfgScale: 1, model: flux3Model, modelKey: flux3Model.key }),+ positivePrompt: 'a beach at noon',+ ...settings,+ },+ flux3Model,+ 'gallery',+ { useCpuNoise: true, useNsfwChecker: false, useWatermark: false }+ ).backendGraph;++ return Object.values(generated.nodes).find((node) => node.type === 'core_metadata')!;+ };++ it('turns the switch on with the recorded model from what a graph that upsampled records, and restores the typed prompt', () => {+ // At run time the edges add the typed prompt and the caption the upsampler wrote.+ const metadata = {+ ...recordedBy({ flux3PromptUpsamplerEnabled: true, flux3PromptUpsamplerModel: upsampler }),+ flux3_caption: 'A long caption. [{"id": "obj_1", "bbox": [0, 0, 500, 500], "desc": "a kite"}]',+ positive_prompt: 'a beach at noon',+ };+ const result = recall(metadata, createValues());++ expect(result?.values.flux3PromptUpsamplerEnabled).toBe(true);+ expect(result?.values.flux3PromptUpsamplerModel).toBe(upsampler);+ expect(result?.fields).toContain('components');+ // The caption the upsampler wrote is never the recalled prompt.+ expect(result?.values.positivePrompt).toBe('a beach at noon');+ });++ it('switches it off but keeps the pick for a FLUX.3 record without it, which the backend persists for none', () => {+ const metadata = recordedBy({ flux3PromptUpsamplerEnabled: false, flux3PromptUpsamplerModel: upsampler });+ const result = recall(+ metadata,+ createValues({ flux3PromptUpsamplerEnabled: true, flux3PromptUpsamplerModel: upsampler })+ );++ expect(metadata).not.toHaveProperty('flux3_prompt_upsampler');+ expect(result?.values.flux3PromptUpsamplerEnabled).toBe(false);+ expect(result?.values.flux3PromptUpsamplerModel).toEqual(upsampler);+ expect(result?.fields).toContain('components');+ });++ it('keeps the current pick when the recorded model is not installed, yet still turns the switch on', () => {+ const current: ComponentModelConfig = { ...upsampler, key: 'other', name: 'Other' };+ const result = buildImageRecallSettings({+ currentValues: createValues({ flux3PromptUpsamplerModel: current }),+ image,+ kind: 'all',+ metadata: { ...recordedBy({}), flux3_prompt_upsampler: { key: 'gone' } },+ models: [flux3Model, current],+ supportedModels: [flux3Model],+ vaeModels: [],+ });++ expect(result?.values.flux3PromptUpsamplerEnabled).toBe(true);+ expect(result?.values.flux3PromptUpsamplerModel).toEqual(current);+ });++ it('says nothing about the upsampler for a record of another family', () => {+ const current = createValues({ flux3PromptUpsamplerEnabled: true, flux3PromptUpsamplerModel: upsampler });+ const result = recall({ generation_mode: 'txt2img', model: { key: sd1Model.key } }, current);++ expect(result?.values.model).toBe(sd1Model);+ // The record leaves the switch alone; the new model has no such slot, so the pick goes like any component.+ expect(result?.values.flux3PromptUpsamplerEnabled).toBe(true);+ expect(result?.values.flux3PromptUpsamplerModel).toBeNull();+ });+});+describe('remix round trip', () => {// Every component a graph records must come back; one recorded under a key Remix does not know fails here.it.each(generateGraphCases)('restores the components $label records', (graphCase) => {diff --git a/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.ts b/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.tsindex 9c05c76863..4e27d40f2d 100644--- a/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.ts+++ b/invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.ts@@ -841,11 +841,32 @@ const getMetadataAnimaInpaintAdapter = (const hasAnimaInpaintAdapterSettings = (metadata: unknown, model: GenerateModelConfig | undefined): boolean =>Object.keys(getMetadataAnimaInpaintAdapter(metadata, model)).length > 0;+/**+ * The prompt upsampler switch; only a FLUX.3 image can carry it. A recorded model means the upsampler ran, so the+ * switch turns on. `core_metadata` drops `null` on write, so a FLUX.3 record without the key ran without it: the+ * switch turns off and the current pick stays. Other records say nothing about it.+ */+const getMetadataFlux3PromptUpsampler = (+ metadata: unknown,+ model: GenerateModelConfig | undefined+): Partial<Pick<GenerateWidgetValues, 'flux3PromptUpsamplerEnabled'>> => {+ if (model?.base !== 'flux3' || !isRecord(metadata)) {+ return {};+ }++ if ('flux3_prompt_upsampler' in metadata) {+ return { flux3PromptUpsamplerEnabled: true };+ }++ return getString(metadata, 'generation_mode')?.startsWith('flux3_') ? { flux3PromptUpsamplerEnabled: false } : {};+};+type RecalledComponentSetting = keyof Pick<GenerateWidgetValues,| 'animaInpaintAdapterModel'| 'clipEmbedModel'| 'componentSourceModel'+ | 'flux3PromptUpsamplerModel'| 'gemma2EncoderModel'| 'ideogram4UnconditionalModel'| 'mistralEncoderModel'@@ -879,6 +900,7 @@ const RECALLED_COMPONENTS: readonly RecalledComponent[] = [{ isMainModel: true, metadataKey: 'wan_transformer_low_noise', setting: 'wanLowNoiseModel' },{ metadataKey: 'anima_inpaint_adapter', setting: 'animaInpaintAdapterModel' },{ metadataKey: 'clip_embed_model', setting: 'clipEmbedModel' },+ { metadataKey: 'flux3_prompt_upsampler', setting: 'flux3PromptUpsamplerModel' },{ metadataKey: 'gemma2_encoder', setting: 'gemma2EncoderModel' },{ metadataKey: 'mistral_encoder', setting: 'mistralEncoderModel' },{ metadataKey: 'pid_decoder', setting: 'pidDecoderModel' },@@ -1381,7 +1403,9 @@ export const getImageRecallCapabilities = ({const hasTuning = hasModelTuning(metadata, clipSkipModel);const hasRefiner =Object.keys(getRefinerRecall(metadata, clipSkipModel, models, supportedMetadataModel).patch).length > 0;- const hasAdapterSettings = hasAnimaInpaintAdapterSettings(metadata, clipSkipModel);+ const hasSwitchSettings =+ hasAnimaInpaintAdapterSettings(metadata, clipSkipModel) ||+ Object.keys(getMetadataFlux3PromptUpsampler(metadata, clipSkipModel)).length > 0;const hasConcepts =(getMetadataConcepts(metadata, models, clipSkipModel, supportedMetadataModel).loras?.length ?? 0) > 0;const hasAnyMetadata =@@ -1401,7 +1425,7 @@ export const getImageRecallCapabilities = ({hasRefiner ||hasSkipLayers ||hasTuning ||- hasAdapterSettings ||+ hasSwitchSettings ||hasCanvasRecall(metadata);const hasNonSeedMetadata =hasModel ||@@ -1419,7 +1443,7 @@ export const getImageRecallCapabilities = ({hasRefiner ||hasSkipLayers ||hasTuning ||- hasAdapterSettings ||+ hasSwitchSettings ||hasCanvasRecall(metadata);return {@@ -1533,7 +1557,7 @@ export const buildImageRecallSettings = ({}const adapterPatch = getMetadataAnimaInpaintAdapter(metadata, values.model);- values = { ...values, ...adapterPatch };+ values = { ...values, ...adapterPatch, ...getMetadataFlux3PromptUpsampler(metadata, values.model) };if (adapterPatch.animaInpaintAdapterWeight !== undefined) {fields.push('animaInpaintAdapterWeight');@@ -1557,7 +1581,8 @@ export const buildImageRecallSettings = ({// change too: a record can turn it off without touching the pick.if (recordedSettings.some((setting) => values[setting]?.key !== currentValues[setting]?.key) ||- values.animaInpaintAdapterEnabled !== currentValues.animaInpaintAdapterEnabled+ values.animaInpaintAdapterEnabled !== currentValues.animaInpaintAdapterEnabled ||+ values.flux3PromptUpsamplerEnabled !== currentValues.flux3PromptUpsamplerEnabled) {fields.push('components');}diff --git a/invokeai/frontend/webv2/src/workbench/palette/docsSearchIndex.json b/invokeai/frontend/webv2/src/workbench/palette/docsSearchIndex.jsonindex 91a5e3cd75..27ccc16bc4 100644--- a/invokeai/frontend/webv2/src/workbench/palette/docsSearchIndex.json+++ b/invokeai/frontend/webv2/src/workbench/palette/docsSearchIndex.json@@ -59,7 +59,7 @@{"s":"users-guide/models/local-models/ernie-image","t":"ERNIE-Image","d":"Generate images with Baidu's ERNIE-Image and ERNIE-Image Turbo, from the Diffusers pipelines, the single-file transformers or GGUF.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["generation-settings","Generation settings"],["lora","LoRA"],["prompt-enhancer","Prompt enhancer"]]},{"s":"users-guide/models/local-models/flux-1","t":"FLUX.1","d":"Generate and edit images with FLUX.1 dev, schnell, Krea dev and Kontext, plus FLUX Fill, Redux, IP-Adapter, ControlNets and Control LoRAs.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["generation-settings","Generation settings"],["reference-images","Reference images"],["controlnets-and-control-loras","ControlNets and Control LoRAs"],["flux-fill","FLUX Fill"],["lora","LoRA"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-nodes","Workflow nodes"]]},{"s":"users-guide/models/local-models/flux-2","t":"FLUX.2","d":"Generate and edit images with FLUX.2 Klein (4B and 9B, distilled and Base) and FLUX.2 [dev], including multi-reference image editing and the FLUX.2 [dev] Fun-ControlNet-Union.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["klein-starter-models","Klein starter models"],["flux2-dev-starter-models","FLUX.2 [dev] starter models"],["generation-settings","Generation settings"],["reference-images","Reference images"],["controlnet","ControlNet"],["regional-guidance","Regional guidance"],["lora","LoRA"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-nodes","Workflow nodes"]]},-{"s":"users-guide/models/local-models/flux-3","t":"FLUX.3","d":"Generate and edit images with FLUX.3 Image Klein (step-distilled) and Klein Base, including editing with up to ten reference images, LoRAs, layout boxes from Canvas regional guidance and the GGUF, single-file and quantized builds.","c":2,"h":[["license","License"],["hardware","Hardware"],["speed-and-quality-by-build","Speed and quality by build"],["installing","Installing"],["quantized-single-files","Quantized single files"],["reference-images","Reference images"],["loras","LoRAs"],["canvas","Canvas"],["layout-boxes-from-regional-guidance","Layout boxes from regional guidance"],["layout-and-box-edits-in-the-prompt","Layout and box edits in the prompt"],["prompt-upsampler-model","Prompt upsampler model"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-nodes","Workflow nodes"]]},+{"s":"users-guide/models/local-models/flux-3","t":"FLUX.3","d":"Generate and edit images with FLUX.3 Image Klein (step-distilled) and Klein Base, including editing with up to ten reference images, LoRAs, layout boxes from Canvas regional guidance and the GGUF, single-file and quantized builds.","c":2,"h":[["license","License"],["hardware","Hardware"],["speed-and-quality-by-build","Speed and quality by build"],["installing","Installing"],["quantized-single-files","Quantized single files"],["reference-images","Reference images"],["loras","LoRAs"],["canvas","Canvas"],["layout-boxes-from-regional-guidance","Layout boxes from regional guidance"],["layout-and-box-edits-in-the-prompt","Layout and box edits in the prompt"],["prompt-upsampler-model","Prompt upsampler model"],["prompt-upsampler-in-generation","Prompt upsampler in generation"],["what-the-upsampler-sees","What the upsampler sees"],["metadata-and-recall","Metadata and recall"],["repeatability-and-cost","Repeatability and cost"],["fidelity-to-the-reference","Fidelity to the reference"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-nodes","Workflow nodes"]]},{"s":"users-guide/models/local-models/ideogram4","t":"Ideogram 4","d":"Generate images with the Ideogram 4 text-to-image models.","c":2,"h":[["ideogram-4","Ideogram 4"],["license","License"],["installing-ideogram-4","Installing Ideogram 4"],["memory-use-during-generation","Memory use during generation"],["prompting-ideogram-4","Prompting Ideogram 4"],["generation-settings","Generation settings"],["lora","LoRA"]]},{"s":"users-guide/models/local-models/krea-2","t":"Krea-2","d":"Generate images with the Krea-2 text-to-image models (Turbo and Raw), including the GGUF / single-file workflow, the conditioning enhancers, training-free style reference and edit LoRAs with reference images.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["qwen3-vl-gguf-encoders","Qwen3-VL GGUF encoders"],["conditioning-enhancers","Conditioning enhancers"],["multiple-conditionings","Multiple conditionings"],["style-reference","Style reference"],["lora","LoRA"],["edit-loras-and-reference-images","Edit LoRAs and reference images"],["in-the-generate-panel-and-on-the-canvas","In the Generate panel and on the Canvas"],["in-the-workflow-editor","In the workflow editor"],["reference-kv-cache","Reference K/V cache"],["attention-backend","Attention backend"]]},{"s":"users-guide/models/local-models/moss-image","t":"MOSS-Image","d":"Generate and edit images with OpenMOSS's MOSS-Image Base and SFT, from the Diffusers pipelines or a single-file transformer, including JSON layout prompts, layouts from canvas regions and a prompt enhancer.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["transformer-formats","Transformer formats"],["generation-settings","Generation settings"],["skip-layers","Skip layers"],["prompting","Prompting"],["json-layouts","JSON layouts"],["layout-with-canvas-regions","Layout with canvas regions"],["prompt-enhancer","Prompt enhancer"],["limitations","Limitations"],["workflow-nodes","Workflow nodes"]]},diff --git a/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts b/invokeai/frontend/webv2/src/workbench/workbenchState.test.tsindex 2419297c62..9abbf925a5 100644--- a/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts+++ b/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts@@ -278,6 +278,8 @@ const createGenerateValues = (overrides: Partial<GenerateWidgetValues> = {}): GeanimaInpaintAdapterModel: null,animaInpaintAdapterEnabled: true,animaInpaintAdapterWeight: 1,+ flux3PromptUpsamplerEnabled: false,+ flux3PromptUpsamplerModel: null,wanT5EncoderModel: null,wanLowNoiseModel: null,ideogram4UnconditionalModel: null,diff --git a/tests/app/invocations/test_flux3_prompt_upsampler.py b/tests/app/invocations/test_flux3_prompt_upsampler.pynew file mode 100644index 0000000000..e98756b1ba--- /dev/null+++ b/tests/app/invocations/test_flux3_prompt_upsampler.py@@ -0,0 +1,246 @@+"""The FLUX.3 prompt upsampler node, run through `invoke` with the real vendored Qwen3.5 processor and a fake model.++Only the model is faked: a recording stand-in that answers with canned tokens. The prompt upsampler's chat is checked+at the model boundary and against diffusers' system prompts; `tests/backend/flux3/test_prompt_upsampler.py` owns the+generation itself.+"""++import json+from collections.abc import Iterator+from contextlib import contextmanager+from functools import cache+from types import SimpleNamespace+from typing import Any+from unittest.mock import MagicMock++import pytest+import torch+from diffusers.modular_pipelines.flux3.prompt_upsampler import SYSTEM_PROMPTS+from PIL import Image+from transformers import StoppingCriteriaList++from invokeai.app.invocations.fields import FluxKontextConditioningField, ImageField+from invokeai.app.invocations.flux3.flux3_prompt_upsampler import Flux3PromptUpsamplerInvocation+from invokeai.app.invocations.model import ModelIdentifierField+from invokeai.app.services.session_processor.session_processor_common import CanceledException+from invokeai.backend.flux3.layout import Flux3LayoutRegion+from invokeai.backend.model_manager.taxonomy import ModelType, SubModelType+from invokeai.backend.qwen3_5.qwen3_5_vl import build_qwen3_5_vl_processor++REGION = Flux3LayoutRegion.model_validate({"desc": "a red hot-air balloon", "bbox": [80, 100, 450, 420]})+MODEL = ModelIdentifierField(key="pup", hash="x", name="pup", base="any", type="text_llm")+++@cache+def _processor() -> Any:+ # Building one costs about a second, and the node deep-copies what it loads: a copy of the 150k-vocabulary+ # tokenizer takes another. Nothing here changes the processor, so every copy is the instance itself.+ processor = build_qwen3_5_vl_processor()+ processor.__deepcopy__ = lambda memo: processor+ return processor+++class _FakeUpsampler(torch.nn.Module):+ dtype = torch.float32++ def __init__(self, processor: Any, answer: str, fail: bool = False) -> None:+ super().__init__()+ self.weight = torch.nn.Parameter(torch.zeros(1))+ tokenizer = processor.tokenizer+ self.answer_ids = tokenizer.encode(answer + "<|im_end|>", add_special_tokens=False)+ self.fail = fail+ self.calls: list[dict[str, Any]] = []++ def generate(self, **kwargs: Any) -> torch.Tensor:+ self.calls.append(kwargs)+ if self.fail:+ raise RuntimeError("out of memory")+ sequence = kwargs["input_ids"]+ criteria = kwargs.get("stopping_criteria", StoppingCriteriaList())+ for token in self.answer_ids:+ sequence = torch.cat([sequence, torch.tensor([[token]])], dim=1)+ if bool(criteria(sequence, None).any()):+ break+ return sequence+++class _Harness:+ """A context whose model loads are recorded in order, with the upsampler locked on the device only while the+ `with` block of `model_on_device` is open."""++ def __init__(+ self,+ answer: str = "A calm sea at dawn.",+ *,+ fail: bool = False,+ config: Any = None,+ canceled: bool = False,+ images: dict[str, Image.Image] | None = None,+ ) -> None:+ self.processor = _processor()+ self.model = _FakeUpsampler(self.processor, answer, fail)+ self.events: list[str] = []+ self.images = images or {}+ self.context = MagicMock()+ self.context.models.get_config.return_value = config or SimpleNamespace(+ type=ModelType.TextLLM, name="pup", supports_images=True+ )+ self.context.models.load.side_effect = self._load+ self.context.models.offload_from_vram.side_effect = lambda identifier: self.events.append("offload")+ self.context.images.get_pil.side_effect = self._get_pil+ self.context.util.is_canceled.return_value = canceled++ def _get_pil(self, name: str) -> Image.Image:+ self.events.append(f"image:{name}")+ return self.images[name]++ def _load(self, identifier: ModelIdentifierField, submodel_type: SubModelType | None = None) -> Any:+ loaded = MagicMock()+ if submodel_type is SubModelType.Processor:+ loaded.model = self.processor+ self.events.append("processor")+ else:+ assert submodel_type is None++ @contextmanager+ def on_device() -> Iterator[tuple[None, _FakeUpsampler]]:+ self.events.append("lock")+ try:+ yield None, self.model+ finally:+ self.events.append("unlock")++ loaded.model_on_device = on_device+ loaded.compute_device = torch.device("cpu")+ return loaded++ def run(self, **fields: Any) -> str:+ node = Flux3PromptUpsamplerInvocation(id="upsampler", upsampler_model=MODEL, **fields)+ return node.invoke(self.context).value++ def prompt_text(self) -> str:+ return self.processor.decode(self.model.calls[0]["input_ids"][0])+++def _reference(name: str) -> FluxKontextConditioningField:+ return FluxKontextConditioningField(image=ImageField(image_name=name))+++ "config",+ [+ SimpleNamespace(type=ModelType.TextLLM, name="text-only", supports_images=False),+ SimpleNamespace(type=ModelType.Main, name="a checkpoint"),+ ],+ ids=["text-only LLM", "not a Text LLM"],+)+def test_a_model_that_cannot_read_images_is_refused_before_anything_loads(config: Any) -> None:+ harness = _Harness(config=config)++ with pytest.raises(ValueError, match="cannot be the FLUX.3 prompt upsampler"):+ harness.run(prompt="A sea.")++ harness.context.models.load.assert_not_called()+ assert harness.events == []+++def test_more_than_ten_reference_images_are_refused_before_anything_loads() -> None:+ harness = _Harness()++ with pytest.raises(ValueError, match="at most 10 reference images"):+ harness.run(prompt="Edit.", reference_images=[_reference(f"img{i}") for i in range(11)])++ harness.context.models.load.assert_not_called()+ assert harness.events == []+++ "fields, mode",+ [+ ({}, "t2i"),+ ({"reference_images": _reference("a")}, "i2i"),+ ({"regions": [REGION]}, "t2i_bbox"),+ ({"prompt": 'A sea. [{"id": "obj_1", "bbox": [10, 20, 300, 400], "desc": "a boat"}]'}, "t2i_bbox"),+ ({"reference_images": [_reference("a")], "regions": [REGION]}, "i2i_bbox"),+ ],+ ids=["plain", "reference", "regions", "prompt with a box table", "reference and regions"],+)+def test_the_mode_follows_the_inputs(fields: dict[str, Any], mode: str) -> None:+ harness = _Harness(images={"a": Image.new("RGB", (64, 64), (200, 30, 30))})+ fields = {"prompt": "A sea.", **fields}++ harness.run(**fields)++ assert SYSTEM_PROMPTS[mode] in harness.prompt_text()+ for other in {"t2i", "i2i", "t2i_bbox", "i2i_bbox"} - {mode}:+ assert SYSTEM_PROMPTS[other] not in harness.prompt_text()+++def test_regions_become_object_rows_without_reference_images_and_target_rows_with_them() -> None:+ answer = "A sea with <obj_1>. []"+ plain = _Harness(answer)+ edit = _Harness(answer, images={"a": Image.new("RGB", (64, 64))})++ plain_caption = plain.run(prompt="A sea.", regions=[REGION])+ edit_caption = edit.run(prompt="Add a balloon.", regions=[REGION], reference_images=_reference("a"))++ assert plain_caption == (+ 'A sea with <obj_1>. [{"id": "obj_1", "bbox": [80, 100, 450, 420], "desc": "a red hot-air balloon"}]'+ )+ assert json.loads(edit_caption.split(". ", 1)[1]) == [+ {"id": "obj_1", "from": "target", "src_bbox": None, "tgt_bbox": [80, 100, 450, 420], "desc": REGION.desc}+ ]+++def test_regions_follow_the_rows_of_the_prompts_own_box_table() -> None:+ harness = _Harness("A sea with <obj_1> and <obj_2>. []")+ table = [{"id": "obj_1", "bbox": [10, 20, 300, 400], "desc": "a boat"}]++ caption = harness.run(prompt=f"A sea. {json.dumps(table)}", regions=[REGION])++ assert [row["id"] for row in json.loads(caption.split(">. ", 1)[1])] == ["obj_1", "obj_2"]+++def test_a_blank_prompt_with_regions_is_refused_before_anything_loads() -> None:+ harness = _Harness()++ with pytest.raises(ValueError, match="need a prompt"):+ harness.run(prompt=" ", regions=[REGION])++ harness.context.models.load.assert_not_called()+++def test_reference_images_reach_the_upsampler_in_connection_order() -> None:+ harness = _Harness(images={"wide": Image.new("RGB", (192, 64)), "tall": Image.new("RGB", (64, 192))})++ harness.run(prompt="Combine.", reference_images=[_reference("wide"), _reference("tall")])++ assert [event for event in harness.events if event.startswith("image:")] == ["image:wide", "image:tall"]+ first, second = harness.model.calls[0]["image_grid_thw"].tolist()+ assert first[2] > first[1] and second[1] > second[2]+++def test_the_upsampler_leaves_the_device_after_the_run_has_released_it() -> None:+ harness = _Harness("A calm sea.")++ assert harness.run(prompt="A sea.") == "A calm sea."++ assert harness.events == ["processor", "lock", "unlock", "offload"]+++def test_the_upsampler_leaves_the_device_when_generation_fails() -> None:+ harness = _Harness(fail=True)++ with pytest.raises(RuntimeError, match="out of memory"):+ harness.run(prompt="A sea.")++ assert harness.events[-2:] == ["unlock", "offload"]+++def test_a_cancel_raises_canceled_and_offloads_without_a_caption() -> None:+ harness = _Harness(canceled=True)++ with pytest.raises(CanceledException):+ harness.run(prompt="A sea.")++ assert harness.events[-2:] == ["unlock", "offload"]diff --git a/tests/app/invocations/test_frontend_flux3_layout_graphs.py b/tests/app/invocations/test_frontend_flux3_layout_graphs.pyindex 8347342d14..78e208c94d 100644--- a/tests/app/invocations/test_frontend_flux3_layout_graphs.py+++ b/tests/app/invocations/test_frontend_flux3_layout_graphs.py@@ -6,6 +6,10 @@ with two Regional Guidance layers, one inside the frame with quotes and non-ASCIthe frame's right and bottom edges. pydantic validates every node against its invocation, the regions against`Flux3LayoutRegion` included; `Graph.validate_self` checks every edge type, the one into `core_metadata.flux3_caption`included; and the layout node runs on its literal inputs. No model is loaded.++The `upsampled_*` graphs are the same canvases with the prompt upsampler on: it takes the layout node's place and its+regions, so they must hold no `layout_prompt`, and the rows the upsampler node locks for the stand-in prompt must be the+rows the layout node writes into the caption."""import json@@ -15,7 +19,9 @@ from typing import Anyimport pytestfrom invokeai.app.invocations.flux3.flux3_layout_prompt import Flux3LayoutPromptInvocation+from invokeai.app.invocations.flux3.flux3_prompt_upsampler import Flux3PromptUpsamplerInvocationfrom invokeai.app.services.shared.graph import Graph+from invokeai.backend.flux3.layout import flux3_locked_rowsFIXTURE_PATH = (Path(__file__).parents[3]@@ -33,6 +39,9 @@ FIXTURE_PATH = (GRAPHS: dict[str, Any] = {name: graph for name, graph in json.loads(FIXTURE_PATH.read_text(encoding="utf-8")).items() if name != "_comment"}+UPSAMPLED_PREFIX = "upsampled_"+UPSAMPLED_GRAPHS = sorted(name for name in GRAPHS if name.startswith(UPSAMPLED_PREFIX))+PROMPT = "A sunny beach."# What each graph's layout node writes for the stand-in prompt "A sunny beach.". 768x1024 in 0..1000,# [y_min, x_min, y_max, x_max]: the kite spans x 192..576 and y 64..320, the dog x 512..768 and y 640..1024; 62.5 and@@ -65,6 +74,10 @@ def _source(graph: Graph, node_id: str, field: str) -> tuple[str, str]:return edge.source.node_id, edge.source.field+def _caption_node_id(name: str) -> str:+ return "prompt_upsampler" if name.startswith(UPSAMPLED_PREFIX) else "layout_prompt"++@pytest.mark.parametrize("name", sorted(GRAPHS))def test_every_field_the_frontend_writes_is_one_the_invocation_declares(name: str) -> None:"""Pydantic ignores an unknown key, so a misnamed field (`prompt` for a region's `desc`) would validate and run at@@ -78,17 +91,19 @@ def test_every_field_the_frontend_writes_is_one_the_invocation_declares(name: stunknown = set(raw) - set(type(node).model_fields)assert unknown == set(), f"{raw['type']} has no field(s) {sorted(unknown)}"- layout = graph.nodes["layout_prompt"]- assert isinstance(layout, Flux3LayoutPromptInvocation)- assert [region.model_dump() for region in layout.regions] == GRAPHS[name]["nodes"]["layout_prompt"]["regions"]+ node_id = _caption_node_id(name)+ caption_node = graph.nodes[node_id]+ assert isinstance(caption_node, Flux3LayoutPromptInvocation | Flux3PromptUpsamplerInvocation)+ assert [region.model_dump() for region in caption_node.regions] == GRAPHS[name]["nodes"][node_id]["regions"]def test_the_layout_prompt_is_what_is_encoded_and_recorded(graph: Graph) -> None:- # The prompt that batching varies feeds the layout node, whose output is the only thing the encoder sees.- assert _source(graph, "layout_prompt", "prompt") == ("positive_prompt", "value")- assert _source(graph, "pos_cond", "prompt") == ("layout_prompt", "value")+ # The prompt that batching varies feeds the caption node, whose output is the only thing the encoder sees.+ caption_id = "prompt_upsampler" if "prompt_upsampler" in graph.nodes else "layout_prompt"+ assert _source(graph, caption_id, "prompt") == ("positive_prompt", "value")+ assert _source(graph, "pos_cond", "prompt") == (caption_id, "value")metadata_id = next(node.id for node in graph.nodes.values() if node.get_type() == "core_metadata")- assert _source(graph, metadata_id, "flux3_caption") == ("layout_prompt", "value")+ assert _source(graph, metadata_id, "flux3_caption") == (caption_id, "value")# Recall restores the prompt the user typed, not the caption with its box table.assert _source(graph, metadata_id, "positive_prompt") == ("positive_prompt", "value")@@ -101,3 +116,37 @@ def test_the_layout_node_places_the_drawn_regions(name: str) -> None:runtime = layout.model_copy(update={"prompt": "A sunny beach."})assert runtime.invoke(None).value == EXPECTED_CAPTIONS[name] # type: ignore[arg-type]++[email protected]("name", UPSAMPLED_GRAPHS)+def test_the_upsampler_replaces_the_layout_node_and_sees_what_the_denoiser_sees(name: str) -> None:+ graph = Graph.model_validate(GRAPHS[name])+ graph.validate_self()+ assert not any(node.get_type() == "flux3_layout_prompt" for node in graph.nodes.values())+ node = graph.nodes["prompt_upsampler"]+ assert isinstance(node, Flux3PromptUpsamplerInvocation)+ assert node.upsampler_model.key == "pup"+ # The edit derives its edit targets from the references: the one collect feeds the upsampler and the denoiser.+ denoise_id = next(n.id for n in graph.nodes.values() if n.get_type() == "flux3_denoise")+ if name == "upsampled_edit":+ assert _source(graph, "prompt_upsampler", "reference_images") == _source(+ graph, denoise_id, "kontext_conditioning"+ )+ else:+ assert not [e for e in graph.edges if e.destination.field == "reference_images"]++[email protected]("name", UPSAMPLED_GRAPHS)+def test_the_upsampler_locks_the_rows_the_layout_node_writes(name: str) -> None:+ graph = Graph.model_validate(GRAPHS[name])+ node = graph.nodes["prompt_upsampler"]+ assert isinstance(node, Flux3PromptUpsamplerInvocation)+ has_references = any(+ e.destination.node_id == "prompt_upsampler" and e.destination.field == "reference_images" for e in graph.edges+ )++ caption, rows = flux3_locked_rows(PROMPT, node.regions, edit_targets=has_references)++ layout_caption = EXPECTED_CAPTIONS[name.removeprefix(UPSAMPLED_PREFIX)]+ assert caption == PROMPT+ assert rows == json.loads(layout_caption.removeprefix(PROMPT + " "))diff --git a/tests/app/services/shared/sqlite_migrator/migrations/test_migration_2026_11_09_add_flux3_prompt_upsampler_system_prompt.py b/tests/app/services/shared/sqlite_migrator/migrations/test_migration_2026_11_09_add_flux3_prompt_upsampler_system_prompt.pynew file mode 100644index 0000000000..695d90585f--- /dev/null+++ b/tests/app/services/shared/sqlite_migrator/migrations/test_migration_2026_11_09_add_flux3_prompt_upsampler_system_prompt.py@@ -0,0 +1,111 @@+"""The FLUX.3 prompt upsampler's system prompt is seeded once; a row the user changed keeps their changes."""++import re+from logging import Logger+from pathlib import Path++from diffusers.modular_pipelines.flux3.prompt_upsampler import SYSTEM_PROMPTS+from sqlalchemy import MetaData, create_engine, delete, select, update++from invokeai.app.services.shared.database.database import Database+from invokeai.app.services.shared.database.schema.migrator import applied_migrations+from invokeai.app.services.shared.database.schema.system_prompts import system_prompts+from invokeai.app.services.shared.sqlite_migrator.migrations.migration_2026_11_09_add_flux3_prompt_upsampler_system_prompt import (+ FLUX3_PROMPT_UPSAMPLER_PROMPT_CONTENT,+ FLUX3_PROMPT_UPSAMPLER_PROMPT_ID,+ build_migration,+)+from invokeai.app.services.shared.sqlite_migrator.sqlite_migrator_common import PortableMigrationContext+from tests.fixtures.database import migrate_to_newest+from tests.fixtures.migration_state import alembic_operations++MIGRATION_ID = "2026_11_09_add_flux3_prompt_upsampler_system_prompt"+++def _row(database: Database) -> tuple | None:+ with database.begin(write=False) as conn:+ row = conn.execute(+ select(+ system_prompts.c.name,+ system_prompts.c.content,+ system_prompts.c.user_id,+ system_prompts.c.is_public,+ system_prompts.c.max_tokens,+ ).where(system_prompts.c.id == FLUX3_PROMPT_UPSAMPLER_PROMPT_ID)+ ).one_or_none()+ return None if row is None else tuple(row)+++def _forget_migration(database: Database) -> None:+ with database.begin(write=True) as conn:+ conn.execute(delete(applied_migrations).where(applied_migrations.c.migration_id == MIGRATION_ID))+++def test_seeds_a_shared_prompt_with_its_token_cap(database: Database) -> None:+ assert _row(database) == (+ "FLUX.3 Prompt Upsampler",+ FLUX3_PROMPT_UPSAMPLER_PROMPT_CONTENT,+ "system",+ True,+ 1024,+ )+ # Black Forest Labs' t2i prompt, not the other modes', which need images or a box table.+ assert FLUX3_PROMPT_UPSAMPLER_PROMPT_CONTENT == SYSTEM_PROMPTS["t2i"]+ with database.begin(write=False) as conn:+ created_at, updated_at = conn.execute(+ select(system_prompts.c.created_at, system_prompts.c.updated_at).where(+ system_prompts.c.id == FLUX3_PROMPT_UPSAMPLER_PROMPT_ID+ )+ ).one()+ assert re.fullmatch(r"\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}", created_at)+ assert updated_at == created_at+++def test_supplies_every_value_a_server_has_no_default_for() -> None:+ """A server declares no defaults for the timestamps, which only SQLite has (`inserted_at`, `updated_at`).++ The table here is the schema's with the SQLite-only defaults left out, so it holds the server's NOT NULL+ columns without a default; the insert must name each of them.+ """+ server_shaped = system_prompts.to_metadata(MetaData())+ for column in server_shaped.columns:+ column.info.clear()+ assert {+ column.name for column in server_shaped.columns if not column.nullable and column.server_default is None+ } >= {+ "created_at",+ "updated_at",+ }+ engine = create_engine("sqlite://")+ with engine.begin() as conn:+ server_shaped.create(conn)+ context = PortableMigrationContext(conn=conn, op=alembic_operations(conn), logger=Logger("test"))+ build_migration().callback(context)+ row = conn.execute(select(server_shaped.c.id, server_shaped.c.created_at, server_shaped.c.updated_at)).one()+ engine.dispose()+ assert row.id == FLUX3_PROMPT_UPSAMPLER_PROMPT_ID+ assert row.created_at is not None and row.updated_at == row.created_at+++def test_running_again_leaves_an_edited_prompt_alone(database: Database, tmp_path: Path) -> None:+ with database.begin(write=True) as conn:+ conn.execute(+ update(system_prompts)+ .where(system_prompts.c.id == FLUX3_PROMPT_UPSAMPLER_PROMPT_ID)+ .values(name="Mine", content="edited", is_public=False, max_tokens=None)+ )+ _forget_migration(database)++ migrate_to_newest(database, tmp_path)++ assert _row(database) == ("Mine", "edited", "system", False, None)+++def test_running_again_does_not_restore_a_deleted_prompt(database: Database, tmp_path: Path) -> None:+ """Deleting a seeded prompt is the user's choice; only a database that never ran the migration gets it."""+ with database.begin(write=True) as conn:+ conn.execute(delete(system_prompts).where(system_prompts.c.id == FLUX3_PROMPT_UPSAMPLER_PROMPT_ID))++ migrate_to_newest(database, tmp_path)++ assert _row(database) is Nonediff --git a/tests/backend/flux3/test_layout.py b/tests/backend/flux3/test_layout.pyindex 3219872503..efb24ce73a 100644--- a/tests/backend/flux3/test_layout.py+++ b/tests/backend/flux3/test_layout.py@@ -12,7 +12,7 @@ import pytestfrom diffusers.modular_pipelines.flux3.prompt_upsampler import boxes_to_canvasfrom pydantic import ValidationError-from invokeai.backend.flux3.layout import Flux3LayoutRegion, build_flux3_layout_prompt+from invokeai.backend.flux3.layout import Flux3LayoutRegion, build_flux3_layout_prompt, flux3_locked_rowsdef _region(desc: str, bbox: list) -> Flux3LayoutRegion:@@ -206,3 +206,60 @@ def test_descriptions_reach_the_table_stripped_and_unescaped() -> None:def test_a_region_outside_the_grid_contract_is_refused(region: dict) -> None:with pytest.raises(ValidationError):Flux3LayoutRegion.model_validate(region)+++TABLE = '[{"id": "obj_3", "bbox": [10, 20, 500, 600], "desc": "a boat"}]'+++def test_locked_rows_of_a_prompt_with_neither_table_nor_regions_leave_it_unchanged() -> None:+ assert flux3_locked_rows(" A misty coast.\n", []) == (" A misty coast.\n", [])+++def test_a_table_that_ends_the_prompt_is_locked_without_regions() -> None:+ caption, rows = flux3_locked_rows(f" A misty coast. {TABLE}", [])++ assert caption == "A misty coast."+ assert rows == [{"id": "obj_3", "bbox": [10, 20, 500, 600], "desc": "a boat"}]+++def test_regions_alone_become_object_rows_after_the_stripped_caption() -> None:+ caption, rows = flux3_locked_rows(" A misty coast. ", [BALLOON, LIGHTHOUSE])++ assert caption == "A misty coast."+ assert rows == [+ {"id": "obj_1", "bbox": [80, 100, 450, 420], "desc": "a red hot-air balloon"},+ {"id": "obj_2", "bbox": [300, 600, 950, 900], "desc": "a lighthouse on a cliff"},+ ]+++def test_regions_follow_the_rows_of_the_table_numbered_after_its_highest_object() -> None:+ caption, rows = flux3_locked_rows(f"A misty coast. {TABLE}", [BALLOON])++ assert caption == "A misty coast."+ assert [row["id"] for row in rows] == ["obj_3", "obj_4"]+ assert rows[1]["desc"] == "a red hot-air balloon"+++def test_edit_targets_make_the_regions_target_rows_and_keep_the_tables_rows_as_they_are() -> None:+ edit_row = {"id": "move", "from": "ref_image_0", "src_bbox": [0, 0, 100, 100], "tgt_bbox": [200, 200, 300, 300]}+ table = json.dumps([{**edit_row, "desc": "the dog"}])++ _, rows = flux3_locked_rows(f"Move the dog. {table}", [BALLOON], edit_targets=True)++ assert rows == [+ {**edit_row, "desc": "the dog"},+ {+ "id": "obj_1",+ "from": "target",+ "src_bbox": None,+ "tgt_bbox": [80, 100, 450, 420],+ "desc": "a red hot-air balloon",+ },+ ]++[email protected]("prompt", ["", " \n", TABLE])+def test_rows_on_a_blank_caption_are_refused_whether_they_come_from_regions_or_the_table(prompt: str) -> None:+ regions = [] if prompt == TABLE else [BALLOON]+ with pytest.raises(ValueError, match="need a prompt"):+ flux3_locked_rows(prompt, regions)diff --git a/tests/backend/flux3/test_prompt_upsampler.py b/tests/backend/flux3/test_prompt_upsampler.pynew file mode 100644index 0000000000..2a107612a4--- /dev/null+++ b/tests/backend/flux3/test_prompt_upsampler.py@@ -0,0 +1,213 @@+"""The FLUX.3 prompt upsampler's generation (`invokeai/backend/flux3/prompt_upsampler.py`).++The model is a recording fake that answers with canned tokens, so the inputs it is handed are the subject: diffusers'+own `upsample_prompt` is the oracle for them, called with the same fake, processor, images and boxes. The processor is+the vendored single-file Qwen3.5 one, which serves a transformers folder's identically.+"""++import json+from typing import Any++import pytest+import torch+from diffusers.modular_pipelines.flux3 import prompt_upsampler as diffusers_upsampler+from PIL import Image+from transformers import StoppingCriteriaList++from invokeai.backend.flux3.prompt_upsampler import (+ FLUX3_UPSAMPLER_MAX_NEW_TOKENS,+ PROGRESS_TOKEN_INTERVAL,+ PromptUpsamplerCanceled,+ prepare_upsampler_references,+ upsample_flux3_prompt,+)+from invokeai.backend.qwen3_5.qwen3_5_vl import build_qwen3_5_vl_processor++END_OF_TURN = "<|im_end|>"+CPU = torch.device("cpu")++OBJECT_ROWS = [+ {"id": "obj_1", "bbox": [80, 100, 450, 420], "desc": "a red hot-air balloon"},+ {"id": "obj_2", "bbox": [300, 600, 950, 900], "desc": "a lighthouse on a cliff"},+]+TARGET_ROWS = [+ {+ "id": "obj_1",+ "from": "target",+ "src_bbox": None,+ "tgt_bbox": [80, 100, 450, 420],+ "desc": "a red hot-air balloon",+ },+]++[email protected](scope="module")+def processor():+ return build_qwen3_5_vl_processor()+++class _FakeUpsampler:+ """Records what `generate` received and answers with `answer`, a token at a time, as `generate` would: the stopping+ criteria are asked after every token and end the answer where one says so."""++ device = CPU+ dtype = torch.float32++ def __init__(self, processor: Any, answer: str) -> None:+ tokenizer = processor.tokenizer+ self.answer_ids = tokenizer.encode(answer, add_special_tokens=False) + tokenizer.encode(+ END_OF_TURN, add_special_tokens=False+ )+ self.calls: list[dict[str, Any]] = []++ def generate(self, **kwargs: Any) -> torch.Tensor:+ self.calls.append(kwargs)+ sequence = kwargs["input_ids"]+ criteria = kwargs.get("stopping_criteria", StoppingCriteriaList())+ for token in self.answer_ids:+ sequence = torch.cat([sequence, torch.tensor([[token]])], dim=1)+ if bool(criteria(sequence, None).any()):+ break+ return sequence+++def _images(count: int) -> list[Image.Image]:+ sizes = [(70, 40), (50, 90)]+ return prepare_upsampler_references(+ [Image.new("RGB", sizes[i], (40 * i + 60, 90, 200 - 50 * i)) for i in range(count)]+ )+++def _diffusers_boxes(rows: list[dict]) -> list[dict]:+ """The rows as the 0-1 boxes diffusers' `boxes_to_canvas` turns back into them."""+ return [+ {key: [v / 1000 for v in value] if key.endswith("bbox") and value else value for key, value in row.items()}+ for row in rows+ ]+++CASES = {+ "t2i": ("A misty coast at dawn.", 0, []),+ "i2i with one image": ("Make the sky orange.", 1, []),+ "i2i with two images": ("Put the cat from the first image into the second.", 2, []),+ "t2i_bbox": ("A misty coast.", 0, OBJECT_ROWS),+ "i2i_bbox": ("Add a balloon.", 1, TARGET_ROWS),+}++[email protected]("request_text, image_count, rows", CASES.values(), ids=CASES.keys())+def test_the_model_receives_what_diffusers_upsample_prompt_sends_and_the_caption_is_the_same(+ processor: Any, request_text: str, image_count: int, rows: list[dict]+) -> None:+ if rows:+ answer = "A calm sea under <obj_1>. " + json.dumps([{**row, "desc": "new wording"} for row in rows])+ else:+ answer = "A calm sea at dawn, soft light."+ images = _images(image_count)+ ours, theirs = _FakeUpsampler(processor, answer), _FakeUpsampler(processor, answer)++ caption = upsample_flux3_prompt(ours, processor, request_text, images=images, locked_rows=rows, device=CPU)+ reference = diffusers_upsampler.upsample_prompt(+ theirs, processor, request_text, images=images or None, boxes=_diffusers_boxes(rows) or None+ )++ assert caption == reference+ ours_in, theirs_in = ours.calls[0], theirs.calls[0]+ tensors = {key for key, value in theirs_in.items() if isinstance(value, torch.Tensor)}+ assert {"input_ids", "attention_mask"} <= tensors+ assert tensors == {key for key, value in ours_in.items() if isinstance(value, torch.Tensor)}+ for key in tensors:+ assert torch.equal(ours_in[key], theirs_in[key]), key+ # Greedy, the token budget, and nothing else: no sampling or stopping argument beyond diffusers' (ours adds the+ # cancel watch).+ settings = {key: value for key, value in ours_in.items() if key not in tensors | {"stopping_criteria"}}+ assert settings == {key: value for key, value in theirs_in.items() if key not in tensors}+ assert settings["do_sample"] is False+ # The request is part of what the model reads, not only its shape.+ prompt_text = processor.decode(ours_in["input_ids"][0])+ assert request_text in prompt_text+ assert prompt_text.count("<|vision_start|>") == image_count+ assert ("LOCKED BOUNDING-BOX ANNOTATIONS" in prompt_text) == bool(rows)+++def test_generation_is_one_run_with_the_given_token_budget(processor: Any) -> None:+ model = _FakeUpsampler(processor, "A calm sea.")++ upsample_flux3_prompt(model, processor, "A sea.", max_new_tokens=200, device=CPU)++ (call,) = model.calls+ assert call["max_new_tokens"] == 200+++def test_only_the_generated_tokens_are_decoded_and_stripped(processor: Any) -> None:+ model = _FakeUpsampler(processor, " A calm sea.\n")++ assert upsample_flux3_prompt(model, processor, "A sea.", device=CPU) == "A calm sea."+++def test_the_locked_rows_survive_an_answer_that_replans_them(processor: Any) -> None:+ answer = "A bay with <obj_1> over a <obj_2>, and a <gull>. " + json.dumps(+ [+ {"id": "obj_1", "bbox": [1, 1, 2, 2], "desc": " a big balloon "},+ {"id": "obj_2", "bbox": [0, 0, 5, 5], "desc": "a tower"},+ {"id": "gull", "bbox": [10, 20, 60, 90], "desc": "a gull"},+ ]+ )+ model = _FakeUpsampler(processor, answer)++ caption = upsample_flux3_prompt(model, processor, "A bay.", locked_rows=OBJECT_ROWS, device=CPU)++ text, table = caption.split(" [", 1)+ assert text == "A bay with <obj_1> over a <obj_2>, and a <gull>."+ assert json.loads("[" + table) == [+ {"id": "obj_1", "bbox": [80, 100, 450, 420], "desc": "a big balloon"},+ {"id": "obj_2", "bbox": [300, 600, 950, 900], "desc": "a tower"},+ {"id": "gull", "bbox": [10, 20, 60, 90], "desc": "a gull"},+ ]+++def test_a_cancelled_generation_stops_at_once_and_returns_no_caption(processor: Any) -> None:+ model = _FakeUpsampler(processor, "A calm sea under a pale sky, with gulls over the water. " * 4)+ polls = 0++ def canceled_after_five_tokens() -> bool:+ nonlocal polls+ polls += 1+ return polls > 5++ with pytest.raises(PromptUpsamplerCanceled):+ upsample_flux3_prompt(+ model, processor, "A sea.", locked_rows=OBJECT_ROWS, device=CPU, is_canceled=canceled_after_five_tokens+ )++ assert polls == 6 < len(model.answer_ids)+++def test_a_cancel_before_the_first_token_is_not_an_empty_caption(processor: Any) -> None:+ model = _FakeUpsampler(processor, "")++ with pytest.raises(PromptUpsamplerCanceled):+ upsample_flux3_prompt(model, processor, "A sea.", device=CPU, is_canceled=lambda: True)++[email protected]("answer", ["", " \n"])+def test_an_empty_answer_is_an_error_that_names_the_prompt_upsampler(processor: Any, answer: str) -> None:+ model = _FakeUpsampler(processor, answer)++ with pytest.raises(RuntimeError, match="prompt upsampler"):+ upsample_flux3_prompt(model, processor, "A sea.", locked_rows=OBJECT_ROWS, device=CPU)+++def test_progress_reports_the_token_count_every_interval_not_every_token(processor: Any) -> None:+ model = _FakeUpsampler(processor, "sea " * 40)+ reported: list[int] = []++ upsample_flux3_prompt(model, processor, "A sea.", device=CPU, on_progress=reported.append)++ generated = len(model.answer_ids)+ assert generated > 2 * PROGRESS_TOKEN_INTERVAL+ assert reported == list(range(PROGRESS_TOKEN_INTERVAL, generated + 1, PROGRESS_TOKEN_INTERVAL))+++def test_the_default_token_budget_is_the_reference_one() -> None:+ assert FLUX3_UPSAMPLER_MAX_NEW_TOKENS == diffusers_upsampler.MAX_NEW_TOKENS