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
feat(webv2): expose model install and starter machinery from models public interface
joshistoast03e82bc5b429
diff --git a/invokeai/frontend/webv2/performance/architecture-baseline.json b/invokeai/frontend/webv2/performance/architecture-baseline.jsonindex 5a5aba4a92..c50dbb0496 100644--- a/invokeai/frontend/webv2/performance/architecture-baseline.json+++ b/invokeai/frontend/webv2/performance/architecture-baseline.json@@ -2,17 +2,17 @@"build": {"launchpad": {"baseline": {- "brotliBytes": 832702,+ "brotliBytes": 834309,"cssRawBytes": 2159,"fontRawBytes": 219480,- "gzipBytes": 832559,+ "gzipBytes": 834049,"imageRawBytes": 156376,- "initialRawBytes": 1936020,- "largestAssetRawBytes": 746305,+ "initialRawBytes": 1938239,+ "largestAssetRawBytes": 746569,"otherAssetRawBytes": 0,- "ownedRawBytes": 67431,- "requestCount": 41,- "scriptRequestCount": 25,+ "ownedRawBytes": 66347,+ "requestCount": 42,+ "scriptRequestCount": 26,"sourceOwners": ["package:@ark-ui/react","package:@chakra-ui/react",@@ -150,6 +150,7 @@"source:src/features/identity/ui/useIdentityNotify.ts","source:src/features/models/core/baseIdentity.ts","source:src/features/models/data/api.ts",+ "source:src/features/models/data/apiKeys.ts","source:src/features/models/data/installsStore.ts","source:src/features/models/data/modelLoadStore.ts","source:src/features/models/data/modelsStore.ts",@@ -159,6 +160,7 @@"source:src/features/models/ui/ModelInstallRuntime.tsx","source:src/features/models/ui/ModelsPage.tsx","source:src/features/models/ui/ModelsUiContext.tsx",+ "source:src/features/models/ui/add-models/useInstallActions.ts","source:src/features/models/ui/useInstallOutcomeToasts.ts","source:src/features/models/ui/useModelsNotify.ts","source:src/features/nodes/core/catalog.ts",@@ -282,17 +284,17 @@]},"limits": {- "brotliBytes": 841030,+ "brotliBytes": 842653,"cssRawBytes": 2181,"fontRawBytes": 221675,- "gzipBytes": 840885,+ "gzipBytes": 842390,"imageRawBytes": 157940,- "initialRawBytes": 1955381,- "largestAssetRawBytes": 753769,+ "initialRawBytes": 1957622,+ "largestAssetRawBytes": 754035,"otherAssetRawBytes": 0,- "ownedRawBytes": 67431,- "requestCount": 41,- "scriptRequestCount": 25+ "ownedRawBytes": 66347,+ "requestCount": 42,+ "scriptRequestCount": 26},"owner": "app","remediationTicket": "set-performance-budgets",@@ -300,15 +302,15 @@},"editor": {"baseline": {- "brotliBytes": 1031938,+ "brotliBytes": 1033243,"cssRawBytes": 2159,"fontRawBytes": 219480,- "gzipBytes": 1029350,+ "gzipBytes": 1030701,"imageRawBytes": 156376,- "initialRawBytes": 2531198,- "largestAssetRawBytes": 746305,+ "initialRawBytes": 2533298,+ "largestAssetRawBytes": 746569,"otherAssetRawBytes": 0,- "ownedRawBytes": 112432,+ "ownedRawBytes": 112544,"requestCount": 92,"scriptRequestCount": 76,"sourceOwners": [@@ -517,6 +519,7 @@"source:src/features/identity/ui/useIdentityNotify.ts","source:src/features/models/core/baseIdentity.ts","source:src/features/models/data/api.ts",+ "source:src/features/models/data/apiKeys.ts","source:src/features/models/data/installsStore.ts","source:src/features/models/data/modelLoadStore.ts","source:src/features/models/data/modelsStore.ts",@@ -526,6 +529,7 @@"source:src/features/models/ui/ModelInstallRuntime.tsx","source:src/features/models/ui/ModelsPage.tsx","source:src/features/models/ui/ModelsUiContext.tsx",+ "source:src/features/models/ui/add-models/useInstallActions.ts","source:src/features/models/ui/useInstallOutcomeToasts.ts","source:src/features/models/ui/useModelsNotify.ts","source:src/features/nodes/core/catalog.ts",@@ -840,15 +844,15 @@]},"limits": {- "brotliBytes": 1042258,+ "brotliBytes": 1043576,"cssRawBytes": 2181,"fontRawBytes": 221675,- "gzipBytes": 1039644,+ "gzipBytes": 1041009,"imageRawBytes": 157940,- "initialRawBytes": 2556510,- "largestAssetRawBytes": 753769,+ "initialRawBytes": 2558631,+ "largestAssetRawBytes": 754035,"otherAssetRawBytes": 0,- "ownedRawBytes": 112432,+ "ownedRawBytes": 112544,"requestCount": 92,"scriptRequestCount": 76},diff --git a/invokeai/frontend/webv2/src/features/models/index.ts b/invokeai/frontend/webv2/src/features/models/index.tsindex b95ca469ad..95ca7be969 100644--- a/invokeai/frontend/webv2/src/features/models/index.ts+++ b/invokeai/frontend/webv2/src/features/models/index.ts@@ -5,8 +5,11 @@ export type {ModelFileFormat,ModelTaxonomyType,PredictionType,+ StarterModel,+ StarterModelResponse,} from './core/types';export { getModelBaseColorPalette, getModelBaseLabel, type ModelBaseColorPalette } from './core/baseIdentity';+export { useActiveInstallSources } from './data/installsStore';export {ensureModelsLoaded,getModelsSnapshot,@@ -21,6 +24,9 @@ export {type ModelLoadActivitySink,type ModelLoadInfo,} from './data/modelLoadStore';+export { ensureStartersLoaded, getStartersSnapshot, useStartersSelector } from './data/startersStore';+export { useInstallActions } from './ui/add-models/useInstallActions';+export { getStarterModelInstallSources, type StarterInstallSource } from './ui/add-models/starterModelInstallSources';export { ModelInstallRuntime } from './ui/ModelInstallRuntime';export { ModelsPage } from './ui/ModelsPage';export { ModelsUiProvider, type ModelsUiAdapter } from './ui/ModelsUiContext';