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
Regenerate API schemas for canvas compatibility
Josh Corbett9b97ac9be383
diff --git a/invokeai/frontend/web/openapi.json b/invokeai/frontend/web/openapi.jsonindex 3c7e2e578f..56213d0e4c 100644--- a/invokeai/frontend/web/openapi.json+++ b/invokeai/frontend/web/openapi.json@@ -13626,6 +13626,19 @@"title": "Project Id"},"description": "The id of the project to get"+ },+ {+ "name": "max_canvas_schema_version",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "minimum": 1,+ "description": "Newest canvas schema understood by this client",+ "default": 2,+ "title": "Max Canvas Schema Version"+ },+ "description": "Newest canvas schema understood by this client"}],"responses": {@@ -78622,6 +78635,20 @@"type": "object","title": "Data","description": "The opaque client-owned project document"+ },+ "minimum_canvas_schema_version": {+ "type": "integer",+ "minimum": 1.0,+ "title": "Minimum Canvas Schema Version",+ "description": "Oldest canvas schema that can safely edit this document",+ "default": 2+ },+ "max_canvas_schema_version": {+ "type": "integer",+ "minimum": 1.0,+ "title": "Max Canvas Schema Version",+ "description": "Newest canvas schema understood by this client",+ "default": 2}},"type": "object",@@ -78651,6 +78678,12 @@"title": "Revision","description": "Monotonic revision, incremented on every save"},+ "minimum_canvas_schema_version": {+ "type": "integer",+ "minimum": 1.0,+ "title": "Minimum Canvas Schema Version",+ "description": "Oldest canvas schema a client must support before it may read or write this project"+ },"created_at": {"type": "string","title": "Created At",@@ -78669,7 +78702,16 @@}},"type": "object",- "required": ["project_id", "board_id", "name", "revision", "created_at", "updated_at", "data"],+ "required": [+ "project_id",+ "board_id",+ "name",+ "revision",+ "minimum_canvas_schema_version",+ "created_at",+ "updated_at",+ "data"+ ],"title": "ProjectRecordDTO","description": "Full project record including the client-owned document."},@@ -78695,6 +78737,12 @@"title": "Revision","description": "Monotonic revision, incremented on every save"},+ "minimum_canvas_schema_version": {+ "type": "integer",+ "minimum": 1.0,+ "title": "Minimum Canvas Schema Version",+ "description": "Oldest canvas schema a client must support before it may read or write this project"+ },"created_at": {"type": "string","title": "Created At",@@ -78707,7 +78755,15 @@}},"type": "object",- "required": ["project_id", "board_id", "name", "revision", "created_at", "updated_at"],+ "required": [+ "project_id",+ "board_id",+ "name",+ "revision",+ "minimum_canvas_schema_version",+ "created_at",+ "updated_at"+ ],"title": "ProjectSummaryDTO","description": "Lightweight project listing entry; the document payload is omitted."},@@ -78728,6 +78784,26 @@"type": "integer","title": "Expected Revision","description": "The revision this save is based on; mismatch returns 409"+ },+ "minimum_canvas_schema_version": {+ "anyOf": [+ {+ "type": "integer",+ "minimum": 1.0+ },+ {+ "type": "null"+ }+ ],+ "title": "Minimum Canvas Schema Version",+ "description": "New compatibility floor to store atomically with this document; omitted to keep the current floor"+ },+ "max_canvas_schema_version": {+ "type": "integer",+ "minimum": 1.0,+ "title": "Max Canvas Schema Version",+ "description": "Newest canvas schema understood by this client",+ "default": 2}},"type": "object",diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.tsindex 75b03f19e8..308287d9ec 100644--- a/invokeai/frontend/web/src/services/api/schema.ts+++ b/invokeai/frontend/web/src/services/api/schema.ts@@ -33368,6 +33368,18 @@ export type components = {data: {[key: string]: unknown;};+ /**+ * Minimum Canvas Schema Version+ * @description Oldest canvas schema that can safely edit this document+ * @default 2+ */+ minimum_canvas_schema_version?: number;+ /**+ * Max Canvas Schema Version+ * @description Newest canvas schema understood by this client+ * @default 2+ */+ max_canvas_schema_version?: number;};/*** ProjectRecordDTO@@ -33394,6 +33406,11 @@ export type components = {* @description Monotonic revision, incremented on every save*/revision: number;+ /**+ * Minimum Canvas Schema Version+ * @description Oldest canvas schema a client must support before it may read or write this project+ */+ minimum_canvas_schema_version: number;/*** Created At* @description When the project was created@@ -33437,6 +33454,11 @@ export type components = {* @description Monotonic revision, incremented on every save*/revision: number;+ /**+ * Minimum Canvas Schema Version+ * @description Oldest canvas schema a client must support before it may read or write this project+ */+ minimum_canvas_schema_version: number;/*** Created At* @description When the project was created@@ -33470,6 +33492,17 @@ export type components = {* @description The revision this save is based on; mismatch returns 409*/expected_revision: number;+ /**+ * Minimum Canvas Schema Version+ * @description New compatibility floor to store atomically with this document; omitted to keep the current floor+ */+ minimum_canvas_schema_version?: number | null;+ /**+ * Max Canvas Schema Version+ * @description Newest canvas schema understood by this client+ * @default 2+ */+ max_canvas_schema_version?: number;};/*** PromptEnhancerField@@ -52337,7 +52370,10 @@ export interface operations {};get_project: {parameters: {- query?: never;+ query?: {+ /** @description Newest canvas schema understood by this client */+ max_canvas_schema_version?: number;+ };header?: never;path: {/** @description The id of the project to get */