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.

fix(web): align image DTO type with generated schema

Josh Corbettdaa2af3c240e
diff --git a/invokeai/frontend/web/src/services/api/types.ts b/invokeai/frontend/web/src/services/api/types.ts
index b510a09920..63026e7c96 100644
--- a/invokeai/frontend/web/src/services/api/types.ts
+++ b/invokeai/frontend/web/src/services/api/types.ts
@@ -84,6 +84,8 @@ const _zImageDTO = z.object({
node_id: z.string().nullish(),
starred: z.boolean(),
has_workflow: z.boolean(),
+ project_id: z.string().nullish(),
+ file_size_bytes: z.number().nullish(),
board_id: z.string().nullish(),
image_subfolder: z.string().optional(),
});