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 type { ModelConfig } from '@features/models';
import { getControlModelUnusableReason } from '@features/generation/graph';
/** Anima LLLite models from before `cond_in_channels` was recorded: listed disabled, never usable. */
export const getReidentifyPendingControlModels = (
models: readonly ModelConfig[],
base: string | null
): ModelConfig[] =>
base === 'anima'
? models.filter(
(model) =>
model.base === base && getControlModelUnusableReason(model, 'anima_lllite') === 'lllite_channels_unknown'
)
: [];