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
// The community showcase: entries live in `src/content/showcase/` and arrive through a GitHub issue form.
/** The issue form for showcase submissions, `.github/ISSUE_TEMPLATE/SHOWCASE.yml`. */
export const SHOWCASE_SUBMIT_URL = 'https://github.com/invoke-ai/InvokeAI/issues/new?template=SHOWCASE.yml';
/**
* Newest first. Entries from the same date are ordered by title, then id, so builds are stable.
* @template {{ id: string, data: { date: Date, title: string } }} T
* @param {readonly T[]} entries
* @returns {T[]}
*/
export const sortShowcase = (entries) =>
[...entries].sort(
(a, b) =>
b.data.date.getTime() - a.data.date.getTime() ||
a.data.title.localeCompare(b.data.title) ||
a.id.localeCompare(b.id),
);