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.

1.1 KB
Raw Blame
import type { SettingsContribution } from '@platform/ui/settings/contracts';

export const imageMapSettingsContribution: SettingsContribution = {
  id: 'imageMap',
  label: (t) => t('widgets.labels.imageMap'),
  fields: [
    {
      id: 'showClusterLabels',
      kind: 'boolean',
      label: (t) => t('settingsDialog.fields.showClusterLabels'),
      scope: 'project',
      keywords: 'tags text display',
    },
    {
      id: 'clusterEps',
      kind: 'custom',
      label: (t) => t('settingsDialog.fields.clusterStrength'),
      description: (t) => t('settingsDialog.fields.clusterStrengthHint'),
      scope: 'project',
      keywords: 'dbscan eps clustering density granularity',
    },
    {
      id: 'clickSelectsCluster',
      kind: 'boolean',
      label: (t) => t('settingsDialog.fields.clickSelectsCluster'),
      scope: 'project',
      keywords: 'click gallery selection',
    },
  ],
  // The vocabulary joins this section from the application contributions; it stays in the dialog.
  quick: ['showClusterLabels', 'clusterEps', 'clickSelectsCluster'],
  load: () => import('./settingsBindings'),
};