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 '@fontsource/inter/index.css';
import '@platform/i18n/client';
import { identityTransportAuthAdapter, startIdentityCredentialSync } from '@features/identity';
import { preventFileDropNavigation } from '@platform/browser/fileDropNavigation';
import { registerServiceWorker } from '@platform/pwa/registerServiceWorker';
import { configureHttpAuth } from '@platform/transport/http';
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { configureAppAccountLifecycle } from './accountLifecycle';
import { App } from './App';
import { configureAppLogging } from './loggingRuntime';
// Identity, logging and HTTP ownership must be configured before any route starts work.
configureAppAccountLifecycle();
configureAppLogging();
configureHttpAuth(identityTransportAuthAdapter);
// Follows other tabs' sign-in, sign-out and token renewals for the page's lifetime.
startIdentityCredentialSync();
registerServiceWorker();
// A file dropped where nothing takes it must not navigate away from the app, for the page's lifetime.
preventFileDropNavigation();
const rootElement = document.getElementById('root');
if (!rootElement) {
throw new Error('Unable to mount Invoke V7: root element was not found.');
}
createRoot(rootElement).render(
<StrictMode>
<App />
</StrictMode>
);