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
import { WORKBENCH_LANGUAGE_OPTIONS } from '@platform/i18n/languages';
import { applyThemeToRoot } from '@theme/applyTheme';
import { THEMES } from '@theme/themes';
import { openWorkbenchSettings } from '@workbench/settings/settingsDialogStore';
import { getWorkbenchPreferences, patchWorkbenchPreferences } from '@workbench/settings/store';
import type { SettingsEntryDeps } from './entries';
/** Live workbench bindings for the palette's settings entries, shared by both palette hosts. */
export const SETTINGS_ENTRY_DEPS: SettingsEntryDeps = {
clearThemePreview: () => applyThemeToRoot(getWorkbenchPreferences().themeId),
languageOptions: WORKBENCH_LANGUAGE_OPTIONS,
openSettingsSection: openWorkbenchSettings,
patchPreferences: patchWorkbenchPreferences,
previewTheme: applyThemeToRoot,
themes: THEMES,
};