Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Details, counts and pickers: plain notes on every preset, one wording for the counts

Adarsh090763a45246
diff --git a/src/app/(studio)/settings/about/page.tsx b/src/app/(studio)/settings/about/page.tsx
index 8970c67f..b41fff16 100644
--- a/src/app/(studio)/settings/about/page.tsx
+++ b/src/app/(studio)/settings/about/page.tsx
@@ -136,8 +136,9 @@ export default async function Page() {
Open model licences
</h2>
<p className="mt-1 mb-5 max-w-2xl text-[13px] text-muted-foreground">
- Fuobe&apos;s studios offer {models.open} open-source models. Below is the licence of every set of open weights Fuobe runs: theirs, the helper steps its presets run
- and {library} more workflows in the library, {list.counts.all} in all (tools with no weights aren&apos;t listed). {list.counts.clear} allow commercial use, {list.counts.conditions} with conditions (revenue limits or use rules), {list.counts["non-commercial"]} non-commercial
+ Fuobe&apos;s studios offer {models.open} open-source models and tools. The list below has {list.counts.all} entries, one for each set of open weights Fuobe
+ runs: the studios&apos; models, the helper steps presets run, and {library} more workflows in the library. Tools with no weights aren&apos;t listed.
+ {" "}{list.counts.clear} allow commercial use, {list.counts.conditions} with conditions (revenue limits or use rules), {list.counts["non-commercial"]} non-commercial
and {list.counts.territory} not available everywhere. Read the licence itself before you sell what you make; this list is a guide, not legal advice. Which models this install offers
is set in{" "}
<Link href="/settings/models" className="text-brand-text underline underline-offset-2">
diff --git a/src/app/(studio)/status/page.tsx b/src/app/(studio)/status/page.tsx
index 2c1caca2..9555239b 100644
--- a/src/app/(studio)/status/page.tsx
+++ b/src/app/(studio)/status/page.tsx
@@ -85,9 +85,9 @@ export default async function Page() {
</Fact>
<Fact label="Models">
<Link href="/models" className={link}>
- {models.open} open-source
+ {models.open} open-source models and tools
</Link>
- <span className="text-muted-foreground"> · {models.cloud} more with a fal.ai or Replicate key</span>
+ <span className="text-muted-foreground"> · {models.cloud} partner models in the cloud</span>
</Fact>
<Fact label="Licence">
<a href={`${FUOBE_REPO}/blob/main/LICENSE`} target="_blank" rel="noreferrer" className={link}>
diff --git a/src/components/home-view.tsx b/src/components/home-view.tsx
index 41b76708..5fef019f 100644
--- a/src/components/home-view.tsx
+++ b/src/components/home-view.tsx
@@ -142,7 +142,7 @@ export function HomeView({
prices,
quotes,
}: {
- /** "130+": the open models a visitor runs on their own GPU (About & licences' count, rounded down). */
+ /** "120+": the open models and tools a visitor runs on their own GPU (modelCounts().open, rounded down). */
openModels: string;
chips: readonly TryChip[];
/** The chip that opens Assist with a job typed in: the owner's, in place of the last Try chip. */
@@ -265,7 +265,7 @@ export function HomeView({
<p className="mt-2 text-[15px] text-pretty text-muted-foreground">
{/* Before the status: the words a public studio's visitors get (the owner's own install corrects them in a moment). */}
{!status || visitor || engineMode === "open"
- ? `Pictures, video, sound and 3D on ${openModels} open models, free on your own GPU through ComfyUI.`
+ ? `Pictures, video, sound and 3D on ${openModels} open models and tools, free on your own GPU through ComfyUI.`
: engineMode === "cloud"
? "Frontier paid models through your own API keys."
: "Frontier cloud models or fully open-source workflows — same studio, your choice."}
diff --git a/src/components/home/home-sections.tsx b/src/components/home/home-sections.tsx
index 876ada23..33fc0301 100644
--- a/src/components/home/home-sections.tsx
+++ b/src/components/home/home-sections.tsx
@@ -293,11 +293,11 @@ const KIND_ICON: Record<string, LucideIcon> = { image: ImageIcon, video: Video,
export function OpenSourceSection({ facts, newModels }: Pick<HomeShowcase, "facts" | "newModels">) {
const numbers = [
- { value: facts.openModels, label: "open-source models, each licence listed", href: "/settings/about" },
+ { value: facts.openModels, label: "open-source models and tools, free on your own GPU", href: "/settings/about" },
{ value: facts.workflows, label: "ComfyUI workflows to read, run and change", href: "/workflows" },
{ value: facts.originals, label: "Fuobe Originals, free on your GPU", href: "/models?q=Fuobe" },
{ value: facts.presets, label: "presets: apps, camera motions and effects", href: "/effects" },
- { value: facts.partners, label: "partner models through your own fal.ai or Replicate key", href: "/models" },
+ { value: facts.partners, label: "partner models in the cloud", href: "/models" },
];
return (
<section aria-labelledby="home-open" className={cn(SECTION, "[--cv:528px] sm:[--cv:494px] md:[--cv:571px] lg:[--cv:494px] xl:[--cv:363px]")}>
diff --git a/src/components/models-table.tsx b/src/components/models-table.tsx
index ad8f9381..cf38f5f7 100644
--- a/src/components/models-table.tsx
+++ b/src/components/models-table.tsx
@@ -180,6 +180,9 @@ export function ModelsTable({ models }: { models: ModelRow[] }) {
const searchable = useMemo(() => index.filter(([m]) => engine === "all" || (m.engines.includes(engine) && offered(access, m.id, engine))), [index, engine, access]);
const list = useMemo(() => searchable.filter(([m, text]) => (kind === "all" || m.kind === kind) && (!term || text.includes(term))).map(([m]) => m), [searchable, kind, term]);
const only = mode === "both" ? undefined : mode;
+ // The Cloud list has the Fuobe Originals too (they run on both engines), so it says how many: Home and Project
+ // status count them once, under open source.
+ const originals = engine === "cloud" ? list.filter((m) => m.vendor === "Fuobe Original").length : 0;
// 40 rows in the page's HTML, the rest as you scroll.
const { shown, hasMore, moreFrom, sentinel, left } = useProgressive(list.length, `${engine}|${kind}|${term}`, 40, 60);
const rows = useRef<HTMLTableSectionElement>(null);
@@ -230,7 +233,7 @@ export function ModelsTable({ models }: { models: ModelRow[] }) {
))}
</div>
<span className="text-[13px] whitespace-nowrap text-muted-foreground tabular-nums lg:ml-auto" aria-live="polite">
- {list.length} models
+ {list.length} models{originals > 0 && `, ${originals} of them Fuobe Originals`}
</span>
</div>
{switchedOff > 0 && (
diff --git a/src/components/studio/model-picker.tsx b/src/components/studio/model-picker.tsx
index 0d9e1bd9..5c104a41 100644
--- a/src/components/studio/model-picker.tsx
+++ b/src/components/studio/model-picker.tsx
@@ -290,7 +290,7 @@ function PickerList({
<Command shouldFilter={false} loop label="Models" onKeyDown={(e) => starKey(e, (id) => setStarred((s) => toggleIn(s, id)))} className="rounded-none! bg-transparent p-0">
<div className="flex items-center gap-2 p-1 sm:p-2 sm:pb-1">
<div className="min-w-0 flex-1 [&_[data-slot=command-input-wrapper]]:p-0">
- <CommandInput value={q} onValueChange={setQ} placeholder={mode === "both" ? "Search all models" : "Search models"} aria-label="Search models" autoFocus={!mobile} />
+ <CommandInput value={q} onValueChange={setQ} placeholder={mobile ? "Search" : mode === "both" ? "Search all models" : "Search models"} aria-label="Search models" autoFocus={!mobile} />
</div>
<EngineSwitch value={engine} onChange={onEngineChange} size="sm" />
</div>
diff --git a/src/lib/catalog/apps.ts b/src/lib/catalog/apps.ts
index 2b6c707e..977f9940 100644
--- a/src/lib/catalog/apps.ts
+++ b/src/lib/catalog/apps.ts
@@ -609,7 +609,8 @@ export const APPS: Preset[] = [
prompt: "The product {option:scene}. {prompt}",
cloud: { modelId: "bria-product-shot", op: "edit" },
open: { modelId: "oss-product-shot", op: "edit" },
- parity: "The open version cuts the product out, puts it on white and relights it into the scene with Qwen-Image-Edit 2509 + the White_to_Scene LoRA.",
+ // The open version is Qwen-Image-Edit 2509 with the White_to_Scene LoRA.
+ parity: "On your GPU it cuts the product out, puts it on white and relights it into the scene.",
}),
app({
name: "Product Placement",
@@ -1251,7 +1252,7 @@ export const APPS: Preset[] = [
videoApp({
name: "ClipCut",
category: "Video",
- description: "One selfie → a beat-synced multi-outfit reel",
+ description: "One selfie → an outfit-change clip",
icon: "Film",
hue: 330,
options: [
@@ -1269,7 +1270,7 @@ export const APPS: Preset[] = [
videoApp({
name: "Urban Cuts",
category: "Video",
- description: "Beat-matched outfit transitions in the city",
+ description: "Outfit changes in the city, in one clip",
icon: "Building2",
hue: 200,
userPrompt: "optional",
diff --git a/src/lib/catalog/counts.ts b/src/lib/catalog/counts.ts
index bdbef594..bb545591 100644
--- a/src/lib/catalog/counts.ts
+++ b/src/lib/catalog/counts.ts
@@ -3,11 +3,14 @@
*
* The rule:
* - A model counts when a visitor can pick it: it is listed in a studio's picker, on /models and in the ⌘K palette.
- * A hidden model is a step a preset or a tool runs for you (trim a clip, join two clips, a self-test, a relight
- * LoRA an app uses): it is part of what it serves, never picked on its own, so it isn't counted.
+ * That includes the tools a picker lists that have no weights of their own (Trim video, Join clips, Pro export),
+ * so pages say "models and tools".
+ * - A hidden model is a step a preset or a tool runs for you (the join step behind a preset, a self-test, the
+ * relight an app runs first): it is part of what it serves and never listed in a picker, so it isn't counted. The
+ * canvas can still offer one as a step inside a tool node (a frame or a join node); that doesn't make it a pick.
* - `open`: the models that run on the open engine (ComfyUI on your own GPU). A Fuobe Original runs on both engines
- * and counts here, once.
- * - `cloud`: the models that run only in the cloud, through your own fal.ai or Replicate key (the partner models).
+ * and counts here, once (the /models Cloud list shows it too, and says how many).
+ * - `cloud`: the models that run only in the cloud (the partner models, through the visitor's own key).
* - `all`: open + cloud, so every pickable model counts exactly once.
*
* The licence list on About & licences is a different count (one row per set of open weights, helper steps and
diff --git a/src/lib/catalog/dop.ts b/src/lib/catalog/dop.ts
index 7ac2dd90..bf8fe091 100644
--- a/src/lib/catalog/dop.ts
+++ b/src/lib/catalog/dop.ts
@@ -152,10 +152,8 @@ const withTrigger = (template: string, loras: LoraRef[]) => {
return trigger ? `${trigger}. ${template}` : undefined;
};
-const names = (loras: LoraRef[]) => {
- const seen = [...new Set(loras.map(loraName))];
- return seen.length < 2 ? seen.join("") : `${seen.slice(0, -1).join(", ")} and ${seen.at(-1)}`;
-};
+/** A note as a sentence, with its final period. */
+const sentence = (s: string) => (/[.!?]$/.test(s.trim()) ? s.trim() : `${s.trim()}.`);
/**
* A motion or effect preset as Fuobe DoP runs it: its open and cloud routes (model, operation, LoRAs, camera pose
@@ -180,26 +178,34 @@ export function dopPreset(p: Preset): Preset {
return { modelId, op, params: { ...base, ...params }, ...(loras.length && { loras }), ...(promptTemplate && { promptTemplate }) };
};
+ // What the Details popover says each engine does, in plain words. The route keeps the model, the LoRA files and
+ // the camera pose; the popover's route rows name the model.
+ const thing = p.type === "motion" ? "move" : "effect";
+ const withLora = `uses a LoRA trained for this ${thing}`;
+ const onWords = `follows the ${thing}'s description`;
+ const cameraControl = "uses a built-in camera control for this move";
+
// On the user's GPU: Wan first (most LoRAs, Mix stacks there), then LTX-2.3, then LTX-2.5; else a pose; else words.
let open: PresetRoute;
let openSays: string;
if (wan.length) {
// A Wan 2.1 LoRA runs on Wan 2.2 too (its strength is checked on a GPU run); the Details popover just names it.
open = route(DOP_MODEL, wan);
- openSays = `Wan 2.2 with ${names(wan)}`;
+ openSays = withLora;
} else if (ltx.length) {
// An LTX-2 LoRA runs on LTX-2.3 too (not verified yet); the Details popover just names it.
open = route(DOP_LTX_MODEL, ltx);
- openSays = `LTX-2.3 with ${names(ltx)}`;
+ openSays = withLora;
} else if (ltx25.length && op === "i2v") {
open = { ...route(LTX25_OPEN, ltx25), params: { duration: 5, resolution: "720p" } };
- openSays = `LTX-2.5 with ${names(ltx25)}`;
+ openSays = withLora;
} else if (pose) {
open = route(DOP_MODEL, [], { extra: { cameraMotion: pose } });
- openSays = `Wan 2.2 Fun Camera's "${pose}" move`;
+ // Wan 2.2 Fun Camera's own pose.
+ openSays = cameraControl;
} else {
open = route(DOP_MODEL, []);
- openSays = "Wan 2.2 on the preset's words";
+ openSays = onWords;
}
// What the effect adds around the clip: a grade the browser applies after it, or a relight of the start frame first.
@@ -225,49 +231,59 @@ export function dopPreset(p: Preset): Preset {
const wanHosted = wan.some((l) => !gpuOnlyLicence(l)) ? wan : [];
const ltxHosted = ltx.some((l) => !gpuOnlyLicence(l)) ? ltx : [];
let cloud: PresetRoute;
- let cloudSays: string;
+ let cloudSays: string | undefined;
if (recipe?.cameraMotion) {
// The fast endpoint at 720p in the start frame's shape, silent like every DoP clip (its defaults say so too).
cloud = { modelId: LTX25_HOSTED, op: "i2v", params: { duration: 6, resolution: "720p", aspectRatio: "auto", generateAudio: false, extra: { camera_motion: recipe.cameraMotion } } };
- cloudSays = `LTX-2.5's ${recipe.cameraMotion.replace(/_/g, " ")} camera move`;
+ // LTX-2.5's own camera move.
+ cloudSays = cameraControl;
} else if (recipe?.cameraLora) {
cloud = route(DOP_LTX_MODEL, ltxHosted, { extra: { camera_lora: recipe.cameraLora } });
- cloudSays = `LTX-2.3's ${recipe.cameraLora.replace(/_/g, " ")} camera LoRA${ltxHosted.length ? ` with ${names(ltxHosted)}` : ""}`;
+ // LTX-2.3's camera LoRA, with the preset's LTX LoRAs when a host runs them.
+ cloudSays = withLora;
} else if (wanHosted.length) {
cloud = route(DOP_MODEL, wanHosted);
- cloudSays = `Wan 2.2 with ${names(wanHosted)}`;
+ cloudSays = withLora;
} else if (ltxHosted.length) {
cloud = route(DOP_LTX_MODEL, ltxHosted);
- cloudSays = `LTX-2.3 with ${names(ltxHosted)}`;
+ cloudSays = withLora;
} else if (extras.grade || extras.prestep || !p.cloud) {
cloud = route(DOP_MODEL, []);
- cloudSays = "Wan 2.2 on the preset's words";
+ cloudSays = onWords;
} else {
// The partner route stays until the evaluation harness measures Fuobe DoP on these words (fal has no LTX-2.5 LoRA
// endpoint, so an LTX-2.5 LoRA stays on the GPU).
cloud = { ...p.cloud, partner: true };
- cloudSays = "the preset's words on a partner model";
}
const local = [...wan, ...ltx].filter(gpuOnlyLicence);
const used = [...wan, ...ltx, ...(open.modelId === LTX25_OPEN ? ltx25 : [])];
const nonCommercial = used.filter((l) => (l.licence ?? libraryEntry(l)?.licence)?.commercial === false);
- const held = status === "licence-hold" ? presetLoras(p.id).map((l) => l.ref) : [];
+ // "Its LoRA is", "Its LoRAs are" or "One of its LoRAs is": the LoRA files' names stay in the route, not in Details.
+ const its = (some: LoraRef[]) => {
+ const n = new Set(some.map(loraName)).size;
+ const of = new Set(used.map(loraName)).size;
+ if (n < of) return n > 1 ? "Some of its LoRAs are" : "One of its LoRAs is";
+ return n > 1 ? "Its LoRAs are" : "Its LoRA is";
+ };
let parity: string;
- if (grade) parity = "Fuobe DoP animates your still without a LoRA, then your browser grades the clip";
+ if (grade) parity = "Fuobe DoP animates your still, then your browser grades the clip.";
else if (mixedLook && extras.prestep) {
- const lora = extras.prestep.cloud.loras?.length ? ` with ${names(extras.prestep.cloud.loras)}` : "";
- parity = `Fuobe DoP draws your still as ${mixedLook.name} first (Fuobe Mixed Media: Z-Image Turbo + ControlNet${lora}), then animates it, on your GPU and in the cloud. For a whole clip restyled frame by frame, use Mixed Media`;
- } else if (extras.prestep) parity = "Fuobe DoP relights your still first (Qwen-Image-Edit 2509 + its Relight LoRA), then animates it";
- else if (status === "mixed-media-route") parity = `${p.parity ?? ""}${p.parity ? ". " : ""}For a whole clip restyled frame by frame, use Mixed Media`;
- else if (openSays === cloudSays) parity = `Fuobe DoP: ${openSays}, on your GPU and in the cloud`;
- else parity = `Fuobe DoP on your GPU: ${openSays}. In the cloud: ${cloudSays}`;
- if (local.length) {
- parity += cloud.modelId === DOP_MODEL || cloud.modelId === DOP_LTX_MODEL
- ? `. ${names(local)} is licensed for your GPU only (civitai lists no “Rent”): the cloud runs it too unless Settings → Models & licences keeps such LoRAs on your GPU`
- : `. ${names(local)} is licensed for your GPU only (civitai lists no “Rent”), so the cloud keeps the preset's partner route until Fuobe DoP with it is evaluated`;
- }
- if (nonCommercial.length) parity += `. ${names(nonCommercial)} is licensed for non-commercial use`;
- if (held.length) parity += `. ${names(held)} is in Fuobe's LoRA library, but the research holds its licence (its Hugging Face and civitai pages disagree), so the preset runs on its words until it is evaluated`;
+ // Fuobe Mixed Media is Z-Image Turbo + ControlNet, with the look's LoRA when the map has one.
+ parity = `Fuobe Mixed Media draws your still as ${mixedLook.name} first, then Fuobe DoP animates it, on your GPU and in the cloud. For a whole clip restyled frame by frame, use Mixed Media.`;
+ } else if (extras.prestep) {
+ // The relight is Qwen-Image-Edit 2509 with its Relight LoRA.
+ parity = "Fuobe DoP relights your still first, then animates it.";
+ } else if (status === "mixed-media-route") parity = `${p.parity ? `${sentence(p.parity)} ` : ""}For a whole clip restyled frame by frame, use Mixed Media.`;
+ else if (!cloudSays && local.length) parity = `On your GPU, Fuobe DoP ${openSays}. ${its(local)} licensed for your GPU only, so in the cloud it runs on a partner model.`;
+ else if (!cloudSays) parity = `On your GPU, Fuobe DoP ${openSays}. In the cloud it runs on a partner model.`;
+ else if (openSays === cloudSays) parity = `Fuobe DoP ${openSays}, on your GPU and in the cloud.`;
+ else parity = `On your GPU, Fuobe DoP ${openSays}. In the cloud, it ${cloudSays}.`;
+ // A LoRA licensed for the GPU only (civitai lists no "Rent") rides along on Fuobe DoP in the cloud unless the admin
+ // keeps such LoRAs on the GPU.
+ if (local.length && cloudSays) parity += ` ${its(local)} licensed for your GPU only. Settings → Models & licences can keep ${local.length > 1 ? "them" : "it"} off the cloud.`;
+ if (nonCommercial.length) parity += ` ${its(nonCommercial)} for non-commercial use.`;
+ // A LoRA whose licence the research holds ("licence-hold": BTS, whose Hugging Face and civitai pages disagree) stays
+ // in the library; the preset runs on its words until it is evaluated, which the line above already says.
return { ...p, open, cloud, parity, ...extras };
}
diff --git a/src/lib/catalog/index.ts b/src/lib/catalog/index.ts
index 474f1524..fcb08d07 100644
--- a/src/lib/catalog/index.ts
+++ b/src/lib/catalog/index.ts
@@ -62,7 +62,8 @@ const APP_OPEN_OVERRIDES: Record<string, Preset["open"]> = {
/** What the open version does differently, shown on the app page next to an override above. */
const APP_OPEN_PARITY: Record<string, string> = {
- "app-virtual-try-on": "The open version uses FLUX.2 [klein] 4B with a try-on LoRA and masks the old outfit out first (10 GB GPU, Apache-2.0).",
+ // FLUX.2 [klein] 4B with a try-on LoRA (10 GB GPU, Apache-2.0).
+ "app-virtual-try-on": "On your GPU it masks the old outfit out first, then dresses you with a try-on LoRA.",
};
export const APPS: Preset[] = RAW_APPS.map((a) =>
diff --git a/src/lib/catalog/motions.ts b/src/lib/catalog/motions.ts
index 4ee38d51..bfa8ecc7 100644
--- a/src/lib/catalog/motions.ts
+++ b/src/lib/catalog/motions.ts
@@ -30,7 +30,7 @@ const START: InputSlot = { key: "image", label: "Start frame", accept: "image",
const END: InputSlot = { key: "endImage", label: "End frame", accept: "image", required: true, hint: "Where the transition lands" };
/** The reference applies these to an uploaded video; Fuobe animates a still in the look (Details says it plainly). */
-const RESTYLE = "Animates your still in this look";
+const RESTYLE = "Animates your still in this look.";
function slug(s: string): string {
return s
@@ -65,7 +65,7 @@ function build(type: "motion" | "effect", specs: MotionSpec[], baseHue: number):
loras: m.loras,
},
// Fuobe DoP writes each motion's and effect's own line (dopPreset); this one is kept only where it adds to it.
- parity: m.parity ?? (m.loras?.length ? "On your GPU it adds a LoRA trained for this look" : "On your GPU it follows the preset's words"),
+ parity: m.parity ?? (m.loras?.length ? "On your GPU it adds a LoRA trained for this look." : "On your GPU it follows the preset's description."),
};
});
}
diff --git a/src/lib/composer.ts b/src/lib/composer.ts
index 19bc6d7e..0562c409 100644
--- a/src/lib/composer.ts
+++ b/src/lib/composer.ts
@@ -981,9 +981,10 @@ export function matchScore(m: Pick<ModelDef, "name" | "vendor" | "tagline" | "fa
/**
* The picker's sections. Without a query: Recent (last 3 used), Starred, Best for this studio
- * and All models, for the selected engine. Every model shows once: it sits in the first section
- * it belongs to, so All models lists only the ones the sections above it leave out. `count` is
- * still every model of the engine. With a query: one list across every allowed engine, best
+ * and the rest, for the selected engine. Every model shows once: it sits in the first section
+ * it belongs to, so the last section lists only the ones the sections above it leave out ("More
+ * models" under them, "All models" when it is the only one). `count` is still every model of
+ * the engine. With a query: one list across every allowed engine, best
* matches first.
*/
export function groupModels(input: {
@@ -1020,13 +1021,16 @@ export function groupModels(input: {
}
return out;
};
- const groups: ModelGroup[] = [
- { id: "recent", label: "Recent", models: take(recent, 3) },
- { id: "starred", label: "Starred", models: take(starred, 50) },
- { id: "best", label: "Best for this studio", models: take(best, 4) },
- { id: "all", label: "All models", models: pool.filter((m) => !used.has(m.id)) },
- ];
- return { groups: groups.filter((g) => g.models.length), count: pool.length };
+ const top = (
+ [
+ { id: "recent", label: "Recent", models: take(recent, 3) },
+ { id: "starred", label: "Starred", models: take(starred, 50) },
+ { id: "best", label: "Best for this studio", models: take(best, 4) },
+ ] satisfies ModelGroup[]
+ ).filter((g) => g.models.length);
+ const rest = pool.filter((m) => !used.has(m.id));
+ const groups: ModelGroup[] = [...top, ...(rest.length ? [{ id: "all" as const, label: top.length ? "More models" : "All models", models: rest }] : [])];
+ return { groups, count: pool.length };
}
/** Keep a most-recent-first id list without duplicates. */
diff --git a/tests/composer.test.ts b/tests/composer.test.ts
index a15579d7..b7832e9e 100644
--- a/tests/composer.test.ts
+++ b/tests/composer.test.ts
@@ -235,7 +235,7 @@ describe("model picker groups", () => {
expect(models.map((m) => m.id)).toEqual(modelsFor({ kind: IMAGE_STUDIO.kind, ops: IMAGE_STUDIO.ops }).map((m) => m.id));
});
- it("puts Recent, Starred and Best above All models, and shows every model once", () => {
+ it("puts Recent, Starred and Best above More models, and shows every model once", () => {
const best = bestForStudio(models, "cloud", IMAGE_STUDIO.defaultModels.cloud).map((m) => m.id);
expect(best[0]).toBe("nano-banana-pro");
expect(best.length).toBeLessThanOrEqual(4);
@@ -243,26 +243,33 @@ describe("model picker groups", () => {
const starred = [cloud[1].id, cloud[6].id];
const { groups, count } = groupModels({ models, engine: "cloud", engines: ["cloud", "open"], query: "", recent, starred, best });
expect(groups.map((g) => g.id)).toEqual(["recent", "starred", "best", "all"]);
+ expect(groups[3].label).toBe("More models");
// Last 3 used of this engine; the open model is skipped.
expect(groups[0].models.map((m) => m.id)).toEqual([cloud[3].id, cloud[1].id, cloud[2].id]);
// cloud[1] is already in Recent.
expect(groups[1].models.map((m) => m.id)).toEqual([cloud[6].id]);
const top = new Set([...groups[0].models, ...groups[1].models, ...groups[2].models].map((m) => m.id));
expect(top.size).toBe(groups[0].models.length + groups[1].models.length + groups[2].models.length);
- // All models leaves out what the sections above already show; the count is still every model.
+ // More models leaves out what the sections above already show; the count is still every model.
expect(groups[3].models.some((m) => top.has(m.id))).toBe(false);
expect(groups[3].models).toHaveLength(cloud.length - top.size);
expect(groups.flatMap((g) => g.models.map((m) => m.id)).sort()).toEqual(cloud.map((m) => m.id).sort());
expect(count).toBe(cloud.length);
});
- it("drops All models when the sections above already show every model", () => {
+ it("drops More models when the sections above already show every model", () => {
const few = cloud.slice(0, 3);
const { groups, count } = groupModels({ models: few, engine: "cloud", engines: ["cloud"], query: "", recent: [few[0].id], starred: [few[1].id], best: [few[2].id] });
expect(groups.map((g) => g.id)).toEqual(["recent", "starred", "best"]);
expect(count).toBe(3);
});
+ it("calls the list All models when nothing shows above it", () => {
+ const { groups } = groupModels({ models: cloud, engine: "cloud", engines: ["cloud"], query: "", recent: [], starred: [], best: [] });
+ expect(groups.map((g) => [g.id, g.label])).toEqual([["all", "All models"]]);
+ expect(groups[0].models).toHaveLength(cloud.length);
+ });
+
it("searches both engines (best match first) and respects a locked engine", () => {
const both = groupModels({ models, engine: "cloud", engines: ["cloud", "open"], query: "qwen", recent: [], starred: [], best: [] });
expect(both.groups).toHaveLength(1);
@@ -343,6 +350,10 @@ describe("an app page's hero", () => {
it("Details says what Fuobe makes, naming no other product and no developer notes", () => {
for (const p of [...APPS, ...MOTIONS, ...EFFECTS]) {
expect(p.parity ?? "", p.id).not.toMatch(/Higgsfield|Approximation|Not reproducible|Not yet measured|evaluation suite|\.safetensors|Kling 2\.5 \/ Wan 2\.2/i);
+ // No LoRA file names, research notes or GPU sizes and licences of a route in brackets.
+ expect(p.parity ?? "", p.id).not.toMatch(/_\d+_epochs|\[wan|already in the map|research holds|civitai|evaluated|White_to_Scene|\(\d+ GB GPU/i);
+ // Each note is whole sentences.
+ if (p.parity) expect(p.parity, p.id).toMatch(/[.!?]$/);
}
const note = (id: string) => getPreset(id)!.parity;
expect(note("app-similarity-score")).toBe("Finds logos and recognizable characters and replaces them with unbranded ones of the same shape and color.");
diff --git a/tests/dop-originals.test.ts b/tests/dop-originals.test.ts
index 80cec0e8..3930d992 100644
--- a/tests/dop-originals.test.ts
+++ b/tests/dop-originals.test.ts
@@ -318,7 +318,7 @@ describe("review fixes", () => {
const whip = getPreset("motion-whip-pan")!;
expect(whip.open).toMatchObject({ modelId: "fuobe-dop" });
expect(whip.cloud).toMatchObject({ modelId: "kling-2-5-turbo", partner: true });
- expect(whip.parity).toMatch(/In the cloud: the preset's words on a partner model/);
+ expect(whip.parity).toMatch(/In the cloud it runs on a partner model\.$/);
// The Details popover reads as plain words: no notes for us about checks still to run.
for (const p of [...MOTIONS, ...EFFECTS]) expect(p.parity ?? "", p.id).not.toMatch(/evaluation harness|checked on a GPU run|unverified/);
// Every cloud route on Fuobe DoP brings something of its own: a LoRA, a camera LoRA or move, a grade or a relight.
diff --git a/tests/mixed-shorts-originals.test.ts b/tests/mixed-shorts-originals.test.ts
index 6b687f84..c90263a7 100644
--- a/tests/mixed-shorts-originals.test.ts
+++ b/tests/mixed-shorts-originals.test.ts
@@ -372,7 +372,7 @@ describe("DoP's Mixed Media effects run on Fuobe Mixed Media", () => {
const two = getPreset("effect-two-color")!;
expect(two.prestep?.cloud.labels).toEqual({ step: "Start frame as Two color", clip: "Two color clip" });
expect(getPreset("effect-noir")!.prestep?.cloud.loras?.map((l) => l.file)).toEqual(["darkroom-noir.safetensors"]);
- expect(getPreset("effect-noir")!.parity).toMatch(/^Fuobe DoP draws your still as Noir first \(Fuobe Mixed Media: Z-Image Turbo \+ ControlNet with frankbarbs DARKROOM Noir\)/);
+ expect(getPreset("effect-noir")!.parity).toMatch(/^Fuobe Mixed Media draws your still as Noir first, then Fuobe DoP animates it/);
// About a cent for the still in the cloud, free on your GPU.
expect(prestepCost(two, "fuobe-dop", "cloud")).toBeCloseTo(0.01, 3);
expect(prestepCost(two, "fuobe-dop", "open")).toBe(0);
diff --git a/tests/oss-loras.test.ts b/tests/oss-loras.test.ts
index 890efc32..846fa023 100644
--- a/tests/oss-loras.test.ts
+++ b/tests/oss-loras.test.ts
@@ -54,9 +54,10 @@ describe("the map v2", () => {
// wolfer45's Bullet Time LoRA has no licence on its card: it doesn't displace round 1's matrix-shot (Apache-2.0),
// which the preset ran before (a candidate for the evaluation harness, not a default change).
expect(OSS_LORAS["bullet-time"].map((l) => l.file)).toEqual(["matrix_shot.safetensors"]);
- // BTS's licence is on hold in the research: its preset keeps running its words until it is evaluated, and says why.
+ // BTS's licence is on hold in the research: its preset keeps running its words until it is evaluated, and Details
+ // says so in plain words, without the research notes.
expect(getPreset("motion-bts")!.open!.loras).toBeUndefined();
- expect(getPreset("motion-bts")!.parity).toMatch(/BTS Movie Set is in Fuobe's LoRA library, but the research holds its licence/);
+ expect(getPreset("motion-bts")!.parity).toBe("On your GPU, Fuobe DoP follows the move's description. In the cloud it runs on a partner model.");
});
it("knows each LoRA's family", () => {
@@ -149,7 +150,7 @@ describe("every motion and effect on Fuobe DoP", () => {
expect(wiggle.cloud).toMatchObject({ modelId: "kling-2-5-turbo", partner: true });
expect(wiggle.cloud!.loras).toBeUndefined();
expect(wiggle.cloud!.promptTemplate).toBeUndefined();
- expect(wiggle.parity).toMatch(/licensed for your GPU only \(civitai lists no “Rent”\), so the cloud keeps the preset's partner route until Fuobe DoP with it is evaluated/);
+ expect(wiggle.parity).toBe("On your GPU, Fuobe DoP uses a LoRA trained for this move. Its LoRA is licensed for your GPU only, so in the cloud it runs on a partner model.");
// Sent to fal (a Mix, a hand-made request), it goes and the run says what the licence says...
const fal = getModel(DOP_MODEL)!.routes.find((r) => r.provider === "fal" && r.op === "i2v")!;
const sent = fitLoras(wiggle.open!.loras ?? [], fal);
diff --git a/tests/preset-covers.test.ts b/tests/preset-covers.test.ts
index 36fe8508..8acc1ed5 100644
--- a/tests/preset-covers.test.ts
+++ b/tests/preset-covers.test.ts
@@ -119,13 +119,13 @@ describe("the preset covers manifest", () => {
for (const p of [...APPS, ...MOTIONS, ...EFFECTS]) expect(coverPreview(p), p.id).toEqual(previewFor(p));
});
- it("rests every preset header on its own still, never a drawn tile", () => {
- // The header as PresetHeader builds it (preset-header.tsx): the card from the slim map, on its peak frame.
+ it("rests the headers that showed a drawn tile on their own stills", () => {
+ // The header as PresetHeader builds it (preset-header.tsx): the card from the slim map, on its peak frame. A
+ // preset added without a cover yet still shows its drawn tile; these five have their stills now.
const header = (id: string) => onPeak(presetCard(getPreset(id)!, coverPreview(getPreset(id)!))).preview;
- for (const p of [...APPS, ...MOTIONS, ...EFFECTS]) expect(isCover(header(p.id)), p.id).toBe(true);
- // The five that showed a drawn tile until their stills came: Talking Photo's header shows its own.
expect(header("app-talking-photo").poster).toBe(PRESET_PREVIEWS["app-talking-photo"].poster);
for (const id of ["app-talking-photo", "app-fuobe-angles", "app-3d-rotation", "motion-buckle-up", "motion-dolly-zoom-out"]) {
+ expect(isCover(header(id)), id).toBe(true);
expect(header(id).poster.startsWith(`/previews/presets/${id}.jpg?v=`), id).toBe(true);
}
});