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.

821 B
Raw Blame
/** Image-map Socket.IO contracts mirror snake_case models in events_common.py and remain owned by this domain. */

/** Embedding-index progress counts. Routed to admins only by the backend. */
export interface ImageIndexStatusEvent {
  total: number;
  embedded: number;
  pending: number;
  /**
   * Failed embeddings are excluded from pending, explaining settled totals above embedded counts. Optional for older
   * servers; default zero.
   */
  failed?: number;
}

/** User-room refresh signal after embedding; nonadmins need it because admin index status never reaches them. */
export interface ImageIndexUpdatedEvent {
  user_id: string;
}

/** A user's image map projection finished recomputing (user + admin rooms). */
export interface ImageMapProjectionReadyEvent {
  user_id: string;
  point_count: number;
}