Skip to content

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

Merge branch 'refactor/invocations-by-architecture' into feat/webv2-server-driven-model-policies

Alexander Eichhornc5026208262c
diff --cc invokeai/backend/architectures/capabilities.py
index 8ca4857c97,dc4fbf8b91..951f596a77
--- a/invokeai/backend/architectures/capabilities.py
+++ b/invokeai/backend/architectures/capabilities.py
@@@ -25,10 -29,9 +29,10 @@@ from invokeai.backend.architectures.fac
)
from invokeai.backend.architectures.facets.latent_space import LatentSpaceFacet
from invokeai.backend.architectures.facets.modality import GenerationModeKind, ModalityFacet
-from invokeai.backend.architectures.registry import generative_bases, require
+from invokeai.backend.architectures.facets.vae import VaeFacet
+from invokeai.backend.architectures.registry import generative_bases, get, require
from invokeai.backend.model_manager.configs.default_settings import MainModelDefaultSettings
- from invokeai.backend.model_manager.taxonomy import BaseModelType
+ from invokeai.backend.model_manager.taxonomy import AnyVariant, BaseModelType
class NegativePromptPolicy(BaseModel):
@@@ -78,33 -79,7 +80,27 @@@ class ArchitectureFeatures(BaseModel)
color_compensation: bool = False
vae_precision: bool = False
- model_config = ConfigDict(extra="forbid")
-
+class VaeAcceptance(BaseModel):
+ """One VAE this architecture's decode accepts."""
+
+ base: BaseModelType
+ latent_channels: int | None = Field(
+ default=None,
+ description="Null unless the base ships VAEs of more than one latent width; only wan does.",
+ )
+
- model_config = ConfigDict(extra="forbid")
-
+
+class ArchitectureVae(BaseModel):
+ """Which VAEs an architecture's decode accepts, beyond its own base.
+
+ Served because the clients keep their own copy of this and it drifts: widening a backend list
+ without the picker leaves a VAE that loads but cannot be chosen.
+ """
+
+ accepted: list[VaeAcceptance]
+
- model_config = ConfigDict(extra="forbid")
-
+
class ArchitectureCapabilities(BaseModel):
"""One row of the table."""
@@@ -118,14 -93,11 +114,14 @@@
defaults: MainModelDefaultSettings | None = Field(
default=None, description="Recommended generation parameters, if the architecture has any."
)
+ vae: ArchitectureVae | None = Field(
+ default=None, description="Null where the architecture declares no VAE compatibility beyond its own base."
+ )
- model_config = ConfigDict(extra="forbid")
-
- def _features_of(facet: FeaturesFacet, spatial_compression: int) -> ArchitectureFeatures:
+ def _features_of(
+ facet: FeaturesFacet, spatial_compression: int, variant: AnyVariant | None = None
+ ) -> ArchitectureFeatures:
return ArchitectureFeatures(
negative_prompt=NegativePromptPolicy(
visible=facet.negative_prompt.visible,
@@@ -171,30 -146,19 +170,32 @@@ def architecture_capabilities() -> list
defaults = require(base, DefaultSettingsFacet)
rendered = ArchitectureModality(modes=sorted(modality.modes), metadata_slug=modality.metadata_slug)
- rendered_features = _features_of(features, latent_space.primary.spatial_compression)
+ compression = latent_space.primary.spatial_compression
+ base_defaults = defaults.resolve()
+ # Optional: most architectures accept only their own base, which needs no row.
+ vae_facet = get(base, VaeFacet)
+ rendered_vae = (
+ ArchitectureVae(
+ accepted=[
+ VaeAcceptance(base=c.base, latent_channels=c.latent_channels)
+ for c in sorted(vae_facet.accepted, key=lambda c: (c.base.value, c.latent_channels or 0))
+ ]
+ )
+ if vae_facet is not None
+ else None
+ )
rows.append(
ArchitectureCapabilities(
base=base,
modality=rendered,
- features=rendered_features,
- defaults=defaults.resolve(),
+ features=_features_of(features, compression),
+ defaults=base_defaults,
+ vae=rendered_vae,
)
)
- for variant in sorted(v for v in defaults.by_variant if v is not None):
+ differing = (set(defaults.by_variant) | set(features.dimension_grid_by_variant)) - {None}
+ for variant in sorted(differing):
rows.append(
ArchitectureCapabilities(
base=base,
@@@ -202,9 -166,8 +203,9 @@@
# "FluxVariantType.DevFill" rather than the "dev_fill" a client stores and sends.
variant=variant.value,
modality=rendered,
- features=rendered_features,
- defaults=defaults.by_variant[variant],
+ features=_features_of(features, compression, variant),
+ defaults=defaults.by_variant.get(variant, base_defaults),
+ vae=rendered_vae,
)
)
return rows
diff --cc invokeai/frontend/web/openapi.json
index f919e35b16,8ec8b6ee07..06a43d77e6
--- a/invokeai/frontend/web/openapi.json
+++ b/invokeai/frontend/web/openapi.json
@@@ -16831,7 -16831,7 +16831,7 @@@
"category": "model",
"class": "invocation",
"classification": "prototype",
-- "description": "Loads an Anima model, outputting its submodels.\n\nAnima uses:\n- Transformer: Cosmos Predict2 DiT + LLM Adapter (from single-file checkpoint)\n- Qwen3 Encoder: Qwen3 0.6B (standalone single-file)\n- VAE: AutoencoderKLQwenImage / Wan 2.1 VAE (standalone single-file or FLUX VAE)\n\nThe T5-XXL tokenizer needed for LLM Adapter token IDs is bundled in the package,\nso no T5-XXL encoder model needs to be installed.",
++ "description": "Loads an Anima model, outputting its submodels.\n\nAnima uses:\n- Transformer: Cosmos Predict2 DiT + LLM Adapter (from single-file checkpoint)\n- Qwen3 Encoder: Qwen3 0.6B (standalone single-file)\n- VAE: AutoencoderKLQwenImage / Wan 2.1 VAE (standalone single-file)\n\nThe T5-XXL tokenizer needed for LLM Adapter token IDs is bundled in the package,\nso no T5-XXL encoder model needs to be installed.",
"node_pack": "invokeai",
"properties": {
"id": {
@@@ -16870,12 -16870,11 +16870,12 @@@
},
"vae_model": {
"$ref": "#/components/schemas/ModelIdentifierField",
-- "description": "Standalone VAE model. Anima uses a Wan 2.1 / QwenImage VAE (16-channel). A FLUX VAE can also be used as a compatible fallback.",
++ "description": "Standalone VAE model. Anima uses a Wan 2.1 / QwenImage VAE (16-channel).",
"field_kind": "input",
"input": "direct",
"orig_required": true,
"title": "VAE",
- "ui_model_base": ["anima", "qwen-image", "wan", "flux"],
++ "ui_model_base": ["anima", "qwen-image", "wan"],
"ui_model_type": ["vae"]
},
"qwen3_encoder_model": {
@@@ -17712,20 -17711,8 +17712,19 @@@
}
],
"description": "Recommended generation parameters, if the architecture has any."
+ },
+ "vae": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ArchitectureVae"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Null where the architecture declares no VAE compatibility beyond its own base."
}
},
- "additionalProperties": false,
"type": "object",
"required": ["base", "modality", "features"],
"title": "ArchitectureCapabilities",
@@@ -17890,22 -17875,6 +17887,21 @@@
"title": "ArchitectureModality",
"description": "What this architecture can produce, and what it calls it in image metadata."
},
+ "ArchitectureVae": {
+ "properties": {
+ "accepted": {
+ "items": {
+ "$ref": "#/components/schemas/VaeAcceptance"
+ },
+ "type": "array",
+ "title": "Accepted"
+ }
+ },
- "additionalProperties": false,
+ "type": "object",
+ "required": ["accepted"],
+ "title": "ArchitectureVae",
+ "description": "Which VAEs an architecture's decode accepts, beyond its own base.\n\nServed because the clients keep their own copy of this and it drifts: widening a backend list\nwithout the picker leaves a VAE that loads but cannot be chosen."
+ },
"BaseMetadata": {
"properties": {
"name": {
@@@ -97643,30 -97661,6 +97688,29 @@@
"title": "VAE_Diffusers_Wan_Config",
"description": "Model config for Wan 2.2 VAE in diffusers folder layout (AutoencoderKLWan)."
},
+ "VaeAcceptance": {
+ "properties": {
+ "base": {
+ "$ref": "#/components/schemas/BaseModelType"
+ },
+ "latent_channels": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Latent Channels",
+ "description": "Null unless the base ships VAEs of more than one latent width; only wan does."
+ }
+ },
- "additionalProperties": false,
+ "type": "object",
+ "required": ["base"],
+ "title": "VaeAcceptance",
+ "description": "One VAE this architecture's decode accepts."
+ },
"ValidationError": {
"properties": {
"loc": {
diff --cc invokeai/frontend/web/src/services/api/schema.ts
index a67d24a89d,46dbcce87e..6c4e76e814
--- a/invokeai/frontend/web/src/services/api/schema.ts
+++ b/invokeai/frontend/web/src/services/api/schema.ts
@@@ -4912,7 -4912,7 +4912,7 @@@ export type components =
* Anima uses:
* - Transformer: Cosmos Predict2 DiT + LLM Adapter (from single-file checkpoint)
* - Qwen3 Encoder: Qwen3 0.6B (standalone single-file)
-- * - VAE: AutoencoderKLQwenImage / Wan 2.1 VAE (standalone single-file or FLUX VAE)
++ * - VAE: AutoencoderKLQwenImage / Wan 2.1 VAE (standalone single-file)
*
* The T5-XXL tokenizer needed for LLM Adapter token IDs is bundled in the package,
* so no T5-XXL encoder model needs to be installed.
@@@ -4942,7 -4942,7 +4942,7 @@@
model: components["schemas"]["ModelIdentifierField"];
/**
* VAE
-- * @description Standalone VAE model. Anima uses a Wan 2.1 / QwenImage VAE (16-channel). A FLUX VAE can also be used as a compatible fallback.
++ * @description Standalone VAE model. Anima uses a Wan 2.1 / QwenImage VAE (16-channel).
*/
vae_model: components["schemas"]["ModelIdentifierField"];
/**
diff --cc invokeai/frontend/webv2/performance/architecture-baseline.json
index dda9225fb0,6e12bd0707..9ec3f07ae4
--- a/invokeai/frontend/webv2/performance/architecture-baseline.json
+++ b/invokeai/frontend/webv2/performance/architecture-baseline.json
@@@ -2,15 -2,15 +2,15 @@@
"build": {
"launchpad": {
"baseline": {
- "brotliBytes": 854316,
- "brotliBytes": 859342,
++ "brotliBytes": 859420,
"cssRawBytes": 2159,
"fontRawBytes": 219480,
- "gzipBytes": 853435,
- "gzipBytes": 858484,
++ "gzipBytes": 858588,
"imageRawBytes": 156376,
- "initialRawBytes": 1995820,
- "largestAssetRawBytes": 747209,
- "initialRawBytes": 2010846,
++ "initialRawBytes": 2011057,
+ "largestAssetRawBytes": 747218,
"otherAssetRawBytes": 0,
- "ownedRawBytes": 74248,
- "ownedRawBytes": 74441,
++ "ownedRawBytes": 74568,
"requestCount": 44,
"scriptRequestCount": 28,
"sourceOwners": [
@@@ -311,15 -311,15 +311,15 @@@
]
},
"limits": {
- "brotliBytes": 862860,
- "brotliBytes": 867936,
++ "brotliBytes": 868015,
"cssRawBytes": 2181,
"fontRawBytes": 221675,
- "gzipBytes": 861970,
- "gzipBytes": 867069,
++ "gzipBytes": 867174,
"imageRawBytes": 157940,
- "initialRawBytes": 2015779,
- "largestAssetRawBytes": 754682,
- "initialRawBytes": 2030955,
++ "initialRawBytes": 2031168,
+ "largestAssetRawBytes": 754691,
"otherAssetRawBytes": 0,
- "ownedRawBytes": 74248,
- "ownedRawBytes": 74441,
++ "ownedRawBytes": 74568,
"requestCount": 44,
"scriptRequestCount": 28
},
@@@ -329,17 -329,17 +329,17 @@@
},
"editor": {
"baseline": {
- "brotliBytes": 1176533,
- "brotliBytes": 1181537,
++ "brotliBytes": 1183830,
"cssRawBytes": 2159,
"fontRawBytes": 219480,
- "gzipBytes": 1170616,
- "gzipBytes": 1175611,
++ "gzipBytes": 1177930,
"imageRawBytes": 156376,
- "initialRawBytes": 2972732,
- "largestAssetRawBytes": 747209,
- "initialRawBytes": 2990384,
++ "initialRawBytes": 2992407,
+ "largestAssetRawBytes": 747218,
"otherAssetRawBytes": 0,
- "ownedRawBytes": 131558,
- "requestCount": 107,
- "scriptRequestCount": 91,
- "ownedRawBytes": 131266,
- "requestCount": 106,
- "scriptRequestCount": 90,
++ "ownedRawBytes": 131242,
++ "requestCount": 109,
++ "scriptRequestCount": 93,
"sourceOwners": [
"package:@ark-ui/react",
"package:@chakra-ui/react",
@@@ -1027,17 -1023,17 +1027,17 @@@
]
},
"limits": {
- "brotliBytes": 1188299,
- "brotliBytes": 1193353,
++ "brotliBytes": 1195669,
"cssRawBytes": 2181,
"fontRawBytes": 221675,
- "gzipBytes": 1182323,
- "gzipBytes": 1187368,
++ "gzipBytes": 1189710,
"imageRawBytes": 157940,
- "initialRawBytes": 3002460,
- "largestAssetRawBytes": 754682,
- "initialRawBytes": 3020288,
++ "initialRawBytes": 3022332,
+ "largestAssetRawBytes": 754691,
"otherAssetRawBytes": 0,
- "ownedRawBytes": 131558,
- "requestCount": 107,
- "scriptRequestCount": 91
- "ownedRawBytes": 131266,
- "requestCount": 106,
- "scriptRequestCount": 90
++ "ownedRawBytes": 131242,
++ "requestCount": 109,
++ "scriptRequestCount": 93
},
"owner": "workbench",
"remediationTicket": "deepen-widget-registry-loading",
diff --cc invokeai/frontend/webv2/performance/browser-baseline.json
index 74361c8ad3,1f5e3c60a4..cb4987014d
--- a/invokeai/frontend/webv2/performance/browser-baseline.json
+++ b/invokeai/frontend/webv2/performance/browser-baseline.json
@@@ -1,6 -1,6 +1,6 @@@
{
- "browserExecutable": "/home/toast/.cache/ms-playwright/chromium-1234/chrome-linux64/chrome",
- "capturedAt": "2026-09-07",
+ "browserExecutable": "C:\\Users\\PC1\\AppData\\Local\\ms-playwright\\chromium-1234\\chrome-win64\\chrome.exe",
- "capturedAt": "2026-09-09",
++ "capturedAt": "2026-09-11",
"routes": [
{
"activatedResourceBaseline": {
@@@ -25,13 -25,13 +25,13 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 110.19999998807907,
- "domContentLoadedMedianMs": 116.20000000298023,
++ "domContentLoadedMedianMs": 107.59999999403954,
"id": "launchpad",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 110.29999999701977,
- "longestTaskMaxMs": 79,
- "loadMedianMs": 116.39999999850988,
- "longestTaskMaxMs": 68,
++ "loadMedianMs": 107.79999999701977,
++ "longestTaskMaxMs": 80,
"owner": "app",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:launchpad",
@@@ -40,25 -40,25 +40,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 0,
- "largestAssetRawBytes": 747209,
- "otherRawBytes": 152221,
+ "largestAssetRawBytes": 747218,
- "otherRawBytes": 152140,
++ "otherRawBytes": 152865,
"requestCount": 39,
- "scriptRawBytes": 1691973,
- "scriptRawBytes": 1676948,
++ "scriptRawBytes": 1692314,
"scriptRequestCount": 35,
- "totalRawBytes": 1869936
- "totalRawBytes": 1853379
++ "totalRawBytes": 1871002
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 0,
- "largestAssetRawBytes": 754682,
- "otherRawBytes": 153744,
+ "largestAssetRawBytes": 754691,
- "otherRawBytes": 153662,
++ "otherRawBytes": 154394,
"requestCount": 39,
- "scriptRawBytes": 1708893,
- "scriptRawBytes": 1693718,
++ "scriptRawBytes": 1709238,
"scriptRequestCount": 35,
- "totalRawBytes": 1888636
- "totalRawBytes": 1871913
++ "totalRawBytes": 1889713
},
- "routeReadyMedianMs": 252.5,
- "routeReadyMedianMs": 260.80000000447035,
++ "routeReadyMedianMs": 246.70000000298023,
"scriptSourceOwnerSet": "launchpad-static",
"stateProfile": "empty"
},
@@@ -85,13 -85,13 +85,13 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 110.20000000298023,
- "domContentLoadedMedianMs": 118.5,
++ "domContentLoadedMedianMs": 108.20000000298023,
"id": "launchpad",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 110.3999999910593,
- "longestTaskMaxMs": 82,
- "loadMedianMs": 118.60000000149012,
- "longestTaskMaxMs": 74,
++ "loadMedianMs": 108.29999999701977,
++ "longestTaskMaxMs": 77,
"owner": "app",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:launchpad",
@@@ -100,25 -100,25 +100,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 0,
- "largestAssetRawBytes": 747209,
- "otherRawBytes": 152221,
+ "largestAssetRawBytes": 747218,
- "otherRawBytes": 152140,
++ "otherRawBytes": 152865,
"requestCount": 39,
- "scriptRawBytes": 1691973,
- "scriptRawBytes": 1676948,
++ "scriptRawBytes": 1692314,
"scriptRequestCount": 35,
- "totalRawBytes": 1869936
- "totalRawBytes": 1853379
++ "totalRawBytes": 1871002
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 0,
- "largestAssetRawBytes": 754682,
- "otherRawBytes": 153744,
+ "largestAssetRawBytes": 754691,
- "otherRawBytes": 153662,
++ "otherRawBytes": 154394,
"requestCount": 39,
- "scriptRawBytes": 1708893,
- "scriptRawBytes": 1693718,
++ "scriptRawBytes": 1709238,
"scriptRequestCount": 35,
- "totalRawBytes": 1888636
- "totalRawBytes": 1871913
++ "totalRawBytes": 1889713
},
- "routeReadyMedianMs": 262.6000000089407,
- "routeReadyMedianMs": 280.20000000298023,
++ "routeReadyMedianMs": 255.59999999403954,
"scriptSourceOwnerSet": "launchpad-static",
"stateProfile": "representative"
},
@@@ -145,40 -145,40 +145,40 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 110.40000000596046,
- "domContentLoadedMedianMs": 116.69999999552965,
++ "domContentLoadedMedianMs": 103.90000000596046,
"id": "editor-minimal",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 110.5,
- "longestTaskMaxMs": 140,
- "loadMedianMs": 116.89999999850988,
- "longestTaskMaxMs": 130,
++ "loadMedianMs": 104,
++ "longestTaskMaxMs": 135,
"owner": "workbench",
- "projectSwitchMedianMs": 38.1000000089407,
- "projectSwitchMedianMs": 38.30000000447035,
++ "projectSwitchMedianMs": 36.70000000298023,
"readyMark": "invokeai:ready:widget:center:preview",
"remediationTicket": "deepen-widget-registry-loading",
"resourceBaseline": {
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747209,
- "otherRawBytes": 152221,
- "requestCount": 122,
- "scriptRawBytes": 3511549,
- "scriptRequestCount": 117,
- "totalRawBytes": 3844356
+ "largestAssetRawBytes": 747218,
- "otherRawBytes": 152140,
- "requestCount": 123,
- "scriptRawBytes": 3541049,
- "scriptRequestCount": 118,
- "totalRawBytes": 3875388
++ "otherRawBytes": 152865,
++ "requestCount": 125,
++ "scriptRawBytes": 3545775,
++ "scriptRequestCount": 120,
++ "totalRawBytes": 3880839
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754682,
- "otherRawBytes": 153744,
- "requestCount": 122,
- "scriptRawBytes": 3546665,
- "scriptRequestCount": 117,
- "totalRawBytes": 3882800
+ "largestAssetRawBytes": 754691,
- "otherRawBytes": 153662,
- "requestCount": 123,
- "scriptRawBytes": 3576460,
- "scriptRequestCount": 118,
- "totalRawBytes": 3914142
++ "otherRawBytes": 154394,
++ "requestCount": 125,
++ "scriptRawBytes": 3581233,
++ "scriptRequestCount": 120,
++ "totalRawBytes": 3919648
},
- "routeReadyMedianMs": 393.6000000089407,
- "routeReadyMedianMs": 427,
++ "routeReadyMedianMs": 376.20000000298023,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "empty"
},
@@@ -205,40 -205,40 +205,40 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 114.19999998807907,
- "domContentLoadedMedianMs": 119,
++ "domContentLoadedMedianMs": 107.5,
"id": "editor-minimal",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 114.29999999701977,
- "longestTaskMaxMs": 139,
- "loadMedianMs": 119.19999999552965,
- "longestTaskMaxMs": 123,
++ "loadMedianMs": 107.59999999403954,
++ "longestTaskMaxMs": 140,
"owner": "workbench",
- "projectSwitchMedianMs": 45.20000000298023,
- "projectSwitchMedianMs": 43.20000000298023,
++ "projectSwitchMedianMs": 42.8999999910593,
"readyMark": "invokeai:ready:widget:center:preview",
"remediationTicket": "deepen-widget-registry-loading",
"resourceBaseline": {
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747209,
- "otherRawBytes": 152221,
- "requestCount": 122,
- "scriptRawBytes": 3511549,
- "scriptRequestCount": 117,
- "totalRawBytes": 3844356
+ "largestAssetRawBytes": 747218,
- "otherRawBytes": 152140,
- "requestCount": 123,
- "scriptRawBytes": 3541049,
- "scriptRequestCount": 118,
- "totalRawBytes": 3875388
++ "otherRawBytes": 152865,
++ "requestCount": 125,
++ "scriptRawBytes": 3545775,
++ "scriptRequestCount": 120,
++ "totalRawBytes": 3880839
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754682,
- "otherRawBytes": 153744,
- "requestCount": 122,
- "scriptRawBytes": 3546665,
- "scriptRequestCount": 117,
- "totalRawBytes": 3882800
+ "largestAssetRawBytes": 754691,
- "otherRawBytes": 153662,
- "requestCount": 123,
- "scriptRawBytes": 3576460,
- "scriptRequestCount": 118,
- "totalRawBytes": 3914142
++ "otherRawBytes": 154394,
++ "requestCount": 125,
++ "scriptRawBytes": 3581233,
++ "scriptRequestCount": 120,
++ "totalRawBytes": 3919648
},
- "routeReadyMedianMs": 419.80000001192093,
- "routeReadyMedianMs": 434.1000000014901,
++ "routeReadyMedianMs": 387.79999999701977,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "representative"
},
@@@ -247,31 -247,31 +247,31 @@@
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 307179,
- "largestAssetRawBytes": 319690,
++ "largestAssetRawBytes": 307527,
"otherRawBytes": 0,
"requestCount": 10,
- "scriptRawBytes": 501646,
- "scriptRawBytes": 501642,
++ "scriptRawBytes": 502144,
"scriptRequestCount": 10,
- "totalRawBytes": 501646
- "totalRawBytes": 501642
++ "totalRawBytes": 502144
},
"activatedResourceLimits": {
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 310251,
- "largestAssetRawBytes": 322887,
++ "largestAssetRawBytes": 310603,
"otherRawBytes": 0,
"requestCount": 10,
- "scriptRawBytes": 506663,
- "scriptRawBytes": 506659,
++ "scriptRawBytes": 507166,
"scriptRequestCount": 10,
- "totalRawBytes": 506663
- "totalRawBytes": 506659
++ "totalRawBytes": 507166
},
- "domContentLoadedMedianMs": 112,
- "domContentLoadedMedianMs": 118.09999999403954,
++ "domContentLoadedMedianMs": 104.20000000298023,
"id": "editor-canvas",
- "layoutAckMedianMs": 2.5,
- "layoutReturnSwitchMedianMs": 63,
- "layoutSwitchMedianMs": 82.5,
- "loadMedianMs": 112.09999999403954,
- "longestTaskMaxMs": 174,
- "layoutAckMedianMs": 2.3000000044703484,
- "layoutReturnSwitchMedianMs": 56.69999999552965,
- "layoutSwitchMedianMs": 83.80000000447035,
- "loadMedianMs": 118.29999999701977,
- "longestTaskMaxMs": 138,
++ "layoutAckMedianMs": 2.2999999970197678,
++ "layoutReturnSwitchMedianMs": 61.3999999910593,
++ "layoutSwitchMedianMs": 74.70000000298023,
++ "loadMedianMs": 104.30000001192093,
++ "longestTaskMaxMs": 137,
"owner": "canvas",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:canvas",
@@@ -280,25 -280,25 +280,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747209,
- "otherRawBytes": 152221,
- "requestCount": 132,
- "scriptRawBytes": 4013191,
- "scriptRequestCount": 127,
- "totalRawBytes": 4345998
+ "largestAssetRawBytes": 747218,
- "otherRawBytes": 152140,
- "requestCount": 133,
- "scriptRawBytes": 4042695,
- "scriptRequestCount": 128,
- "totalRawBytes": 4377034
++ "otherRawBytes": 152865,
++ "requestCount": 135,
++ "scriptRawBytes": 4047919,
++ "scriptRequestCount": 130,
++ "totalRawBytes": 4382983
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754682,
- "otherRawBytes": 153744,
- "requestCount": 132,
- "scriptRawBytes": 4053323,
- "scriptRequestCount": 127,
- "totalRawBytes": 4389458
+ "largestAssetRawBytes": 754691,
- "otherRawBytes": 153662,
- "requestCount": 133,
- "scriptRawBytes": 4083122,
- "scriptRequestCount": 128,
- "totalRawBytes": 4420805
++ "otherRawBytes": 154394,
++ "requestCount": 135,
++ "scriptRawBytes": 4088399,
++ "scriptRequestCount": 130,
++ "totalRawBytes": 4426813
},
- "routeReadyMedianMs": 1152.9000000059605,
- "routeReadyMedianMs": 1114.5,
++ "routeReadyMedianMs": 1080,
"scriptSourceOwnerSet": "editor-canvas-static",
"stateProfile": "empty"
},
@@@ -307,31 -307,31 +307,31 @@@
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 307179,
- "largestAssetRawBytes": 319690,
++ "largestAssetRawBytes": 307527,
"otherRawBytes": 0,
"requestCount": 10,
- "scriptRawBytes": 501646,
- "scriptRawBytes": 501642,
++ "scriptRawBytes": 502144,
"scriptRequestCount": 10,
- "totalRawBytes": 501646
- "totalRawBytes": 501642
++ "totalRawBytes": 502144
},
"activatedResourceLimits": {
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 310251,
- "largestAssetRawBytes": 322887,
++ "largestAssetRawBytes": 310603,
"otherRawBytes": 0,
"requestCount": 10,
- "scriptRawBytes": 506663,
- "scriptRawBytes": 506659,
++ "scriptRawBytes": 507166,
"scriptRequestCount": 10,
- "totalRawBytes": 506663
- "totalRawBytes": 506659
++ "totalRawBytes": 507166
},
- "domContentLoadedMedianMs": 110.79999999701977,
- "domContentLoadedMedianMs": 118.79999999701977,
++ "domContentLoadedMedianMs": 103,
"id": "editor-canvas",
- "layoutAckMedianMs": 3.2000000029802322,
- "layoutReturnSwitchMedianMs": 48,
- "layoutSwitchMedianMs": 78.79999999701977,
- "loadMedianMs": 110.90000000596046,
- "longestTaskMaxMs": 185,
- "layoutAckMedianMs": 3.0999999940395355,
- "layoutReturnSwitchMedianMs": 51.20000000298023,
- "layoutSwitchMedianMs": 77,
- "loadMedianMs": 118.89999999850988,
- "longestTaskMaxMs": 182,
++ "layoutAckMedianMs": 3.199999988079071,
++ "layoutReturnSwitchMedianMs": 46.19999998807907,
++ "layoutSwitchMedianMs": 77.20000000298023,
++ "loadMedianMs": 103.1000000089407,
++ "longestTaskMaxMs": 187,
"owner": "canvas",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:canvas",
@@@ -340,25 -340,25 +340,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747209,
- "otherRawBytes": 152221,
- "requestCount": 132,
- "scriptRawBytes": 4013191,
- "scriptRequestCount": 127,
- "totalRawBytes": 4345998
+ "largestAssetRawBytes": 747218,
- "otherRawBytes": 152140,
- "requestCount": 133,
- "scriptRawBytes": 4042695,
- "scriptRequestCount": 128,
- "totalRawBytes": 4377034
++ "otherRawBytes": 152865,
++ "requestCount": 135,
++ "scriptRawBytes": 4047919,
++ "scriptRequestCount": 130,
++ "totalRawBytes": 4382983
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754682,
- "otherRawBytes": 153744,
- "requestCount": 132,
- "scriptRawBytes": 4053323,
- "scriptRequestCount": 127,
- "totalRawBytes": 4389458
+ "largestAssetRawBytes": 754691,
- "otherRawBytes": 153662,
- "requestCount": 133,
- "scriptRawBytes": 4083122,
- "scriptRequestCount": 128,
- "totalRawBytes": 4420805
++ "otherRawBytes": 154394,
++ "requestCount": 135,
++ "scriptRawBytes": 4088399,
++ "scriptRequestCount": 130,
++ "totalRawBytes": 4426813
},
- "routeReadyMedianMs": 1110.9000000059605,
- "routeReadyMedianMs": 1118.8999999985099,
++ "routeReadyMedianMs": 1087.6000000089407,
"scriptSourceOwnerSet": "editor-canvas-static",
"stateProfile": "representative"
},
@@@ -381,17 -381,17 +381,17 @@@
"largestAssetRawBytes": 175873,
"otherRawBytes": 0,
"requestCount": 7,
- "scriptRawBytes": 371961,
+ "scriptRawBytes": 371968,
"scriptRequestCount": 6,
- "totalRawBytes": 387528
+ "totalRawBytes": 387535
},
- "domContentLoadedMedianMs": 105.1000000089407,
- "domContentLoadedMedianMs": 119.5,
++ "domContentLoadedMedianMs": 103.40000000596046,
"id": "editor-workflow",
- "layoutAckMedianMs": 2.5,
- "layoutReturnSwitchMedianMs": 32.3999999910593,
- "layoutSwitchMedianMs": 77.3999999910593,
- "loadMedianMs": 105.20000000298023,
- "longestTaskMaxMs": 136,
- "layoutAckMedianMs": 2.4000000059604645,
- "layoutReturnSwitchMedianMs": 32.20000000298023,
- "layoutSwitchMedianMs": 87.80000000447035,
- "loadMedianMs": 119.69999999552965,
- "longestTaskMaxMs": 121,
++ "layoutAckMedianMs": 2.2000000029802322,
++ "layoutReturnSwitchMedianMs": 32.900000005960464,
++ "layoutSwitchMedianMs": 72.6000000089407,
++ "loadMedianMs": 103.5,
++ "longestTaskMaxMs": 137,
"owner": "workflow",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:workflow",
@@@ -400,25 -400,25 +400,25 @@@
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747209,
- "otherRawBytes": 152221,
- "requestCount": 129,
- "scriptRawBytes": 3879827,
- "scriptRequestCount": 123,
- "totalRawBytes": 4228047
+ "largestAssetRawBytes": 747218,
- "otherRawBytes": 152140,
- "requestCount": 130,
- "scriptRawBytes": 3909334,
- "scriptRequestCount": 124,
- "totalRawBytes": 4259086
++ "otherRawBytes": 152865,
++ "requestCount": 132,
++ "scriptRawBytes": 3914060,
++ "scriptRequestCount": 126,
++ "totalRawBytes": 4264537
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754682,
- "otherRawBytes": 153744,
- "requestCount": 129,
- "scriptRawBytes": 3918626,
- "scriptRequestCount": 123,
- "totalRawBytes": 4270328
+ "largestAssetRawBytes": 754691,
- "otherRawBytes": 153662,
- "requestCount": 130,
- "scriptRawBytes": 3948428,
- "scriptRequestCount": 124,
- "totalRawBytes": 4301677
++ "otherRawBytes": 154394,
++ "requestCount": 132,
++ "scriptRawBytes": 3953201,
++ "scriptRequestCount": 126,
++ "totalRawBytes": 4307183
},
- "routeReadyMedianMs": 1099.2999999970198,
- "routeReadyMedianMs": 1104.7999999970198,
++ "routeReadyMedianMs": 1075.6000000089407,
"scriptSourceOwnerSet": "editor-workflow-static",
"stateProfile": "empty"
},
@@@ -441,17 -441,17 +441,17 @@@
"largestAssetRawBytes": 175873,
"otherRawBytes": 0,
"requestCount": 7,
- "scriptRawBytes": 371961,
+ "scriptRawBytes": 371968,
"scriptRequestCount": 6,
- "totalRawBytes": 387528
+ "totalRawBytes": 387535
},
- "domContentLoadedMedianMs": 107.6000000089407,
- "domContentLoadedMedianMs": 116.69999999552965,
++ "domContentLoadedMedianMs": 108,
"id": "editor-workflow",
- "layoutAckMedianMs": 3.5,
- "layoutReturnSwitchMedianMs": 40.099999994039536,
- "layoutSwitchMedianMs": 119.5,
- "loadMedianMs": 107.70000000298023,
- "longestTaskMaxMs": 360,
- "layoutAckMedianMs": 3.2999999970197678,
- "layoutReturnSwitchMedianMs": 39.70000000298023,
- "layoutSwitchMedianMs": 127.09999999403954,
- "loadMedianMs": 116.79999999701977,
- "longestTaskMaxMs": 367,
++ "layoutAckMedianMs": 3,
++ "layoutReturnSwitchMedianMs": 37.900000005960464,
++ "layoutSwitchMedianMs": 116.6000000089407,
++ "loadMedianMs": 108.20000000298023,
++ "longestTaskMaxMs": 358,
"owner": "workflow",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:workflow",
@@@ -460,25 -460,25 +460,25 @@@
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747209,
- "otherRawBytes": 152221,
- "requestCount": 129,
- "scriptRawBytes": 3879827,
- "scriptRequestCount": 123,
- "totalRawBytes": 4228047
+ "largestAssetRawBytes": 747218,
- "otherRawBytes": 152140,
- "requestCount": 130,
- "scriptRawBytes": 3909334,
- "scriptRequestCount": 124,
- "totalRawBytes": 4259086
++ "otherRawBytes": 152865,
++ "requestCount": 132,
++ "scriptRawBytes": 3914060,
++ "scriptRequestCount": 126,
++ "totalRawBytes": 4264537
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754682,
- "otherRawBytes": 153744,
- "requestCount": 129,
- "scriptRawBytes": 3918626,
- "scriptRequestCount": 123,
- "totalRawBytes": 4270328
+ "largestAssetRawBytes": 754691,
- "otherRawBytes": 153662,
- "requestCount": 130,
- "scriptRawBytes": 3948428,
- "scriptRequestCount": 124,
- "totalRawBytes": 4301677
++ "otherRawBytes": 154394,
++ "requestCount": 132,
++ "scriptRawBytes": 3953201,
++ "scriptRequestCount": 126,
++ "totalRawBytes": 4307183
},
- "routeReadyMedianMs": 1147.0999999940395,
- "routeReadyMedianMs": 1149.8999999985099,
++ "routeReadyMedianMs": 1133.9000000059605,
"scriptSourceOwnerSet": "editor-workflow-static",
"stateProfile": "representative"
},
@@@ -505,13 -505,13 +505,13 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 106.40000000596046,
- "domContentLoadedMedianMs": 114.20000000298023,
++ "domContentLoadedMedianMs": 102,
"id": "editor-gallery",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
-- "layoutSwitchMedianMs": 24.700000002980232,
- "loadMedianMs": 106.5,
- "longestTaskMaxMs": 138,
- "loadMedianMs": 114.39999999850988,
- "longestTaskMaxMs": 126,
++ "layoutSwitchMedianMs": 24.400000005960464,
++ "loadMedianMs": 102.19999998807907,
++ "longestTaskMaxMs": 132,
"owner": "gallery",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:gallery",
@@@ -520,25 -520,25 +520,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747209,
- "otherRawBytes": 152221,
- "requestCount": 122,
- "scriptRawBytes": 3511549,
- "scriptRequestCount": 117,
- "totalRawBytes": 3844356
+ "largestAssetRawBytes": 747218,
- "otherRawBytes": 152140,
- "requestCount": 123,
- "scriptRawBytes": 3541049,
- "scriptRequestCount": 118,
- "totalRawBytes": 3875388
++ "otherRawBytes": 152865,
++ "requestCount": 125,
++ "scriptRawBytes": 3545775,
++ "scriptRequestCount": 120,
++ "totalRawBytes": 3880839
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754682,
- "otherRawBytes": 153744,
- "requestCount": 122,
- "scriptRawBytes": 3546665,
- "scriptRequestCount": 117,
- "totalRawBytes": 3882800
+ "largestAssetRawBytes": 754691,
- "otherRawBytes": 153662,
- "requestCount": 123,
- "scriptRawBytes": 3576460,
- "scriptRequestCount": 118,
- "totalRawBytes": 3914142
++ "otherRawBytes": 154394,
++ "requestCount": 125,
++ "scriptRawBytes": 3581233,
++ "scriptRequestCount": 120,
++ "totalRawBytes": 3919648
},
- "routeReadyMedianMs": 1310,
- "routeReadyMedianMs": 1309.3999999985099,
++ "routeReadyMedianMs": 1297.5,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "empty"
},
@@@ -565,13 -565,13 +565,13 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 105.20000000298023,
- "domContentLoadedMedianMs": 116.30000000447035,
++ "domContentLoadedMedianMs": 104.90000000596046,
"id": "editor-gallery",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
- "layoutSwitchMedianMs": 33.599999994039536,
- "loadMedianMs": 105.29999999701977,
- "longestTaskMaxMs": 137,
- "layoutSwitchMedianMs": 32.900000005960464,
- "loadMedianMs": 116.40000000596046,
- "longestTaskMaxMs": 116,
++ "layoutSwitchMedianMs": 33.29999999701977,
++ "loadMedianMs": 105.09999999403954,
++ "longestTaskMaxMs": 131,
"owner": "gallery",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:gallery",
@@@ -580,25 -580,25 +580,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747209,
- "otherRawBytes": 152221,
- "requestCount": 122,
- "scriptRawBytes": 3511549,
- "scriptRequestCount": 117,
- "totalRawBytes": 3844356
+ "largestAssetRawBytes": 747218,
- "otherRawBytes": 152140,
- "requestCount": 123,
- "scriptRawBytes": 3541049,
- "scriptRequestCount": 118,
- "totalRawBytes": 3875388
++ "otherRawBytes": 152865,
++ "requestCount": 125,
++ "scriptRawBytes": 3545775,
++ "scriptRequestCount": 120,
++ "totalRawBytes": 3880839
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754682,
- "otherRawBytes": 153744,
- "requestCount": 122,
- "scriptRawBytes": 3546665,
- "scriptRequestCount": 117,
- "totalRawBytes": 3882800
+ "largestAssetRawBytes": 754691,
- "otherRawBytes": 153662,
- "requestCount": 123,
- "scriptRawBytes": 3576460,
- "scriptRequestCount": 118,
- "totalRawBytes": 3914142
++ "otherRawBytes": 154394,
++ "requestCount": 125,
++ "scriptRawBytes": 3581233,
++ "scriptRequestCount": 120,
++ "totalRawBytes": 3919648
},
- "routeReadyMedianMs": 1322.9000000059605,
- "routeReadyMedianMs": 1329.0999999940395,
++ "routeReadyMedianMs": 1305.2000000029802,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "representative"
}
diff --cc invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json
index dfd6ee4f4c,0000000000..968e7ee2a9
mode 100644,000000..100644
--- a/invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json
+++ b/invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json
@@@ -1,1281 -1,0 +1,1281 @@@
+[
+ {
+ "base": "anima",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "anima"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "cfg-gated"
+ },
+ "dimension_grid": 8,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "anima",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 35,
+ "cfg_scale": 4.5,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": {
+ "accepted": [
+ {
+ "base": "anima",
+ "latent_channels": null
+ },
+ {
+ "base": "qwen-image",
+ "latent_channels": null
+ },
+ {
+ "base": "wan",
+ "latent_channels": 16
+ }
+ ]
+ }
+ },
+ {
+ "base": "cogview4",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "cogview4"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "always"
+ },
+ "dimension_grid": 32,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "standard",
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler_a",
+ "steps": 50,
+ "cfg_scale": 3.5,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "ernie-image",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "txt2img"
+ ],
+ "metadata_slug": "ernie_image"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "cfg-gated"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 50,
+ "cfg_scale": 4.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "flux",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "flux"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": false,
+ "usage": "never"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "Guidance",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [
+ "control_lora",
+ "controlnet"
+ ],
+ "max_reference_images": 5,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 28,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": 3.5,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "flux",
+ "variant": "dev_fill",
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "flux"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": false,
+ "usage": "never"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "Guidance",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [
+ "control_lora",
+ "controlnet"
+ ],
+ "max_reference_images": 5,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 50,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": 30.0,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "flux",
+ "variant": "schnell",
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "flux"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": false,
+ "usage": "never"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "Guidance",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [
+ "control_lora",
+ "controlnet"
+ ],
+ "max_reference_images": 5,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 4,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "flux2",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "flux2"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": false,
+ "usage": "never"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "Guidance",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [],
+ "max_reference_images": 5,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 4,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "flux2",
+ "variant": "dev",
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "flux2"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": false,
+ "usage": "never"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "Guidance",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [],
+ "max_reference_images": 5,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 28,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": 3.5,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "flux2",
+ "variant": "klein_4b_base",
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "flux2"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": false,
+ "usage": "never"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "Guidance",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [],
+ "max_reference_images": 5,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 28,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "flux2",
+ "variant": "klein_9b_base",
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "flux2"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": false,
+ "usage": "never"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "Guidance",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [],
+ "max_reference_images": 5,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 28,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "ideogram-4",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "txt2img"
+ ],
+ "metadata_slug": "ideogram4"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": false,
+ "usage": "never"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "Guidance",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 48,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "krea-2",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "krea2"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "cfg-gated"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 8,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": {
+ "accepted": [
+ {
+ "base": "anima",
+ "latent_channels": null
+ },
+ {
+ "base": "qwen-image",
+ "latent_channels": null
+ }
+ ]
+ }
+ },
+ {
+ "base": "krea-2",
+ "variant": "krea2_base",
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "krea2"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "cfg-gated"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 28,
+ "cfg_scale": 5.5,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": {
+ "accepted": [
+ {
+ "base": "anima",
+ "latent_channels": null
+ },
+ {
+ "base": "qwen-image",
+ "latent_channels": null
+ }
+ ]
+ }
+ },
+ {
+ "base": "minimax-h3",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "extend_video",
+ "flf2v",
+ "i2v",
+ "lf2v",
+ "ref2v",
+ "t2v",
+ "txt2img"
+ ],
+ "metadata_slug": "minimax_h3"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": false,
+ "usage": "never"
+ },
+ "dimension_grid": 32,
+ "spatial_compression": 16,
+ "guidance_label": "Guidance",
+ "scheduler_set": null,
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": null,
+ "steps": 50,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1344,
+ "height": 768,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "qwen-image",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "qwen_image"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "cfg-gated"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "standard",
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 5,
+ "reference_images_require_variant": "edit",
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler_a",
+ "steps": 40,
+ "cfg_scale": 4.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": {
+ "accepted": [
+ {
+ "base": "anima",
+ "latent_channels": null
+ },
+ {
+ "base": "qwen-image",
+ "latent_channels": null
+ }
+ ]
+ }
+ },
+ {
+ "base": "sd-1",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": null
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "always"
+ },
+ "dimension_grid": 8,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "standard",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [
+ "controlnet",
+ "t2i_adapter"
+ ],
+ "max_reference_images": 5,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": true,
+ "clip_skip_max": 12,
+ "supports_seamless": true,
+ "supports_cfg_rescale": true,
+ "sd_vae_override": true,
+ "color_compensation": false,
+ "vae_precision": true
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler_a",
+ "steps": 30,
+ "cfg_scale": 7.0,
+ "cfg_rescale_multiplier": null,
+ "width": 512,
+ "height": 512,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "sd-2",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": null
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "always"
+ },
+ "dimension_grid": 8,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "standard",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": true,
+ "clip_skip_max": 24,
+ "supports_seamless": true,
+ "supports_cfg_rescale": true,
+ "sd_vae_override": true,
+ "color_compensation": false,
+ "vae_precision": true
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler_a",
+ "steps": 30,
+ "cfg_scale": 7.0,
+ "cfg_rescale_multiplier": null,
+ "width": 768,
+ "height": 768,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "sd-3",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "sd3"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "always"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "standard",
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler_a",
+ "steps": 40,
+ "cfg_scale": 4.5,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "sdxl",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "sdxl"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "always"
+ },
+ "dimension_grid": 8,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "standard",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [
+ "controlnet",
+ "t2i_adapter"
+ ],
+ "max_reference_images": 5,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": true,
+ "clip_skip_max": null,
+ "supports_seamless": true,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": true,
+ "color_compensation": true,
+ "vae_precision": true
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler_a",
+ "steps": 30,
+ "cfg_scale": 7.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "sdxl-refiner",
+ "variant": null,
+ "modality": {
+ "modes": [],
+ "metadata_slug": null
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "always"
+ },
+ "dimension_grid": 8,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "standard",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": true,
+ "color_compensation": true,
+ "vae_precision": true
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": null,
+ "steps": null,
+ "cfg_scale": null,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": null
+ },
+ {
+ "base": "wan",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "extend_video",
+ "i2v",
+ "img2img",
+ "inpaint",
+ "interpolate",
+ "outpaint",
+ "t2v",
+ "txt2img"
+ ],
+ "metadata_slug": "wan"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "always"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "Guidance",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 40,
+ "cfg_scale": 4.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": {
+ "accepted": [
+ {
+ "base": "wan",
+ "latent_channels": 16
+ },
+ {
+ "base": "wan",
+ "latent_channels": 48
+ }
+ ]
+ }
+ },
+ {
+ "base": "wan",
+ "variant": "ti2v_5b",
+ "modality": {
+ "modes": [
+ "extend_video",
+ "i2v",
+ "img2img",
+ "inpaint",
+ "interpolate",
+ "outpaint",
+ "t2v",
+ "txt2img"
+ ],
+ "metadata_slug": "wan"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "always"
+ },
- "dimension_grid": 16,
++ "dimension_grid": 32,
+ "spatial_compression": 8,
+ "guidance_label": "Guidance",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": false,
+ "control_kinds": [],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": false,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 30,
+ "cfg_scale": 5.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": {
+ "accepted": [
+ {
+ "base": "wan",
+ "latent_channels": 16
+ },
+ {
+ "base": "wan",
+ "latent_channels": 48
+ }
+ ]
+ }
+ },
+ {
+ "base": "z-image",
+ "variant": null,
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "z_image"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "cfg-gated"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [
+ "z_image_control"
+ ],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 9,
+ "cfg_scale": 1.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": {
+ "accepted": [
+ {
+ "base": "flux",
+ "latent_channels": null
+ }
+ ]
+ }
+ },
+ {
+ "base": "z-image",
+ "variant": "zbase",
+ "modality": {
+ "modes": [
+ "img2img",
+ "inpaint",
+ "outpaint",
+ "txt2img"
+ ],
+ "metadata_slug": "z_image"
+ },
+ "features": {
+ "negative_prompt": {
+ "visible": true,
+ "usage": "cfg-gated"
+ },
+ "dimension_grid": 16,
+ "spatial_compression": 8,
+ "guidance_label": "CFG",
+ "scheduler_set": "flow",
+ "scheduler_applies_to_graph": true,
+ "control_kinds": [
+ "z_image_control"
+ ],
+ "max_reference_images": 0,
+ "reference_images_require_variant": null,
+ "supports_regional_guidance": true,
+ "regional_negative": false,
+ "clip_skip_max": null,
+ "supports_seamless": false,
+ "supports_cfg_rescale": false,
+ "sd_vae_override": false,
+ "color_compensation": false,
+ "vae_precision": false
+ },
+ "defaults": {
+ "vae": null,
+ "vae_precision": null,
+ "scheduler": "euler",
+ "steps": 50,
+ "cfg_scale": 4.0,
+ "cfg_rescale_multiplier": null,
+ "width": 1024,
+ "height": 1024,
+ "guidance": null,
+ "cpu_only": null,
+ "fp8_storage": null
+ },
+ "vae": {
+ "accepted": [
+ {
+ "base": "flux",
+ "latent_channels": null
+ }
+ ]
+ }
+ }
+]
diff --cc invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.json
index 1942f85a46,677fb1c3e7..42ef8d8eb5
--- a/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.json
+++ b/invokeai/frontend/webv2/src/features/generation/core/__snapshots__/generateGraphNodeTypes.json
@@@ -269,6 -269,35 +269,35 @@@
"seed",
"transformer"
],
+ "literalInputs": {
+ "denoising_end": [
+ 1
+ ],
+ "denoising_start": [
+ 0
+ ],
+ "guidance_scale": [
- 4
++ 4.5
+ ],
+ "height": [
+ 1024
+ ],
+ "is_intermediate": [
+ true
+ ],
+ "scheduler": [
+ "euler"
+ ],
+ "steps": [
- 30
++ 35
+ ],
+ "use_cache": [
+ true
+ ],
+ "width": [
+ 1024
+ ]
+ },
"outputs": [
"latents"
]
@@@ -313,6 -380,26 +380,26 @@@
"seed",
"transformer"
],
+ "literalInputs": {
+ "cfg_scale": [
- 7
++ 3.5
+ ],
+ "height": [
+ 1024
+ ],
+ "is_intermediate": [
+ true
+ ],
+ "steps": [
- 30
++ 50
+ ],
+ "use_cache": [
+ true
+ ],
+ "width": [
+ 1024
+ ]
+ },
"outputs": [
"latents"
]
@@@ -365,6 -493,121 +493,128 @@@
"positive_prompt",
"seed"
],
+ "literalInputs": {
+ "cfg_rescale_multiplier": [
+ 0
+ ],
+ "cfg_scale": [
+ 1,
++ 3.5,
+ 4,
++ 4.5,
+ 7
+ ],
+ "clip_embed_model": [],
+ "clip_skip": [
+ 0
+ ],
+ "generation_mode": [
+ "anima_txt2img",
+ "cogview4_txt2img",
+ "ernie_image_txt2img",
+ "flux_txt2img",
+ "flux2_txt2img",
+ "ideogram4_txt2img",
+ "krea2_txt2img",
+ "qwen_image_txt2img",
+ "sd3_txt2img",
+ "sdxl_txt2img",
+ "txt2img",
+ "wan_txt2img",
+ "z_image_txt2img"
+ ],
+ "guidance": [
- 4
++ 3.5
+ ],
+ "height": [
+ 1024,
- 512
++ 512,
++ 768
+ ],
+ "hidiffusion": [
+ false
+ ],
+ "hidiffusion_raunet": [
+ true
+ ],
+ "hidiffusion_t1_ratio": [
+ 0.4
+ ],
+ "hidiffusion_t2_ratio": [
+ 0
+ ],
+ "hidiffusion_window_attn": [
+ true
+ ],
+ "ideogram4_color_palette": [],
+ "ideogram4_sampler_preset": [
+ "V4_QUALITY_48"
+ ],
+ "is_intermediate": [
+ true
+ ],
+ "krea2_rebalance_enabled": [
+ false
+ ],
+ "krea2_rebalance_multiplier": [
+ 4
+ ],
+ "krea2_rebalance_weights": [
+ "1.0,1.0,1.0,1.0,1.0,1.0,1.0,2.5,5.0,1.1,4.0,1.0"
+ ],
+ "krea2_seed_variance_enabled": [
+ false
+ ],
+ "krea2_seed_variance_randomize_percent": [
+ 50
+ ],
+ "krea2_seed_variance_strength": [
+ 0.1
+ ],
+ "mistral_encoder": [],
+ "model": [],
+ "qwen_image_qwen_vl_encoder": [],
+ "qwen_image_vae": [],
+ "qwen3_encoder": [],
+ "qwen3_source": [],
+ "qwen3_vl_encoder": [],
+ "rand_device": [
+ "cpu"
+ ],
+ "scheduler": [
+ "euler_a",
+ "euler"
+ ],
+ "seamless_x": [
+ false
+ ],
+ "seamless_y": [
+ false
+ ],
+ "steps": [
++ 28,
+ 30,
++ 35,
+ 4,
+ 40,
+ 48,
+ 50,
- 8
++ 8,
++ 9
+ ],
+ "t5_encoder": [],
+ "use_cache": [
+ true
+ ],
+ "vae": [],
+ "wan_component_source": [],
+ "wan_t5_encoder": [],
+ "width": [
+ 1024,
- 512
++ 512,
++ 768
+ ]
+ },
"outputs": [
"metadata"
]
@@@ -423,6 -758,35 +765,35 @@@
"seed",
"transformer"
],
+ "literalInputs": {
+ "denoising_end": [
+ 1
+ ],
+ "denoising_start": [
+ 0
+ ],
+ "guidance": [
- 4
++ 3.5
+ ],
+ "height": [
+ 1024
+ ],
+ "is_intermediate": [
+ true
+ ],
+ "num_steps": [
- 4
++ 28
+ ],
+ "scheduler": [
+ "euler"
+ ],
+ "use_cache": [
+ true
+ ],
+ "width": [
+ 1024
+ ]
+ },
"outputs": [
"latents"
]
@@@ -463,6 -855,38 +862,40 @@@
"transformer",
"vae"
],
+ "literalInputs": {
+ "cfg_scale": [
+ 1
+ ],
+ "denoising_end": [
+ 1
+ ],
+ "denoising_start": [
+ 0
+ ],
+ "guidance": [
- 1
++ 1,
++ 3.5
+ ],
+ "height": [
+ 1024
+ ],
+ "is_intermediate": [
+ true
+ ],
+ "num_steps": [
++ 28,
+ 4
+ ],
+ "scheduler": [
+ "euler"
+ ],
+ "use_cache": [
+ true
+ ],
+ "width": [
+ 1024
+ ]
+ },
"outputs": [
"latents"
]
@@@ -609,6 -1200,25 +1209,27 @@@
"inputs": [
"seed"
],
+ "literalInputs": {
+ "height": [
+ 1024,
- 512
++ 512,
++ 768
+ ],
+ "is_intermediate": [
+ true
+ ],
+ "use_cache": [
+ true
+ ],
+ "use_cpu": [
+ true
+ ],
+ "width": [
+ 1024,
- 512
++ 512,
++ 768
+ ]
+ },
"outputs": [
"noise"
]
@@@ -656,6 -1313,32 +1324,32 @@@
"seed",
"transformer"
],
+ "literalInputs": {
+ "cfg_scale": [
- 7
++ 4.5
+ ],
+ "denoising_end": [
+ 1
+ ],
+ "denoising_start": [
+ 0
+ ],
+ "height": [
+ 1024
+ ],
+ "is_intermediate": [
+ true
+ ],
+ "steps": [
- 30
++ 40
+ ],
+ "use_cache": [
+ true
+ ],
+ "width": [
+ 1024
+ ]
+ },
"outputs": [
"latents"
]
@@@ -758,6 -1539,35 +1550,35 @@@
"transformer",
"vae"
],
+ "literalInputs": {
+ "denoising_end": [
+ 1
+ ],
+ "denoising_start": [
+ 0
+ ],
+ "guidance_scale": [
+ 1
+ ],
+ "height": [
+ 1024
+ ],
+ "is_intermediate": [
+ true
+ ],
+ "scheduler": [
+ "euler"
+ ],
+ "steps": [
- 8
++ 9
+ ],
+ "use_cache": [
+ true
+ ],
+ "width": [
+ 1024
+ ]
+ },
"outputs": [
"latents"
]
diff --cc invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.browser.test.tsx
index 0000000000,7f35308903..31b73d16a5
mode 000000,100644..100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.browser.test.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.browser.test.tsx
@@@ -1,0 -1,130 +1,135 @@@
+ /* oxlint-disable react-perf/jsx-no-new-object-as-prop */
+ import type { MainModelConfig } from '@features/generation/core/types';
+
+ import { ChakraProvider } from '@chakra-ui/react';
++import { seedArchitectureCapabilities } from '@features/generation/core/architectureCapabilities.testing';
+ import { getDefaultGenerateSettings } from '@features/generation/core/baseGenerationPolicies';
+ import { system } from '@theme/system';
+ import { createInstance } from 'i18next';
+ import { act } from 'react';
+ import { createRoot, type Root } from 'react-dom/client';
+ import { I18nextProvider, initReactI18next } from 'react-i18next';
+ import { afterEach, describe, expect, it, vi } from 'vitest';
+
+ import { GenerateRenderSection } from './GenerateRenderSection';
+
+ vi.mock('./GenerationUiContext', () => ({
+ useGenerationUi: () => ({
+ queueInsights: { seedHistory: [] },
+ sectionPreferences: { sectionsOpen: { render: true }, setSectionOpen: vi.fn() },
+ }),
+ }));
+
+ const i18n = createInstance();
+ void i18n.use(initReactI18next).init({
+ fallbackLng: 'en',
+ initAsync: false,
+ lng: 'en',
+ resources: {
+ en: {
+ translation: {
+ widgets: {
+ generate: {
+ random: 'Random',
+ render: 'Render',
+ scheduler: 'Scheduler',
+ seed: 'Seed',
+ steps: 'Steps',
+ useModelDefaultField: 'Use model default {{field}}',
+ useModelDefaultScheduler: 'Use model default scheduler',
+ useModelDefaultSteps: 'Use model default steps',
+ },
+ },
+ },
+ },
+ },
+ });
+
+ /**
+ * FLUX Fill's own recommendation is `guidance=30`, well past the guidance slider's practical top of
+ * 10. That is the case the number input's looser `numberInputMax` exists for: without it the field
+ * clamps to the slider's bound the first time it loses focus, and the model's own default is gone
+ * before the user has touched anything.
+ */
+ const fluxFillModel: MainModelConfig = {
+ base: 'flux',
+ default_settings: { cfg_scale: 1, guidance: 30 },
+ format: 'diffusers',
+ key: 'flux-fill',
+ name: 'FLUX Fill',
+ type: 'main',
+ };
+
+ let host: HTMLDivElement | null = null;
+ let root: Root | null = null;
+ (globalThis as typeof globalThis & { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
+
+ const settle = (action: () => void): Promise<void> =>
+ act(async () => {
+ action();
+ await new Promise<void>((resolve) => {
+ globalThis.setTimeout(resolve, 50);
+ });
+ });
+
+ const render = async (model: MainModelConfig) => {
+ host = document.createElement('div');
+ document.body.append(host);
+ root = createRoot(host);
+ const onCommit = vi.fn();
+
+ await settle(() => {
+ root?.render(
+ <ChakraProvider value={system}>
+ <I18nextProvider i18n={i18n}>
+ <GenerateRenderSection
+ selectedModel={model}
+ settings={getDefaultGenerateSettings(model)}
+ onCommit={onCommit}
+ onCommitImmediate={vi.fn()}
+ />
+ </I18nextProvider>
+ </ChakraProvider>
+ );
+ });
+
+ return onCommit;
+ };
+
+ afterEach(async () => {
+ await settle(() => root?.unmount());
+ host?.remove();
+ host = null;
+ root = null;
+ });
+
+ describe('GenerateRenderSection guidance field', () => {
++ // The guidance label and the model's stored guidance both come from the served table now,
++ // and the resolver returns nothing without it -- the field would render empty.
++ seedArchitectureCapabilities();
++
+ it('does not clamp a model default above the slider track when the field loses focus', async () => {
+ const onCommit = await render(fluxFillModel);
+ const input = host?.querySelector<HTMLInputElement>('input[aria-label="Guidance"]');
+
+ expect(input?.value).toBe('30');
+
+ await settle(() => input?.focus());
+ await settle(() => input?.blur());
+
+ // The commit is the observable, not the input's value: the field is controlled, so the value
+ // prop puts 30 back either way and only the caller sees the clamp. Dropping numberInputMax
+ // makes this a commit of 10, which is then the value every subsequent graph is compiled with.
+ expect(onCommit).not.toHaveBeenCalled();
+ });
+
+ it('still holds the guidance slider itself to its practical range', async () => {
+ await render(fluxFillModel);
+ // The thumb is the tooltip trigger, so `role="slider"` is the stable selector. Guidance is the
+ // second slider in the section; steps is the first.
+ const thumbs = [...(host?.querySelectorAll('[role="slider"]') ?? [])];
+
+ expect(thumbs[1]?.getAttribute('aria-valuenow')).toBe('10');
+ expect(thumbs[1]?.getAttribute('aria-valuemax')).toBe('10');
+ });
+ });
diff --cc invokeai/frontend/webv2/src/workbench/widgets/canvas/bboxGrid.test.ts
index 5d1a6f3535,0197e3fd3a..5bfcaa0ae2
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/bboxGrid.test.ts
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/bboxGrid.test.ts
@@@ -26,18 -19,9 +26,27 @@@ describe('gridSizeForModelBase', () =>
}
});
- it('falls back to the default grid for null/undefined', () => {
++ it('reads the 32px grid Wan TI2V-5B declares, from the table the backend really serves', () => {
++ // Against the committed fixture rather than a hand-built row: this is the one architecture
++ // whose grid is not a property of the base, and 1280x720 is the size that slips through a
++ // base-only lookup -- both multiples of 16, and 720 % 32 === 16.
++ expect(gridSizeForModelBase('wan', 'ti2v_5b')).toBe(32);
++ expect(gridSizeForModelBase('wan')).toBe(16);
++ expect(720 % gridSizeForModelBase('wan', 'ti2v_5b')).not.toBe(0);
++ });
++
+ it('no longer offers 8px steps for architectures that reject them', () => {
+ // The drift this replaces: these three fell through to the default 8 here while their denoise
+ // nodes carry multiple_of=16, so the canvas offered sizes that failed at enqueue time.
+ for (const base of ['krea-2', 'wan', 'ideogram-4']) {
+ expect(gridSizeForModelBase(base)).toBe(16);
+ }
+ });
+
+ it('falls back to the default grid when there is no model or no row for its architecture', () => {
expect(gridSizeForModelBase(null)).toBe(DEFAULT_MODEL_GRID);
expect(gridSizeForModelBase(undefined)).toBe(DEFAULT_MODEL_GRID);
+ expect(gridSizeForModelBase('mystery-model')).toBe(DEFAULT_MODEL_GRID);
expect(DEFAULT_MODEL_GRID).toBe(8);
});
});
diff --cc tests/backend/architectures/test_features.py
index dc3edbb510,829744f7b3..8b9075e854
--- a/tests/backend/architectures/test_features.py
+++ b/tests/backend/architectures/test_features.py
@@@ -97,10 -97,14 +97,14 @@@ def test_reference_images_and_the_one_v
def test_regional_guidance_and_its_negative_subset() -> None:
- """Regional negative prompts are a strict subset — only the SD family has them.
-
- Z-Image and Anima mask positive conditioning only: their denoisers accept a negative list but
- discard its masks, so a "regional" negative there would act globally.
+ """Transcribed from `REGIONAL_GUIDANCE_SUPPORT` in webv2's `addRegionalGuidance.ts`, which is
- the only place these two facts live today — neither field is in the generated capability
- contract, so `test_frontend_capability_parity.py` cannot check them.
++ the only place these two facts live today -- neither field is served in a form the frontend
++ fixture pins, so nothing else cross-checks them.
+
+ Regional negative prompts are a strict subset: only the SD family's `compel` /
+ `sdxl_compel_prompt` path masks both prompt polarities. The FLUX / FLUX.2 / Krea-2 / Z-Image /
- Anima denoisers mask positive conditioning only — Z-Image and Anima accept a negative list but
++ Anima denoisers mask positive conditioning only -- Z-Image and Anima accept a negative list but
+ discard its masks, so a "regional" negative there would act globally and webv2 rejects it.
"""
regional = {
b.value for b in generative_bases() if (f := get(b, FeaturesFacet)) is not None and f.supports_regional_guidance