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
chore: typegen
JPPhotoa04ff437ea2d
diff --git a/invokeai/frontend/web/openapi.json b/invokeai/frontend/web/openapi.jsonindex a182e7c603..0a11bc2927 100644--- a/invokeai/frontend/web/openapi.json+++ b/invokeai/frontend/web/openapi.json@@ -21486,6 +21486,302 @@"$ref": "#/components/schemas/ImageOutput"}},+ "ChildCompletion": {+ "properties": {+ "child_execution_id": {+ "type": "string",+ "minLength": 1,+ "title": "Child Execution Id"+ },+ "parent_execution_id": {+ "type": "string",+ "minLength": 1,+ "title": "Parent Execution Id"+ },+ "parent_frame": {+ "items": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "string"+ }+ ]+ },+ "type": "array",+ "title": "Parent Frame"+ },+ "parent_reference_id": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 1+ },+ {+ "type": "null"+ }+ ],+ "title": "Parent Reference Id"+ },+ "child_frame": {+ "items": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "string"+ }+ ]+ },+ "type": "array",+ "title": "Child Frame"+ },+ "status": {+ "type": "string",+ "enum": ["completed", "failed", "canceled"],+ "title": "Status"+ },+ "outputs": {+ "additionalProperties": true,+ "type": "object",+ "title": "Outputs"+ },+ "error_message": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Message"+ }+ },+ "additionalProperties": false,+ "type": "object",+ "required": ["child_execution_id", "parent_execution_id", "status"],+ "title": "ChildCompletion",+ "description": "One terminal child result, including its ownership proof."+ },+ "ChildDependencyRecord": {+ "properties": {+ "dependency_id": {+ "type": "string",+ "minLength": 1,+ "title": "Dependency Id"+ },+ "parent_execution_id": {+ "type": "string",+ "minLength": 1,+ "title": "Parent Execution Id"+ },+ "parent_frame": {+ "items": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "string"+ }+ ]+ },+ "type": "array",+ "title": "Parent Frame"+ },+ "parent_reference_id": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 1+ },+ {+ "type": "null"+ }+ ],+ "title": "Parent Reference Id"+ },+ "children": {+ "items": {+ "$ref": "#/components/schemas/ChildExecutionRecord"+ },+ "type": "array",+ "title": "Children"+ },+ "completions": {+ "additionalProperties": {+ "$ref": "#/components/schemas/ChildCompletion"+ },+ "type": "object",+ "title": "Completions"+ },+ "status": {+ "type": "string",+ "enum": ["waiting", "running", "completed", "failed", "canceled"],+ "title": "Status",+ "default": "waiting"+ },+ "failure_policy": {+ "type": "string",+ "enum": ["fail_parent", "cancel_siblings", "continue"],+ "title": "Failure Policy",+ "default": "fail_parent"+ },+ "cancellation_policy": {+ "type": "string",+ "enum": ["cancel_parent", "cancel_siblings", "continue"],+ "title": "Cancellation Policy",+ "default": "cancel_parent"+ },+ "error_message": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Message"+ },+ "output_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Output Keys"+ },+ "terminal_transition_count": {+ "type": "integer",+ "minimum": 0.0,+ "title": "Terminal Transition Count",+ "default": 0+ },+ "sealed": {+ "type": "boolean",+ "title": "Sealed",+ "default": true+ }+ },+ "additionalProperties": false,+ "type": "object",+ "required": ["dependency_id", "parent_execution_id"],+ "title": "ChildDependencyRecord",+ "description": "All-of parent dependency with durable enqueue and terminal state."+ },+ "ChildExecutionRecord": {+ "properties": {+ "child_execution_id": {+ "type": "string",+ "minLength": 1,+ "title": "Child Execution Id"+ },+ "parent_execution_id": {+ "type": "string",+ "minLength": 1,+ "title": "Parent Execution Id"+ },+ "parent_frame": {+ "items": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "string"+ }+ ]+ },+ "type": "array",+ "title": "Parent Frame"+ },+ "parent_reference_id": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 1+ },+ {+ "type": "null"+ }+ ],+ "title": "Parent Reference Id"+ },+ "child_frame": {+ "items": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "string"+ }+ ]+ },+ "type": "array",+ "title": "Child Frame"+ },+ "depth": {+ "type": "integer",+ "minimum": 0.0,+ "title": "Depth",+ "default": 0+ },+ "enqueue_index": {+ "type": "integer",+ "minimum": 0.0,+ "title": "Enqueue Index",+ "default": 0+ },+ "capability_id": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 1+ },+ {+ "type": "null"+ }+ ],+ "title": "Capability Id"+ },+ "graph": {+ "anyOf": [+ {},+ {+ "type": "null"+ }+ ],+ "title": "Graph"+ },+ "inputs": {+ "additionalProperties": true,+ "type": "object",+ "title": "Inputs"+ },+ "state": {+ "type": "string",+ "enum": ["pending", "queued", "running", "completed", "failed", "canceled"],+ "title": "State",+ "default": "pending"+ }+ },+ "additionalProperties": false,+ "type": "object",+ "required": ["child_execution_id", "parent_execution_id"],+ "title": "ChildExecutionRecord",+ "description": "Durable identity and payload for one child execution."+ },"Classification": {"description": "The classification of an Invocation.\n- `Stable`: The invocation, including its inputs/outputs and internal logic, is stable. You may build workflows with it, having confidence that they will not break because of a change in this invocation.\n- `Beta`: The invocation is not yet stable, but is planned to be stable in the future. Workflows built around this invocation may break, but we are committed to supporting this invocation long-term.\n- `Prototype`: The invocation is not yet stable and may be removed from the application at any time. Workflows built around this invocation may break, and we are *not* committed to supporting this invocation.\n- `Deprecated`: The invocation is deprecated and may be removed in a future version.\n- `Internal`: The invocation is not intended for use by end-users. It may be changed or removed at any time, but is exposed for users to play with.\n- `Special`: The invocation is a special case and does not fit into any of the other classifications.","enum": ["stable", "beta", "prototype", "deprecated", "internal", "special"],@@ -29829,6 +30125,145 @@"$ref": "#/components/schemas/ImageOutput"}},+ "ExecutionFrame": {+ "properties": {+ "frame_id": {+ "type": "string",+ "title": "Frame Id",+ "description": "Stable frame identifier",+ "default": ""+ },+ "state_id": {+ "type": "string",+ "title": "State Id",+ "description": "Owning graph execution state id",+ "default": ""+ },+ "iteration_path": {+ "items": {+ "type": "integer"+ },+ "type": "array",+ "title": "Iteration Path",+ "description": "Loop iteration coordinates"+ },+ "workflow_call_depth": {+ "type": "integer",+ "minimum": 0.0,+ "title": "Workflow Call Depth",+ "description": "Nested workflow-call depth",+ "default": 0+ }+ },+ "additionalProperties": true,+ "type": "object",+ "title": "ExecutionFrame",+ "description": "Stable execution location for a prepared node."+ },+ "ExecutionReference": {+ "properties": {+ "reference_id": {+ "type": "string",+ "title": "Reference Id",+ "description": "Stable reference identifier",+ "default": ""+ },+ "state_id": {+ "type": "string",+ "title": "State Id",+ "description": "Owning graph execution state id",+ "default": ""+ },+ "exec_node_id": {+ "type": "string",+ "title": "Exec Node Id",+ "description": "Prepared execution node id",+ "default": ""+ },+ "source_node_id": {+ "type": "string",+ "title": "Source Node Id",+ "description": "Authoring graph node id",+ "default": ""+ },+ "frame": {+ "$ref": "#/components/schemas/ExecutionFrame",+ "description": "Execution frame"+ },+ "effect_count": {+ "anyOf": [+ {+ "type": "integer",+ "minimum": 0.0+ },+ {+ "type": "null"+ }+ ],+ "title": "Effect Count",+ "description": "Expected effect count, if declared"+ }+ },+ "additionalProperties": true,+ "type": "object",+ "title": "ExecutionReference",+ "description": "Stable, frame-aware reference to one prepared execution node.\n\nThis intentionally stays independent from invocation-context/effect models. The execution engine can reconcile\nthis small compatibility type with a richer protocol later without changing persisted graph state."+ },+ "ExecutionToken": {+ "properties": {+ "token_id": {+ "type": "string",+ "title": "Token Id",+ "description": "Stable token identifier"+ },+ "reference_id": {+ "type": "string",+ "title": "Reference Id",+ "description": "Owning execution reference id"+ },+ "owner_node_id": {+ "type": "string",+ "title": "Owner Node Id",+ "description": "Prepared node that produced the token"+ },+ "port": {+ "type": "string",+ "title": "Port",+ "description": "Output port name"+ },+ "frame": {+ "$ref": "#/components/schemas/ExecutionFrame",+ "description": "Frame that produced the token"+ },+ "value": {+ "title": "Value",+ "description": "Output port value"+ },+ "token_kind": {+ "type": "string",+ "enum": ["data", "activation", "stream_end"],+ "title": "Token Kind",+ "default": "data"+ },+ "sequence": {+ "anyOf": [+ {+ "type": "integer",+ "minimum": 0.0+ },+ {+ "type": "null"+ }+ ],+ "title": "Sequence"+ }+ },+ "additionalProperties": true,+ "type": "object",+ "required": ["token_id", "reference_id", "owner_node_id", "port", "frame", "value"],+ "title": "ExecutionToken",+ "description": "Data token owned by one prepared output port.\n\nTokens contain no graph edge or association metadata. In particular, loop-linkage edges never become data\ntokens."+ },"ExpandMaskWithFadeInvocation": {"category": "mask","class": "invocation",diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.tsindex 862ea6ef8d..0ad9807992 100644--- a/invokeai/frontend/web/src/services/api/schema.ts+++ b/invokeai/frontend/web/src/services/api/schema.ts@@ -7269,6 +7269,125 @@ export type components = {*/type: "img_pad_crop";};+ /**+ * ChildCompletion+ * @description One terminal child result, including its ownership proof.+ */+ ChildCompletion: {+ /** Child Execution Id */+ child_execution_id: string;+ /** Parent Execution Id */+ parent_execution_id: string;+ /** Parent Frame */+ parent_frame?: (number | string)[];+ /** Parent Reference Id */+ parent_reference_id?: string | null;+ /** Child Frame */+ child_frame?: (number | string)[];+ /**+ * Status+ * @enum {string}+ */+ status: "completed" | "failed" | "canceled";+ /** Outputs */+ outputs?: {+ [key: string]: unknown;+ };+ /** Error Message */+ error_message?: string | null;+ };+ /**+ * ChildDependencyRecord+ * @description All-of parent dependency with durable enqueue and terminal state.+ */+ ChildDependencyRecord: {+ /** Dependency Id */+ dependency_id: string;+ /** Parent Execution Id */+ parent_execution_id: string;+ /** Parent Frame */+ parent_frame?: (number | string)[];+ /** Parent Reference Id */+ parent_reference_id?: string | null;+ /** Children */+ children?: components["schemas"]["ChildExecutionRecord"][];+ /** Completions */+ completions?: {+ [key: string]: components["schemas"]["ChildCompletion"];+ };+ /**+ * Status+ * @default waiting+ * @enum {string}+ */+ status?: "waiting" | "running" | "completed" | "failed" | "canceled";+ /**+ * Failure Policy+ * @default fail_parent+ * @enum {string}+ */+ failure_policy?: "fail_parent" | "cancel_siblings" | "continue";+ /**+ * Cancellation Policy+ * @default cancel_parent+ * @enum {string}+ */+ cancellation_policy?: "cancel_parent" | "cancel_siblings" | "continue";+ /** Error Message */+ error_message?: string | null;+ /** Output Keys */+ output_keys?: string[] | null;+ /**+ * Terminal Transition Count+ * @default 0+ */+ terminal_transition_count?: number;+ /**+ * Sealed+ * @default true+ */+ sealed?: boolean;+ };+ /**+ * ChildExecutionRecord+ * @description Durable identity and payload for one child execution.+ */+ ChildExecutionRecord: {+ /** Child Execution Id */+ child_execution_id: string;+ /** Parent Execution Id */+ parent_execution_id: string;+ /** Parent Frame */+ parent_frame?: (number | string)[];+ /** Parent Reference Id */+ parent_reference_id?: string | null;+ /** Child Frame */+ child_frame?: (number | string)[];+ /**+ * Depth+ * @default 0+ */+ depth?: number;+ /**+ * Enqueue Index+ * @default 0+ */+ enqueue_index?: number;+ /** Capability Id */+ capability_id?: string | null;+ /** Graph */+ graph?: unknown | null;+ /** Inputs */+ inputs?: {+ [key: string]: unknown;+ };+ /**+ * State+ * @default pending+ * @enum {string}+ */+ state?: "pending" | "queued" | "running" | "completed" | "failed" | "canceled";+ };/*** Classification* @description The classification of an Invocation.@@ -11490,6 +11609,125 @@ export type components = {*/type: "ernie_image_vae_decode";};+ /**+ * ExecutionFrame+ * @description Stable execution location for a prepared node.+ */+ ExecutionFrame: {+ /**+ * Frame Id+ * @description Stable frame identifier+ * @default+ */+ frame_id?: string;+ /**+ * State Id+ * @description Owning graph execution state id+ * @default+ */+ state_id?: string;+ /**+ * Iteration Path+ * @description Loop iteration coordinates+ */+ iteration_path?: number[];+ /**+ * Workflow Call Depth+ * @description Nested workflow-call depth+ * @default 0+ */+ workflow_call_depth?: number;+ } & {+ [key: string]: unknown;+ };+ /**+ * ExecutionReference+ * @description Stable, frame-aware reference to one prepared execution node.+ *+ * This intentionally stays independent from invocation-context/effect models. The execution engine can reconcile+ * this small compatibility type with a richer protocol later without changing persisted graph state.+ */+ ExecutionReference: {+ /**+ * Reference Id+ * @description Stable reference identifier+ * @default+ */+ reference_id?: string;+ /**+ * State Id+ * @description Owning graph execution state id+ * @default+ */+ state_id?: string;+ /**+ * Exec Node Id+ * @description Prepared execution node id+ * @default+ */+ exec_node_id?: string;+ /**+ * Source Node Id+ * @description Authoring graph node id+ * @default+ */+ source_node_id?: string;+ /** @description Execution frame */+ frame?: components["schemas"]["ExecutionFrame"];+ /**+ * Effect Count+ * @description Expected effect count, if declared+ */+ effect_count?: number | null;+ } & {+ [key: string]: unknown;+ };+ /**+ * ExecutionToken+ * @description Data token owned by one prepared output port.+ *+ * Tokens contain no graph edge or association metadata. In particular, loop-linkage edges never become data+ * tokens.+ */+ ExecutionToken: {+ /**+ * Token Id+ * @description Stable token identifier+ */+ token_id: string;+ /**+ * Reference Id+ * @description Owning execution reference id+ */+ reference_id: string;+ /**+ * Owner Node Id+ * @description Prepared node that produced the token+ */+ owner_node_id: string;+ /**+ * Port+ * @description Output port name+ */+ port: string;+ /** @description Frame that produced the token */+ frame: components["schemas"]["ExecutionFrame"];+ /**+ * Value+ * @description Output port value+ */+ value: unknown;+ /**+ * Token Kind+ * @default data+ * @enum {string}+ */+ token_kind?: "data" | "activation" | "stream_end";+ /** Sequence */+ sequence?: number | null;+ } & {+ [key: string]: unknown;+ };/*** Expand Mask with Fade* @description Expands a mask with a fade effect. The mask uses black to indicate areas to keep from the generated image and white for areas to discard.