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.

498 B
Raw Blame
import type { ArchitectureCapabilitiesRow } from '@features/models/core/architectureCapabilities';

import { apiFetchJson } from '@platform/transport/http';

/** The architecture table is static per backend build and independent of installed models. */
const CAPABILITIES_PATH = '/api/v2/models/capabilities';

export const getArchitectureCapabilities = (signal?: AbortSignal): Promise<ArchitectureCapabilitiesRow[]> =>
  apiFetchJson<ArchitectureCapabilitiesRow[]>(CAPABILITIES_PATH, { signal });