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.

chore: typegen

JPPhotoac6d4a314082
diff --git a/invokeai/frontend/web/openapi.json b/invokeai/frontend/web/openapi.json
index 331375353a..59103935e0 100644
--- a/invokeai/frontend/web/openapi.json
+++ b/invokeai/frontend/web/openapi.json
@@ -29726,6 +29726,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.ts
index 4f7a226bca..738b1c0cdd 100644
--- a/invokeai/frontend/web/src/services/api/schema.ts
+++ b/invokeai/frontend/web/src/services/api/schema.ts
@@ -11489,6 +11489,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.