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
Merge branch 'main' into feat/qwen-image-2-1-edit
Lincoln Steinae09e38f0b2d
diff --cc invokeai/frontend/api/openapi.jsonindex 3bd8fae510,8c219acf01..af354195dc--- a/invokeai/frontend/api/openapi.json+++ b/invokeai/frontend/api/openapi.json@@@ -95902,20 -96664,354 +96709,367 @@@"title": "Use Cache","type": "boolean"},- "model": {- "$ref": "#/components/schemas/ModelIdentifierField",- "description": "Qwen-Image-2.1 model (Transformer) to load",- "field_kind": "input",- "input": "direct",- "orig_required": true,- "title": "Transformer",- "ui_model_base": ["qwen-image-2-1"],- "ui_model_type": ["main"]- },- "vae_model": {+ "model": {+ "$ref": "#/components/schemas/ModelIdentifierField",+ "description": "Qwen-Image-2.1 model (Transformer) to load",+ "field_kind": "input",+ "input": "direct",+ "orig_required": true,+ "title": "Transformer",+ "ui_model_base": ["qwen-image-2-1"],+ "ui_model_type": ["main"]+ },+ "vae_model": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ModelIdentifierField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Standalone Qwen-Image-2.1 VAE. If not provided, the VAE is loaded from the diffusers model.",+ "field_kind": "input",+ "input": "direct",+ "orig_default": null,+ "orig_required": false,+ "title": "VAE",+ "ui_model_base": ["qwen-image-2-1"],+ "ui_model_type": ["vae"]+ },+ "qwen3_vl_encoder_model": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ModelIdentifierField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Standalone Qwen3-VL 8B encoder. If not provided, the encoder is loaded from the diffusers model.",+ "field_kind": "input",+ "input": "direct",+ "orig_default": null,+ "orig_required": false,+ "title": "Qwen3-VL Encoder",+ "ui_model_base": ["any"],+ "ui_model_type": ["qwen3_vl_encoder"]+ },+ "type": {+ "const": "qwen_image_2_1_model_loader",+ "default": "qwen_image_2_1_model_loader",+ "field_kind": "node_attribute",+ "title": "type",+ "type": "string"+ }+ },+ "required": ["model", "type", "id"],+ "tags": ["model", "qwen_image_2_1", "qwen-image-2.1"],+ "title": "Main Model - Qwen-Image-2.1",+ "type": "object",+ "version": "1.0.0",+ "output": {+ "$ref": "#/components/schemas/QwenImage21ModelLoaderOutput"+ }+ },+ "QwenImage21ModelLoaderOutput": {+ "class": "output",+ "description": "Qwen-Image-2.1 model loader output.",+ "properties": {+ "transformer": {+ "$ref": "#/components/schemas/TransformerField",+ "description": "Transformer",+ "field_kind": "output",+ "title": "Transformer",+ "ui_hidden": false+ },+ "qwen3_vl_encoder": {+ "$ref": "#/components/schemas/Qwen3VLEncoderField",+ "description": "Qwen3-VL tokenizer and text encoder",+ "field_kind": "output",+ "title": "Qwen3-VL Encoder",+ "ui_hidden": false+ },+ "vae": {+ "$ref": "#/components/schemas/VAEField",+ "description": "VAE",+ "field_kind": "output",+ "title": "VAE",+ "ui_hidden": false+ },+ "type": {+ "const": "qwen_image_2_1_model_loader_output",+ "default": "qwen_image_2_1_model_loader_output",+ "field_kind": "node_attribute",+ "title": "type",+ "type": "string"+ }+ },+ "required": ["output_meta", "transformer", "qwen3_vl_encoder", "vae", "type", "type"],+ "title": "QwenImage21ModelLoaderOutput",+ "type": "object"+ },+ "QwenImage21TextEncoderInvocation": {+ "category": "conditioning",+ "class": "invocation",+ "classification": "prototype",- "description": "Encodes a text prompt for Qwen-Image-2.1 with its Qwen3-VL-8B encoder.",++ "description": "Encodes a prompt for Qwen-Image-2.1 with its Qwen3-VL-8B encoder, with the reference images an edit reads.\n\nEach reference also goes to the denoise node, encoded by Image to Latents in its reference mode, in the same\norder.",+ "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": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Text prompt describing the desired image.",+ "field_kind": "input",+ "input": "any",+ "orig_required": true,+ "title": "Prompt",+ "ui_component": "textarea"+ },+ "qwen3_vl_encoder": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/Qwen3VLEncoderField"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "Qwen3-VL tokenizer and text encoder",+ "field_kind": "input",+ "input": "connection",+ "orig_required": true,+ "title": "Qwen3-VL Encoder"+ },++ "reference_images": {++ "default": [],++ "description": "Reference images to edit or draw from, in the order the denoise node receives their latents. Needs a Qwen-Image-2.1 Diffusers model's own encoder.",++ "field_kind": "input",++ "input": "any",++ "items": {++ "$ref": "#/components/schemas/ImageField"++ },++ "orig_default": [],++ "orig_required": false,++ "title": "Reference Images",++ "type": "array"++ },+ "type": {+ "const": "qwen_image_2_1_text_encoder",+ "default": "qwen_image_2_1_text_encoder",+ "field_kind": "node_attribute",+ "title": "type",+ "type": "string"+ }+ },+ "required": ["type", "id"],+ "tags": ["prompt", "conditioning", "qwen_image_2_1", "qwen-image-2.1"],+ "title": "Prompt - Qwen-Image-2.1",+ "type": "object",- "version": "1.0.0",++ "version": "1.1.0",+ "output": {+ "$ref": "#/components/schemas/QwenImage21ConditioningOutput"+ }+ },+ "QwenImage21VariantType": {+ "type": "string",+ "enum": ["qwen_image_21_base", "qwen_image_21_turbo"],+ "title": "QwenImage21VariantType",+ "description": "Qwen-Image-2.1 variants. The weights share one architecture; what differs is the sampling schedule."+ },+ "QwenImageConditioningField": {+ "description": "A Qwen Image Edit conditioning tensor primitive value",+ "properties": {+ "conditioning_name": {+ "description": "The name of conditioning tensor",+ "title": "Conditioning Name",+ "type": "string"+ }+ },+ "required": ["conditioning_name"],+ "title": "QwenImageConditioningField",+ "type": "object"+ },+ "QwenImageConditioningOutput": {+ "class": "output",+ "description": "Base class for nodes that output a Qwen Image Edit conditioning tensor.",+ "properties": {+ "conditioning": {+ "$ref": "#/components/schemas/QwenImageConditioningField",+ "description": "Conditioning tensor",+ "field_kind": "output",+ "ui_hidden": false+ },+ "type": {+ "const": "qwen_image_conditioning_output",+ "default": "qwen_image_conditioning_output",+ "field_kind": "node_attribute",+ "title": "type",+ "type": "string"+ }+ },+ "required": ["output_meta", "conditioning", "type", "type"],+ "title": "QwenImageConditioningOutput",+ "type": "object"+ },+ "QwenImageControlField": {+ "description": "Qwen Image Fun-ControlNet conditioning: a control image, an inpaint image with its mask, or both.",+ "properties": {+ "image_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The preprocessed control image (Canny, depth, pose, ...)",+ "title": "Image Name"+ },+ "inpaint_image_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The image to inpaint",+ "title": "Inpaint Image Name"+ },+ "inpaint_mask_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "default": null,+ "description": "The inpaint mask; white is regenerated",+ "title": "Inpaint Mask Name"+ },+ "control_model": {+ "$ref": "#/components/schemas/ModelIdentifierField",+ "description": "The Qwen Image ControlNet model"+ },+ "control_context_scale": {+ "default": 0.85,+ "description": "Strength of the control signal. Recommended range: 0.70-0.95.",+ "maximum": 2.0,+ "minimum": 0.0,+ "title": "Control Context Scale",+ "type": "number"+ },+ "begin_step_percent": {+ "default": 0.0,+ "description": "When the control is first applied (% of total steps)",+ "maximum": 1.0,+ "minimum": 0.0,+ "title": "Begin Step Percent",+ "type": "number"+ },+ "end_step_percent": {+ "default": 1.0,+ "description": "When the control is last applied (% of total steps)",+ "maximum": 1.0,+ "minimum": 0.0,+ "title": "End Step Percent",+ "type": "number"+ },+ "tiled": {+ "default": false,+ "description": "Encode the control images in tiles. The denoise encodes them at generation size, which for an upscale is the enlarged frame -- too large for an untiled encode on consumer hardware.",+ "title": "Tiled",+ "type": "boolean"+ },+ "tile_size": {+ "default": 0,+ "description": "The tile size for VAE tiling in pixels (image space). If set to 0, the default tile size for the model will be used. Larger tile sizes generally produce better results at the cost of higher memory usage. Values between 1 and 64 are raised to 64.",+ "minimum": 0,+ "multipleOf": 8,+ "title": "Tile Size",+ "type": "integer"+ }+ },+ "required": ["control_model"],+ "title": "QwenImageControlField",+ "type": "object"+ },+ "QwenImageControlInvocation": {+ "category": "conditioning",+ "class": "invocation",+ "classification": "prototype",+ "description": "Configure the Qwen Image Fun-ControlNet-Union for spatial control, inpainting, or both.\n\nTakes a preprocessed control image (Canny, HED, depth, pose, MLSD, ...) and/or an image to inpaint with its mask\n(white is regenerated), plus the Qwen Image ControlNet model. Recommended control scale: 0.70-0.95.",+ "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"+ },+ "image": {"anyOf": [{- "$ref": "#/components/schemas/ModelIdentifierField"+ "$ref": "#/components/schemas/ImageField"},{"type": "null"diff --cc invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.jsonindex 7be2f86da6,011566f501..8d13ff2f46--- a/invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json+++ b/invokeai/frontend/webv2/src/features/generation/core/__fixtures__/architectureCapabilities.json@@@ -357,10 -350,11 +357,12 @@@"guidance_max": 20.0,"scheduler_set": "flow","scheduler_applies_to_graph": true,- "control_kinds": [],+ "control_kinds": [+ "flux2_control"+ ],"max_reference_images": 5,"reference_images_require_variant": null,+ "reference_images_require_format": null,"supports_regional_guidance": true,"regional_negative": false,"clip_skip_max": null,@@@ -399,10 -393,11 +401,12 @@@"guidance_max": 20.0,"scheduler_set": "flow","scheduler_applies_to_graph": true,- "control_kinds": [],+ "control_kinds": [+ "flux2_control"+ ],"max_reference_images": 5,"reference_images_require_variant": null,+ "reference_images_require_format": null,"supports_regional_guidance": true,"regional_negative": false,"clip_skip_max": null,@@@ -441,10 -436,11 +445,12 @@@"guidance_max": 20.0,"scheduler_set": "flow","scheduler_applies_to_graph": true,- "control_kinds": [],+ "control_kinds": [+ "flux2_control"+ ],"max_reference_images": 5,"reference_images_require_variant": null,+ "reference_images_require_format": null,"supports_regional_guidance": true,"regional_negative": false,"clip_skip_max": null,@@@ -483,10 -479,11 +489,12 @@@"guidance_max": 20.0,"scheduler_set": "flow","scheduler_applies_to_graph": true,- "control_kinds": [],+ "control_kinds": [+ "flux2_control"+ ],"max_reference_images": 5,"reference_images_require_variant": null,+ "reference_images_require_format": null,"supports_regional_guidance": true,"regional_negative": false,"clip_skip_max": null,@@@ -806,10 -797,11 +814,12 @@@"guidance_max": null,"scheduler_set": "standard","scheduler_applies_to_graph": false,- "control_kinds": [],+ "control_kinds": [+ "qwen_image_control"+ ],"max_reference_images": 5,"reference_images_require_variant": "edit",+ "reference_images_require_format": null,"supports_regional_guidance": false,"regional_negative": false,"clip_skip_max": null,