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
fix(ernie-image): regenerate API artifacts and teach legacy web the new variant
Alexander Eichhornc3c21e560fbf
diff --git a/invokeai/frontend/web/openapi.json b/invokeai/frontend/web/openapi.jsonindex 03b91db682..8fb190c79b 100644--- a/invokeai/frontend/web/openapi.json+++ b/invokeai/frontend/web/openapi.json@@ -29688,7 +29688,7 @@}],"default": null,- "description": "Standalone Mistral3 text encoder. Required when the model is a single-file transformer.",+ "description": "Standalone Ministral 3B text encoder. Required when the model is a single-file transformer.","field_kind": "input","input": "direct","orig_default": null,@@ -29712,7 +29712,7 @@"orig_default": null,"orig_required": false,"title": "VAE",- "ui_model_base": ["ernie-image", "flux2"],+ "ui_model_base": ["flux2"],"ui_model_type": ["vae"]},"use_prompt_enhancer": {diff --git a/invokeai/frontend/web/src/features/modelManagerV2/models.ts b/invokeai/frontend/web/src/features/modelManagerV2/models.tsindex 4f20ea8562..41108e284e 100644--- a/invokeai/frontend/web/src/features/modelManagerV2/models.ts+++ b/invokeai/frontend/web/src/features/modelManagerV2/models.ts@@ -316,6 +316,7 @@ export const MODEL_VARIANT_TO_LONG_NAME: Record<AnyModelVariant, string> = {qwen3_8b: 'Qwen3 8B',qwen3_06b: 'Qwen3 0.6B',cow_mistral3_small: 'cow-mistral3-small (FLUX.2)',+ ministral3_3b: 'Ministral 3B (ERNIE-Image)',mistral3_24b: 'Mistral Small 3 (24B, FLUX.2)',res2k_sr4x: 'PiD 2K (4x SR)',res2kto4k_sr4x: 'PiD 4K (4x SR Upscale)',diff --git a/invokeai/frontend/web/src/features/nodes/types/common.ts b/invokeai/frontend/web/src/features/nodes/types/common.tsindex cfef7f72d2..860937707d 100644--- a/invokeai/frontend/web/src/features/nodes/types/common.ts+++ b/invokeai/frontend/web/src/features/nodes/types/common.ts@@ -207,7 +207,7 @@ const zWanVariantType = z.enum(['t2v_a14b', 'i2v_a14b', 'ti2v_5b']);const zWanLoRAVariantType = z.enum(['a14b', '5b']);export const zQwen3VariantType = z.enum(['qwen3_4b', 'qwen3_8b', 'qwen3_06b']);const zMiniMaxH3VariantType = z.enum(['fl2va', 'ref2va']);-const zMistralVariantType = z.enum(['cow_mistral3_small', 'mistral3_24b']);+const zMistralVariantType = z.enum(['cow_mistral3_small', 'mistral3_24b', 'ministral3_3b']);const zPiDDecoderVariantType = z.enum(['res2k_sr4x', 'res2kto4k_sr4x']);export const zAnyModelVariant = z.union([zModelVariantType,diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.tsindex 9b2b770fbf..6df4a85eda 100644--- a/invokeai/frontend/web/src/services/api/schema.ts+++ b/invokeai/frontend/web/src/services/api/schema.ts@@ -11433,7 +11433,7 @@ export type components = {model: components["schemas"]["ModelIdentifierField"];/*** Text Encoder- * @description Standalone Mistral3 text encoder. Required when the model is a single-file transformer.+ * @description Standalone Ministral 3B text encoder. Required when the model is a single-file transformer.* @default null*/text_encoder_model?: components["schemas"]["ModelIdentifierField"] | null;