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(ltx2): give the LTX-2 badge its own hue

Lincoln Stein74a9e67b9c39
diff --git a/invokeai/frontend/webv2/src/features/models/core/baseIdentity.test.ts b/invokeai/frontend/webv2/src/features/models/core/baseIdentity.test.ts
index aeb18206d2..6f24a6b245 100644
--- a/invokeai/frontend/webv2/src/features/models/core/baseIdentity.test.ts
+++ b/invokeai/frontend/webv2/src/features/models/core/baseIdentity.test.ts
@@ -45,7 +45,7 @@ describe('MODEL_BASES', () => {
expect(getModelBaseInfo('flux2')).toMatchObject({ label: 'FLUX.2', colorPalette: 'ice' });
expect(getModelBaseInfo('qwen-image')).toMatchObject({ label: 'Qwen Image', colorPalette: 'cyan' });
expect(getModelBaseInfo('minimax-h3')).toMatchObject({ label: 'MiniMax H3', colorPalette: 'coral' });
- expect(getModelBaseInfo('ltx-2')).toMatchObject({ label: 'LTX-2', colorPalette: 'steel' });
+ expect(getModelBaseInfo('ltx-2')).toMatchObject({ label: 'LTX-2', colorPalette: 'mint' });
expect(isConvertibleToDiffusers(createModel({ base: 'sdxl', format: 'checkpoint', type: 'main' }))).toBe(true);
expect(isConvertibleToDiffusers(createModel({ base: 'flux', format: 'checkpoint', type: 'main' }))).toBe(false);
});
diff --git a/invokeai/frontend/webv2/src/features/models/core/baseIdentity.ts b/invokeai/frontend/webv2/src/features/models/core/baseIdentity.ts
index 17aca1e560..2fbd00e54e 100644
--- a/invokeai/frontend/webv2/src/features/models/core/baseIdentity.ts
+++ b/invokeai/frontend/webv2/src/features/models/core/baseIdentity.ts
@@ -16,6 +16,7 @@ export type ModelBaseColorPalette =
| 'green'
| 'ice'
| 'lavender'
+ | 'mint'
| 'orange'
| 'periwinkle'
| 'pink'
@@ -131,7 +132,7 @@ export const MODEL_BASES = {
'ltx-2': {
base: 'ltx-2',
label: 'LTX-2',
- colorPalette: 'steel',
+ colorPalette: 'mint',
description: 'Video architecture that generates video with synchronized audio.',
},
any: {
diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsx
index 42c7e6b083..33da24d817 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsx
@@ -21,6 +21,7 @@ const UPDATED_BASES = new Set([
'krea-2',
'wan',
'minimax-h3',
+ 'ltx-2',
]);
(globalThis as typeof globalThis & { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/system.ts b/invokeai/frontend/webv2/src/platform/ui/theme/system.ts
index 2c20cc7d98..7f7da3f7a3 100644
--- a/invokeai/frontend/webv2/src/platform/ui/theme/system.ts
+++ b/invokeai/frontend/webv2/src/platform/ui/theme/system.ts
@@ -154,6 +154,7 @@ const categoricalPalettes = Object.fromEntries(
gold: '#f6d365',
ice: '#b3e5fc',
lavender: '#bd9fff',
+ mint: '#7fd8b5',
periwinkle: '#a5b4fc',
sage: '#a3b18a',
silver: '#d4d4d5',