The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
// 3.0.4 Gegenprobe (02.10.2026): Models, Installed called the AnimateDiff
// motion module v3_sd15_mm.ckpt "safetensors", because the card fell back to
// that word whenever no format was set. The file's own ending says it.
/** The format a model card shows: the set format, else the file ending. */
export function fileFormat(model: { format?: string; name: string }): string {
if (model.format) return model.format
const ext = /\.([a-z0-9]{2,12})$/i.exec(model.name)?.[1]
return ext ? ext.toLowerCase() : ''
}